newt10 / homebridge-broadlink-rm-enhanced

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

Scan RF not working #6

Open geoffreyteng opened 3 years ago

geoffreyteng commented 3 years ago

Scan RF is not working, same as the main repo though which seems like not actively maintained. Below are the logs, it never returns the hex code.

[11/15/2020, 11:24:52 AM] [Broadlink RM] [INFO] Scan RF (scanning) [11/15/2020, 11:24:52 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency. [11/15/2020, 11:24:56 AM] [Broadlink RM] [INFO] Scan RF (found frequency - 1 of 2) [11/15/2020, 11:24:56 AM] [Broadlink RM] [ACTION] Keep holding that button! [11/15/2020, 11:25:13 AM] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout) [11/15/2020, 11:25:13 AM] [Broadlink RM] [INFO] Scan RF (stopped)

newt10 commented 3 years ago

Hey Geoffrey, I will be following the forks to see if there is a fix that I can pull into the repository. Thanks for flagging this.

NexGen-3D-Printing commented 3 years ago

There is a fix, I posted that in iprhodes repo.

You need to down grade to v3.6.16 any versions after that will fail to complete an RF scan.

https://github.com/lprhodes/homebridge-broadlink-rm/issues/514

You will need to inspect the changes in the code from version 3.6.16 to 3.6.17 in order to figure out what broke this feature, I downgraded and captured a bunch of codes, saved them in a document then upgraded to the latest release again, that way I have codes that I can program into a receiver and I can just add them to Homebridge as I need them.