mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-12 05:58:58 +00:00
24 lines
892 B
Markdown
24 lines
892 B
Markdown
---
|
|
title: Local IP Address
|
|
description: Instructions on how to integrate the Local IP Address sensor into Home Assistant.
|
|
ha_category:
|
|
- Network
|
|
ha_iot_class: Local Polling
|
|
ha_release: 0.104
|
|
ha_config_flow: true
|
|
ha_codeowners:
|
|
- '@issacg'
|
|
ha_domain: local_ip
|
|
---
|
|
|
|
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:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
local_ip:
|
|
```
|
|
|
|
To configure via the user interface, select the `Local IP Address` integration.
|