I am facing an issue with Broadlink integration for a RM4. I can make it work eventually but then, after any power outlage or router restart, device becomes unavailable in HA.
I can confirm my Broadklink has a fixed IP since router is always asigning same address: 192.168.1.50 however when, it stops working, I check /config/.storage/core.config_entries I can see HomeAssistant changed IP to 192.168.0.180. Then I modify this file, going back to 192.168.1.50, restart HA and all works great again till next router/power event.
I have tried different solutions like connecting Broadlink to different AP, change IP, even change DHCP server provider (AP Router instead of main router), etc.
Do you have anything in mind that could help? It’s so strange to me that core_config.entries file changes this confi by its own…
I occasionally have problems with my Broadlinks after a power outage - when router and RM4 and HA have all been down. My feeling is that they are caused by all three devices powering up at the same time. Once router and HA are up and running, simply unplugging the Broadlink and plugging it in again seems to resolve most issues.
Discovery in the Broadlink integration is supposed to be by MAC address - it shouldn’t be necessary to worry about the IP address after the initial setup.
I have several Broadlink devices ant this problem is affecting them. After my router reboots, some of the Broadlink devices may be lost. They all have static IPs assigned in the router - but what I’ve found is that in HA’s core.config.entry file, the IPs may be wrong - i.e. don’t match the actual IPs. If I manually edit that file to contain the correct IP, and restart HA, the device is again available. So the device actually had the correct, static IP but somehow HA had a different IP for that device.
I’m looking for a way to avoid this chaos every time the router is rebooted. I see this bug was reported, but closed in GitHub with no action. Comments there claim the Broadlink integration uses MAC addressing and is not dependent on IP, but that’s obviously not the case.
It occurs to me that maybe they don’t even need static IPs and maybe that’s part of the problem, but I haven’t tried this and it would be tedious to test.
Tired of fighting this, and I have no idea why it happens. Supposed fixes involve a “DHCP integration” in HA, but I don’t find any such thing.
All I can be sure of is that the Broadlink integration just changes the IPs on its own now and then. I just junked all my Broadlink smart plugs and replaced them with Shelly. Enough is enough.