Disk on Home Assistant almost full

Robert AndresenUncategorized Leave a Comment

For a long time, the disk on Home Assistant box has been slowly filling up. I found that is was the MySQL DB docker container that took up all the space. My setup My Home Assistant runs in docker on an old Dell 7010 with Ubuntu 18.04. Data is recorded in another MySQL docker container. The HA container is running …

Add letsencrypt to Home Assistant with own domain-name

Robert AndresenHome Assistant, Tutorials Leave a Comment

Follow Source: https://certbot.eff.org/lets-encrypt/ubuntubionic-other Source: https://serverfault.com/questions/750902/how-to-use-lets-encrypt-dns-challenge-validation Before pressing enter, I added the TXT record in my DNS. After adding it, I waited a couple of minutes before pressing enter. Add to Home Assistant For now, I copied the certificates from /etc/letsencrypt/live/… to a SSL folder under my Home Assistant config. Renew It looks like the domain-registrar has to support a script …

Configure host record on Ubiquiti USG

Robert AndresenHome Assistant, Tutorials Leave a Comment

If you are running internal server/services that need to be reached on the Internet, you probably have a DNS set up for them. To reach this services on their DNS, from your local network, you need edit the host-file on the USG. For my case, one of the services was Home Assistant, which is configured with DNS and certificates. This …

Ubiquiti USG

Robert AndresenBlog, Reviews Leave a Comment

Last week I switched my router from Sophos XG to Ubiquiti (UBNT) USG (UniFi Security Gateway). The setup The setup was a bit tricky. First I tried to plug it in my existing network with a laptop connected to the LAN-port. I could reach the USG, but as most of the configuration is done in the UniFi-controller, I just had …

Ubiquiti Nanostation Loco M2, Tellstick and Mco Home Air Quality Monitor Co2

Robert AndresenHome Assistant, Internet of things, Programming 2 Comments

My girlfriend has a horse. The horse needed a house. So we built a house (stable). The stable is about 10 meters from our house. To smartify the stable (controlling lights and monitoring temperature, humidity and CO2) I needed cabled network and a new smarthome-gateway. I already have Home Assistant and a Z-wave network in the house, but the stable is …