This integration allows you to check the public IP of your Home Assistant instance.
This is useful if you want to check if your Home Assistant instance is accessible from the outside and can be used for automations like updating your DNS records after a new IP is assigned.
Every 5 minutes the public IP is checked and if it changed, the integration will trigger a value change.
This value can be used in automation scripts or displayed on dashboards.
- Install this integration with HACS (adding repository required), or copy the contents of this
repository into the
custom_components/ipify
directory. - Restart Home Assistant.
- Start the configuration flow:
- Select which IP protocol versions (IPv4 and/or IPv6) you want to check.
- Add extra parameter to allow custom interval for checking IP.
- Promote this integration to
HACS Default
and/orHA Core
.
- Randall Degges (https://github.com/rdegges): Ipify-api code hosted on ipify.org that allows this integration to work.
- Skipperro: Creating the integration for Home Assistant.