Broadlink Integration - add support for RM4 Mini

Hmm…same same here with 2029.12.2

Thinking aloud, i think it is possible to:
-clone the official broadlink repository,
-add the missing line for RM4C mini
-add this repository (manually or using HACS) to custom_components

Will try this when i have time (and share the github url)

Hmm…sorry…can’t find the init.py file, so no go for now

1 Like

For those who cannot find the __init__.py file, especially on HassOS, I managed to solve the issue by following the advice found at https://github.com/home-assistant/core/issues/42983:

  1. Open Home Assistant and install the “SSH & Web Terminal” add-on (NOT the original SSH add-on).
  2. Disable Protection mode
  3. Open the Terminal web UI
  4. Enter: docker exec -it homeassistant /bin/bash
  5. Enter: pip3 install --upgrade git+https://github.com/mjg59/python-broadlink.git --no-deps
  6. Restart Home Assistant.

Your newer device should now be recognized by the Broadlink integration. It works for 0x6539.

9 Likes

Esto funciono perfecto para mi!

Muchas gracias Motik68

1 Like

Method of editing the init.py also worked for me with a RM4C thanks.

If Motik68’s solution doesn’t work for you after updating to the 2021.3.4 version, try the solution from here: https://github.com/home-assistant/core/pull/47779#issuecomment-798806047
It installs the broadlink library from another repo:

  1. Open Home Assistant and install “SSH & Web Terminal” add-on
  2. Disable Protection mode
  3. Click “Terminal” on the sidebar and install the patch.
docker exec -it homeassistant /bin/bash
pip3 install git+https://github.com/felipediel/python-broadlink.git --force-reinstall --no-deps
  1. Restart the server.
5 Likes

Thanks! Works for me. But as mentioned before, this will not survive core updates. Just repeat the steps after updating the core.

Is this still a problem? Should I buy the mini 3 instead of 4? I just want that it works out of the box. Any advice?

1 Like

It looks like it has made it in to the master repository (line 90)

0x6539: (rm4mini, "RM4C mini", "Broadlink"),

So it should not be an issue anymore (but i haven’t actually checked it, as i am currently not using it)

it was the PR which added it on Jan 8th

2 Likes

My problem is when trying to integrate my RM4 mini it says unable to conect… just took the IP from the router… any clue ?

Connect to the device

Failed to connect

Can this integration start automation when a signal comes over RF 433, for example, from a leak sensor?

To my knowledge, broadlink is used to send IR/RF433 signals, it only receives them when in learning mode.

Looks like you eed a sonoff rf bridge (tasmota) or something

Integration will never be able to keep the learning mode for a long time?