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

Regression: Major issues recording RF signals #593

Open booshtukka opened 4 years ago

booshtukka commented 4 years ago

Firstly, thank you so much for building this plug-in. It was brilliant when it was working, but the latest version broke a lot. I feel like I've tried everything at this point.

I have multiple RM-Pro devices, so I've set each up as an independent learn-code device.

When recording RF, my remote sends different signals when I hold down the button vs when I press the button. So I turn on the individual learn-code device in the Home app, and press the button over and over. It recognises the frequency with no issue, but fails to recognise the actual sent signal or give a hex code, and then the device crashes and seems to fall off the network for 20 minutes.

This happens with all three of the devices no matter which I try to use. This means I can no longer record RF signals, which is such a shame! This used to be flaky but work, which tells me this is some form of regression. Please help me get my blinds back onto HomeKit! :)

[4/6/2020, 9:35:50 AM] [Broadlink RM] [INFO] Scan RF (scanning) [4/6/2020, 9:35:50 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency. [4/6/2020, 9:35:56 AM] [Broadlink RM] [INFO] Scan RF (found frequency - 1 of 2) [4/6/2020, 9:35:56 AM] [Broadlink RM] [ACTION] Keep holding that button! [4/6/2020, 9:36:04 AM] [Broadlink RM] [INFO] Scan RF (found frequency - 2 of 2) [4/6/2020, 9:36:04 AM] [Broadlink RM] [ACTION] Press the RF button multiple times with a pause between them. [4/6/2020, 9:36:44 AM] [Broadlink RM] Broadlink RM device at 10.0.1.68 (78::0:f::77::1:8::0b::7:5) is no longer reachable. (10.0.1.68, Request timed out)

Snoomy commented 4 years ago

@booshtukka Hi. This really looks like a voodoo practice, however it helped me lots of times with the current build and many previous ones. Action sequence is the following:

a) Press Scan RF b) Hold down the button you want to learn on your remote until you see "Scan RF (found frequency - 1 of 2)" message. c) Release the button d) Press Learn IR (yes I'm not joking and yes I remember we are trying to learn RF) e) Regardless of what your log says start rapidly clicking the button you want to learn many-many times almost touching your Broardlink with the remote, mean holding it as close as possible. In case IR learn turns off after a 10 second time-out - press it again (happened up to two times with me) without stopping jigging the button.

Hope that helps. See my today's log below. And looking at your issue, I remember I had to reboot my Broadlink manually after every learned code and after every unsuccessful try when I had a similar problem with uncontrolled reboots.

PRESS SCAN RF <<<< [4/12/2020, 10:15:36 PM] [Broadlink RM] [INFO] Scan RF (scanning) HOLD THE BUTTON <<<< [4/12/2020, 10:15:36 PM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency. [4/12/2020, 10:15:40 PM] [Broadlink RM] [INFO] Scan RF (found frequency - 1 of 2) [4/12/2020, 10:15:40 PM] [Broadlink RM] [ACTION] Keep holding that button RELEASE THE BUTTON <<<< PRESS LEARN IR <<<< [4/12/2020, 10:15:41 PM] [Broadlink RM] [INFO] Learn Code initializing (undefined) [4/12/2020, 10:15:41 PM] [Broadlink RM] Learn Code (ready) RUSH CLICKING THE BUTTON <<<< [4/12/2020, 10:15:48 PM] [Broadlink RM] [INFO] Scan RF (found frequency - 2 of 2) [4/12/2020, 10:15:48 PM] [Broadlink RM] [ACTION] Press the RF button multiple times with a pause between them. [4/12/2020, 10:15:51 PM] [Broadlink RM] [INFO] Learn Code (stopped - 10s timeout) [4/12/2020, 10:15:51 PM] [Broadlink RM] [INFO] Learn Code (stopped) PRESS LEARN IR AGAIN <<<< NEVER STOP RUSHING WITH CLICKING <<<< [4/12/2020, 10:15:53 PM] [Broadlink RM] [INFO] Learn Code initializing (undefined) [4/12/2020, 10:15:53 PM] [Broadlink RM] Learn Code (ready) !!! onRawData3 [4/12/2020, 10:15:54 PM] [Broadlink RM] [INFO] Scan RF (complete) [4/12/2020, 10:15:54 PM] [Broadlink RM] [RESULT] Hex Code: <--my hex code is just too long, so I've removed it to make the log more readable--> [4/12/2020, 10:15:54 PM] [Broadlink RM] [RESULT] Learn Code (learned hex code: <--my hex code is just too long, so I've removed it to make the log more readable->> [4/12/2020, 10:15:54 PM] [Broadlink RM] [INFO] Learn Code (complete) [4/12/2020, 10:15:54 PM] [Broadlink RM] [INFO] Learn Code (stopped) [4/12/2020, 10:15:54 PM] [Broadlink RM] [INFO] Scan RF (stopped) ONLY HERE YOU STOP CLICKING YOUR BUTTON AS HELL <<<<

Guitou031 commented 4 years ago

It worked for me so great !!! I spent hours to try everything. Thank you so much !!!!

booshtukka commented 2 years ago

FYI, this never worked for me - and it's now even worse for some reason. I can't even get it to detect frequency - 2 of 2. :(