Hi,
I have two new Shelly devices in my network (plus 2pm). Before I started to integrate both into HA, I set a static IP address. Unfortunately HA tries to use the old (DHCP) IP address of the devices and the integration fails.
Even when I delete the integrate and wait for discovering of the devices again, the old IP is used.
But, when I got into the device the visit link points to the right IP address. But all inputs and sensors are disabled.
The debug log just shows the following.
2024-02-04 21:03:49.976 DEBUG (MainThread) [aioshelly.common] host 192.168.64.72: error: DeviceConnectionError(ClientConnectorError(ConnectionKey(host='192.168.64.72', port=80, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=5670172743653991968), OSError(113, "Connect call failed ('192.168.64.72', 80)")))
2024-02-04 21:03:49.976 DEBUG (MainThread) [aioshelly.rpc_device.device] host 192.168.64.72: error: DeviceConnectionError(DeviceConnectionError(ClientConnectorError(ConnectionKey(host='192.168.64.72', port=80, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=5670172743653991968), OSError(113, "Connect call failed ('192.168.64.72', 80)"))))
Another strange thing is, that when I remove the devices and add them again, HA still knows which room I assigned before. At least for me, this is not the expected behavior.
I’m using the following HA versions on a Raspberry Pi 4.
- Core 2024.1.6
- Supervisor 2023.12.1
- Operating System 11.4
- Frontend 20240104.0
So, why is the old IP used? How can I completely remove the devices from HA?
Is the behavior a bug?
Thanks for your help,
Johannes