berni
(Berni)
December 8, 2019, 1:27pm
908
I forked the github project and (dirty) fixed the Broadlink binding for Openhab 2.5 M6: https://github.com/berni2288/openhab2-addons
The new jar can be downloaded from here: https://github.com/berni2288/openhab2-addons/releases/tag/2.5-M6
I basically added back the removed bundleContext to the BroadlinkRemoteHandler class. But I have read the bundleContext should not be used anymore. Maybe someone else wants to fix it properly according to this thread: [SOLVED] Cannot figure out how to avoid bundleContext.registerService()!
I didn’t want to invest too much time into this
1 Like
ciscomike
(Mike Karantakis)
December 8, 2019, 6:26pm
909
Tried to install it several times on my 2.5-M6, unfortunately with no luck.
Maybe is just me.
fyi.
mvo
(Marcel Oliveira)
December 10, 2019, 12:54am
910
I was not luck as well. Maybe someone else help us?
mvo
(Marcel Oliveira)
December 10, 2019, 6:23pm
911
Hello Berni,
I tried to use your jar but it does not work with currently version. I can see on openhab-cli
openhab> bundle:list | grep Broadlink
259 | Active | 80 | 2.5.0.201912081254 | Broadlink Binding
openhab>
but I can see on openhab paperui binding
2.5.0-SNAPSHOT
Build #1774
berni
(Berni)
December 10, 2019, 9:19pm
913
It works for me…
Did it work for you with the old binding? Do you have some error stacktrace?
I just compiled it again with Java 8 instead of Java 9, try this one: https://github.com/berni2288/openhab2-addons/releases/tag/2.5.0-java8
Unfortunately that’s the first time I touched the code of a Openhab binding, if this does not work for you I don’t know why.
hamwong
(Ham Wong)
December 10, 2019, 11:36pm
914
I got no error come out with this one or previous work, but no response after, no IR send out from RM2, on RM2, red led should on when Tx IR, but no.
lagging
(Dario)
December 11, 2019, 10:50am
915
Albeit I am still running on 2.5M3 and everything works for me (so i’m not switching now), I just wanted to thank you for contributing. It feels like this binding really changes the use of many of our homes.
mvo
(Marcel Oliveira)
December 11, 2019, 1:31pm
916
Hello,
how to choose the update for M3 or M4? I only was able to update to latest milestone and do not choose tM3 or m4
ciscomike
(Mike Karantakis)
December 11, 2019, 7:27pm
917
Unfortunately binding still doesn’t work for my setup 2.5 M6, I can’t even see the binding on the paper UI list.
mvo
(Marcel Oliveira)
December 11, 2019, 8:45pm
918
Another colleague told me that it works for M4 versions, but I’m not sure how to choose or jump to this version
BundleBee
(Sullivan)
December 11, 2019, 10:22pm
919
Hi everyone, I’m new around here and new to openhab too, but amazed of what you could realize with it.
Last year i bought a RM mini 3 always used with his app, worked like a charm, now that I discovered OH I’d like to integrate with it, but I’m facing some problem:
I installed the binding, and followed the steps to get it working, but I got stucked in the channel linking:
no channel is associated with the broadlink item:
I’m using Paper UI and OH 2.4 stable, these are my config files:
broadlink.items:
String AIR “Air” { channel=“broadlink:rm3:brdlk3:command” }
default.sitemap:
sitemap default label=“Test sitemaps” {
Switch item=AIR label=“Power” mappings=[AIR_ON=“On”,AIR_OFF=“Off”]
}
transform/broadlink.map:
AIR_ON=26005002100C100D0F0D0F0E0F0D0F00033973371029100D0F0D100D0F2A0F0D100D0F0D100D0F2A0F0D0F2A0F2A0F0D10291029102910290F2A0F0E0F0D0F2A0F0D100D0F0D100D0F0D100D0F0D0F0E0F0D0F0E0F29100D0F2A0F0D100D0F0D102910290F0E0F0D0F0E0F0D0F2A0F0D100D0F0D100D0F0D100D0F0D100D0F0D0F0E0F0D0F2A0F2A0F2A0F0D100D0F2A0F2A0F2A0F00048E73380F2A0F0D0F0D100D0F2A0F0D100D0F0D100D0F2A0F0D0F2A0F2A0F0D102910291029102910290F0E0F0D0F2A0F0D100D0F0D100D0F0D100D0F0D100D0F0D100D0F0D0F2A0F0D100D0F0D100D0F2A0F0D100D0F0D100D0F2A0F29100D0F2A0F2A0F0D100D0F0D10290F0E0F0D0F0E0F0D0F0D100D0F2A0F0D10291029100D0F0D0F00048E733810290F0E0F0D0F0E0F29100D0F0D100D0F0D1029100D0F2A0F2A0F0D0F2A0F2A0F2A0F2A0F2A0F0D100D0F2A0F0D0F0D100D0F0D100D0F0D100D0F0D100D0F0D100D0F0D0F0E0F0D0F0E0F0D0F0D100D0F2A0F0D100D0F2A0F0D100D0F2A0F0D0F0D100D0F0D100D0F2A0F2A0F0D100D0F0D0F0E0F0D0F0E0F0D0F0D100D0F0D100D0F0D100D0F0D1029100D0F2A0F0D0F0E0F0D0F0D100D0F0D100D0F0D100D0F0D100D0F0D100D0F0D0F0E0F0D0F0D100D0F2A0F2A0F0D100D0F0D100D0F0D0F0E0F0D0F0E0F0D0F0D10291029100D0F0D100D0F0D100D0F0D0F0E0F0D0F0D100D0F0D100D0F0D100D0F0D100D0F0D10290F0E0F0D0F0E0F0D0F0D10291029100D0F0D100D0F0D100D0F0D0F0E0F29100D0F0D100D0F0D100D0F0D100D0F0D100D0F2A0F0D0F0E0F0D0F0D100D0F2A0F000D050000000000000000
AIR_OFF=26005002100C100D0F0D100D0F0D1000033873380F2A0F0D0F0E0F0D0F2A0F0D100D0F0D100D0F2A0F0D102910290F0E0F291029102910291029100D0F0D0F2A0F0E0F0D0F0D100D0F0D100D0F0D100D0F0D100D0F2A0F0D0F2A0F0D100D0F0D10291029100D0F0D100D0F0D0F2A0F0E0F0D0F0D100D0F0D100D0F0D100D0F0D100D0F0D10290F2A0F2A0F0D100D0F2A0F2A0F2A0F00048E73380F2A0F0D100D0F0D0F2A0F0D100D0F0D100D0F2A0F0D102910290F0E0F291029102910291029100D0F0D10290F0E0F0D0F0D100D0F0D100D0F0D100D0F0D100D0F0D10290F0E0F0D0F0E0F0D0F2A0F0D10291029100D0F2A0F2A0F0D0F2A0F2A0F0D100D0F0D1029100D0F0D0F0E0F0D0F2A0F2A0F2A0F0D10291029100D0F0D0F00048E73380F2A0F0E0F0D0F0E0F29100D0F0D100D0F0D1029100D0F2A0F29100D0F2A0F2A0F2A0F2A0F2A0F0D0F0E0F29100D0F0D100D0F0D100D0F0D100D0F0D100D0F0D100D0F0D0F0E0F0D0F0D100D0F0D100D0F0D100D0F0D1029100D0F0D0F2A0F0D100D0F0D100D0F0D10291029100D0F0D100D0F0D0F0E0F0D0F0D100D0F0D100D0F0D100D0F0D100D0F2A0F0D10290F0D100D0F0D100D0F0D100D0F0D100D0F0D100D0F0D100D0F0D0F0E0F0D0F0D100D0F0D10291029100D0F0D100D0F0D0F0E0F0D0F0E0F0D0F0D100D0F2A0F2A0F0D100D0F0D100D0F0D0F0E0F0D0F0D100D0F0D100D0F0D100D0F0D100D0F0D100D0F2A0F0D0F0E0F0D0F0D100D0F2A0F2A0F0D100D0F0D100D0F0D0F0E0F0D0F2A0F0D100D0F0D100D0F0D100D0F0D100D0F2A0F0D0F0E0F0D0F0D100D0F0D102910000D050000000000000000
I really don’t understand why it doesn’t work. Any help will be appreciated.
Hi @BundleBee - did you forget to post your rule file or is this the bit you are missing?
BundleBee
(Sullivan)
December 11, 2019, 10:34pm
921
Hi @Andrew_Pawelski , I don’t have any rule file, it wasn’t mentioned in the installation post
hamwong
(Ham Wong)
December 11, 2019, 10:59pm
922
did you put broadlink.map in broadlink thing config?
did you try restart?
BundleBee
(Sullivan)
December 11, 2019, 11:08pm
923
I inserted the broadlink device manually through the paper UI interface, my items folder is empty, and yes I restarted OH.
Looking a bit more at this…pretty sure you cant send a switch command to a string item
Also have you installed the MAP transformation?
Create a proxy item for your switch
sitemap default label="Test sitemaps" {
Switch item=AIR_Proxy label="Power"
}
Then adding a rule like this:
rule "AIR Control"
when
Item AIR_Proxy received command
then
switch(receivedCommand) {
case ON: {
AIR.sendCommand("AIR_ON")
}
case OFF: {
AIR.sendCommand("AIR_OFF")
}
}
end
Case statement a bit of overkill for two conditions but I am predicting you may be doing more than on or off at some stage.
BundleBee
(Sullivan)
December 11, 2019, 11:44pm
925
This is the situation, after editing the sitemap and adding the rule, nothing changed.
Seems like the sitemap is ignored, as only if i change the item file, for example the name from “Air” to “Test”, changes are done.
Can you repost your files?
hamwong
(Ham Wong)
December 12, 2019, 5:50am
927
Did you also using OH 2.5 M6-1? I got no error come out with java8 or java9, but no response after issue command, no IR send out from RM2, on RM2, red led should on when Tx IR, but no LED blink