lprhodes / homebridge-broadlink-rm

Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
571 stars 284 forks source link

broadlink rm mini 4 is not recognized #585

Open zxyroy opened 4 years ago

zxyroy commented 4 years ago

The device code is 62be. Will also provide code for rm pro 4 later

sira87 commented 4 years ago

Same here, RM4 mini and device code is 62bc.

[Info] We've discovered an unknown Broadlink device. This likely won't cause any issues.
[Broadlink RM4] Learn getSwitchState: undefined
[Broadlink RM4] Scan Frequency getSwitchState: undefined
[Broadlink RM4] [INFO] Learn Code initializing (undefined)
[Broadlink RM4] [ERROR] Learn Code (Couldn't learn code, device not found)
fparrav commented 4 years ago

In the python-broadlink repository they found the solution to support the RM4 series (RM4 mini, RM4c), and the difference is that these devices require adding a header in the payload (https://github.com/mjg59/python-broadlink/commit/1a1169f1a9d7b9075e2cebfb10c3ae769237e6d0), (I don't know if it is possible to implement this in this homebridge plugin ). They even managed to get the temperature and humidity from the sensor on the new cable (https://github.com/mjg59/python-broadlink/pull/321).

jumban commented 4 years ago

Hi having the same problem here. (Device code: 62be) Just picked up a couple of RM4C today and quite sad to find out that they are currently not working with this homebridge plugin.

guussie commented 4 years ago

Same problem, device code 62be. Also sad it's not working. It's supposed to be the final part of an extensive automation project.

niktad commented 4 years ago

Same problem i manage to solve it configure it like this...

, { "platform": "BroadlinkRM", "debug": "true", "plugin_name": "homebridge-broadlink-rm", "accessories": [ { "name": "Logitech z906 Speaker", "type": "switch", "data": { "on": "2600500000012990151015341510150f160f15101510150f160f15101510150f151015341510153415101510150f151015101510150f153416331634153415341534153415341510150005da0001294616000d050000000000000000", "off": "2600500000012990151015341510150f160f15101510150f160f15101510150f151015341510153415101510150f151015101510150f153416331634153415341534153415341510150005da0001294616000d050000000000000000", "hosts": { "address": "192.168.1.267", "mac": "78:0f:78:00:5e:e7" } } } ], "plugin_map": { "plugin_name": "homebridge-broadlink-rm" } }

vitaliy-kozlov commented 4 years ago

Hi, I was able to recogize RM4, but Learn Code still not working. To recognize your device just try to remove RM4 from the Broadlink app, then reset it and then Add again but stop BEFORE adding device to room. Just close the app.