lprhodes / homebridge-broadlink-rm

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

Can't Learn Device Code (Couldn't learn code, device not found) #664

Open MurphyB17 opened 4 years ago

MurphyB17 commented 4 years ago

Hello please help! I am learning this as I go/half have no idea what I'm doing, but I finally was able to get the switches come up on the Home app, however, I am not able to learn any codes

Getting this message:

[Info] We've discovered an unknown Broadlink device. This likely won't cause any issues.

Please raise an issue in the GitHub repository (https://github.com/lprhodes/homebridge-broadlink-rm/issues) with details of the type of device and its device type code: "62bc". The device is connected to your network with the IP address "192.XXX.X.XXX".

When I try to learn a code it says this immediately

[7/13/2020, 10:16:08 PM] [Broadlink RM] [INFO] Learn Code initializing (undefined) [7/13/2020, 10:16:08 PM] [Broadlink RM] [ERROR] Learn Code (Couldn't learn code, device not found)

JulianNaumann commented 4 years ago

Your device is not yet supported by this plugin. Somebody else forked it and added partial support for your device. The new plugin is this: https://github.com/kiwi-cam/homebridge-broadlink-rm

Install it like this: npm i -g homebridge-broadlink-rm-pro

For IR learning you can use the normal way. For RF learning, as it is not yet supported by the plugin, you need to manually learn the codes by following this comment https://github.com/mjg59/python-broadlink/issues/358#issuecomment-653696224 . Headsup, for this you will Python installed and python-broadlink installed, i.e. via pip3 (python package manager).

MurphyB17 commented 4 years ago

Your device is not yet supported by this plugin. Somebody else forked it and added partial support for your device. The new plugin is this: https://github.com/kiwi-cam/homebridge-broadlink-rm

Thank you so much! That worked!