Coder Social home page Coder Social logo

enpal-homeassistant's Introduction

Ipify.org Public IP Check Integration

hacs_badge GitHub release

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.

ipify entity

How it works

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.

Installation

  1. Install this integration with HACS (adding repository required), or copy the contents of this repository into the custom_components/ipify directory.
  2. Restart Home Assistant.
  3. Start the configuration flow:
    • Start Config Flow
    • Or: Go to Configuration -> Integrations and click the + Add Integration. Select Ipify from the list.
    • If the integration is not found try to refresh the HA page without using cache (Ctrl+F5).
  4. Select which IP protocol versions (IPv4 and/or IPv6) you want to check.

ipify config

ToDo

  • Add extra parameter to allow custom interval for checking IP.
  • Promote this integration to HACS Default and/or HA Core.

Credits

  • 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.

enpal-homeassistant's People

Contributors

skipperro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.