PLUGIN: Broadlink RM Interface

THIS PLUGIN HAS BEEN WITHDRAWN FROM DISTRIBUTION

Great … you beat me to be to it … I will still probably release mine as well … integrated with voice control.

mmm, I’m waiting on my two to arrive (Pro & Mini) so I can test. Now I can’t wait!
I had been wanting to buy a Goggle Home so having voice available would be a plus, so I’m still waiting on your your version richard!
Thanks guy’s ( both of you), making devices compatible with Vera is really state of art, just need to get Vera to sort out it’s own bugs and the world will be a better place.

weird, it does not show up in the available apps…

Did you notice:

You can force your Vera to update to a specific release before it is approved in the App Store by entering the following URL into your browser: http://:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8996&Version=

[quote=“RichardTSchaefer, post:5, topic:197515”]Did you notice:

You can force your Vera to update to a specific release before it is approved in the App Store by entering the following URL into your browser: http://:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8996&Version=
[/quote]

yup, just don’t know what to put in for the version… any entry gets me this error:

ERROR: Failed to retrieve plugins

EDIT: never mind, i’m a dumbass…

Auto-discovery does not seem to work. I’ve installed the plugin and it shows “no selected device” on the devices list. I uninstalled and re-installed the UPnP proxy and verified it is running by going to http://:2529/version. that returns the running version. Not sure what else to try.

My fault… Fixed in latest version…

With the rate that Vera/Mios reviews and approves plugins, It should be available on the app store in 3 to 6 weeks. (ok… A little exagerated… but not much… I have seen approvals take over two weeks at some points… Some of my plugins have had 6 or seven updates pending approval at one time…)

Thank you!!! this is awesome… I really wish there was a way to import all the codes i have already learned on the iphone app. Guess i’ll spend some time churning through the 'motes.

I depends on which app you are refering to… there are Two… e-control and IHC…

If you are using e-control, i have figured out how to retrieve the IR Codes from an Android or IOS device… The tricky part is parsing the data and adding it… which will take a little time…

I am using e-control. If there is anyway i can help, let me know…

Guys. could you tell how did you succeed to download the plugin. The command for forcing the Vera to retrieve it did not work for me. Maybe I?m doing something wrong . Any tip you can share ??

Sent from my iPhone using Tapatalk

[quote=“hvazana, post:12, topic:197515”]Guys. could you tell how did you succeed to download the plugin. The command for forcing the Vera to retrieve it did not work for me. Maybe I?m doing something wrong . Any tip you can share ??

Sent from my iPhone using Tapatalk[/quote]

Did you try this? replace with the ip of your vera…

http://<your ip>:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8996&Version=34871

Worked !!! Thanks

Sent from my iPhone using Tapatalk

I depends on which app you are refering to… there are Two… e-control and IHC…

If you are using e-control, i have figured out how to retrieve the IR Codes from an Android or IOS device… The tricky part is parsing the data and adding it… which will take a little time…[/quote]

Import worked like a charm,but it seems the codes do not work when triggered from the vera. I was watching the logs when i sent the command via a web request (http://my.vera.ip.addr:3480/data_request?id=action&DeviceNum=178&serviceId=urn:micasaverde-com:serviceId:Broadlink1&action=SendCode&CodeData=1509390321) and this is what showed:

08 10/30/17 16:06:42.893 JobHandler_LuaUPnP::HandleActionRequest device: 178 service: urn:micasaverde-com:serviceId:Broadlink1 action: SendCode <0x715c7520> 08 10/30/17 16:06:42.893 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=178 <0x715c7520> 08 10/30/17 16:06:42.893 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:Broadlink1 <0x715c7520> 08 10/30/17 16:06:42.893 JobHandler_LuaUPnP::HandleActionRequest argument action=SendCode <0x715c7520> 08 10/30/17 16:06:42.893 JobHandler_LuaUPnP::HandleActionRequest argument CodeData=1509390321 <0x715c7520> 02 10/30/17 16:06:42.894 luup_log:178: (BroadLink::UPNP::SendCode) Called. <0x715c7520> 01 10/30/17 16:06:42.895 LuaInterface::CallFunction_Job device 178 function SBroadlink_Broadlink1_SendCode_run failed [string "VERSION = "v1.4"..."]:1596: attempt to index local 'sCommand' (a number value) <0x715c7520>

If i send the code from the send button on the codes page in the plugin i get the following, but still no response from the TV:

08 10/30/17 16:30:02.955 JobHandler_LuaUPnP::HandleActionRequest device: 178 service: urn:micasaverde-com:serviceId:Broadlink1 action: SendCode <0x713c7520> 08 10/30/17 16:30:02.956 JobHandler_LuaUPnP::HandleActionRequest argument action=SendCode <0x713c7520> 08 10/30/17 16:30:02.956 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=178 <0x713c7520> 08 10/30/17 16:30:02.956 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:Broadlink1 <0x713c7520> 08 10/30/17 16:30:02.956 JobHandler_LuaUPnP::HandleActionRequest argument CodeData={"Name":"TV_BTN_34","Timestamp":1509390321,"Source":"e-Control","Code":"32363030353830303030303132363934313431313131313431323337313231343132313231313134313131333133313231323338313233373132313331343336313133383132333731643264313233383133313131313134313231333133333631333132313131343133313231323133313133383131333831323338313531303131333831323338313333363134333631323030303464353030303132373462313230303063353230303031323634623132303030643035"} <0x713c7520> 02 10/30/17 16:30:02.957 luup_log:178: (BroadLink::UPNP::SendCode) Called. <0x713c7520> 02 10/30/17 16:30:03.446 luup_log:178: (BroadLink::UPNP::SendCode) Sent code data. <0x713c7520>

ALSO: One suggestion for a future version (as if you hadn’t done enough), it would be nice to add the ability to give the imported codes a friendly name. I can prpbably edit them in the advanced variable tab,but it would be nice to be able to do it from the UI.

Somehow, I missed that the imported codes were being corrupted when saved… (The codes were hex encoded when imported, then hex encoded again when being saved)

The latest version will detect and fix the corrupted codes, and the import function has been fixed… Once the codes are fixed, they can be sent…

The SendCode action is also fixed… so everything should work now.

Yup, this version works great! thanks for adding the name change button!!

Any suggestion for ?no discovered devices? status ? . Rescanned several times .

Sent from my iPhone using Tapatalk

[quote=“hvazana, post:18, topic:197515”]Any suggestion for ?no discovered devices? status ? . Rescanned several times .

Sent from my iPhone using Tapatalk[/quote]

reboot you broadlink device. reboot your vera. Turn on debug mode in the plugin and post the LuaUPnP log showing the plugin startup.

Did both a reboot. the plugin debug mode does not work. status stays disabled. both broadlink devices are not detected ( RM pro and RM mini) .
I am using version 1.6 .

Sometimes when pressing rescan he following error appear :" Error executing function selectDevicePage(): "