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

Still struggling with learn RF on RM PRo 3+ / ver 3.55 /homebridge 0.4.42 / RPi #375

Open malcsmith opened 6 years ago

malcsmith commented 6 years ago

Still struggling with this

May 15 22:23:46 pi-loft homebridge[25435]: [2018-5-15 22:23:46] [Broadlink RM] Scan RF (scanning) May 15 22:23:46 pi-loft homebridge[25435]: [2018-5-15 22:23:46] [Broadlink RM] [Hold down the button that sends the RF frequency] May 15 22:23:54 pi-loft homebridge[25435]: [2018-5-15 22:23:54] [Broadlink RM] Scan RF (found frequency - 1 of 2) May 15 22:23:54 pi-loft homebridge[25435]: [2018-5-15 22:23:54] [Broadlink RM] [Keep holding that button!] May 15 22:24:07 pi-loft homebridge[25435]: [2018-5-15 22:24:07] [Broadlink RM] Scan RF (stopped - 20s timeout) May 15 22:24:07 pi-loft homebridge[25435]: [2018-5-15 22:24:07] [Broadlink RM] Scan RF (stopped) May 15 22:24:10 pi-loft homebridge[25435]: [2018-5-15 22:24:10] [Broadlink RM] Learn Code (ready) May 15 22:24:20 pi-loft homebridge[25435]: [2018-5-15 22:24:20] [Broadlink RM] Learn Code (stopped - 10s timeout) May 15 22:24:20 pi-loft homebridge[25435]: [2018-5-15 22:24:20] [Broadlink RM] Learn Code (stopped)

It will work maybe 1 in 30 times... sequences such as:

  1. scan on, scan off, learn on ... time out,
  2. scan on ... learn on .. timeout...
  3. learn only ... timeout
  4. scan only .... timeout.

I never see "found frequency 2 of 2" but the learning sometimes works anyway

All will work ocassionally... none more than 1 in 30 times.

Run serial no RM33220xxxxxx version 3.55 of Broadlink, ver 0.4.42 of Homebridge running on a RPi 2 with hardwire connection to wi-fi router that Broadlink is attached to.

All can be captured correctly via official app on the iphone.

malcsmith commented 6 years ago

Ok found a way to make this work

  1. You need 2 ios devices (or 1 ios + 1 android)... plus RM pro and remote to be learned

  2. open home app (or other) to allow the "learn" function to be accessed on homebridge.

  3. on the other device, open the e-control official app for the RM-pro

  4. Start the learning process on the e-control app... start the "sweap frequency" step.

  5. When the frequency is found... don't do anything else on the e-control app

  6. press the homebridge learn code..

  7. press the remote in question

  8. voila the code is in the log.

In fact you can "learn" multiple codes on the remote once the frequency is set correctly.

100% reliable process. I guess there is still a bug somewhere in the frequency sweep code.

peeweeh commented 6 years ago

Same serial no RM33220xxxxxx and using version3.55. Mine never reached "keep holding that button!" and the device keeps on timing out. IOS app works too

Tried @malcsmith's process and couldnt get it to work, maybe you can record a video for all of us to follow

Referor commented 5 years ago

Another way, but you still need 2 devices and RM Pro plus (this way work for TC2) for me:

  1. First IOS device(to control e-control app). In your e-control application you need to have already educated TC2 remote / TC1 remote.
  2. Second IOS device with homekit and homebridge with scan_frequency function (to control your homebridge) / Mac (OS Mojave beta have home kit application) Algorithm: 1) You need to start "Scan_frequency" in your homebridge with second device 2) You need to push the preferred button at your first device several times And you can add buttons step-by-step to your homebridge. I think we can use this algorithm because RM Pro can scan frequency and send frequency in same time. We start scanning process and then we send some RF frequency in this one RM Pro plus device
lprhodes commented 4 years ago

Hey, I'm hoping 3.6.17 may fix this. I've unable to test as I don't have an RM Pro right now. Can one of you please install and give it a shot?