I had rm bridge setup and using command_line switch before, since ha now support broadlink so I am trying to migrate all the remotes from rm bridge to ha broadlink so I don’t need an active android device all the time.
I just find some python script to extract code from e-control rmt.db database. Lets see if it works.
UPDATE: I extracted the code from e-control database, but it doesn’t work when I paste it in HA, I guess the HA broadlink use different format to send the signal.
Maybe you have already done this before but I just notice a Search Button on the top right of E-CONTROL app (when adding a new remote), witch can load a plenty of cloud saved remote controls all over the world. You just type Livolo, and get many saved remotes to use, without learning… that is fantastic, once we do not need owning a hardware remote to use it.
Now you should familiarize with the script created for decoding packages from the e-control app on a rooted android phone… Have anyone tried it before? If yes, could you give me the directions? I can’t even remember where I have seen it, but I know it exists…
how can I use it with HA?
just convert to base64 and will it work?
like this:
from:
e91934000d210d210d210d210d210d210e210d21230b0d210d210d210d00015a0f200e20240a240a0e20240b240a240b230b0d210d210d2100000000
to:
6RY0ACMLDCINIQ0hDSENIQ0hDSENIQ0hDiEOIA0hDSEOISQLDQABWw8gDiAlCiQKDSEjCyMLIwwAAAAA
UPDATE: So just to verify, the code extracted from e-control then convert to base64encode works fine in HA broadlink, so the problem narrow down to just the learn function of the HA broadlink, it learn the code but doesn’t work when send (no error shows in log)
But first use this script to test that the code is working with RM (in hex format)
If it doesn’t work directly with the RM and you get an error like this: ValueError: Input strings must be a multiple of 16 in length then you should duplicate the code until it is in the right length 1 time 2 times and so on…, after that encode it to base 64 and try with HA.
If it doesn’t work with HA you probably will need to edit:
I have RM Pro and the black bean working with HA! Thank you for the implementation. I just want to ask how to implement the MP1 since its already supported by https://github.com/mjg59/python-broadlink/blob/master/broadlink/init.py#L49. How can I make it work with the current version of HA (36.1) ? sorry newcomer here.