Broadlink RM-PRO and A1 sensor

Which version are you using?

Not sure, I think 5065

Of Homeassistant? You should use the latest version of Broadlink component from the dev version or wait for the next release

which is the latest version?
I have HASS 0.35.3

That is the latest release, but these fixes https://github.com/home-assistant/home-assistant/pull/5065
will be included in the next release.

Replying to save the post and understand if this’ll get support for TC2 Wall Switches. I do have both switches and hub so if there’s need to test anything, I’m available :slight_smile:

SO is a hardware issue?

still having from Crypto.Cipher import AES
ImportError: No module named ‘Crypto’ error how to solve?

It should be fixed in the next release

1 Like

Any chance you can provide some sample code how can I configure the Air Quality to be shown as text and not as number? I can’t figure out how to specify the value_template. Thanks!

@oliverdog @Danielhiversen @anon35356645
How did you overcome problem of long codes and short codes?
My switches have more chances of responding to long codes but with long codes, the code is repeated sometimes twice as they support only toggle function thereby,making it seem that it did not work.(as toggle code is sent twice)

in fact, I didn´t overcome it… I just ignore all long codes. I use only the short ones…
I also didn´t test if my switches (Livolo) respond better with long codes, but that is the pain for the gain using RF toggle switches.
They are cheap, but they work 70% (or less) with short codes, and you may get double toggle with long codes…
So you have better to:

  • changing for a single channel RF module (in-wall) that works on and off with different codes and loose manual switching.
  • hack a RF switch to include a manual conection for wall switches (I got mine from
  • use another stuff, such as SONOFF with hacked firmware, mysensors nodes.

All Rf switches are toggle?

no. most RF switches can work 3 different ways by changing 1 jumper position:

Momentary: Push the remote button , the relay connects, release the remote button , the relay dis-connects.

Toggle: Push once the remote button , the relay connects , push twice the remote button , the relay dis-connects .

Latching: Push the remote button A, the relay connects, push the remote button B, the relay dis-connect.

The problem occurs when you use multiple relays switches and try to config as latching… when you turn 1 relay ON the others turn OFF…
So, you need to use allways single relay RF modules…

Thank you, SP MINI can work,switchs.yaml Configuration

HomeAssisant display
switch.broadlink_switch
switch.broadlink_switch_2
switch.broadlink_switch_3

old ./switch/broadlink.py display directly
switch.flower_socket
switch.kitchen socket
switch.projector_socket

I like the old broadlink.py configuration

Good evening. I am new here. I already managed to get the sensors working in A1 and RM Pro.
When I apply this line to SP3, the interface appears on the page, but it does not work in the switch.
Do I have to change the HA official version to work if I understand well?

first be sure you have the correct host and mac adresses…
then, try rebooting everything…
mine is working with the last (#5065) broadlink.py (switch)

I don’t understand very well …

anyway this, the alexa, and the xiaomi components are the one I enjoy the most :slight_smile:

Claudio, may I ask how you’ve put the sensor in the climate section? I’m new to hass and can’t find the answer.
Can you share the relevant section in your configuration.yaml?
Thanks!