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 …

Live Resizing LVM on Linux

Robert AndresenTutorials Leave a Comment

Expanding disk on Linux can always be a pain. Most guides I found requires a restart, which is not always that popular on an production server. This guide was written as we had to expand a disk on our internal webserver at work, running Ubuntu server 16.04.