Dear Experts,
Is there any way to extract the gateway and ip address of home assistant by which we connected esphome on it?
Regards
VK
Dear Experts,
Is there any way to extract the gateway and ip address of home assistant by which we connected esphome on it?
Regards
VK
I know it is possible to get the IP address and gateway.
I do not use it myself.
I have these set sensors and buttons set up.
sensor:
- platform: wifi_signal
name: "wifi Signal"
- platform: uptime
name: "Uptime"
button:
- platform: restart
name: "restart"
- platform: factory_reset # Used when need to clear NVS.
name: Restart with Factory Default Settings
id: onkyo_factory_reset
entity_category: "diagnostic"
And I think the first link here will give you the IP address of the ESPHome device.
Thanks for your reply, this will give you the Ip address of ESP home and I am interested in extracting IP address of HA (192.168.1.1) and ESP Home (192.168.1.70). Could you please help me on the extraction of ip whih belongs to HA
Not sure how to do that on the ESPHome, but you can easily make a sensor on HA and then extract the value on ESPHome.