PLUGIN: Broadlink RM Interface

I get all of the automation packages confused … On more time … HA Bridge has native discovery and command processing.
I found details for the API by doing a google search for “Broadlink RM API”

[quote=“RichardTSchaefer, post:101, topic:197515”]I get all of the automation packages confused … On more time … HA Bridge has native discovery and command processing.
I found details for the API by doing a google search for “Broadlink RM API”[/quote]

HA Bridge is NOT automation software… It is… umm… Bridge software… It’s even in the name!!!

You set up the HA Bridge software on another computer (raspberry pi, etc) and the home automation software talks to the HA Bridge computer…

The codes are configured in the Broadlink plugin for the HA Bridge software…

And… To import data from eControl into the Broadlink Plugin for HA Bridge, you need to extract the data files from the android device filesystem.

And… The “Broadlink RM API” that shows up/is referenced in the google search… It’s an android app!! (by Millicutti/fun2code - RM Bridge)

[quote=“cybrmage, post:100, topic:197515”][quote=“Nfluester, post:94, topic:197515”]Hi there,

the plugin is working great stand alone however i want to create a scene however when i add a 2nd line under the scene advanced editor i add the 2nd send code and it says command already exists?

how should i do this?

thanks[/quote]

This I hadn’t noticed… But see how it could be a problem…

An immediate fix would be to add delayed actions to the scene… The scene editor will allow the same actions if they are delayed…

OR you could add as many call_action statements as needed to the scene luup code…

I will incorporate the ability to specify multiple codes in one command to the next version…[/quote]

Setting a delay solved the problem however next problem is I can’t use the scene via the alexa integration as alexa says the broadlink is a prohibited device.

Is this in the way you have coded the plugin?

Thanks

Neil

Cybermage, the in depth description solved the problem. I also now have a greater (but dangerous) knowledge of how it works! :slight_smile:

Make sure that the IP address you are using is the address for the device running eControl, NOT the IP address of the broadlink device.

I don’t know how I missed this but it begs the question why have the IP discovery for the Broadlink devices when the discovery really needs the device that eControl is resident on?

Life’s never without complications:

The codes have been imported but I don’t get a response when I try to send the code to the RMPro.
I tried with and without eControl running. (Does eControl need to running in the background?)

[code]02 11/28/17 13:27:14.598 luup_log:481: (BroadLink::Plugin_Init): Broadlink RM Interface v1.13


************** STARTING **************
************************************** <0x76dc1520>
02 11/28/17 13:27:14.599 luup_log:481: (BroadLink::getMiosVersion): vera_model [Sercomm NA301] mios_branch [1] mios_major [7] mios_minor [3014]. <0x76dc1520>
02 11/28/17 13:27:14.600 luup_log:481: (BroadLink::getMiosVersion): MIOS_VERSION [UI7] openLuup [FALSE]. <0x76dc1520>
50 11/28/17 13:27:14.601 luup_log:481: (BroadLink::Plugin_Init): Broadlink RM Interface - Plugin version [v1.13] - MIOS_VERSION [UI7] <0x76dc1520>
06 11/28/17 13:27:14.601 Device_Variable::m_szValue_set device: 481 service: urn:micasaverde-com:serviceId:Broadlink1 variable: DebugMode was: DISABLED now: DISABLED #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76dc1520>
06 11/28/17 13:27:14.602 Device_Variable::m_szValue_set device: 481 service: urn:micasaverde-com:serviceId:Broadlink1 variable: DebugMode was: DISABLED now: DISABLED #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76dc1520>
02 11/28/17 13:27:14.602 luup_log:481: (BroadLink::getDebugMode) DEBUG MODE [DISABLED] UnitID [NIL] DEV_SYS [FALSE]. <0x76dc1520>
02 11/28/17 13:27:14.624 luup_log:481: (BroadLink::Plugin_Init): Loaded Devices [
1: [
KEY: ee77642725ebda165b5e510692d1c775
IP: 192.168.0.22
MAC: 34:ea:34:8e:fa:0b
internalID: 02000000
isPro: TRUE
Name:
sensors: [
temperature: 28.1
]
hasAuth: TRUE
devType: 10119
devTypeName: RM2 Pro Plus2
hasTemp: TRUE
hasIR: TRUE
]
2: [
KEY: 95c8f83195c8f83102afe51039225c00
MAC: 34:ea:34:40:99:8f
IP: 192.168.0.25
internalID: 02000000
devType: 10039
isPro: FALSE
Name:
hasAuth: TRUE
devTypeName: RM Mini
hasTemp: FALSE
hasIR: TRUE
]

]. <0x76dc1520>
02 11/28/17 13:27:14.625 luup_log:481: (BroadLink::Plugin_Init): Loaded Commands [
1: [
Name: StudyAC_BTN_1
Timestamp: 1511818675
Source: e-Control
Code: 26002401000127941212121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212361236123612121200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290
]
2: [
Name: StudyAC_BTN_2
Timestamp: 1511818676
Source: e-Control
Code: 26002401000127941236121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212121212121212361200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290
]
3: [
Name: TV_BTN_3
Timestamp: 1511818677
Source: e-Control
Code: 260088020001299313121411141113121510141113121411143614361436113914371336141213361436141211381437131114121312131214111436141114111337143614361337140005460001294914000c5d0001274b12000c5e0001274b12000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001274b12000c5f0001284912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294815000c5c0001294914000c5d00012a4815000c5b0001294914000c5d0001294915000c5c0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5c00012a4814000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294912000c5f0001284912000c5f0001294912000c5f0001294813000c5e0001294912000c5f0001294912000c5e0001294912000c5f0001294912000c5f0001294812000d05
]

]. <0x76dc1520>
02 11/28/17 13:27:14.626 luup_log:481: (BroadLink::Plugin_Init): Selected Device [
KEY: 33eb6c2633eb6c26a0d15905d644d074
hasIR: TRUE
MAC: 34:ea:34:8e:fa:0b
hasTemp: TRUE
Name: RMPRO
devType: 10119
isPro: TRUE
hasAuth: TRUE
sensors: [
temperature: 26.6
]
devTypeName: RM2 Pro Plus2
internalID: 02000000
IP: 192.168.0.22

]. <0x76dc1520>
02 11/28/17 13:27:14.627 luup_log:481: (BroadLink::Plugin_Init): Broadlink RM Interface controller v1.13


*********** INIT COMPLETED ***********
************************************** <0x76dc1520>
02 11/28/17 13:27:14.629 luup_log:482: (BroadLink::Plugin_Init): Broadlink RM Interface v1.13


************** STARTING **************
************************************** <0x76dc1520>
02 11/28/17 13:27:14.630 luup_log:482: (BroadLink::getMiosVersion): vera_model [Sercomm NA301] mios_branch [1] mios_major [7] mios_minor [3014]. <0x76dc1520>
02 11/28/17 13:27:14.631 luup_log:482: (BroadLink::getMiosVersion): MIOS_VERSION [UI7] openLuup [FALSE]. <0x76dc1520>
50 11/28/17 13:27:14.631 luup_log:482: (BroadLink::Plugin_Init): Broadlink RM Interface - Plugin version [v1.13] - MIOS_VERSION [UI7] <0x76dc1520>
06 11/28/17 13:27:14.632 Device_Variable::m_szValue_set device: 482 service: urn:micasaverde-com:serviceId:Broadlink1 variable: DebugMode was: DISABLED now: DISABLED #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76dc1520>
06 11/28/17 13:27:14.633 Device_Variable::m_szValue_set device: 482 service: urn:micasaverde-com:serviceId:Broadlink1 variable: DebugMode was: DISABLED now: DISABLED #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76dc1520>
02 11/28/17 13:27:14.633 luup_log:482: (BroadLink::getDebugMode) DEBUG MODE [DISABLED] UnitID [NIL] DEV_SYS [FALSE]. <0x76dc1520>
02 11/28/17 13:27:14.653 luup_log:482: (BroadLink::Plugin_Init): Loaded Devices [
1: [
KEY: ee77642725ebda165b5e510692d1c775
IP: 192.168.0.22
MAC: 34:ea:34:8e:fa:0b
internalID: 02000000
isPro: TRUE
Name:
sensors: [
temperature: 28.1
]
hasAuth: TRUE
devType: 10119
devTypeName: RM2 Pro Plus2
hasTemp: TRUE
hasIR: TRUE
]
2: [
KEY: 95c8f83195c8f83102afe51039225c00
MAC: 34:ea:34:40:99:8f
IP: 192.168.0.25
internalID: 02000000
devType: 10039
isPro: FALSE
Name:
hasAuth: TRUE
devTypeName: RM Mini
hasTemp: FALSE
hasIR: TRUE
]

]. <0x76dc1520>
02 11/28/17 13:27:14.654 luup_log:482: (BroadLink::Plugin_Init): Loaded Commands [
1: [
Name: StudyAC_BTN_1
Timestamp: 1511818675
Source: e-Control
Code: 26002401000127941212121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212361236123612121200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290
]
2: [
Name: StudyAC_BTN_2
Timestamp: 1511818676
Source: e-Control
Code: 26002401000127941236121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212121212121212361200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290
]
3: [
Name: TV_BTN_3
Timestamp: 1511818677
Source: e-Control
Code: 260088020001299313121411141113121510141113121411143614361436113914371336141213361436141211381437131114121312131214111436141114111337143614361337140005460001294914000c5d0001274b12000c5e0001274b12000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001274b12000c5f0001284912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294815000c5c0001294914000c5d00012a4815000c5b0001294914000c5d0001294915000c5c0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5c00012a4814000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294912000c5f0001284912000c5f0001294912000c5f0001294813000c5e0001294912000c5f0001294912000c5e0001294912000c5f0001294912000c5f0001294812000d05
]

]. <0x76dc1520>
02 11/28/17 13:27:14.655 luup_log:482: (BroadLink::Plugin_Init): Selected Device [

]. <0x76dc1520>
02 11/28/17 13:27:14.656 luup_log:482: (BroadLink::Plugin_Init): Broadlink RM Interface controller v1.13


*********** INIT COMPLETED ************************************************* <0x76dc1520> [/code]

then…

02 11/28/17 13:27:37.913 luup_log:482: (BroadLink::UPNP::SendCode) Called. <0x72b80520> 02 11/28/17 13:27:38.348 luup_log:482: (BroadLink::UPNP::SendCode) Sent code data. <0x72b80520> 02 11/28/17 13:27:38.962 RAServerSync::SyncDevice alt 0 response 200 url https://vera-us-oem-device12.mios.com/device/device/device/45200343/localdevices with 21936 bytes <0x76dc1520> 08 11/28/17 13:27:40.136 JobHandler_LuaUPnP::HandleActionRequest device: 482 service: urn:micasaverde-com:serviceId:Broadlink1 action: SendCode <0x72b80520> 08 11/28/17 13:27:40.136 JobHandler_LuaUPnP::HandleActionRequest argument action=SendCode <0x72b80520> 08 11/28/17 13:27:40.137 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=482 <0x72b80520> 08 11/28/17 13:27:40.137 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:Broadlink1 <0x72b80520> 08 11/28/17 13:27:40.138 JobHandler_LuaUPnP::HandleActionRequest argument CodeData={"Name":"StudyAC_BTN_2","Timestamp":1511818676,"Source":"e-Control","Code":"26002401000127941236121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212121212121212361200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"} <0x72b80520> 02 11/28/17 13:27:40.138 luup_log:482: (BroadLink::UPNP::SendCode) Called. <0x72b80520> 02 11/28/17 13:27:40.947 luup_log:482: (BroadLink::UPNP::SendCode) Sent code data. <0x72b80520> 06 11/28/17 13:2

It’s when you transfer files that you need the IP address of the mobil device running e-control.
That’s because the RM devices does NOT store any codes. Your e-Control mobile stores the codes, and sends them to the RM device when you initiate a command.
What you are trying to do is learn the codes that are already stored on your e-Control mobile devices, so you need it’s IP to obtain the information from it.

mmm.

The device finds 3 devices, although one of them is not named correctly.

I can Delete & Name them but selecting Send has no response.
Should I be able to control a device from this PlugIN?
I looked for properties in PLEG but couldn’t find a Set Target, so ATM I have something I can’t work out how to control.

Looks like a little more work is needed for his plugin …
He does not define an argument for the “SelectDevice” action.
and
He does not define a device argument for the “SendCode”
I am not sure if you can provide the Name of the Code as the argument to SendCode as well as a code string.

Experimenting here.
I used the code 1511839292) [font=verdana]for a AC Device on the RMPro. in the Run Code section of ACTIONS in PLEG.[/font]
[font=verdana]I’m assuming this was the code to switch this ON as there is no other code downloaded
[/font]

There was no response from the A/C but the logs show that the code was sent.

[code]

08 11/29/17 8:35:11.918 JobHandler_LuaUPnP::HandleActionRequest device: 481 service: urn:micasaverde-com:serviceId:Broadlink1 action: SendCode <0x725ae520>
08 11/29/17 8:35:11.918 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=481 <0x725ae520>
08 11/29/17 8:35:11.919 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:Broadlink1 <0x725ae520>
08 11/29/17 8:35:11.919 JobHandler_LuaUPnP::HandleActionRequest argument action=SendCode <0x725ae520>
08 11/29/17 8:35:11.919 JobHandler_LuaUPnP::HandleActionRequest argument CodeData=1511839292 <0x725ae520>
08 11/29/17 8:35:11.920 JobHandler_LuaUPnP::HandleActionRequest argument rand=0.9559780888963039 <0x725ae520>
02 11/29/17 8:35:11.921 luup_log:481: (BroadLink::UPNP::SendCode) Called. <0x725ae520>
02 11/29/17 8:35:12.207 luup_log:481: (BroadLink::UPNP::SendCode) Sent code data. <0x725ae520>[/code]

I have re-read from the start trying to see what I’m missing but just don’t see it.

With no success using the stored codes, I have turned my attention to Learning a new Code.
Unfortunately, the RMPro does not go into Learning Mode (Orange light flashing) and times out.

08 11/29/17 8:53:43.899 JobHandler_LuaUPnP::HandleActionRequest device: 481 service: urn:micasaverde-com:serviceId:Broadlink1 action: UpdateCode <0x72a10520> 08 11/29/17 8:53:43.900 JobHandler_LuaUPnP::HandleActionRequest argument action=UpdateCode <0x72a10520> 08 11/29/17 8:53:43.900 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=481 <0x72a10520> 08 11/29/17 8:53:43.900 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:Broadlink1 <0x72a10520> 08 11/29/17 8:53:43.901 JobHandler_LuaUPnP::HandleActionRequest argument CodeData={"Name":"KItchenAC","Timestamp":1511839292,"Source":"e-Control","Code":"26002401000127941212121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212361236123612121200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"} <0x72a10520> 50 11/29/17 8:53:43.902 luup_log:481: (BroadLink::UPNP::UpdateCode) Called. <0x72a10520> 06 11/29/17 8:53:43.910 Device_Variable::m_szValue_set device: 481 service: urn:micasaverde-com:serviceId:Broadlink1 variable: CommandCodes was: [{"Name": "StudyAC_BTN_1","Timestamp": 1511839292,"Source": "e-Control","Code": "26002401000127941212121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212361236123612121200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"},{"Name": "StudyAC_BTN_2","Timestamp": 1511839293,"Source": "e-Control","Code": "26002401000127941236121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212121212121212361200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"},{"Name": "TV_BTN_3","Timestamp": 1511839294,"Source": "e-Control","Code": "260088020001299313121411141113121510141113121411143614361436113914371336141213361436141211381437131114121312131214111436141114111337143614361337140005460001294914000c5d0001274b12000c5e0001274b12000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001274b12000c5f0001284912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294815000c5c0001294914000c5d00012a4815000c5b0001294914000c5d0001294915000c5c0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5c00012a4814000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294912000c5f0001284912000c5f0001294912000c5f0001294813000c5e0001294912000c5f0001294912000c5e0001294912000c5f0001294912000c5f0001294812000d05"}] now: [{"Name": "KItchenAC","Timestamp": 1511839292,"Source": "e-Control","Code": "26002401000127941212121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212361236123612121200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"},{"Name": "StudyAC_BTN_2","Timestamp": 1511839293,"Source": "e-Control","Code": "26002401000127941236121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212121212121212361200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212 120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"},{"Name": "TV_BTN_3","Timestamp": 1511839294,"Source": "e-Control","Code": "260088020001299313121411141113121510141113121411143614361436113914371336141213361436141211381437131114121312131214111436141114111337143614361337140005460001294914000c5d0001274b12000c5e0001274b12000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001274b12000c5f0001284912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294815000c5c0001294914000c5d00012a4815000c5b0001294914000c5d0001294915000c5c0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5c00012a4814000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294912000c5f0001284912000c5f0001294912000c5f0001294813000c5e0001294912000c5f0001294912000c5e0001294912000c5f0001294912000c5f0001294812000d05"}] #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x72a10520> 06 11/29/17 8:53:43.960 Device_Variable::m_szValue_set device: 481 service: urn:micasaverde-com:serviceId:Broadlink1 variable: CommandCodes was: [{"Name": "KItchenAC","Timestamp": 1511839292,"Source": "e-Control","Code": "26002401000127941212121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212361236123612121200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"},{"Name": "StudyAC_BTN_2","Timestamp": 1511839293,"Source": "e-Control","Code": "26002401000127941236121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212121212121212361200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"},{"Name": "TV_BTN_3","Timestamp": 1511839294,"Source": "e-Control","Code": "260088020001299313121411141113121510141113121411143614361436113914371336141213361436141211381437131114121312131214111436141114111337143614361337140005460001294914000c5d0001274b12000c5e0001274b12000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001274b12000c5f0001284912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294815000c5c0001294914000c5d00012a4815000c5b0001294914000c5d0001294915000c5c0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5c00012a4814000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294912000c5f0001284912000c5f0001294912000c5f0001294813000c5e0001294912000c5f0001294912000c5e0001294912000c5f0001294912000c5f0001294812000d05"}] now: [{"Source": "e-Control","Timestamp": 1511839292,"Name": "KItchenAC","Code": "26002401000127941212121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212361236123612121200051f0001279412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123612121236121212361212120002901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"},{"Source": "e-Control","Timestamp": 1511839293,"Name": "StudyAC_BTN_2","Code": "26002401000127941236121212121236121212121236121212121212121212361212121212121212121212121212121212121236121212121236121212121212123612121236121212121236121212000290123612121212121212121212121212121236121212121212121212121236123612121212121212121212121212121212121212121212121212121212121212361200051f00012794121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121236121212361212123612121200 02901236121212121212123612121212121212361212121212121236121212121212123612121212121212361212121212121236121212121212123612121236123612000290"},{"Source": "e-Control","Timestamp": 1511839294,"Name": "TV_BTN_3","Code": "260088020001299313121411141113121510141113121411143614361436113914371336141213361436141211381437131114121312131214111436141114111337143614361337140005460001294914000c5d0001274b12000c5e0001274b12000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001274b12000c5f0001284912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294912000c5f0001294912000c5f0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294913000c5d0001294914000c5d0001294914000c5d0001284914000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d00012a4814000c5d0001294815000c5c0001294914000c5d00012a4815000c5b0001294914000c5d0001294915000c5c0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5c00012a4814000c5d0001294914000c5d0001294815000c5c0001294914000c5d0001294914000c5c0001294914000c5d0001294914000c5d0001294814000c5d0001294914000c5d0001294914000c5c0001294914000c5d0001294912000c5f0001284912000c5f0001294912000c5f0001294813000c5e0001294912000c5f0001294912000c5e0001294912000c5f0001294912000c5f0001294812000d05"}] #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x72a10520> 02 11/29/17 8:53:43.961 luup_log:481: (BroadLink::UPNP::UpdateCode) Updated IR code. <0x72a10520> 06 11/29/17 8:53:47.

01 11/29/17 9:00:37.137 LuaInterface::CallFunction_Job device 481 function SBroadlink_Broadlink1_LearnCode_run took 33 seconds <0x725ae520> 01 11/29/17 9:00:37.138 LuaInterface::CallFunction_Job2 device 481 function SBroadlink_Broadlink1_LearnCode_run failed (null) with return false <0x725ae520> 02 11/29/17 9:00:37.138 JobHandler_LuaUPnP::RunAction device 481 action urn:micasaverde-com:serviceId:Broadlink1/LearnCode failed with 501/Action failed <0x725ae520>

Edit: The Mini is working correctly which is puzzling to me?

I used my Pro for learning … and send codes to both the Mini and the Pro. But this is with my Local Concierge Server.

Thanks Richard,
I did a clean instal on the Pro with it deciding to behave.
Now all I need is to PLEG it.

cybermage, thanks for your help and patience with this, I have learned much from this but unsure why the Pro was misbehaving as it was with Vera but OK with eControl. It’s all in the past for now with a new world of HA becoming available with these devices.
Just one feature request, is it possible to capture the Temp data on the Pro for use in Vera?

edit: In PLEG the Names are not recognised you need to use the ID for control.

Thanks for this, cybrmage! You are a legend. :slight_smile:

Took some mucking around on the broadlink side but I now can control my fireplace via ImperiHome. Setup the Broadlink RM Pro, managed to get it to learn the RF codes, setup your vera app, pulled info for the codes into vera, created a virtual switch for the fireplace, setup two scenes for on & off associated with the virtual switch, and done.

The issues I had were basically to do with the Broadlink itself. I found it was claiming there was no internet connectivity - solved that by disabling wifi on my mobile, connecting to the rm pro via the cloud, then re-enabling wifi on my mobile. Insane. My next challenge is the projector screen - the rm pro appears to learn the codes ok but nothing actually happens when I press the buttons… odd.

**** update ****

Ahh… badgers. I’m pretty sure I got the Australian special version of the RM Pro which has 315MHz disabled, even though I asked for the one with the lot. I guess what they do is simply snip or otherwise disable the 315MHz transmitter but leave the receiver in place. My projector screen of course needs 315MHz. Sigh. Well, at least I can control my fireplace now. :slight_smile:

@ninkasi - I also thought about having an Imperihome/Vera scene to include IR starting my vented gas log fireplace, but not being able to ensure the glass doors are open and critically, the flue is open, such a scene activation could lead to very bad things happening. I’m just curious, do you have a type of sealed combustion fireplace that can be turned on safely without prior hands-on “adjustments”?

At least for me, there is some value in a CO[sup]2[/sup] and smoke alarm detection multiswitch automatically turn OFF the fireplace!

[quote=“GaryOkie, post:114, topic:197515”]@ninkasi - I also thought about having an Imperihome/Vera scene to include IR starting my vented gas log fireplace, but not being able to ensure the glass doors are open and critically, the flue is open, such a scene activation could lead to very bad things happening. I’m just curious, do you have a type of sealed combustion fireplace that can be turned on safely without prior hands-on “adjustments”?

At least for me, there is some value in a CO[sup]2[/sup] and smoke alarm detection multiswitch automatically turn OFF the fireplace![/quote]

Yes - mine (a Heat & Glo “Jetmaster”) is sealed and fully automatic so there is little risk of issues other than high gas bills if it turns on/is left on accidentally. You don’t get the full ‘open fire’ experience but on the other hand it’s a heck of a lot easier to use. My wife is also asthmatic so was pretty much our only option to ensure minimal dust/smoke particles whilst having something in the living room that at least gave the appearance of a real fire as well as some heat. In your case, yeah I’d be concerned about making sure it’s failsafe - given that you would have to rely on a Rube Goldberg collection of things I’d probably stay away from it.

IIf you are not 100% certain, you can double check this by the label on the Box which gives you the RF Frequency and which PS is included.

IIf you are not 100% certain, you can double check this by the label on the Box which gives you the RF Frequency and which PS is included.[/quote]

Thanks. Yep - just 433 on the side, and an Aussie power supply. :frowning:

There are MANY offers on Amazon/Ebay/Gearbest/Alibaba for the RM Pro…

It seems that most are advertised as the full shot - IR/315MHz/433MHz…

I ordered mine from Amazon… Although adversised as IR/315MHz/433MHz, the version I received was IR/433MHZ. When I contacted the seller (in Taiwan), they said they have IR/315MHz/433MHz, but they are packaged for the EU (I’m in North America). They were supposed to send me one of the EU packages, but I’m not holding me breath.

I’ve been looking for a different seller with the full version, but so far, they have all been IR/433MHz…

There are MANY offers on Amazon/Ebay/Gearbest/Alibaba for the RM Pro…

It seems that most are advertised as the full shot - IR/315MHz/433MHz…

I ordered mine from Amazon… Although adversised as IR/315MHz/433MHz, the version I received was IR/433MHZ. When I contacted the seller (in Taiwan), they said they have IR/315MHz/433MHz, but they are packaged for the EU (I’m in North America). They were supposed to send me one of the EU packages, but I’m not holding me breath.

I’ve been looking for a different seller with the full version, but so far, they have all been IR/433MHz…[/quote]

FWIW My buying finger is currently hovering over this: https://www.aliexpress.com/item/2016-New-Version-Broadlink-RM-Pro-RM2-RM03-Smart-Home-Automation-Intelligent-Universal-WIFI-IR-RF/32780752688.html

They allow you to select from four options, the one marked “RM Pro EU/US/UK standard:Support RF315/433MHz+IR38KHz” appears to be the go. They even highlight “(RM Pro AU standard support RF433MHz only)” so appear to understand that some of them don’t support both frequencies. My thought is to order one and make sure I put a note down saying I want the version that supports both. Of course for me I’d need to find a USB power supply, but I have stacks of them.

I’m going to clear this up with Broadlink tomorrow, there may be a way to enable 315, there may not be either. One way we will find out.