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

Sorry, been busy this week.

The size if different because I did some more tweaking - not sure if I made it better or worse…

Your authentication issue could be the same as @hafniumzinc points out above. For my sockets I had to remove them from the BG Home app, reset the plug, get most of the way through adding it to but - crucially - not add it to a room and quit the app.

This will obviously break you Amazon integration and the binding is very flakey so proceed at risk

Some more details here

1 Like

That’s great, thanks.

I think the size difference must have been some sort of download error. Once I downloaded it again it was the same size as yours and it worked.

I’m ok with breaking the Alexa workaround in pursuit of integrating directly so I’ll try removing it from the app.

Thanks for all the work so far.

Hi,

The Power consumption is working for anyone?

I have deleted the device from the BG app and set it up using the Broadlink app as suggested. I have put the device in “Unlocked” but I’m still getting the Couldn’t authenticate error about every 45 seconds (which is what my refresh time is set to).

There is a gap in the log that ties in with the times where I had the device in AP mode to set it up in the Broadlink app suggesting the binding is successfully connecting to the socket, just not authenticating. Similarly, if I block the device from WiFi, the log messages stop appearing and resume once the WiFi connection is restored.

I’m interested in it too
i use both pro and rm mini
thank you…

Hello.Tell me please.I managed to set up the binding and get the codes via python broadlink.I installed the map transformation and wrote the codes to the broadlink.map file.I don’t use the sitemap interface.I use the main interface of openhab 3. I did not find instructions on how to configure the remote control in the new interface of openhab 3. please tell me how to do it.how to link item and codes broadlink.map?

I assume you did already set up the Thing etc.?
If so, you will need to create an item to send the IR codes to your broadlink device.
I did setup different items for each action, but you could also use a single one and rules for it.
Example item that I got for my TV:


The state description here tv_power links to the IR code for POWER (ON/OFF has only one code).
This item links to my Broadlink Thing:

I have an RF fan remote I would like to control but the learning of it is proving to be a little tricky. It cycles through from low, medium, high, meaning when the verify code prompts, it sends a different code - anyone come up with a solution for this?

Using windows app based Broadlink Manager
https://sourceforge.net/projects/broadlink-manager/files/Windows%207/Version%201.0.0.1/

@themillhousegroup The power consumption, in SP3S remains null. Can I help debugging?

1 Like

I am still on OH2.5.5 trying to reinstall the binding for my RM3 mini but it does not discover the device. I followed all possible instructions I could find in the formus. I tried different 2.5 versions of the add-on (always removing the previous addon ‘org.openhab.binding.broadlink-2.5.1-SNAPSHOT’, ‘org.openhab.binding.broadlink-2.5.0-SKUMPIC’, beta9.1, beta17 ). In Paperport searching/scanning for the device does not lead to errors. Manually adding it leads to ‘OFFLINE Couldn’t find statically-IP-addressed device’.
The log does not say much ‘Broadlink discovery service construced’, ‘ended broadlink device scan’. I even purchased a new RM3 mini thinking my old device is broken but same results. What can I try? The device is online (shows up in my router, has an IP address and is working fine via IHC app). What else could be wrong? I wonder If I have remains of an old installation (but used the bundle:list, then bundle:uninstall XXX commands to remove the binding; always restarted openhab multiple times after uninstall and reinstall).

hey guys.please tell me who has a remote widget for items broadlink? and the second question please tell me how to write a command for the remote in the rule?for example, turn on the TV. I tried Power_TV.SendCommand(ON) this command but it doesn’t work!

Can anybody help me with my installation/discovery issue? Any ideas what the issue could be?

Probably not your issue, but I had troubles before with my wifi controller (Aruba).
Two kinds of issues actually:
–SSID with the same name but on 2 different band 2.4G and 5G
–Also, and more difficult to detect, I guess the discovery use some kind of broadcast to find the devices. Not sure about that, but I had to deactivate some features on my controller (multicast optimization or something like that)

Hello,
RM4 Pro on OpenHAB 3.0.2 with Broadlink binding v3,1Beta5.

The Broadlink device was discovered automatically but authentication is failed with the following error:
2021-04-30 17:12:58.367 [ERROR] [handler.BroadlinkRemoteModel4Handler] - Broadlink Exception:
java.net.ProtocolException: Response from device is not valid. (0x22=0xFF,0x23=0xFF,0x24=0xFF)
at org.openhab.binding.broadlink.internal.BroadlinkProtocol.decodePacket(BroadlinkProtocol.java:195) ~[bundleFile:?]
at org.openhab.binding.broadlink.handler.BroadlinkBaseThingHandler.decodeDevicePacket(BroadlinkBaseThingHandler.java:179) ~[bundleFile:?]
at org.openhab.binding.broadlink.handler.BroadlinkBaseThingHandler.authenticate(BroadlinkBaseThingHandler.java:139) [bundleFile:?]
at org.openhab.binding.broadlink.handler.BroadlinkBaseThingHandler.transitionToOnline(BroadlinkBaseThingHandler.java:262) [bundleFile:?]
at org.openhab.binding.broadlink.handler.BroadlinkBaseThingHandler.updateItemStatus(BroadlinkBaseThingHandler.java:215) [bundleFile:?]
at org.openhab.binding.broadlink.handler.BroadlinkBaseThingHandler$1.run(BroadlinkBaseThingHandler.java:103) [bundleFile:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]

Any idea what went wrong?

any news about sp3s and working power meter?

Hello, do you know how can I read these broadlink string Items from Alexa? i have tried several options but it is still not detected from Alexa.

Thank you.

1 Like

I successfully control devices with Broadlinmk RM3PRO by sending commands from metadata, but how to control my devices by voice with google I don’t know. Also interesting!!!

It works similar to adding lights to Google Assistant (i.e. create a supported GA item like a switch).
In my case I use a dummy switch and a rule:

2 Switch Items


Rule


1 Like

Thx, I think I understand how to control devices like lamps or switches(on/off). But I also have a device-like multimedia player with many commands (not only on/off), like “increase/decrease volume, next video, stop/pause”, how to control this type of device, or for example I have blinds http://prntscr.com/12u9u2g it has 3 commands.

PS doesn’t know if I correct, but it looks like you use a socket with a power meter to check that your TV spends energy (to check it enables or disables)? Do you use SP3S? because I don’t know how to get the power information, always null

Yes, you are correct. My Samsung TV, as well as my Mibox, also got multiple other commands controllable by IR. The problem though with IR is that even for those, you will need some kind of control like a switch as each i.e. volume increase is a single IR signal sent. Further you will not get the actual current state of, say, volume or even if the TV is on/off.
I did some testing with volume IRs as well as left/right/up/down IRs for my Mibox and basically also had to use a switch item for it. If there are other solutions, happy to learn about them though as it is not the easiest (i.e. you cannot tell Hey Google, set volume to 50).

Hence I am using this in combination with a Xiaomi Smart Socket that my TV is plugged into which then sets the Samsung TV either to on or off (did not write that rule yet to update a separate status item).