This script adds a cron job which auto updates the WAN IP address for the
Before running this script you should already have a Duck DNS account. During the installation you will be asked to supply your domain name and the token for your account.
sudo hassbian-config install duckdns
sudo hassbian-config remove duckdns
If you choose to also generate SSL certificates with this you would need to
add this under
http: to your
ssl_certificate: /home/homeassistant/dehydrated/certs/YOURDOMAIN.duckdns.org/fullchain.pem ssl_key: /home/homeassistant/dehydrated/certs/YOURDOMAIN.duckdns.org/privkey.pem base_url: YOURDOMAIN.duckdns.org:PORTNUMBER
Keep in mind that after you added the ssl keys to your config and restarted Home Assistant, your installation won't be available through http anymore but then only through https.
This script was originally contributed by @Ludeeus.