mlfunston / node-red-contrib-broadlink-control

Set of node-red nodes to manage the Broadlink home automation device suite
MIT License
44 stars 24 forks source link

RM4 pro and RM4c mini #30

Closed lemojack closed 4 years ago

lemojack commented 4 years ago

Hi, I have problem with adding these devices to Node-Red. Discover shows me :

RM4 Pro Discover: typeid: "6026" type "RM4 Pro"

RM4C mini Discover: typeid: "62be" type "RM4c"

I use example learn/send data for learning IR codes. In both cases when I try to learn IR codes I received debug message : "Broadlink Timeout Received - Closing Device Connection"

RM4 Pro node config : rmpro1 rmpro2

My config : Node-RED v. 1.0.4 node-red-contrib-broadlink-control v. 2.0.0

mlfunston commented 4 years ago

Did you add the Catalog file (SharedData) from the mobile app?

lemojack commented 4 years ago

In e-control app the RM4 pro appears to me as unknown device and I can't use it. I can use both device RM4 pro and RM4C mini in Broadlink- Universal Remote app.

This unknown device in e-control app generate some dir in path /broadlink/newremote/SharedData/ According to the guide I just shared the data from e-control through WLAN and copy the whole dir SharedData I'm using Node-RED as add-on to homeassistant so I add path /config/SharedData where I put dir from e-control, but the result is exactly the same.

karmarcharger commented 4 years ago

Facing the same issue here, using the iphone version of the app

i checked in the e-control app there is additional files, but sadly as mentioned above it doesnt work for RM4 Pro. Below is the files in the econtrol app https://apps.apple.com/sg/app/broadlink-e-control/id793152994 image Inside ConCode folder of econtrol app image

Compared with the other app https://apps.apple.com/us/app/broadlink/id1450257910 image Inside the ConCode file of other app image

mlfunston commented 4 years ago

Ok - the newer versions don't work with the older app. There is a development task to use the DB from the newer IHC app, but I've not had time to work on that yet.

In the meantime, you could try the BroadlinkDB folder in this repository as your SharedData folder. The 4 files in it are the ones that are needed from it. You just need to update the details in the files.

lemojack commented 4 years ago

Should I update all parameter in the jsonDevice? Because when I change mac, type, password and publicKey to this one which I have from e-control app it's still not working.

mlfunston commented 4 years ago

I have added the 6026 device type to the RM4 configuration as it was missing. This will be updated in the next release v2.0.1.

mlfunston commented 4 years ago

IHC App support is covered in issue #9 so will address it on that.

mlfunston commented 4 years ago

6026 device type issue fixed in v2.0.1 and published