Closed stonegray closed 1 year ago
Hey there @ottowinter, @jesserockz, mind taking a look at this issue as it has been labeled with an integration (esphome
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
esphome documentation esphome source (message by IssueLinks)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
After DHCP addresses change, ESPHome devices will show as "Attention Required" in the
/config/integrations
page on the web UI. When clicked, it prompts to update the transport encryption key. Even when the correct key is entered, it rejects it.(Note: In the following examples, device
sonoff-s31-1.local
changed fromxxx.133
toxxx.132
)This appears to be caused by the DHCP server re-assigning the IP address to another sensor. Using
dig
to query the address from my computer or server returns the correct result:Connecting from the ESPHome web UI, ping etc work fine.
But the logs show that Home Assistant is looking at the wrong address (and thus getting the wrong device; explaining why updating the key does not work)
We see
sonoff-s31-1.local
should be resolving to192.168.4.132
, but is instead using the old192.168.4.133
address.What I've tried
docker exec homeassistant ping sonoff-s31-1.local
, gives a ping address error so I guess the container isn't setup for that.What works
I've had this happen a few times now so hoping for a solution. Nothing critical is running on it, and I can switch to MQTT if needed, but this is a pretty big pain to re-add everything by hand.
What version of Home Assistant Core has the issue?
Home Assistant 2023.1.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Esphome
Link to integration documentation on our website
https://www.home-assistant.io/integrations/esphome/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response