Git Product home page Git Product logo

Comments (81)

kiwi-cam avatar kiwi-cam commented on August 25, 2024 2

I've just published a BETA release to (hopefully) fix this. It should use the new RM4 headers on the devices and enable RF. Could @Fannangir or @johnsclarke try installing [email protected] and let me know how it goes (I don't have an RM4 Pro to test myself)?

Or anyone else with an RM4 Pro for that matter.

I'd like to confirm:

  1. Commands are sent correctly,
  2. You can learn codes correctlty
  3. The above two tests work for both IR and RF codes.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024 2

This should now be fixed in 4.3.8

from homebridge-broadlink-rm.

Fannangir avatar Fannangir commented on August 25, 2024 1

Hi kiwi,
I had a very short time today, very busy at the office.
Can confirm that my RM PRO is recognized as RM4 PRO and commands are sent correctly.
Didn't have time to test code learn or RF function.
Thank you very much for your great work.
Thanks!!!

from homebridge-broadlink-rm.

BarnicleFiend avatar BarnicleFiend commented on August 25, 2024

Please could you also add support for RM4 mini with code 62bc - I’m getting the following error:

[31m[ERROR] [0m Scan RF (RF learning not supported for device (25276) at undefined)

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

@BarnicleFiend 62bc looks like it’s there already. Are you using the latest version?

from homebridge-broadlink-rm.

BarnicleFiend avatar BarnicleFiend commented on August 25, 2024

I'm using 4.2.6. Its finding my device ok in the log like this:
14/06/2020, 01:47:07 [Universal Remote] οΏ½[35m[INFO]οΏ½[0m Discovered Broadlink RM Mini 4 (62bc) at 192.168.1.XX (aa:bb:cc:dd:ee:ff)

But I'm getting undefined on learn and scan frequency for some reason:
14/06/2020, 01:30:25 [Universal Remote] Learn getSwitchState: undefined
14/06/2020, 01:30:25 [Universal Remote] Scan Frequency getSwitchState: undefined

from homebridge-broadlink-rm.

deeloke avatar deeloke commented on August 25, 2024

I have two RM4 mini 51da, and I am using homebridge-broadlink-rm-pro v4.2.6. Both RM4 are on the network with static IPs, and both are seen by Broadlink app.

RM4-34-a7-be : Discovered Broadlink RM Mini 4 (51da)
RM4-34-a5-8b : (Not Discovered)

Pls advise.

from homebridge-broadlink-rm.

johnsclarke avatar johnsclarke commented on August 25, 2024

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

@johnsclarke - do you see a line like this shortly after starting homebridge:
Discovered Broadlink RM4 Pro (61a2) at 192.168.0.18 (34:ea:34:xx:xx:xx)

The logs suggest it's not finding your Broadlink device on the network.

from homebridge-broadlink-rm.

johnsclarke avatar johnsclarke commented on August 25, 2024

from homebridge-broadlink-rm.

johnsclarke avatar johnsclarke commented on August 25, 2024

from homebridge-broadlink-rm.

kfung0426 avatar kfung0426 commented on August 25, 2024

your beta works with IR

[6/15/2020, 23:11:12] [Broadlink RM] Learn Code (ready)
[6/15/2020, 23:11:18] [Broadlink RM] [RESULT] Learn Code (learned hex code: 2600500007000afa000127931412131213361313131213121312141114361336141114351436143514361435143614351312141213121312131214121311141213361336143614351436143514000c3916000d05000000000000)
[6/15/2020, 23:11:18] [Broadlink RM] [INFO] Learn Code (complete)
[6/15/2020, 23:11:18] [Broadlink RM] [INFO] Learn Code (stopped)

from homebridge-broadlink-rm.

kfung0426 avatar kfung0426 commented on August 25, 2024

but it failed with Scan RF. When I press scan button, and press a key in remote, Homebridge seems crashed and restart

[6/15/2020, 23:12:56] [Broadlink RM] [INFO] Scan RF (scanning)
[6/15/2020, 23:12:56] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[6/15/2020, 23:12:57] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:431:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/15/2020, 23:12:57] Got SIGTERM, shutting down Homebridge...
[6/15/2020, 23:12:58] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:431:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/15/2020, 23:13:00] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:431:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/15/2020, 23:13:01] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:431:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/15/2020, 23:13:02] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:431:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/15/2020, 23:13:02] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[6/15/2020, 23:13:07] [HB Supervisor] Restarting Homebridge...
[6/15/2020, 23:13:07] [HB Supervisor] Starting Homebridge with extra flags: -I
[6/15/2020, 23:13:07] [HB Supervisor] Started Homebridge v1.1.0 with PID: 1904
[6/15/2020, 23:13:08] Loaded config.json with 20 accessories and 5 platforms.
[6/15/2020, 23:13:08] ---

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

@kfung0426 which version of the beta are you using? I did catch that some of the RF functions weren't using the new headers and published [email protected] yesterday.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

@johnsclarke Have you seen this thread: lprhodes#600 (comment)

You might need to reset and re-configure the device.

from homebridge-broadlink-rm.

johnsclarke avatar johnsclarke commented on August 25, 2024

from homebridge-broadlink-rm.

kfung0426 avatar kfung0426 commented on August 25, 2024

@kiwi-cam I'm using beta2 now, error still exist.
in line 430, payload.length seems to be 0 and throw error?

const data = Buffer.alloc(payload.length - 4, 0);

   at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:430:25)

[6/16/2020, 11:15:23] [Broadlink RM] [INFO] Scan RF (scanning)
[6/16/2020, 11:15:23] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[6/16/2020, 11:15:24] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:430:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/16/2020, 11:15:24] Got SIGTERM, shutting down Homebridge...
[6/16/2020, 11:15:25] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:430:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/16/2020, 11:15:26] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:430:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/16/2020, 11:15:27] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:430:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/16/2020, 11:15:28] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:430:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/16/2020, 11:15:29] RangeError [ERR_INVALID_OPT_VALUE] [ERR_INVALID_OPT_VALUE]: The value "-4" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:430:25)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:320:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[6/16/2020, 11:15:29] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[6/16/2020, 11:15:34] [HB Supervisor] Restarting Homebridge...

from homebridge-broadlink-rm.

bombadiltom avatar bombadiltom commented on August 25, 2024

same here with [email protected] and learning RF codes, payload.length is 0

from homebridge-broadlink-rm.

kfung0426 avatar kfung0426 commented on August 25, 2024

@kiwi-cam added that it crashes immediately after started scan, without pressing the rf remote

from homebridge-broadlink-rm.

bombadiltom avatar bombadiltom commented on August 25, 2024

I added an If-Statement to the code, 6 times a 0 length payload is received and nothing happens when I press a button on the remote.

[6/16/2020, 5:34:54 PM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[6/16/2020, 5:34:55 PM] [Broadlink RM] 0
[6/16/2020, 5:34:56 PM] [Broadlink RM] 0
[6/16/2020, 5:34:57 PM] [Broadlink RM] 0
[6/16/2020, 5:34:58 PM] [Broadlink RM] 0
[6/16/2020, 5:34:59 PM] [Broadlink RM] 0
[6/16/2020, 5:35:00 PM] [Broadlink RM] 0
[6/16/2020, 5:35:15 PM] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout)
[6/16/2020, 5:35:15 PM] [Broadlink RM] [INFO] Scan RF (stopped)

Maybe it needs more information, the Broadlink App asks for a frequency when learning RF codes...

from homebridge-broadlink-rm.

bombadiltom avatar bombadiltom commented on August 25, 2024

btw: thanks to @kiwi-cam! I also tried to add RM4 Pro but already failed at the IR level ;-)

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

From what I can see @kfung0426 the line you've highlight is unnecessary - this module is a translation from the python module and some functionality is removed so it's not a simple line to line translation. I've removed those lines and some some simple testing myself (I don't have RF unfortunately). If someone would like to install the latest beta (npm install -g homebridge-broadlink-rm-pro@beta), I'd love to see what the result is.

Obviously this isn't ideal. It's very hard to troubleshoot a device when I don't have one. If anyone else wants to have a go at fixing the issue in https://github.com/kiwi-cam/broadlinkjs-rm I'm more than happy to merge a pull request - or take suggestions.

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

@kiwi-cam Just tested [email protected] and works perfectly for RM4 Pro – Sending codes OK, Learning IR codes OK. Haven't tested learning RF codes yet, will update about that later.

Thanks you for your work! Finally got my fan controllable from HomeKit πŸŽ‰

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

Let me jump into the discussion. I also got an new device RM4 pro 0x61a2.
My idea is to control a ceiling fan (IKOHS) via Homebridge. The fan comes with a 433 MHz remote.
With the original Broadlink app I was able to learn all RF codes, control of the fan works perfect.
I installed your 4.2.7-beta.4. The device (0x61a2) is recognised, but unfortunately RF learning does not work for me.

Jun 27 07:20:53 hoobs hoobs[581]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (scanning)
Jun 27 07:20:53 hoobs hoobs[581]: [BroadlinkRM] #033[35m[ACTION]#033[0m Hold down the button that sends the RF frequency.
Jun 27 07:21:14 hoobs hoobs[581]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (stopped - 20s timeout)
Jun 27 07:21:14 hoobs hoobs[581]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (stopped)

Any idea how to fix this ?

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

Update about my test: IR learning works fine but couldn't learn RF codes. Same what @e1l52 just wrote.

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

I can confirm also : IR learning works for me.
Maybe one hint regarding RF learning.
When I use the Broadcom app I am asked to give the RF frequency, which is in my case 433 MHz.
Not sure if this could be the problem ?

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

I tested RF learning in Broadlink app and it works. In homebridge (latest beta version of this package: 4.2.7-beta.4) it doesn't give any error, says RF scanning is activated, but the orange light on the RM4 Pro lights up for only 5 seconds, meanwhile homebridge logs say it's still in scanning mode for another 15 seconds (20 seconds total).

@kiwi-cam I'm not sure if this information helps, but I can collaborate and test all minor changes on my device. As I know you don't own RM4 Pro version, so I might help that way.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

I'm game if you are. I've added some more logging in a new branch of the broadlinkrm-js module. Could you do these steps to replace the index.js file used with this new version:

  1. Find your homebridge-broadlinkrm-pro install (for me it's /usr/lib/node_modules but this may vary depending on how you setup node)
  2. Browse to the broadlinkrm-js module: cd node_modules/kiwicam-broadlinkjs-rm/ (Note, this is in the homebridge-broadlinkrm-pro dir, i.e. the full path for me is /usr/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm)
  3. Run this command to download and overwrite the file:
    sudo wget https://raw.github.com/kiwi-cam/broadlinkjs-rm/kiwi-cam-RF-Debug/index.js -O index.js

In summary, you're downloading a new index.js from https://raw.github.com/kiwi-cam/broadlinkjs-rm/kiwi-cam-RF-Debug/index.js and placing it in the dir something/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm

If you could then run RF learning and post the log output for me. You should see additional lines like this:

Jun 29 10:30:43 homebridge[23494]: [DEBUG] packet received with command:  238
Jun 29 10:30:43 homebridge[23494]: [DEBUG] Received packet with param:  2
Jun 29 10:30:43 homebridge[23494]: [DEBUG] packet received with command:  114

Hopefully that will give some clues as to where the logic is failing.

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

Done. No difference if I press buttons on RF remote or not. Here are the results:

Expand

[6/29/2020, 3:28:40 AM] [Broadlink RM] [INFO] Scan RF (scanning)
[6/29/2020, 3:28:40 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  25
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  30
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[6/29/2020, 3:29:01 AM] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout)
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  30
[6/29/2020, 3:29:02 AM] [Broadlink RM] [INFO] Scan RF (stopped)

P.S. now the orange light on the device stays on until stopping the scan. Before it was lit for only 5 seconds.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

Can I assume these lines:

[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  5
[DEBUG] packet received with command:  238

Are you sending the RF frequency you'd like to learn? 🀞 you say yes and the param 5 is the packet with the code.

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

It just outputs those two lines with one second interval whether or not I press any button on RF remote.

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

One more detail about orange light: it stays on until I press a button on my RF remote. If I do not press any button, it remains lit until the end of scan. Light turns off after ~2-3 seconds after I press an RF key but logging still continues the same way.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

Thanks. So, nothing changes in that output if you press an RF button? That Param 30 near the end appears to be the cancel learning command, so I'd guess that one of the 5 parameter packets includes the learnt code.

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

Yes, that's correct. Nothing changes in logs when I press buttons on RF, only change is that the orange light turn off.

When I'm in IR learning mode, there are no continuous logging like in RF. Here's an example when I press a key on a IR remote after ~8 seconds from starting learn mode.

IR scan

[6/29/2020, 4:19:53 AM] [Broadlink RM] Learn Code (ready)
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  3
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  38
[6/29/2020, 4:20:01 AM] [Broadlink RM] [RESULT] Learn Code (learned hex code: 26007a00280e280e0...05000000000000000000000000)
[6/29/2020, 4:20:01 AM] [Broadlink RM] [INFO] Learn Code (complete)
[6/29/2020, 4:20:01 AM] [Broadlink RM] [INFO] Learn Code (stopped)
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  30
[DEBUG] packet received with command:  238
[DEBUG] Received packet with param:  30

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

Could you repeat the earlier steps to download the new version and try again?

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

Repeated scan process 4 times. It stops before I try to press any key on remote. Last two scans I was rapidly pressing buttons on remote. Same results if I do not press any.

[6/29/2020, 4:40:00 AM] [Broadlink RM] [INFO] Scan RF (scanning)
[6/29/2020, 4:40:00 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[DEBUG] Received packet with param:  25
[DEBUG] Received packet with param:  5
[6/29/2020, 4:40:01 AM] [Broadlink RM] [INFO] Scan RF (complete)
[6/29/2020, 4:40:01 AM] [Broadlink RM] [RESULT] Hex Code: 000000000000000000000000
[DEBUG] Received packet with param:  30
[DEBUG] Received packet with param:  30
[6/29/2020, 4:40:01 AM] [Broadlink RM] [INFO] Scan RF (stopped)
[6/29/2020, 4:40:05 AM] [Broadlink RM] [INFO] Scan RF (scanning)
[6/29/2020, 4:40:05 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[DEBUG] Received packet with param:  25
[DEBUG] Received packet with param:  5
[6/29/2020, 4:40:06 AM] [Broadlink RM] [INFO] Scan RF (complete)
[6/29/2020, 4:40:06 AM] [Broadlink RM] [RESULT] Hex Code: 000000000000000000000000
[DEBUG] Received packet with param:  30
[DEBUG] Received packet with param:  30
[6/29/2020, 4:40:06 AM] [Broadlink RM] [INFO] Scan RF (stopped)
[6/29/2020, 4:40:08 AM] [Broadlink RM] [INFO] Scan RF (scanning)
[6/29/2020, 4:40:08 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[DEBUG] Received packet with param:  25
[DEBUG] Received packet with param:  5
[6/29/2020, 4:40:09 AM] [Broadlink RM] [INFO] Scan RF (complete)
[6/29/2020, 4:40:09 AM] [Broadlink RM] [RESULT] Hex Code: 000000000000000000000000
[DEBUG] Received packet with param:  30
[DEBUG] Received packet with param:  30
[6/29/2020, 4:40:10 AM] [Broadlink RM] [INFO] Scan RF (stopped)
[6/29/2020, 4:40:11 AM] [Broadlink RM] [INFO] Scan RF (scanning)
[6/29/2020, 4:40:11 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[DEBUG] Received packet with param:  25
[DEBUG] Received packet with param:  5
[6/29/2020, 4:40:12 AM] [Broadlink RM] [INFO] Scan RF (complete)
[6/29/2020, 4:40:12 AM] [Broadlink RM] [RESULT] Hex Code: 000000000000000000000000
[DEBUG] Received packet with param:  30
[DEBUG] Received packet with param:  30
[6/29/2020, 4:40:13 AM] [Broadlink RM] [INFO] Scan RF (stopped)

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

That's not a surprise with the param 5's you were getting. Try now, I've duplicated the check for data before moving on the the next learn phase.

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024
[6/29/2020, 4:48:21 AM] [Broadlink RM] [INFO] Scan RF (scanning)
[6/29/2020, 4:48:21 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[DEBUG] Received packet with param:  25
[DEBUG] Received packet with param:  5
[DEBUG] Received packet with param:  5
... (more param 5 logs)
[DEBUG] Received packet with param:  5
[DEBUG] Received packet with param:  5
[DEBUG] Received packet with param:  30
[DEBUG] Received packet with param:  5
[6/29/2020, 4:48:42 AM] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout)
[DEBUG] Received packet with param:  30
[6/29/2020, 4:48:43 AM] [Broadlink RM] [INFO] Scan RF (stopped)

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

I also tried several combinations of RF Scan + IR Learn modes as many suggested in related issues on original repo.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

Ok, lets dig a bit deeper. I've added logging of the data it's getting with param 5.

I was hoping it wouldn't come to this.

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

This is the loop now:

[DEBUG] Received packet with param:  5
[DEBUG] Received data:  <Buffer 00>

(same if I press buttons or not)

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

Ok, appears where I'm looking is empty. I've updated to check the location used in other learning process. Try again?

I've got other things piling up now so this might be my last shot today. Hopefully I get some time this evening to do some tinkering/learning.

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

Sorry for my late answer, I just got the chance to have a look to your messages.
I tried the same with my hardware. Thats what I get while RF learning, independent if I press a button on my remote or not.
During this time the device LED turns to red.

Jun 29 05:53:28 hoobs hoobs[639]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (scanning)
Jun 29 05:53:28 hoobs hoobs[639]: [BroadlinkRM] #033[35m[ACTION]#033[0m Hold down the button that sends the RF frequency.
Jun 29 05:53:28 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  25
Jun 29 05:53:29 hoobs hoobs[639]: [BroadlinkRM] Learn getSwitchState: undefined
Jun 29 05:53:29 hoobs hoobs[639]: [BroadlinkRM] Scan Frequency getSwitchState: undefined
Jun 29 05:53:29 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:30 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:31 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:32 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:33 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:34 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:35 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:36 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:37 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:38 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:39 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:40 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:41 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:42 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:43 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:44 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:45 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:46 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:47 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:48 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  30
Jun 29 05:53:48 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  9
Jun 29 05:53:49 hoobs hoobs[639]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (stopped - 20s timeout)
Jun 29 05:53:49 hoobs hoobs[639]: #033[33m[DEBUG]#033[0m Received packet with param:  30
Jun 29 05:53:49 hoobs hoobs[639]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (stopped)

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

I've got the results, I think this is it! πŸ₯³

[6/29/2020, 1:30:13 PM] [Broadlink RM] [INFO] Scan RF (scanning)
[6/29/2020, 1:30:13 PM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[DEBUG] Received packet with param:  25
[DEBUG] Received packet with param:  5
[DEBUG] Received data:  <Buffer 00 00 00 00 00 00 00 00 00 00 00 00>
[DEBUG] Received packet with param:  5
[DEBUG] Received data:  <Buffer 00 00 00 00 00 00 00 00 00 00 00 00>
[DEBUG] Received packet with param:  5
[DEBUG] Received data:  <Buffer 00 00 00 00 00 00 00 00 00 00 00 00>
[DEBUG] Received packet with param:  5
[DEBUG] Received data:  <Buffer 01 00 00 00 00 00 00 00 00 00 00 00>
[6/29/2020, 1:30:17 PM] [Broadlink RM] [INFO] Scan RF (complete)
[6/29/2020, 1:30:17 PM] [Broadlink RM] [RESULT] Hex Code: 010000000000000000000000
[DEBUG] Received packet with param:  30
[DEBUG] Received packet with param:  30
[6/29/2020, 1:30:18 PM] [Broadlink RM] [INFO] Scan RF (stopped)

I've got that hex code when I pressed the button. If I press it later, hex code appears late too, which makes me think that it's correct capture, but the hex code is the same for every button of every remote I've tested. I'll try some more remotes later today.

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

Hi @Stichoza, how did you get these hex codes ? In my configuration I never see any.
Are you also using a 433 MHz remote ?

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

@e1l52, I just did the steps described by @kiwi-cam and that's what I got. Yes the remote is 433 MHz.

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

Another update: Tested another RF remote which has three buttons and all of them gave same hex code as described before (010000000000000000000000).

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

I've been doing some more reading, and this is not encouraging: mjg59/python-broadlink#358. This part is also interesting:

I think there is a problem with the latest firmware on these devices. Some users are complaining that the RF doesn't work even with the official app. If confirmed, you have wait for the next firmware update.

I've added some more debugging information if you're keen to keep trying to crack this on our own. I'd love to see what you get now.

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

A comment of that issue says he had latest version v52076. I checked and the new v52077 version of firmware is available! And the changelog says Optimized RF function. fingers crossed 🀞

from homebridge-broadlink-rm.

JamesToohey avatar JamesToohey commented on August 25, 2024

Cameron, The tread below had the fix. My mistake was thinking getting it to connect to WiFi was enough. It isn’t. The trick is in the Broadlink app get it to connect to WiFi, then to tell the device its name but don’t complete the next step of telling what room it is in. All fine now. John C. From: Cameron [email protected] Sent: Tuesday, 16 June 2020 7:19 AM To: kiwi-cam/homebridge-broadlink-rm [email protected] Cc: johnsclarke [email protected]; Mention [email protected] Subject: Re: [kiwi-cam/homebridge-broadlink-rm] Add RM4 Pro Support (#10) @johnsclarkehttps://github.com/johnsclarke Have you seen this thread: lprhodes#600 (comment)<lprhodes#600 (comment)> You might need to reset and re-configure the device. β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#10 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP4JLUP7NZQGXBAPFMI3XFDRW2F3RANCNFSM4N5DH5WQ.

On iOS in the Broadlink app this means getting to the step of "Add it to a room" and then restarting Homebridge, it should detect the device

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

@JamesToohey yes we're aware of that, and no problem discovering device. The only problem left is RF scanning

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

I had a look to my firmware version - its V52077.
The RF learning and control with the original Broadlink app works perfect.

IMG_1725

I also tried @kiwi-cam`s latest version, but still get no reaction. When I press the "Scan Frequency" button, the led turns red, I get repeated log messages, which do not change if I press a button on my remote or not.

Jun 30 05:15:19 hoobs hoobs[581]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (scanning)
Jun 30 05:15:19 hoobs hoobs[581]: [BroadlinkRM] #033[35m[ACTION]#033[0m Hold down the button that sends the RF frequency.
Jun 30 05:15:19 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 19
Jun 30 05:15:19 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  1900000000000000000000000000
Jun 30 05:15:20 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:20 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jun 30 05:15:21 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:21 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jun 30 05:15:22 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:22 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jun 30 05:15:23 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:23 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jun 30 05:15:24 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:24 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jun 30 05:15:25 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:25 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jun 30 05:15:26 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:26 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000689b06000000000000
Jun 30 05:15:27 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:27 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000689b06000000000000
Jun 30 05:15:28 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:28 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000889e06000000000000
Jun 30 05:15:29 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:29 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000889e06000000000000
Jun 30 05:15:30 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:30 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:31 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:31 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:32 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:32 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:33 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:33 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:34 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:34 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:35 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:35 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:36 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:36 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:37 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:37 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:38 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:38 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:39 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 1e
Jun 30 05:15:39 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  1e00000000000000000000000000
Jun 30 05:15:39 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jun 30 05:15:39 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001889e06000000000000
Jun 30 05:15:40 hoobs hoobs[581]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (stopped - 20s timeout)
Jun 30 05:15:40 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 1e
Jun 30 05:15:40 hoobs hoobs[581]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  1e00000000000000000000000000
Jun 30 05:15:40 hoobs hoobs[581]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (stopped)

from homebridge-broadlink-rm.

Klausb71 avatar Klausb71 commented on August 25, 2024

May anyone give me a hint how to install this beta?
sudo npm install -g --unsafe-perm https://github.com/kiwi-cam/[email protected] isn't the right way it seems...

from homebridge-broadlink-rm.

Klausb71 avatar Klausb71 commented on August 25, 2024

ok... got it with sudo npm install -g --unsafe-perm homebridge-broadlink-rm-pro@beta

but: my RM4 pro seems to be not discovered...

[7/4/2020, 13:49:35] [Broadlink RM] Initializing BroadlinkRM platform...
[7/4/2020, 13:49:35] [Broadlink RM] [INFO] Automatically discovering Broadlink RM devices.
[7/4/2020, 13:49:35] [Broadlink RM] No accessories have been added to the "Broadlink RM" platform config.
[7/4/2020, 13:49:35] Initializing platform accessory 'Learn'...
[7/4/2020, 13:49:35] Initializing platform accessory 'Scan Frequency'...

[7/4/2020, 13:50:05] [Broadlink RM] Learn getSwitchState: undefined
[7/4/2020, 13:50:05] [Broadlink RM] Scan Frequency getSwitchState: undefined
[7/4/2020, 13:50:06] [Broadlink RM] [INFO] Learn Code (Couldn't learn code, device not found)
[7/4/2020, 13:50:08] [Broadlink RM] Learn getSwitchState: undefined
[7/4/2020, 13:50:08] [Broadlink RM] Scan Frequency getSwitchState: undefined

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

@Klausb71 you'll need to follow the way @JamesToohey mentioned. Then your device will be discovered, but RF learning is still not possible.

from homebridge-broadlink-rm.

Klausb71 avatar Klausb71 commented on August 25, 2024

@Klausb71 you'll need to follow the way @JamesToohey mentioned. Then your device will be discovered, but RF learning is still not possible.

thx! I missed that. works now.

from homebridge-broadlink-rm.

burakcankose avatar burakcankose commented on August 25, 2024

I have rm4 pro device. It recognized my device with the beta plugin and the IR function started working, but RF doesn't work. What can I do about the issue?

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

@burakcankose you can tinker with the index.js file described by @kiwi-cam, let us know if you have any luck with that

from homebridge-broadlink-rm.

JulianNaumann avatar JulianNaumann commented on August 25, 2024

I also have a 61a2, and i managed to set up my RM4 Pro with working RF devices, thanks for your work @kiwi-cam !
@burakcankose , you need to do those things:

  1. Install the beta discussed here, beta.4 is the latest, install via npm install -g homebridge-broadlink-rm-pro@beta
  2. download the modified index.js (follow kiwi-cam's comment #10 (comment))

For IR learning, use the button in control centre. For RF learning, follow this comment, where you learn the buttons using python-broadlink to connect to the bridge directly instead of through home bridge.
mjg59/python-broadlink#358 (comment)

@kiwi-cam Since i now got multiple IR and RF devices working on my RM4 Pro, can I help you with debugging somehow?

from homebridge-broadlink-rm.

burakcankose avatar burakcankose commented on August 25, 2024

@burakcankose you can tinker with the index.js file described by @kiwi-cam, let us know if you have any luck with that

Hi this is not working for me :(

from homebridge-broadlink-rm.

burakcankose avatar burakcankose commented on August 25, 2024

I also have a 61a2, and i managed to set up my RM4 Pro with working RF devices, thanks for your work @kiwi-cam !
@burakcankose , you need to do those things:

  1. Install the beta discussed here, beta.4 is the latest, install via npm install -g homebridge-broadlink-rm-pro@beta
  2. download the modified index.js (follow kiwi-cam's comment #10 (comment))

For IR learning, use the button in control centre. For RF learning, follow this comment, where you learn the buttons using python-broadlink to connect to the bridge directly instead of through home bridge.
mjg59/python-broadlink#358 (comment)

@kiwi-cam Since i now got multiple IR and RF devices working on my RM4 Pro, can I help you with debugging somehow?

Hi where is the installation guide ?

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

Hi everyone,

The manual download and copy of the index.js was before I setup the beta release. All you'll need to do now is install the beta version. I've added some more debug information in there too to try to help. So new steps are:

  1. Install the beta discussed here, beta.5 is the latest, install via npm install -g homebridge-broadlink-rm-pro@beta
  2. Update your config.json to include "debug": true on the platform.

Then I'd love to see the logs from an RF learn. Particularly, the packets received from the RM4 when no codes are sent, and when a signal is sent during learning. That'll help identify the packets recieved, then we need to extract the codes from the packets.

If anyone is interested, this is all in lines 430:480 of index.js in something/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm

from homebridge-broadlink-rm.

JulianNaumann avatar JulianNaumann commented on August 25, 2024
No codes sent during learning:
[7/7/2020, 12:31:56 AM] [Broadlink RM] [INFO] Scan RF (scanning)
[7/7/2020, 12:31:56 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[7/7/2020, 12:31:56 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:31:56 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 19
[7/7/2020, 12:31:56 AM] [Broadlink RM] [DEBUG] Packet received:  1900000000000000000000000000
[7/7/2020, 12:31:57 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003bd30000a2616a001e0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:31:57 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:31:57 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:31:57 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:31:58 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003cd30000a2616a001f0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:31:58 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:31:58 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:31:58 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:31:59 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003dd30000a2616a00200024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:31:59 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:31:59 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:31:59 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:00 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003ed30000a2616a00210024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:00 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:00 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:00 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:01 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003fd30000a2616a00220024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:01 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:01 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:01 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:02 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000040d30000a2616a00230024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:02 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:02 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:02 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:03 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000041d30000a2616a00240024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:03 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:03 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:03 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:04 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000042d30000a2616a00250024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:04 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:04 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:04 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:05 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000043d30000a2616a00260024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:05 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:05 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:05 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:06 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000044d30000a2616a00270024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:06 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:06 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:06 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:07 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000045d30000a2616a00280024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:07 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:07 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:07 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:08 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000046d30000a2616a00290024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:08 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:08 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:08 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:09 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000047d30000a2616a002a0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:09 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:09 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:09 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:10 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000048d30000a2616a002b0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:10 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:10 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:10 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:11 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000049d30000a2616a002c0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:11 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:11 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:11 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:12 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000004ad30000a2616a002d0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:12 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:12 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:12 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:13 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000004bd30000a2616a002e0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:13 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:13 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:13 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:14 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000004cd30000a2616a002f0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:14 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:14 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:14 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:15 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000004dd30000a2616a00300024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:15 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:15 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:15 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:16 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000a7cf0000a2616a00310024dfa7e46cc401000000d1be0000444f35cf85680513bccc872a2772049e
[7/7/2020, 12:32:16 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:16 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000004fd30000a2616a00320024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:32:16 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:16 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 1e
[7/7/2020, 12:32:16 AM] [Broadlink RM] [DEBUG] Packet received:  1e00000000000000000000000000
[7/7/2020, 12:32:16 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:32:16 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:32:17 AM] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout)
[7/7/2020, 12:32:17 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000a9cf0000a2616a00330024dfa7e46cc401000000d1be0000444f35cf85680513bccc872a2772049e
[7/7/2020, 12:32:17 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:32:17 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 1e
[7/7/2020, 12:32:17 AM] [Broadlink RM] [DEBUG] Packet received:  1e00000000000000000000000000
[7/7/2020, 12:32:18 AM] [Broadlink RM] [INFO] Scan RF (stopped)
Sent one code multiple times:
[7/7/2020, 12:33:37 AM] [Broadlink RM] [INFO] Scan RF (scanning)
[7/7/2020, 12:33:37 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[7/7/2020, 12:33:37 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:37 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 19
[7/7/2020, 12:33:37 AM] [Broadlink RM] [DEBUG] Packet received:  1900000000000000000000000000
[7/7/2020, 12:33:38 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000052d30000a2616a00350024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:38 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:38 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:38 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:39 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000053d30000a2616a00360024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:39 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:39 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:39 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:40 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000054d30000a2616a00370024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:40 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:40 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:40 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:41 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000055d30000a2616a00380024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:41 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:41 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:41 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:42 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000056d30000a2616a00390024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:42 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:42 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:42 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:43 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000057d30000a2616a003a0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:43 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:43 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:43 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:44 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000058d30000a2616a003b0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:44 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:44 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:44 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:45 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000059d30000a2616a003c0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:45 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:45 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:45 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:46 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000005ad30000a2616a003d0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:46 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:46 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:46 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:47 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000005bd30000a2616a003e0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:47 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:47 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:47 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:48 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000005cd30000a2616a003f0024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:48 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:48 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:48 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:49 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000005dd30000a2616a00400024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:49 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:49 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:49 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000b08f06000000000000
[7/7/2020, 12:33:50 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000005ed30000a2616a00410024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:50 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:50 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:50 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000689b06000000000000
[7/7/2020, 12:33:51 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000005fd30000a2616a00420024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:51 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:51 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:51 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000000689b06000000000000
[7/7/2020, 12:33:52 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000060d30000a2616a00430024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:52 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:52 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:52 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000001689b06000000000000
[7/7/2020, 12:33:53 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000061d30000a2616a00440024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:53 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:53 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:53 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000001689b06000000000000
[7/7/2020, 12:33:54 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000062d30000a2616a00450024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:54 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:54 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:54 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000001689b06000000000000
[7/7/2020, 12:33:55 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000063d30000a2616a00460024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:55 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:55 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:55 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000001689b06000000000000
[7/7/2020, 12:33:56 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000064d30000a2616a00470024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:56 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:56 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:56 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000001689b06000000000000
[7/7/2020, 12:33:57 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000becf0000a2616a00480024dfa7e46cc401000000d1be0000444f35cf85680513bccc872a2772049e
[7/7/2020, 12:33:57 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:57 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 1e
[7/7/2020, 12:33:57 AM] [Broadlink RM] [DEBUG] Packet received:  1e00000000000000000000000000
[7/7/2020, 12:33:57 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000066d30000a2616a00490024dfa7e46cc401000000cdbe00000234f4c690daf28ac390f1ff177e51bc
[7/7/2020, 12:33:57 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:57 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 9
[7/7/2020, 12:33:57 AM] [Broadlink RM] [DEBUG] Packet received:  09001a00000001689b06000000000000
[7/7/2020, 12:33:58 AM] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout)
[7/7/2020, 12:33:58 AM] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000c0cf0000a2616a004a0024dfa7e46cc401000000d1be0000444f35cf85680513bccc872a2772049e
[7/7/2020, 12:33:58 AM] [Broadlink RM] [DEBUG] successfuly sent packet - bytes:  72
[7/7/2020, 12:33:58 AM] [Broadlink RM] [DEBUG] Packet received with param 0x 1e
[7/7/2020, 12:33:58 AM] [Broadlink RM] [DEBUG] Packet received:  1e00000000000000000000000000
[7/7/2020, 12:33:58 AM] [Broadlink RM] [INFO] Scan RF (stopped)

Hope this is helpful. Both times, the huge amount of logging seemed to stress the bridge, causing the state in the UI on the iPhone to not update properly, i.e. show that learning stopped in the end.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

That's not what I was hoping for... but helpful. I'm guessing that param 9 is received on all learn packets and byte 6 is 1 when data is received. Anyone want to install beta.6 and repeat?

from homebridge-broadlink-rm.

burakcankose avatar burakcankose commented on August 25, 2024

Hi @kiwi-cam I installed beta6 and logs here.

[7/7/2020, 08:54:13] [Config] Changes to config.json saved.
[7/7/2020, 08:54:15] [Config] Homebridge restart request received
[7/7/2020, 08:54:15] [Config] UI / Bridge settings have not changed; only restarting Homebridge process
[7/7/2020, 08:54:15] [HB Supervisor] Sending SIGTERM to Homebridge
[7/7/2020, 08:54:15] Got SIGTERM, shutting down Homebridge...
[7/7/2020, 08:54:20] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[7/7/2020, 08:54:25] [HB Supervisor] Restarting Homebridge...
[7/7/2020, 08:54:25] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[7/7/2020, 08:54:25] [HB Supervisor] Started Homebridge v1.1.1 with PID: 19878
[7/7/2020, 08:54:26] Loaded config.json with 0 accessories and 2 platforms.
[7/7/2020, 08:54:26] ---
[7/7/2020, 08:54:29] Loaded plugin: [email protected]
[7/7/2020, 08:54:29] Plugin 'homebridge-broadlink-rm-pro' tried to register with an incorrect plugin identifier: 'homebridge-broadlink-rm'. Please report this to the developer!
[7/7/2020, 08:54:29] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM'
[7/7/2020, 08:54:29] ---
[7/7/2020, 08:54:29] Loaded plugin: [email protected]
[7/7/2020, 08:54:29] Registering platform 'homebridge-config-ui-x.config'
[7/7/2020, 08:54:29] ---
[7/7/2020, 08:54:29] Loading 2 platforms...
[7/7/2020, 08:54:29] [Broadlink RM] Initializing BroadlinkRM platform...
[7/7/2020, 08:54:29] [Broadlink RM] [INFO] Automatically discovering Broadlink RM devices.
[7/7/2020, 08:54:29] [Broadlink RM] No accessories have been added to the "Broadlink RM" platform config.
[7/7/2020, 08:54:29] Initializing platform accessory 'Learn'...
[7/7/2020, 08:54:29] Initializing platform accessory 'Scan Frequency'...
[7/7/2020, 08:54:29] [Config] Initializing config platform...
[7/7/2020, 08:54:29] [Config] Running in Service Mode
[7/7/2020, 08:54:29] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:42265 (UDP)
Setup Payload:
[7/7/2020, 08:54:29] Homebridge is running on port 51674.
[7/7/2020, 08:54:29] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000a5f6000026606500010024dfa7d3299000000000a1c30000453452e7f92eda958344930835ef9a6dfb692dc370b90443ac5cd63fbb53adfa08814ca7f8cf417100328e570c3b86c94d05708449a389e29ae1045436a05bdddc02c161af1325e87e19b0f7d1ce068de51b619156876d338cff3b991e40cdb1
[7/7/2020, 08:54:29] [Broadlink RM] [DEBUG] successfuly sent packet - bytes: 152
[7/7/2020, 08:54:29] [Broadlink RM] [INFO] Discovered Broadlink RM 4 Pro (6026) at 192.168.2.126 (a7:df:24:d3:29:90)
[7/7/2020, 08:54:30] [Broadlink RM]
[7/7/2020, 08:54:30] [Broadlink RM] **************************************************************************************************************
[7/7/2020, 08:54:30] [Broadlink RM] ** Welcome to version 4.2.7-beta.6 of the Homebridge Broadlink RM Plugin!
[7/7/2020, 08:54:30] [Broadlink RM] **
[7/7/2020, 08:54:30] [Broadlink RM] ** Find out what's in the latest release here: https://github.com/lprhodes/homebridge-broadlink-rm/releases
[7/7/2020, 08:54:30] [Broadlink RM] **
[7/7/2020, 08:54:30] [Broadlink RM] ** If you like this plugin then please star it on GitHub or better yet
[7/7/2020, 08:54:30] [Broadlink RM] ** buy me a drink using Paypal https://paypal.me/lprhodes or crypto https://goo.gl/bEn1RW.
[7/7/2020, 08:54:30] [Broadlink RM] **
[7/7/2020, 08:54:30] [Broadlink RM] ** Keep up to date with this plugin along with everything HomeKit and homebridge
[7/7/2020, 08:54:30] [Broadlink RM] ** by signing up to my newsletter at http://workswith.io
[7/7/2020, 08:54:30] [Broadlink RM] **
[7/7/2020, 08:54:30] [Broadlink RM] ** You can disable this message by adding "hideWelcomeMessage": true to the config (see config-sample.json).
[7/7/2020, 08:54:30] [Broadlink RM] **
[7/7/2020, 08:54:30] [Broadlink RM] **************************************************************************************************************
[7/7/2020, 08:54:30] [Broadlink RM]
[7/7/2020, 08:54:31] [Broadlink RM] Scan Frequency getSwitchState: undefined
[7/7/2020, 08:54:31] [Broadlink RM] Learn getSwitchState: undefined
[7/7/2020, 08:54:31] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:43677 (UDP)
[7/7/2020, 08:54:33] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:54784 (UDP)
[7/7/2020, 08:54:35] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:53721 (UDP)
[7/7/2020, 08:54:37] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:40450 (UDP)
[7/7/2020, 08:54:39] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:49903 (UDP)
[7/7/2020, 08:54:41] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:56146 (UDP)
[7/7/2020, 08:54:43] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:60776 (UDP)
[7/7/2020, 08:54:45] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:47496 (UDP)
[7/7/2020, 08:54:47] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:39654 (UDP)
[7/7/2020, 08:54:49] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:36394 (UDP)
[7/7/2020, 08:54:51] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:57290 (UDP)
[7/7/2020, 08:54:53] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:34922 (UDP)
[7/7/2020, 08:54:55] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:37047 (UDP)
[7/7/2020, 08:54:57] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:57272 (UDP)
[7/7/2020, 08:54:59] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:45581 (UDP)
[7/7/2020, 08:55:01] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:59542 (UDP)
[7/7/2020, 08:55:03] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:46175 (UDP)
[7/7/2020, 08:55:05] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:47892 (UDP)
[7/7/2020, 08:55:07] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:46306 (UDP)
[7/7/2020, 08:55:09] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:55071 (UDP)
[7/7/2020, 08:55:11] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:44078 (UDP)
[7/7/2020, 08:55:11] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000092ce000026606a00020024dfa7d3299001000000ccbe00003632052759e51901ad65339eef6deb1e
[7/7/2020, 08:55:11] [Broadlink RM] [INFO] Scan RF (scanning)
[7/7/2020, 08:55:11] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[7/7/2020, 08:55:11] [Broadlink RM] [DEBUG] successfuly sent packet - bytes: 72
[7/7/2020, 08:55:12] [Broadlink RM] [DEBUG] Packet received with param 0x 19
[7/7/2020, 08:55:12] [Broadlink RM] [DEBUG] Packet received: 1900000000000000000000000000
[7/7/2020, 08:55:12] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000099ce000026606a00030024dfa7d3299001000000cdbe00002228902f06d95d101d2c5e9ca6ff44b8
[7/7/2020, 08:55:12] [Broadlink RM] [DEBUG] successfuly sent packet - bytes: 72
[7/7/2020, 08:55:12] TypeError: Cannot read property 'toString' of undefined
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:434:82)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:321:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[7/7/2020, 08:55:12] Got SIGTERM, shutting down Homebridge...
[7/7/2020, 08:55:13] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:38586 (UDP)
[7/7/2020, 08:55:13] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000009ace000026606a00040024dfa7d3299001000000cdbe00002228902f06d95d101d2c5e9ca6ff44b8
[7/7/2020, 08:55:13] [Broadlink RM] [DEBUG] successfuly sent packet - bytes: 72
[7/7/2020, 08:55:13] TypeError: Cannot read property 'toString' of undefined
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:434:82)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:321:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[7/7/2020, 08:55:14] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000009bce000026606a00050024dfa7d3299001000000cdbe00002228902f06d95d101d2c5e9ca6ff44b8
[7/7/2020, 08:55:14] [Broadlink RM] [DEBUG] successfuly sent packet - bytes: 72
[7/7/2020, 08:55:14] TypeError: Cannot read property 'toString' of undefined
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:434:82)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:321:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[7/7/2020, 08:55:15] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:54270 (UDP)
[7/7/2020, 08:55:15] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000009cce000026606a00060024dfa7d3299001000000cdbe00002228902f06d95d101d2c5e9ca6ff44b8
[7/7/2020, 08:55:15] [Broadlink RM] [DEBUG] successfuly sent packet - bytes: 72
[7/7/2020, 08:55:15] TypeError: Cannot read property 'toString' of undefined
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:434:82)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:321:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[7/7/2020, 08:55:16] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000009dce000026606a00070024dfa7d3299001000000cdbe00002228902f06d95d101d2c5e9ca6ff44b8
[7/7/2020, 08:55:16] [Broadlink RM] [DEBUG] successfuly sent packet - bytes: 72
[7/7/2020, 08:55:16] TypeError: Cannot read property 'toString' of undefined
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:434:82)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:321:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[7/7/2020, 08:55:17] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:34031 (UDP)
[7/7/2020, 08:55:17] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa550000000000000000000000000000000000000000000000009ece000026606a00080024dfa7d3299001000000cdbe00002228902f06d95d101d2c5e9ca6ff44b8
[7/7/2020, 08:55:17] [Broadlink RM] [DEBUG] successfuly sent packet - bytes: 72
[7/7/2020, 08:55:17] TypeError: Cannot read property 'toString' of undefined
at Device.onPayloadReceived (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:434:82)
at Socket. (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js:321:14)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)

[7/7/2020, 08:55:18] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[7/7/2020, 08:55:23] [HB Supervisor] Restarting Homebridge...
[7/7/2020, 08:55:23] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[7/7/2020, 08:55:23] [HB Supervisor] Started Homebridge v1.1.1 with PID: 20049
[7/7/2020, 08:55:24] Loaded config.json with 0 accessories and 2 platforms.
[7/7/2020, 08:55:24] ---
[7/7/2020, 08:55:26] Loaded plugin: [email protected]
[7/7/2020, 08:55:26] Plugin 'homebridge-broadlink-rm-pro' tried to register with an incorrect plugin identifier: 'homebridge-broadlink-rm'. Please report this to the developer!
[7/7/2020, 08:55:26] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM'
[7/7/2020, 08:55:26] ---
[7/7/2020, 08:55:26] Loaded plugin: [email protected]
[7/7/2020, 08:55:26] Registering platform 'homebridge-config-ui-x.config'
[7/7/2020, 08:55:27] ---
[7/7/2020, 08:55:27] Loading 2 platforms...
[7/7/2020, 08:55:27] [Broadlink RM] Initializing BroadlinkRM platform...
[7/7/2020, 08:55:27] [Broadlink RM] [INFO] Automatically discovering Broadlink RM devices.
[7/7/2020, 08:55:27] [Broadlink RM] No accessories have been added to the "Broadlink RM" platform config.
[7/7/2020, 08:55:27] Initializing platform accessory 'Learn'...
[7/7/2020, 08:55:27] Initializing platform accessory 'Scan Frequency'...
[7/7/2020, 08:55:27] [Config] Initializing config platform...
[7/7/2020, 08:55:27] [Config] Running in Service Mode
[7/7/2020, 08:55:27] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:46687 (UDP)
Setup Payload:

[7/7/2020, 08:55:27] Homebridge is running on port 51674.
[7/7/2020, 08:55:27] [Broadlink RM] [DEBUG] packet 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000a5f6000026606500010024dfa7d3299000000000a1c30000453452e7f92eda958344930835ef9a6dfb692dc370b90443ac5cd63fbb53adfa08814ca7f8cf417100328e570c3b86c94d05708449a389e29ae1045436a05bdddc02c161af1325e87e19b0f7d1ce068de51b619156876d338cff3b991e40cdb1
[7/7/2020, 08:55:27] [Broadlink RM] [DEBUG] successfuly sent packet - bytes: 152
[7/7/2020, 08:55:27] [Broadlink RM] [INFO] Discovered Broadlink RM 4 Pro (6026) at 192.168.2.126 (a7:df:24:d3:29:90)
[7/7/2020, 08:55:28] [Broadlink RM]
[7/7/2020, 08:55:28] [Broadlink RM] **************************************************************************************************************
[7/7/2020, 08:55:28] [Broadlink RM] ** Welcome to version 4.2.7-beta.6 of the Homebridge Broadlink RM Plugin!
[7/7/2020, 08:55:28] [Broadlink RM] **
[7/7/2020, 08:55:28] [Broadlink RM] ** Find out what's in the latest release here: https://github.com/lprhodes/homebridge-broadlink-rm/releases
[7/7/2020, 08:55:28] [Broadlink RM] **
[7/7/2020, 08:55:28] [Broadlink RM] ** If you like this plugin then please star it on GitHub or better yet
[7/7/2020, 08:55:28] [Broadlink RM] ** buy me a drink using Paypal https://paypal.me/lprhodes or crypto https://goo.gl/bEn1RW.
[7/7/2020, 08:55:28] [Broadlink RM] **
[7/7/2020, 08:55:28] [Broadlink RM] ** Keep up to date with this plugin along with everything HomeKit and homebridge
[7/7/2020, 08:55:28] [Broadlink RM] ** by signing up to my newsletter at http://workswith.io
[7/7/2020, 08:55:28] [Broadlink RM] **
[7/7/2020, 08:55:28] [Broadlink RM] ** You can disable this message by adding "hideWelcomeMessage": true to the config (see config-sample.json).
[7/7/2020, 08:55:28] [Broadlink RM] **
[7/7/2020, 08:55:28] [Broadlink RM] **************************************************************************************************************
[7/7/2020, 08:55:28] [Broadlink RM]
[7/7/2020, 08:55:29] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:33313 (UDP)
[7/7/2020, 08:55:29] [Broadlink RM] Scan Frequency getSwitchState: undefined
[7/7/2020, 08:55:29] [Broadlink RM] Learn getSwitchState: undefined
[7/7/2020, 08:55:31] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:59648 (UDP)
[7/7/2020, 08:55:33] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:41495 (UDP)
[7/7/2020, 08:55:35] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:51753 (UDP)
[7/7/2020, 08:55:37] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:46388 (UDP)
[7/7/2020, 08:55:39] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:53189 (UDP)
[7/7/2020, 08:55:41] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:32947 (UDP)
[7/7/2020, 08:55:43] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.2.108:44548 (UDP)

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

Thats what I get with beta.6 while pressing buttons on my RF remote.

Jul  7 14:12:38 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:38 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:38 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:38 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:39 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:39 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:40 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:40 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:41 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:41 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:42 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:42 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:43 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:43 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:44 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:44 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:45 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:45 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:46 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:46 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:47 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:47 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:48 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:48 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000b08f06000000000000
Jul  7 14:12:49 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:49 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000689b06000000000000
Jul  7 14:12:50 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:50 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000689b06000000000000
Jul  7 14:12:51 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:51 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000c09d06000000000000
Jul  7 14:12:52 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:52 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000000c09d06000000000000
Jul  7 14:12:53 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:53 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001749e06000000000000
Jul  7 14:12:54 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:54 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001749e06000000000000
Jul  7 14:12:55 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:55 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001749e06000000000000
Jul  7 14:12:56 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 1e
Jul  7 14:12:56 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  1e00000000000000000000000000
Jul  7 14:12:56 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 9
Jul  7 14:12:56 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  09001a00000001749e06000000000000
Jul  7 14:12:57 hoobs hoobs[639]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (stopped - 20s timeout)
Jul  7 14:12:57 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received with param 0x 1e
Jul  7 14:12:57 hoobs hoobs[639]: [BroadlinkRM] #033[33m[DEBUG]#033[0m Packet received:  1e00000000000000000000000000
Jul  7 14:12:57 hoobs hoobs[639]: [BroadlinkRM] #033[35m[INFO]#033[0m Scan RF (stopped)

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

I'm confirming successful RF scan via python-homebridge cli tool.

./broadlink_cli --rfscanlearn --device "0x6026 172.16.1.140 24dfa7b9c05a"

I was trying code 0x61a2 which is actually the code for my RM4 Pro. I replaced the code with 0x6026 and it worked. Copied the scanned RF HEX to config.json and the remote works as it should.

from homebridge-broadlink-rm.

burakcankose avatar burakcankose commented on August 25, 2024

I'm confirming successful RF scan via python-homebridge cli tool.

./broadlink_cli --rfscanlearn --device "0x6026 172.16.1.140 24dfa7b9c05a"

I was trying code 0x61a2 which is actually the code for my RM4 Pro. I replaced the code with 0x6026 and it worked. Copied the scanned RF HEX to config.json and the remote works as it should.

How to install ? @Stichoza

from homebridge-broadlink-rm.

JulianNaumann avatar JulianNaumann commented on August 25, 2024

@burakcankose
One option is to use pip:
pip install broadlink
See https://packaging.python.org/tutorials/installing-packages/ for more information on how to install python packages

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

I tried it too. Thats what I get. Any idea what's the problem ?

hoobs@hoobs:~/python-broadlink-master/cli $ ./broadlink_discovery 
Discovering...
###########################################
Unknown
# broadlink_cli --type 0x61a2 --host 192.168.1.99 --mac 6f6be4a7df24
Device file data (to be used with --device @filename in broadlink_cli) : 
0x61a2 192.168.1.99 6f6be4a7df24

hoobs@hoobs:~/python-broadlink-master/cli $ ./broadlink_cli --rfscanlearn --device "0x61a2 192.168.1.99 6f6be4a7df24"
Traceback (most recent call last):
  File "./broadlink_cli", line 200, in <module>
    dev.sweep_frequency()
AttributeError: 'device' object has no attribute 'sweep_frequency'

from homebridge-broadlink-rm.

Stichoza avatar Stichoza commented on August 25, 2024

Try replacing 0x61a2 with 0x6026. That worked for me although my device is actually 0x61a2.

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

@Stichoza : Magic !!! this worked for me too

hoobs@hoobs:~/python-broadlink-master/cli $ ./broadlink_cli --rfscanlearn --device "0x6026 192.168.1.99 6f6be4a7df24"
Learning RF Frequency, press and hold the button to learn...
Found RF Frequency - 1 of 2!
You can now let go of the button
Press enter to continue...
To complete learning, single press the button you want to learn
Found RF Frequency - 2 of 2!
b0c03201689b0600260b250c0d23250c240c0d24240c240d240d230d230d240d230d240d0b250c240d24240c0c25240c240d230d240d230d0c25240c0d240c240c240ddc250c240c0d24240c240c0d24240c240d240c240d240c240d230d230e0c240c250c24240c0d24240d230d240c240d240d0c24240c0d240c240d240cda240d240c0c24250c240c0d24240c240d240c240d240c240d230d240c0d240c240d24240c0c25240c240d230d240d230d0c25240c0c240d240d240cda240c240d0c24240d240c0c24240d240c240d240c240d240c240d230d0c250c240c24240d0c24240d240c240c250c240d0c24240d0c240c250c240dd9250c240c0d24240c250c0c24240d240c240d230d240d230d240d230d0c240c250c24240c0d24240d240c240c240d240d0c24240d0c240c240d240c0005dc00000000
Base64: b'sMAyAWibBgAmCyUMDSMlDCQMDSQkDCQNJA0jDSMNJA0jDSQNCyUMJA0kJAwMJSQMJA0jDSQNIw0MJSQMDSQMJAwkDdwlDCQMDSQkDCQMDSQkDCQNJAwkDSQMJA0jDSMODCQMJQwkJAwNJCQNIw0kDCQNJA0MJCQMDSQMJA0kDNokDSQMDCQlDCQMDSQkDCQNJAwkDSQMJA0jDSQMDSQMJA0kJAwMJSQMJA0jDSQNIw0MJSQMDCQNJA0kDNokDCQNDCQkDSQMDCQkDSQMJA0kDCQNJAwkDSMNDCUMJAwkJA0MJCQNJAwkDCUMJA0MJCQNDCQMJQwkDdklDCQMDSQkDCUMDCQkDSQMJA0jDSQNIw0kDSMNDCQMJQwkJAwNJCQNJAwkDCQNJA0MJCQNDCQMJA0kDAAF3AAAAAA='

from homebridge-broadlink-rm.

burakcankose avatar burakcankose commented on August 25, 2024

Hi !

I tried this but discovery OK! but learn have error.

Traceback (most recent call last):
File "./broadlink_cli", line 8, in
import broadlink
ModuleNotFoundError: No module named 'broadlink'

from homebridge-broadlink-rm.

e1l52 avatar e1l52 commented on August 25, 2024

Thats what helped in my case :

sudo apt-get install python3-pip
pip3 install broadlink

from homebridge-broadlink-rm.

burakcankose avatar burakcankose commented on August 25, 2024

Thats what helped in my case :

sudo apt-get install python3-pip
pip3 install broadlink

Yes ! Thank You !

from homebridge-broadlink-rm.

darrenkhu avatar darrenkhu commented on August 25, 2024

Looking forward to seeing a solution for RM4 Pro. Im using the official homebridge image and have some trouble getting python cli to work. as of now I'm still stuck with a RM4 Pro with homebridge running and not connected to any of my rf switches :(

from homebridge-broadlink-rm.

bertrand06 avatar bertrand06 commented on August 25, 2024

hi;, tried the latest beta with rm4 and it"s not working when trying learn button on RF

[```
#8/18/2020, 5:09:45 PM] [Broadlink RM]
[8/18/2020, 5:10:05 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[8/18/2020, 5:10:05 PM] [Broadlink RM] TV On/Off getSwitchState: undefined
[8/18/2020, 5:10:06 PM] [Broadlink RM] Learn Code (ready)
[8/18/2020, 5:10:06 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[8/18/2020, 5:10:08 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[8/18/2020, 5:10:08 PM] [Broadlink RM] TV On/Off getSwitchState: undefined
[8/18/2020, 5:10:09 PM] [Broadlink RM] TV On/Off getSwitchState: undefined
[8/18/2020, 5:10:09 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[8/18/2020, 5:10:16 PM] [Broadlink RM] [INFO] Learn Code (stopped - 10s timeout)
[8/18/2020, 5:10:16 PM] [Broadlink RM] [INFO] Learn Code (stopped)
[8/18/2020, 5:10:28 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[8/18/2020, 5:10:28 PM] [Broadlink RM] TV On/Off getSwitchState: undefined
[8/18/2020, 5:10:29 PM] [Broadlink RM] Learn Code (ready)
[8/18/2020, 5:10:29 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[8/18/2020, 5:10:31 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[8/18/2020, 5:10:31 PM] [Broadlink RM] TV On/Off getSwitchState: undefined
[8/18/2020, 5:10:31 PM] TypeError: log is not a function
at stop (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/helpers/learnData.js:14:3)
at Object.start (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/helpers/learnData.js:18:3)
at LearnIRAccessory.toggleLearning (/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/accessories/learnCode.js:41:17)
at On.emit (events.js:315:20)
at On.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/EventEmitter.js:60:38)
at On.Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Characteristic.js:369:23)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:951:36
at Array.forEach (:null:null)
at Bridge.Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:819:18)
at HAPServer.emit (events.js:315:20)
at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/EventEmitter.js:60:38)
at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/HAPServer.js:731:23)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/HAPServer.js:240:39)
at IncomingMessage.emit (events.js:315:20)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)

[8/18/2020, 5:10:31 PM] Got SIGTERM, shutting down Homebridge...
[8/18/2020, 5:10:31 PM] [Config] [HapClient] [192.168.1.2:51501 (0E:EB:5B:13:65:06)] Failed to set value for Learn IR.
[8/18/2020, 5:10:36 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[8/18/2020, 5:10:41 PM] [HB Supervisor] Restarting Homebridge...
[8/18/2020, 5:10:41 PM] [HB Supervisor] Starting Homebridge with extra flags: -I
[8/18/2020, 5:10:41 PM] [HB Supervisor] Started Homebridge v1.1.2 with PID: 87268
[8/18/2020, 5:10:43 PM] Loaded config.json with 0 accessories and 2 platforms.
[8/18/2020, 5:10:43 PM] ---
[8/18/2020, 5:10:45 PM] Loaded plugin: [email protected]
[8/18/2020, 5:10:45 PM] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM'
[8/18/2020, 5:10:45 PM] ---
[8/18/2020, 5:10:45 PM] Loaded plugin: [email protected]
[8/18/2020, 5:10:45 PM] Registering platform 'homebridge-config-ui-x.config'
[8/18/2020, 5:10:45 PM] ---
[8/18/2020, 5:10:45 PM] Loading 2 platforms...
[8/18/2020, 5:10:45 PM] [Config] Initializing config platform...
[8/18/2020, 5:10:45 PM] [Config] Running in Service Mode
[8/18/2020, 5:10:45 PM] [Broadlink RM] Initializing BroadlinkRM platform...
[8/18/2020, 5:10:45 PM] [Broadlink RM] [INFO] Automatically discovering Broadlink RM devices.
[8/18/2020, 5:10:45 PM] [Broadlink RM] TV On/Off Accessory Ready
[8/18/2020, 5:10:45 PM] Initializing platform accessory 'Learn IR'...
[8/18/2020, 5:10:45 PM] Initializing platform accessory 'TV On/Off'...
Setup Payload:
X-HM://0024MHW9BCE65
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     
β”‚ 698-13-135 β”‚     
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     

[8/18/2020, 5:10:45 PM] Homebridge is running on port 51501.
[8/18/2020, 5:10:45 PM] [Broadlink RM] TV On/Off getSwitchState: undefined
[8/18/2020, 5:10:45 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[8/18/2020, 5:10:45 PM] [Broadlink RM] [INFO] Discovered Broadlink RM 4 Pro (61a2) at 192.168.1.109 (a7:df:24:e4:7f:39)
[8/18/2020, 5:10:46 PM] [Broadlink RM]
[8/18/2020, 5:10:46 PM] [Broadlink RM] **************************************************************************************************************
[8/18/2020, 5:10:46 PM] [Broadlink RM] ** Welcome to version 4.3.0-beta.3 of the Homebridge Broadlink RM Plugin!

from homebridge-broadlink-rm.

siangloon avatar siangloon commented on August 25, 2024

Hi all,

   May I know who can I insert multiple device? I have a 4 Pro and 3 mini. Where should I introduce the host and how to identify the which device to call in the accessories?

{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideScanFrequencyButton": true,
"hideLearnButton": false,
"hideWelcomeMessage": true,
"hosts": [
{
"address": "192.168.1.82",
"mac": "xx:df:a7:7a:8xx:d0",
"isRFSupported": true
}
],
"accessories": [
{
"name": "Study TV Power",
"type": "switch",
"data": {
"on": "ON_HEX_CODE",
"off": "OFF_HEX_CODE"
}
}
]
}

from homebridge-broadlink-rm.

a-rodriguez avatar a-rodriguez commented on August 25, 2024

So is support for the RM4 Pro now part of the official release or its still in beta?

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on August 25, 2024

It's mostly there :-) RF Learning is the last hurdle. If you've got existing codes it works 100%.

from homebridge-broadlink-rm.

fabienpatou avatar fabienpatou commented on August 25, 2024

Hi guys,

Commenting this to follow-up, I have the RM4 Pro and unable to scan RF codes as well.

Thanks,
Fabien

from homebridge-broadlink-rm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.