Broadlink integration. IP changes after power outage or router reset

‘’’
Hello all,

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…

All your help will be welcome.

Thanks a lot
‘’’

Looks like other people have this problem.

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 was one person reporting that issue.
Once I got a new router that actually would reserve IP addresses correctly, mine works.

The statement:

“I can confirm my Broadklink has a fixed IP since router is always asigning same address”

Means nothing I think, unless you are saying you have reserved that IP address in the router itself.

I have several devices where you cannot set a fixed IP address and you must set them in the router to always assign the same address:

Hello!!

Thanks for your answer! Yes I’m reserving IP on my router, that’s what I meant.

Now I got a new router so let’s see if issue is still present.

Regards!

Thanks a lot for the link!

Well for what I can see lot of mates having same issue.

So far I moved to new router just in case DHCP reservation was not correctly done.

Let’s see how it goes…

Big thanks again!!