Local IP Address


The local_ip sensor will expose the local (LAN) IP address of your Home Assistant instance. This can be useful when your instance has a static public hostname (for example, if you use the Nabu Casa service), but have a dynamically allocated local LAN address (for example, configured via DHCP).

The sensor can be added via the user interface or using the configuration.yaml file. To enable this sensor, via the configuration.yaml file, add the following minimal configuration:

# Example configuration.yaml entry
local_ip:

To configure via the user interface, select the Local IP Address integration.

Configuration Variables

name

(string)(Optional)

Friendly name of the sensor.

Default value:

local_ip