home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.14k stars 29.82k forks source link

Broadlink RM4 Pro stops responding to commands #123443

Open torkleyy opened 1 month ago

torkleyy commented 1 month ago

The problem

After a day or so, the Broadlink Universal Remote (RM4 Pro) silently stops working. Trying to learn or send commands just does nothing, with no logs showing up whatsoever. Logs indicate it's still connecting and exchanging heartbeats.

Removing the device and re-adding it fixes it, but only for so long. Not really sure how I could go about debugging this. Previously, I had it connected to the cloud and I was still able to control it in the app, but after reading that might cause problems, I reset the device and only added it in Home Assistant using a static IP. However, the problem persists.

What version of Home Assistant Core has the issue?

core-2024.8.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

broadlink

Link to integration documentation on our website

https://www.home-assistant.io/integrations/broadlink/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-08-09 12:00:34.535 DEBUG (MainThread) [homeassistant.components.broadlink.updater] Finished fetching broadlink-rm4-pro (RM4 pro at 192.168.178.46) data in 0.031 seconds (success: True)
2024-08-09 12:01:34.542 DEBUG (MainThread) [homeassistant.components.broadlink.updater] Finished fetching broadlink-rm4-pro (RM4 pro at 192.168.178.46) data in 0.040 seconds (success: True)

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @danielhiversen, @felipediel, @l-i-am, @eifinger, mind taking a look at this issue as it has been labeled with an integration (broadlink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `broadlink` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign broadlink` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


broadlink documentation broadlink source (message by IssueLinks)

aIexus commented 1 month ago

I have the same issue, appeared about 5 days ago.

catrielmuller commented 1 month ago

@torkleyy // @aIexus , I had the same issue and it's related to the IP of the RM4, Try to set a fixed IP and delete de device and add them manually on HA again. I don't know if the mantainers can do anything to check the state of the devices.

torkleyy commented 1 month ago

I did set a fixed IP and add it manually using that IP, didn't change anything for me.

vajnorcan commented 2 weeks ago

I have had this issue since I remember.. usually it works for 1-2 days and then it's lost. I don't think this is HA issue much, as if you go the broadlink app and you want to check the firmware update, the app will say unable to connect to the device or similar.

The first thing I did was a manual IP assignment but that didn't change anything, so I've contacted the support and got the following tips, which I've applied just now so I don't know if they will work or not

  1. Keep the 2.4GHz and 5GHz Wi-Fi names different.
  2. Turn off the firewall. (optional)
  3. Select 802.11 b/g/n for the 2.4Ghz WiFi protocol.
  4. Check port forwarding to ensure that TCP 80, 8080, 16384 and 1812 are enabled (optional)
  5. Turn off PMF (Protected Management Frames)
  6. You can also try to bind the IP address to the MAC address of the device.
  7. Turn off automatic roaming.
vajnorcan commented 2 weeks ago

I've done all of the above, the HA loses the connection with the broadling as none of the blinds can be controlled via HA. They are responsing from broadlink app though

schwarzelise commented 1 week ago

Same issue, RM4pro stops working this morning. Tried to recover. Braodlink App shows no IP under Property - device info. Other remotes rm3mini and rm4mini show an IP Address. Tried reset - same again. Any ideas?

vajnorcan commented 1 week ago

write to the Broadlink support. They have provided few more tips which helped in my case, at least it appears to be stable now for 5 days..

if you are using the Azus router, it seems that Airtime Fairness setting was that fixed it for me

Please Turn OFF the following options in your router's settings,

  1. Smart Connect
  2. Wi-Fi Agile Multiband
  3. Target Wake Time
  4. Airtime Fairness
  5. Protected Management Frames

Besides, please open b/g protection for wireless mode, choose WPA2-personal, AES for WPA encryption. Set 'Group Key Rotation Interval' to 0