Broadlink binding for RMx, A1, SPx and MP. Any interest?

Hi! Thanks for the binding.
I’m not sure if I have the same problems as the others do, or it is some kind of network problem. So my RM3 mini (fw: v55) sometimes goes offline. When it is offline I cannot even ping it. After approxiately half a minute it comes back. For me it seems that it goes offline more frequently if I’m sending out IR signals (through this binding), but sometime it goes offline even when in idle. Do you think it is related the the binding or it is some kind of network issue?

My log is:
==> /var/log/openhab2/openhab.log <==

2019-03-30 10:58:02.677 [ERROR] [dlink.handler.BroadlinkRemoteHandler] - rm3:c8-f7-42-17-2a-89[^]: updateItemStatus: Online -> Offline

==> /var/log/openhab2/events.log <==

2019-03-30 10:58:02.702 [me.event.ThingUpdatedEvent] - Thing ‘broadlink:rm3:c8-f7-42-17-2a-89’ has been updated.

2019-03-30 10:58:02.747 [me.event.ThingUpdatedEvent] - Thing ‘broadlink:rm3:c8-f7-42-17-2a-89’ has been updated.

2019-03-30 10:58:02.752 [hingStatusInfoChangedEvent] - ‘broadlink:rm3:c8-f7-42-17-2a-89’ changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not find device at IP address

2019-03-30 10:58:32.788 [me.event.ThingUpdatedEvent] - Thing ‘broadlink:rm3:c8-f7-42-17-2a-89’ has been updated.

2019-03-30 10:58:32.827 [me.event.ThingUpdatedEvent] - Thing ‘broadlink:rm3:c8-f7-42-17-2a-89’ has been updated.

2019-03-30 10:58:32.855 [hingStatusInfoChangedEvent] - ‘broadlink:rm3:c8-f7-42-17-2a-89’ changed from OFFLINE (COMMUNICATION_ERROR): Could not find device at IP address to ONLINE

Hi everyone,
I was wondering if there is a way not to use the map-file with this binding. I am creating the IR codes for my Daikin air conditioner at runtime using a rule, so I do not want to create a key for each configuration.

Thanks !

Yes, I can control my leds, but not broadlink.

i am using node red for rules but you can setup something like this a rule an item controlled by siri lets say TV on

Switch TVON “TV” (groupSiri) [ “Switchable” ]

than create a rule that will triger the IR command for the broadlink with that value (TVon = 35456343…)
and set it back to 0 again , if you are using node red i can give you a working example
dont know much about OH rules

1 Like

I am noob in node red. But I will try. Any tips where i start ?

its kind of a long trip… but totally worth it so dont give up

the best Guide out there i think…

in Short

  1. install Node-js
  2. Install node red
  3. download Openhab pallete for node red
  4. go throw the guide even twice ! i found myself too many times reaching to the same method that is in the guide already but i missed it :slight_smile:
  5. start watching youtube you will get a lot of ideas for your flows
1 Like

I have fixed powering off for all ports and powering on for 2, 3, 4 ports for Broadlink MP1.
How to contact the addon author?

Hello Dmytro
I think you mean the person who made the binding?, that would be @themillhousegroup themillhousegroup , John Marshall

Thank you. Also I have fixed status check for MP1.
I have created fork

1 Like

That would be great, I have 6 MP1’s and did not use the binding for the MP1’s because the problem you mentioned, with a reboot they all go off and than on again, not what you wan’t! :stuck_out_tongue_winking_eye:, so until now I’m using http to control my MP1’s
Do you have a .jar file, so I can test?

Nice. So as I see, you forked from a different repo. The repo to create a PR for would ideally be this one, which is actively developed:
Unfortunately I think @themillhousegroup is also rather busy atm, so it might take some time to get it merged. But that would be the repo with the most recent changes. Hopefully the whole repo can then be merged soon into the official openHAB repo, so the binding is officially available and contributions are easier to maintain.

1 Like

Can somebody please PM me the Authentication Key and IV values or the link please. I am unable to find it by googling.

Please see my post #552 - Broadlink binding for RMx, A1, SPx and MP. Any interest?

Thanks so much, I was able to follow your post and then was able to setup two of my broadlink RM3 device successfully.

Continuing the discussion from Broadlink binding for RMx, A1, SPx and MP. Any interest?:

Thanks @Dmytro_Sorochynskyi for the MP1 Fix . it was a blocker till now

in fact, it didn’t help. i have several issues,
getting a lot of

[ERROR] [nk.handler.BroadlinkBaseThingHandler] - IO error: Broadlink Device: Socket is closed

MY A1, MP1 and SP2 are always offline

it didn’t happen with this flavour of the addon with the same thing definition as below

Thing broadlink:sp2:34-ea-34-f5-ae-aa "txtBroadlink SP2 [] SP2_3"                      [ ipAddress="", port=80, mac="34:ea:34:f5:ae:aa",	authorizationKey="097628343fe99e23765c1513accf8b02", iv="562e17996d093d28ddb3ba695a2e6f58", pollingInterval=120 ]
Thing broadlink:sp2:b4-43-0d-ee-d6-04 "txtBroadlink SP2 ilot []-SP2_2"					[ ipAddress="", port=80, mac="b4:43:0d:ee:d6:04",	authorizationKey="097628343fe99e23765c1513accf8b02", iv="562e17996d093d28ddb3ba695a2e6f58", pollingInterval=120 ]
Thing broadlink:sp2:34-ea-34-bd-47-9b "txtBroadlink SP2 Chauffage[]-SP2_1"				[ ipAddress="", port=80, mac="34:ea:34:bd:47:9b",	authorizationKey="097628343fe99e23765c1513accf8b02", iv="562e17996d093d28ddb3ba695a2e6f58", pollingInterval=120 ]  
Thing broadlink:a1:34-ea-34-b2-ba-7c  "txtBroadlink A1 []"                             [ ipAddress="", port=80, mac="34:ea:34:b2:ba:7c", 	authorizationKey="097628343fe99e23765c1513accf8b02", iv="562e17996d093d28ddb3ba695a2e6f58", pollingInterval=120 ]
Thing broadlink:mp1:34-ea-34-c9-9d-33 "txtBroadlink MP1 []"                            [ ipAddress="", port=80, mac="34:ea:34:c9:9d:33",  authorizationKey="097628343fe99e23765c1513accf8b02", iv="562e17996d093d28ddb3ba695a2e6f58", pollingInterval=120 ]

Please could you advise?

Thank you. Please try:

And post results and logs.


i have a good news . From the console i have removed a previous versions of the broadlink addon

and Now all green!

I have raised the log to trace. there are some errors in the attached log. Please could you advise

Broadlink trace Log issues.txt (13.9 KB)

The RF codes are not working (Extracted from econtrol app )

2019-04-15 18:26:30.125 [ERROR] [handler.BroadlinkRemoteModel2Handler] - rm2:34-ea-34-c7-c9-15[^]: Will not send remote code because it has an incorrect length (78) (7.9 KB)

i have attached my map file

Thanks to @Dmytro_Sorochynskyi, I have merged his fixed support for the MP1 multiple-socket device.

Together with support for the v40 firmware version of the RM Mini 3, it’s been published as BETA-13 over on Bintray:

Please download, install, and let me know if you find any issues. Otherwise, it might finally be time to get this binding merged into the main OpenHAB repository! :partying_face:

Thanks @themillhousegroup and @Dmytro_Sorochynskyi

i have installed this version but i have still this issue for RF only

2019-04-16 10:34:57.224 [ERROR] [handler.BroadlinkRemoteModel2Handler] - rm2:34-ea-34-c7-c9-15[^]: Will not send remote code because it has an incorrect length (78)

The RF code are working with a mqtt integration

i have extracted them from the econtrol (7.9 KB)