On my remote, the signal to turn on and to turn off is the same.
It means that remotely I send always the same command without knowing the current state.
I do think that the persistency could help me but In this case that the AC should be controlled only from openhab and I should not use anymore original remote.
Am I right?
Is there a better way?
* 2 one ways together on a same light
i know that the TC are one ways. i mean that if i turn off the first one, the second one will be still on.
is it possible to make a rule to synchronize them?
**
SmartOne Alarm & Security Kit Smart Home Automation
i have added succesfully
**
Broadlink RM Pro -RM2 [10.100.102.101]
Broadlink RM Mini -RM3 [10.100.102.102]
BroadLink SP3 Home Socket -SP2 [10.100.102.103]
below the openhab.log 2017-09-01 11:15:48.461 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘broadlink:rm2:34-ea-34-c7-c9-15’ to inbox. 2017-09-01 11:15:48.470 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘broadlink:rm3:34-ea-34-c7-76-86’ to inbox. 2017-09-01 11:15:48.487 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘broadlink:s1c:b4-43-0d-fe-e1-bf’ to inbox. 2017-09-01 11:15:48.495 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘broadlink:sp2:34-ea-34-f5-ae-aa’ to inbox. 2017-09-01 11:15:48.504 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘broadlink:sp2:b4-43-0d-ee-d6-04’ to inbox. 2017-09-01 11:15:58.370 [INFO ] [link.internal.socket.BroadlinkSocket] - Socket closed 2017-09-01 11:15:58.375 [INFO ] [link.internal.socket.BroadlinkSocket] - Receiver thread ended 2017-09-01 11:19:39.350 [ERROR] [home.core.thing.binding.ThingFactory] - Thing factory (class org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory) returned null on create thing when it reports to support the thing type (broadlink:s1c). 2017-09-01 11:19:39.352 [WARN ] [g.discovery.internal.PersistentInbox] - Cannot create thing. No binding found that supports creating a thing of type broadlink:s1c.
and below the event log
2017-09-01 11:14:21.441 [ItemChannelLinkAddedEvent ] - Link ‘AC_LIVINGROOM-broadlink:rm2:34-ea-34-c7-c9-15:command’ has been added. 2017-09-01 11:14:21.453 [ItemChannelLinkAddedEvent ] - Link ‘WALL_LIVINGROOM-broadlink:rm2:34-ea-34-c7-c9-15:command’ has been added. 2017-09-01 11:14:21.455 [ItemChannelLinkAddedEvent ] - Link ‘Temperature-broadlink:rm2:34-ea-34-c7-c9-15:temperature’ has been added. 2017-09-01 11:14:21.457 [ItemChannelLinkAddedEvent ] - Link ‘AC_ROOM-broadlink:rm3:34-ea-34-c7-76-86:command’ has been added. 2017-09-01 11:14:28.709 [InboxAddedEvent ] - Discovery Result with UID ‘ntp:ntp:local’ has been added. 2017-09-01 11:15:48.463 [InboxAddedEvent ] - Discovery Result with UID ‘broadlink:rm2:34-ea-34-c7-c9-15’ has been added. 2017-09-01 11:15:48.476 [InboxAddedEvent ] - Discovery Result with UID ‘broadlink:rm3:34-ea-34-c7-76-86’ has been added. 2017-09-01 11:15:48.487 [InboxAddedEvent ] - Discovery Result with UID ‘broadlink:s1c:b4-43-0d-fe-e1-bf’ has been added. 2017-09-01 11:15:48.496 [InboxAddedEvent ] - Discovery Result with UID ‘broadlink:sp2:34-ea-34-f5-ae-aa’ has been added. 2017-09-01 11:15:48.505 [InboxAddedEvent ] - Discovery Result with UID ‘broadlink:sp2:b4-43-0d-ee-d6-04’ has been added. 2017-09-01 11:17:23.788 [InboxRemovedEvent ] - Discovery Result with UID ‘broadlink:rm2:34-ea-34-c7-c9-15’ has been removed. 2017-09-01 11:17:23.807 [ThingAddedEvent ] - Thing ‘broadlink:rm2:34-ea-34-c7-c9-15’ has been added. 2017-09-01 11:17:23.849 [hingStatusInfoChangedEvent] - ‘broadlink:rm2:34-ea-34-c7-c9-15’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) 2017-09-01 11:18:01.307 [InboxRemovedEvent ] - Discovery Result with UID ‘broadlink:rm3:34-ea-34-c7-76-86’ has been removed. 2017-09-01 11:18:01.313 [ThingAddedEvent ] - Thing ‘broadlink:rm3:34-ea-34-c7-76-86’ has been added. 2017-09-01 11:18:01.349 [hingStatusInfoChangedEvent] - ‘broadlink:rm3:34-ea-34-c7-76-86’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) 2017-09-01 11:18:22.361 [InboxRemovedEvent ] - Discovery Result with UID ‘broadlink:sp2:34-ea-34-f5-ae-aa’ has been removed. 2017-09-01 11:18:22.365 [ThingAddedEvent ] - Thing ‘broadlink:sp2:34-ea-34-f5-ae-aa’ has been added. 2017-09-01 11:18:22.394 [hingStatusInfoChangedEvent] - ‘broadlink:sp2:34-ea-34-f5-ae-aa’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) 2017-09-01 11:19:06.372 [InboxRemovedEvent ] - Discovery Result with UID ‘broadlink:sp2:b4-43-0d-ee-d6-04’ has been removed. 2017-09-01 11:19:06.376 [ThingAddedEvent ] - Thing ‘broadlink:sp2:b4-43-0d-ee-d6-04’ has been added. 2017-09-01 11:19:06.405 [hingStatusInfoChangedEvent] - ‘broadlink:sp2:b4-43-0d-ee-d6-04’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING)
I would use switchable in stead of lighting, because its only on and off you need, but i don’t think it will work either cause the string calls the .map file which can contain a lot off broadlink commands.
Something that should work is an http command, u can make those with rm bridge and with the rm plugin android app
I use that to control my chinese robot vacuum cleaner, works well with a dedicated mini!
The plugin cato is building is still a beta so not everything is working or clear yet…
rule "aircon simple on"
when
Item Klima_Dummy received command ON
then
Airco_Remote.sendCommand("AIRCO_AUTO_26")
end
rule "aircon quiet on"
when
Item Klima_Quiet_Dummy received command ON
then
Airco_Remote.sendCommand("AIRCO_SILENT_26")
end
rule "aircon Dehumid on"
when
Item Klima_Dehumidify_Dummy received command ON
then
Airco_Remote.sendCommand("AIRCO_DEHUMIDIFY")
end
rule "aircon Realfeel on"
when
Item Klima_Realfeel_Dummy received command ON
then
Airco_Remote.sendCommand("AIRCO_REALFEEL")
end
rule "aircon off"
when
Item Klima_Dummy received command OFF or
Item Klima_Realfeel_Dummy received command OFF or
Item Klima_Dehumidify_Dummy received command OFF or
Item Klima_Quiet_Dummy received command OFF
then
Airco_Remote.sendCommand("AIRCO_OFF")
end
In a later iteration, I’ll add logic to select the temp according to room temp (from my heating system).
Hello nakh, I’m not expert in this binding too, but I quite understand on how broadlink in general works.
Air conditioner
In order to know the current state, you’d better off installing current meter on your aircon, so if current is 0 then Aircon status is off, and if current is > 1 (or whatever low value you choose) then aircon status is on. Current is different on each aircon standby state, so you should experiment yourself.
2 one ways
I don’t understand on this question, but since broadlink switch only have 1 way communication, we can only send command the switches. If it means that we have no way to tell if the lamp is on or off without power current meter.
SmartOne Alarm
I don’t have any of these, so I cannot help
Weirdly Chosen,
X-ray helped me so much it mine turn to return the favor. GitHub is not the correct page for the Authentication Key and IV parameter. When you look at the status of your IR blaster in things what does it show as the status? If it doesn’t says online then the configuration is not correct. I hate to be cryptic with my answer but this site can’t reference that page directly or this post would be deleted. You need to do more research to get the correct Authentication Key and IV parameter for the bindings.
Once you find the right page
Look for these key words.
Authentication key = initial key
IV parameter = Initial vector
thank you for your help, Eric. My IR blaster is online, but nothing happened. I tried both IR and RF command. No IR blasted from RM devices. Viewed using phone’s camera.
EDIT: I deleted the comma, space, and '0x’s from github’s page to achieve 32 character initial key and IV, if it may help.
Great works, I got RM2 and RM3, RM2 works, but RM3 is not,
openhab detected offline when I unplug USB and went back online when plug it back,
but it got no response for take command, usually when boradlink receive command, led will flash one time,
but it’s not on RM3
P.S. Problem solved by remove thing and readd
01:29:22.190 [DEBUG] [dlink.handler.BroadlinkRemoteHandler] - Handling ir/rf command Contex_TV_VolumDown on channel command of thing Broadlink RM3 [192.168.xxx.xxx]
01:29:22.207 [DEBUG] [dlink.handler.BroadlinkRemoteHandler] - Transformed Contex_TV_VolumDown for thing Broadlink RM3 [192.168.xxx.xxx] with map file 'broadlink.map'
I got no issue with python script, it also works well on RM2 pro. I also got issue with MP1, I got it detected in Inbox, but it’s all default off, when click on, it will turn back off around 15 seconds later. if socket is off, it can be turn on, but not off, S1-S3 can turn on, S4 no response and no status return.
i succeed to add :
Broadlink RM Pro -RM2 [10.100.102.101]
Broadlink RM Mini -RM3 [10.100.102.102]
BroadLink SP3 Home Socket SIMANE -SP2 [10.100.102.103]
BroadLink SP3 Home Socket -SP2 [10.100.102.105]
but it’s impossible to add SmartOne Alarm & Security Kit Smart Home Automation For BroadLink S1C For Phone ERROR: 409 - Conflict
@Cato_Sognen, feel free to send a beta, i can test on all those devices
I was able to record both RF and a IR codes using the command 'http://192.168.1.xxx:xxxx/study?deviceMac=34:ea:34:d0:xx:xx to the free version of RM Plugin Lite.
using http://192.168.1.xxx:xxxx/codes - I’m able to extract the codes and the IR ones work … happy to share the Haiku Fan IR controls codes if anyone needs them.
Using the same methodology I can’t get RF codes to work … do I need to do something different?
Examples of the capture codes from my map file included here:
Haiku IR
fan_whoosh = 260050000001279612121313111412131312111412131312113913371337123813381238113813381213131211391213111412131312111512371238121411381338123811391238140005220001274b14000d050000000000000000
I can’t create the code in the e-control app on android as it gives an error. But previously created ones on the iphone app work reliably. I was just trying to find a method to get the codes as a workaround for the error.
ok, so it should work, i asked, because there are rolerblinds that use a changing RF code for security, , so that won,t work.
Have you tried the RM Bridge? http://rm-bridge.fun2code.de/ I’m using that for some devices via HTTP code until we have a complete and stable OH broadlink binding
Yes, I tried that but it didn’t work … I found the web interface to be more practical.
I have the blinds working from the broadlink but via the iPhone app and also have them operating a schedule. So I know it can work!
I have a Somfy blind as well that has rolling codes … I’m just hoping someone will reverse engineer the logic and implement a solution!