An add-on for Home Assistant to automatically update your Cloudflare DNS record with your current public IP address.
Copy the git repo:
https://github.com/sonpython/homeassistant-cloudflare-ddns.git
Go to the Home Assistant web interface, and navigate to Settings -> Add-ons -> Add-on Store.
Click on the three dots in the top right corner and select Repositories. Add the path to the add-on repository.
You should now see Cloudflare DDNS Updater in the list of available add-ons. Click on it and then click Install.
After installing, you need to configure the add-on. You can edit the configuration through the Home Assistant UI.
cf_api_token: "YOUR_CLOUDFLARE_API_TOKEN"
zone_id: "YOUR_ZONE_ID"
record_name: "YOUR_RECORD_NAME"
update_interval: 300 # Time interval to check for IP changes (in seconds)
Zone:DNS:Edit
permission.example.com
or subdomain.example.com
.cf_api_token
Zone:DNS:Edit
.zone_id
record_name
example.com
or subdomain.example.com
.You can see the logs of the add-on in the Home Assistant Supervisor -> Cloudflare DDNS Updater page to verify if the IP update was successful.
If you encounter any issues or have questions, please create an issue in this repository.
This project is licensed under the MIT License - see the LICENSE file for details.s