Git Product home page Git Product logo

Comments (178)

kiwi-cam avatar kiwi-cam commented on July 3, 2024 5

It arrived in the country yesterday. Fingers crossed I'll get it this week.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024 3

Hi everyone. Not much of an update for you but I wanted to give you one. It sounds like Home Assistant are making progress on this issue: home-assistant/core#39671. This project is based off of this developers work so hopefully we get an update soon with the changes needed to support this.

My main issue has been that I just don't have an RF device on hand to test with. I've ordered something now so I'm hoping that I can make some good progress when it arrives.

from homebridge-broadlink-rm.

RaziAmin avatar RaziAmin commented on July 3, 2024 2

*Following. Just bought an RM4 for RF and almost cried when I realised I couldn't scan RF codes to control my curtains. (If anyone has any codes for a Tuya Smart Curtain RF remote, feel free to shoot them over :) )

Also can't use @haf76348g78 suggestion because I'm using the Official Homebridge Raspberry Pi Image so not skilled enough to access / edit files via that config UI.

Hopefully the RF learn function will work soon!

Please read the full steps below before proceeding and once you feel comfortable doing them, then follow them. I hope I can explain it well.

Also, make sure your Caps is not enabled as Terminal commands are case sensitive, commands with Capital letters are different that commands with small letters, so keep your keyboard on small letters.

I'm not sure about your setup but you can access the "Terminal" via Homebridge UI by clicking the 3 dots in the right top corner and choose Terminal
from there follow these steps, assuming the plugin path is the same as above, so I'll put the I have but once you reach there, the other steps would be the same.
These are the commands that you need to do in terminal or ssh
1- go to the plugin folder: cd /usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/
2- make a backup copy of the index file as 'root' user: sudo cp index.js index.js.org
3- open the file via editor as 'root' user: sudo vi index.js
The vi editor has navigation mode and edit mode so please follow the next steps exactly. if at any point, you screwed up or think you've done something wrong, just quit without saving by pressing: Escape key followed by typing :q! then hitting Enter Key.
4- You need to go into "Search Mode" to find "case 0x9". Press the / key to take you into "Search Mode", you will see the cursor moving to the bottom left corner of the screen which indicates that you're in search mode and it's waiting for your search phrase.
5- Type the search phrase case 0x9 and hit Enter Key.
6- The cursor should move to the location of case 0x9 and now you've exited "Search Mode" and back into "Navigation Mode". Two lines below that you'll see the payload.copy(data, 0, 0x4); statement which you will need to replace the 4 with a 6.
using the arrows, move the cursor to the position where is 4 is. Press r key which will take you into "Replace Mode".
7- Press 6 key so that it will replace 4 with a 6, then press the Escape key to exit "Replace Mode".
8- Press / key to go into "Search Mode" again to search for the next phrase: case 0x1b.
9- Type the phrase: case 0x1b and press Enter key.
10- The cursor should move to the location of the phrase. Three lines below you'll see the if (data[0] !== 0x1) break; statement that you need to comment.
11- Move the cursor using the arrows to the position of the "i" in the "if (data[0] !== 0x1) break;".
12- Press a key to enter "Append Mode".
13- Type // to add it before the if word to end up with //if.
14- Press Escape Key to exit Append move.
15- Now you need to save and exit the editor: Press the : "Colon" Key and you'll see the cursor moving the bottom left corner displaying the colon cursor.
16- Type wq and hit Enter Key.

That's it, you've modified and saved the new changes in the file

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024 1

Same experience here. Using RM4 Pro, Raspberry Pi with Homebridge Config UI.

  • Using @kiwi-cam fork version.
  • Had to install Git to install npm package
  • Used the BroadLink app to connect WiFi then stopped as going further/ setting room caused it not to discover device.

Now it’s auto discovered at homebridge start. Learn and Scan buttons appear, and work to set the BroadLink light to orange.

Just doesn’t pick up anything on the scan. As suggested perhaps I need to set the frequency some how? I’m euro 433.92 based.

Happy to help/ share logs etc where I can.

So close!

from homebridge-broadlink-rm.

faderud avatar faderud commented on July 3, 2024 1

Home Assistant is indeed an interesting project. I might look into it when I'll have the time to invest in a whole new setup. I hope you'll be able to crack this issue within this homebridge plugin.

On another note, I'd like to use this opportunity to encourage those of you gals and guys who enjoy this plugin to put your $$$ on it via Cameron's PayPal to show your appreciation, and to cover at least some expenses (like ordering the RF device). I did so myself two days ago. Thanks a lot, @kiwi-cam for reviving the project and keeping it alive!

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024 1

Hi Ben. I’ve got an RM Pro 4 already. My challenge has been getting something with an RF remote to troubleshoot with. I’ve got something on the way now so it’s just a waiting game till it arrives. I’ll let you know when I find out more.

from homebridge-broadlink-rm.

haf76348g78 avatar haf76348g78 commented on July 3, 2024 1

While Cam works on a proper solution, here's how I hacked my installation to get codes from my RM4 Pro (61a2):

  • In your config.json, in the Broadlink platform section (right after "platform": "BroadlinkRM", ), add the (undocumented?) option: "debug": true, . This will cause a lot of additional unimportant messages in your Homebridge log when you restart Homebridge. Don't restart it yet though.
  • On your Homebridge server, find the directory where the kiwicam-broadlinkjs-rm module was installed. For me it was /usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm, but YMMV.
  • Go to the directory and edit the file index.js. You will probably have to be root to do this. Also, it's probably a good idea to make a copy of this file before you change it, so you can put it back when you're done learning codes.
  • Look for the line that contains case 0x9: . For me this was on line 455.
  • Two lines under that is the line payload.copy(data, 0, 0x4); On this line, change the 4 to a 6 .
  • Now find the line that contains case 0x1b . For me this was on line 476.
  • Three lines under that is the line if (data[0] !== 0x1) break; . You need to comment this line out, by putting two forward slashes before the if, like this: //if (data[0] !== 0x1) break;
  • Save and exit the file, and restart Homebridge. As mentioned, you will see some additional messages in the log.

Learning RF codes should now work. You will see the learned code come up in the log in a debug statement that says "Packet received". I had to fiddle with the code a bit to get it to work with my accessory, chopping off the beginning of the code and adding my own value in front. I can't really guide you with that process, sorry.

IMPORTANT NOTE: This hack is by no means an "official" fix for the 61a2. It probably broke other things. I just got tired of waiting and needed to move on with my life. I decided to post what I did in case it's useful to others. I'm sure Cam will release an official fix for the 61a2 in due time.

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024 1

Just so you know what to look out for, here's mine. FYI first time it didn't come through, second time round after lots of pressing I got.... Update (Yes it the Scan Frequency not Learn - Learn is for IR I believe).

Screenshot 2020-11-24 at 18 55 33

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024 1

Looks like the commands may vary depending on how you setup your build. Some will require sudo (I think that's your issue @ben-callaway ). I found detail on doing it on the standard image here: https://github.com/homebridge/homebridge/wiki/How-to-Install-Alternate-Plugin-Versions.

from homebridge-broadlink-rm.

justinm92 avatar justinm92 commented on July 3, 2024 1

Thinking about it, the code you were pulling pre-Beta was the raw packet in Hex. I duplicated the IR code which drops a few bytes off the start. I'll change this to just return the raw packet.

Could you install the Beta again and re-test? (Note, the version number of this won't change, it's a dependant module that has changed)

The new beta is working great!

First beta, learn RF codes worked but the hex code that I received that started with “06009...” wasn’t recognised when I used it in my config - the broadlink light didn’t even light when I pressed a command. The new beta however delivered different RF codes starting with “b1c0b...” and they work perfectly.

I set up RF Curtains - my existing Aircon on the RM4Pro also still works. My existing 2 RM3 minis also work (I have various IR devices on each) all with no issues.

It’s looking pretty great, couldn’t thank you enough!

from homebridge-broadlink-rm.

bradstcroix avatar bradstcroix commented on July 3, 2024

Exact same issue with RM4 Pro. Have read the entire internet and can't find a solution.

from homebridge-broadlink-rm.

bradstcroix avatar bradstcroix commented on July 3, 2024

Finally got it all working. So here's the thing - This homebridge plugin will learn the IR commands no problem, but won't learn RF commands. I needed to install PHP (both v2 & 3) and use this repo to get the HEX codes...

https://github.com/mjg59/python-broadlink

Once you've gone down the rabbit hole of getting this to work you can use it to get the hex codes required. Then it's as simple as pasting them in to the accessory > data part of the plugin.

I've got a bunch of RF switches, blinds and air conditioners working using this method. It took HOURS of dedication and frustration to get there, but it works.

Until this plugin is updated to scan RF frequencies properly, I hope this helps!

Cheers

from homebridge-broadlink-rm.

faderud avatar faderud commented on July 3, 2024

I'm having the exact same issue with my RM4 Pro (6026) and ver 4.3.0.
I'm afraid I don't have enough skillset to use the python workaround.
I'm wondering whether @kiwi-cam Cameron is aware of the issue, since the release notes 4.3.0 which was released after this issue was created, said it addressed both RM4 Pro recognition (which finally worked for me for the first time) and the RF scanning.

from homebridge-broadlink-rm.

faderud avatar faderud commented on July 3, 2024

Another point on this, which might be helpful (or not). Before trying to connect to homebridge I was using the original Broadlink app. When I used it to scan my remotes, it requested me to manually input the frequency (433.92Mhz in my case), and the app did manage to successfully detect all my remotes. @kiwi-cam do you think maybe allowing to set the desired frequency manually in the plugin's config could serve as a possible workaround?

from homebridge-broadlink-rm.

alexandrebrdf avatar alexandrebrdf commented on July 3, 2024

I’ve purchased a RM4 Pro too.
It was found by Homebridge and I am having problem with "scan RF Frequency" or "Learn IR”.
I a using the plugin : “Homebridge Broadlink Rm Pro - homebridge-broadlink-rm-pro v4.3.0”
This is the log output:

….
[9/13/2020, 9:46:33 PM] Loaded plugin: [email protected]
[9/13/2020, 9:46:33 PM] Plugin 'homebridge-broadlink-rm-pro' tried to register with an incorrect plugin identifier: 'homebridge-broadlink-rm'. Please report this to the developer!
….
[9/13/2020, 9:46:33 PM] [Broadlink RM] Initializing BroadlinkRM platform...
[9/13/2020, 9:46:33 PM] [Broadlink RM] [INFO] Automatically discovering Broadlink RM devices.
[9/13/2020, 9:46:33 PM] [Broadlink RM] [INFO] Running Homebridge Broadlink RM Plugin version 4.3.0
[9/13/2020, 9:46:33 PM] [Broadlink RM] Persiana Accessory Ready

[9/13/2020, 9:46:34 PM] [Broadlink RM] [INFO] Discovered Broadlink RM 4 Pro (6026) at 172.16.x.x (a7:df:24:e6:cb:ba)
....

When I try to scan the RF the orange light is displayed on Broadlink and this is the log:

9/13/2020, 9:51:16 PM] [Broadlink RM] [INFO] Scan RF (scanning)
[9/13/2020, 9:51:16 PM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[9/13/2020, 9:51:37 PM] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout)
[9/13/2020, 9:51:38 PM] [Broadlink RM] [INFO] Scan RF (stopped)

And can not get the RF value

I try to configure two new accessories like bellow:

{
"accessory": "Scan RF",
"name": "Learn RF",
"type": "learn-ir",
"scanFrequency": true,
"host": "172.16.X.X"
},
{
"accessory": "Learn Code",
"name": "Learn Code",
"type": "learn-code",
"host": "172.16.X.X"
},

But It can not read/list the code

Any suggestion?
I don't have enough skillset to use the python workaround.
Using the Broadlink new application and connecting to the broadlink cloud, I can scan the frequencies and add accessories. But when connected to the cloud, Homebridge can not found the Broadlink device.

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Yes I was going to suggest the same! @kiwi-cam is your RF solution okay now or would you benefit from a RM4 Pro? I'm sure we can all contribute. I've put a few $$$ your way too on the above link - thanks again. Also happy to help where I can, if you need any logs etc.

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Anything further we can do here or are we waiting on the efforts from Home Assistant? Is there a way to get the HEX from the native Broadlink app? I've looked and don't think they are disclosed anywhere.

from homebridge-broadlink-rm.

Jvlmp avatar Jvlmp commented on July 3, 2024

Thanks -- wanted to say I have the same issue with my RM Pro 4, running the latest version of the plugin (v4.3.2). Thanks for looking into it.

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

@kiwi-cam Hopefully you've got your RF device now? Anything coming through on your tests??

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Just checking in, any progress? Still relying on the native app until I can start identifying some codes! 🤞

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

Another person patiently waiting for this to be added. No, in all honesty, can't wait ;)

from homebridge-broadlink-rm.

bubez81 avatar bubez81 commented on July 3, 2024

same here!

from homebridge-broadlink-rm.

eddiedsouza avatar eddiedsouza commented on July 3, 2024

same here as well. got the RM4 and get the below msgs. On the app - the device is able to learn where the Red Light on the device is lit up. Via the plugin - activating the Learn switch, doesnt activate the red light and get the below error. Infact theres no plugin that supports the RM4 - 6026.

10/20/2020, 10:51:36 AM [Broadlink RM] Learn getSwitchState: undefined
10/20/2020, 10:54:44 AM [Broadlink RM] Learn getSwitchState: undefined
10/20/2020, 10:54:45 AM [Broadlink RM] �[31m[ERROR]�[0m Learn Code (Couldn't learn code, device not found)

from homebridge-broadlink-rm.

snollygolly avatar snollygolly commented on July 3, 2024

Hoping for this to be supported soon as well!

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Do you need a specific device or does anything that transmits 433 MHz work? Car keys etc? I’ve got a bunch of devices round the house from sockets to lights.

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

Hey Cam,

I can send you a 433 remote control with a code programmed. Would that help?

from homebridge-broadlink-rm.

hassman12 avatar hassman12 commented on July 3, 2024

same problem

from homebridge-broadlink-rm.

fratinize avatar fratinize commented on July 3, 2024

Does this Apply to Learn (IR codes)? Same as brant-klick I get
[11/13/2020, 7:25:56 AM] [Broadlink RM] Learn Code (ready)
[11/13/2020, 7:26:06 AM] [Broadlink RM] [INFO] Learn Code (stopped - 10s timeout)
[11/13/2020, 7:26:06 AM] [Broadlink RM] [INFO] Learn Code (stopped)
or do I need to go into the rabbit hole of python??

from homebridge-broadlink-rm.

hassman12 avatar hassman12 commented on July 3, 2024

any update on learning rf?

from homebridge-broadlink-rm.

RaziAmin avatar RaziAmin commented on July 3, 2024

While Cam works on a proper solution, here's how I hacked my installation to get codes from my RM4 Pro (61a2):

  • In your config.json, in the Broadlink platform section (right after "platform": "BroadlinkRM", ), add the (undocumented?) option: "debug": true, . This will cause a lot of additional unimportant messages in your Homebridge log when you restart Homebridge. Don't restart it yet though.
  • On your Homebridge server, find the directory where the kiwicam-broadlinkjs-rm module was installed. For me it was /usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm, but YMMV.
  • Go to the directory and edit the file index.js. You will probably have to be root to do this. Also, it's probably a good idea to make a copy of this file before you change it, so you can put it back when you're done learning codes.
  • Look for the line that contains case 0x9: . For me this was on line 455.
  • Two lines under that is the line payload.copy(data, 0, 0x4); On this line, change the 4 to a 6 .
  • Now find the line that contains case 0x1b . For me this was on line 476.
  • Three lines under that is the line if (data[0] !== 0x1) break; . You need to comment this line out, by putting two forward slashes before the if, like this: //if (data[0] !== 0x1) break;
  • Save and exit the file, and restart Homebridge. As mentioned, you will see some additional messages in the log.

Learning RF codes should now work. You will see the learned code come up in the log in a debug statement that says "Packet received". I had to fiddle with the code a bit to get it to work with my accessory, chopping off the beginning of the code and adding my own value in front. I can't really guide you with that process, sorry.

IMPORTANT NOTE: This hack is by no means an "official" fix for the 61a2. It probably broke other things. I just got tired of waiting and needed to move on with my life. I decided to post what I did in case it's useful to others. I'm sure Cam will release an official fix for the 61a2 in due time.

Thank you so much, the above worked perfectly with my 6026, I can see the hex code in the debug logs.
I've tried to use the code however, it didn't work, do I need to convert the code?

****Update:
Never mind, it worked perfectly, I had to do it again and again, it produced a new code which worked perfectly.

I just programmed all my curtains and now I can control them with HomeKit

thank you so much @haf76348g78 you made my day

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Was excited to try this but didn't work for me :( my code line numbers were the same as yours @haf76348g78 Edited, saved, restarted but still get:

[11/22/2020, 19:42:28] [Broadlink RM] Learn getSwitchState: undefined
[11/22/2020, 19:42:28] [Broadlink RM] Scan Frequency getSwitchState: undefined
[11/22/2020, 19:42:57] [Broadlink RM] [ERROR] Learn Code (Couldn't learn code, device not found)
[11/22/2020, 19:43:06] [Broadlink RM] [INFO] Learn Code (Couldn't learn code, device not found)

When trying to scan/learn.

Any steps missing?

Thanks!

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Update: I removed and re-added the device (up to the point of room selection) and it's working. Scanning RF codes now shows something like:

[11/22/2020, 21:51:01] [Broadlink RM] [DEBUG] ( 24dfeaa ) Packet received: 09001a00000001de9b06000000000000
[11/22/2020, 21:51:01] [Broadlink RM] [INFO] Scan RF (found frequency - 1 of 2)
[11/22/2020, 21:51:01] [Broadlink RM] [ACTION] Keep holding that button!

Just trying get this to work now when transmitting. Close!

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

Nice one @haf76348g78. I'm taking a look over it and have two questions (and some notes):

* In your config.json, in the Broadlink platform section (right after `"platform": "BroadlinkRM",` ), add the (undocumented?) option: `"debug": true,` .  This will cause a lot of additional unimportant messages in your Homebridge log when you restart Homebridge.  Don't restart it yet though.

None of the changes below seem to depend on this part debug. Could you confirm what this changes?

* On your Homebridge server, find the directory where the kiwicam-broadlinkjs-rm module was installed.  For me it was /usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm, but YMMV.

* Go to the directory and edit the file **index.js**.  You will probably have to be root to do this.  Also, it's probably a good idea to make a copy of this file before you change it, so you can put it back when you're done learning codes.

* Look for the line that contains `case 0x9:` .  For me this was on line 455.

* Two lines under that is the line `payload.copy(data, 0, 0x4);`  On this line, change the `4` to a `6` .

The case 0x9 was added for RM4 support based on reviewing other repos. I don't see an issue with changing this for all devices.

* Now find the line that contains `case 0x1b` .  For me this was on line 476.

* Three lines under that is the line `if (data[0] !== 0x1) break;` .  You need to comment this line out, by putting two forward slashes before the if, like this: `//if (data[0] !== 0x1) break;`

Any chance you could let me know what value data[0] has? I feel like this is error handling and I assume it's there for a reason so feel like I should keep it.

* Save and exit the file, and restart Homebridge.  As mentioned, you will see some additional messages in the log.

from homebridge-broadlink-rm.

haf76348g78 avatar haf76348g78 commented on July 3, 2024

None of the changes below seem to depend on this part debug. Could you confirm what this changes?

It causes the raw packet received by onPayloadReceived to be printed to the log. After emitting rawRFData2 from the 0x1b case, the next packet received is the RF code. My RF device sent a packet that started with 0xb1, which doesn't match any of your cases, so it would get ignored without the debug.

Other people's RF devices might send packets with other starting bytes, so adding a 0xb1 case would've only helped me. Basically, turning on debug was easier and more universally useful.

The case 0x9 was added for RM4 support based on reviewing other repos. I don't see an issue with changing this for all devices.

Your call. But the 0x9 packet I received was two bytes longer than any others (the 0x19, 0x1b, and 0x1e packets), which explains why you have to look in byte 6 instead of 4 for the 0x1. The extra long packet could be specific to the 61a2, not all RM4's, but I have no idea.

Any chance you could let me know what value data[0] has? I feel like this is error handling and I assume it's there for a reason so feel like I should keep it.

The packet was 1b00000000000000000000000000, repeatedly, until timeout. Not a 0x1 in sight anywhere. I couldn't figure out how to receive any other packet value, so I just bypassed the check. There's probably an extra step to the protocol for the 61a2 to do it "the right way", or maybe different packet values to send, but no way I was going to look that deep.

from homebridge-broadlink-rm.

RaziAmin avatar RaziAmin commented on July 3, 2024

Update: I removed and re-added the device (up to the point of room selection) and it's working. Scanning RF codes now shows something like:

[11/22/2020, 21:51:01] [Broadlink RM] [DEBUG] ( 24dfeaa ) Packet received: 09001a00000001de9b06000000000000
[11/22/2020, 21:51:01] [Broadlink RM] [INFO] Scan RF (found frequency - 1 of 2)
[11/22/2020, 21:51:01] [Broadlink RM] [ACTION] Keep holding that button!

Just trying get this to work now when transmitting. Close!

Based on the debug log, it seems that the RM4 is trying different frequencies till it gets the code. What I've noticed is that if I press and hold the remote, the remote would stop transmitting the signal after a few seconds. And by the time it reaches that required signal, RM4 won't read anything.
So what I do is keep clicking the remote button continuously and as soon as I see "found frequency - 1 of 2), this is the time I press and hold the button.
this is how I added 5 curtains so far (open, close, stop).

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Thanks, yes I got there in the end. Seems the first scan detects there's a code/ something being sent then the second scan obtains the full hex. This was a much longer code. Everything is now working. Big thanks to @haf76348g78 for helping with this. 👍🏼

from homebridge-broadlink-rm.

justinm92 avatar justinm92 commented on July 3, 2024

*Following. Just bought an RM4 for RF and almost cried when I realised I couldn't scan RF codes to control my curtains. (If anyone has any codes for a Tuya Smart Curtain RF remote, feel free to shoot them over :) )

Also can't use @haf76348g78 suggestion because I'm using the Official Homebridge Raspberry Pi Image so not skilled enough to access / edit files via that config UI.

Hopefully the RF learn function will work soon!

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

@justinm92 Can you access your Pi via FTP/SFTP? That's how I edited mine. Happy to help where I can as I was in the same boat when bought the RM4 and couldn't get it to work originally 😭

from homebridge-broadlink-rm.

justinm92 avatar justinm92 commented on July 3, 2024

@justinm92 Can you access your Pi via FTP/SFTP? That's how I edited mine. Happy to help where I can as I was in the same boat when bought the RM4 and couldn't get it to work originally 😭

The knowledge of my coding is pretty basic = Homebridge, so unfort no, not sure how to access it like that. I know you can SSH into the image... help would be appreciated 👌🏼

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Is you can SSH I can help you from there. https://itsfoss.com/ssh-into-raspberry/

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

Update: I removed and re-added the device (up to the point of room selection) and it's working. Scanning RF codes now shows something like:

[11/22/2020, 21:51:01] [Broadlink RM] [DEBUG] ( 24dfeaa ) Packet received: 09001a00000001de9b06000000000000
[11/22/2020, 21:51:01] [Broadlink RM] [INFO] Scan RF (found frequency - 1 of 2)
[11/22/2020, 21:51:01] [Broadlink RM] [ACTION] Keep holding that button!

Just trying get this to work now when transmitting. Close!

Hello Ben, I have the same issue as you had. Quick question: which device did you remove and re-add? I assume in the Home app, correct?
So close now!
Thanks for your help,

Matthias

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

I removed the device from the Broadlink app, re added it to the point of room selection. It all worked after this. As @RaziAmin says: "So what I do is keep clicking the remote button continuously and as soon as I see "found frequency - 1 of 2), this is the time I press and hold the button." You'll then get a much longer hex code to use.

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

I removed the device from the Broadlink app, re added it to the point of room selection. It all worked after this. As @RaziAmin says: "So what I do is keep clicking the remote button continuously and as soon as I see "found frequency - 1 of 2), this is the time I press and hold the button." You'll then get a much longer hex code to use.

Thanks so much for your super quick reply, Ben! Sorry for my stupid question (it just seems unintuitive), so you removed the Broadlink RM from the Broadlink app?

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

That's right, remove the Broadlink RM from the Broadlink app on your phone, also reset the physical device (on the back with a pin) then start a fresh, add the device, stop at room selection, then everything should work from the homebridge side. 🤞🏻

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

from

Thanks so much for helping me, Ben. Highly appreciated and not taken for granted. I reset the Broadlink now, added it again in the Broadlink app. stopped before Room Selection. Tried to grab the remote code.
Did as you advised, pressed the remote a couple of times until "found frequency" popped up and then pressed the remote continuously. I just can't find a long hex code.... Here is my log: By the way, I used scan frequency and not learn, correct?

[11/24/2020, 6:09:30 PM] [Broadlink RM] [INFO] Scan RF (found frequency - 1 of 2)
[11/24/2020, 6:09:30 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000007fcf00009d276a002100770f78b94f8401000000b2be0000139bef90733453eeba5ed671750b8c0a
[11/24/2020, 6:09:30 PM] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.1.142:33191 (UDP)
[11/24/2020, 6:09:30 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet received: 03000000000000000000000000000000
[11/24/2020, 6:09:32 PM] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.1.142:54202 (UDP)
[11/24/2020, 6:09:34 PM] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.1.142:56427 (UDP)
[11/24/2020, 6:09:46 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000065d000009d276a002200770f78b94f8401000000cdbe000064c0284f20f0a9bfb7d3b444b8455b67
[11/24/2020, 6:09:46 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet received: 1e000000000000000000000000000000
[11/24/2020, 6:09:47 PM] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout)
[11/24/2020, 6:09:47 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000066d000009d276a002300770f78b94f8401000000cdbe000064c0284f20f0a9bfb7d3b444b8455b67
[11/24/2020, 6:09:47 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet received: 1e000000000000000000000000000000
[11/24/2020, 6:09:47 PM] [Broadlink RM] [INFO] Scan RF (stopped)
[11/24/2020, 6:09:50 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000082cf00009d276a002400770f78b94f8401000000b2be0000139bef90733453eeba5ed671750b8c0a
[11/24/2020, 6:09:50 PM] [Broadlink RM] Learn Code (ready)
[11/24/2020, 6:09:50 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet received: 03000000000000000000000000000000
[11/24/2020, 6:09:51 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000c9ce00009d276a002500770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:09:51 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000069d000009d276a002600770f78b94f8401000000cdbe000064c0284f20f0a9bfb7d3b444b8455b67
[11/24/2020, 6:09:51 PM] [Broadlink RM] [INFO] Learn Code (stopped)
[11/24/2020, 6:09:51 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet received: 1e000000000000000000000000000000
[11/24/2020, 6:09:54 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000085cf00009d276a002700770f78b94f8401000000b2be0000139bef90733453eeba5ed671750b8c0a
[11/24/2020, 6:09:54 PM] [Broadlink RM] Learn Code (ready)
[11/24/2020, 6:09:55 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet received: 03000000000000000000000000000000
[11/24/2020, 6:09:55 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000ccce00009d276a002800770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:09:56 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000cdce00009d276a002900770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:09:57 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000cece00009d276a002a00770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:09:58 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000cfce00009d276a002b00770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:09:59 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000d0ce00009d276a002c00770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:10:00 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000d1ce00009d276a002d00770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:10:01 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000d2ce00009d276a002e00770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:10:02 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000d3ce00009d276a002f00770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:10:03 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000d4ce00009d276a003000770f78b94f8401000000b3be00009fa846eadb0a6885575834e9164f3d18
[11/24/2020, 6:10:04 PM] [Broadlink RM] [INFO] Learn Code (stopped - 10s timeout)
[11/24/2020, 6:10:04 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000074d000009d276a003100770f78b94f8401000000cdbe000064c0284f20f0a9bfb7d3b444b8455b67
[11/24/2020, 6:10:04 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000075d000009d276a003200770f78b94f8401000000cdbe000064c0284f20f0a9bfb7d3b444b8455b67
[11/24/2020, 6:10:04 PM] [Broadlink RM] [DEBUG] ( 780f77b94f84 ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000076d000009d276a003300770f78b94f8401000000cdbe000064c0284f20f0a9bfb7d3b444b8455b67
[11/24/2020, 6:10:04 PM] [Broadlink RM] [INFO] Learn Code (stopped)

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

My RF remote (for some garden lights) had to be close to the BroadLink, yours is definitely an RF remote, has batteries etc?

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

Alright, I need some help. I've just released [email protected] based on @haf76348g78's findings above (THANKS!!). I've been able to test IR functionality on my RM4 Pro and RM3 Mini and haven't found issues. I'd like to know if a) RF Learning works now and b) if I've broken anything else.

To install: npm install -g homebridge-broadlink-rm-pro@beta
To revert to latest stable release: npm install -g homebridge-broadlink-rm-pro@latest

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Sure - happy to help. Getting a permissions error though on install:

npm ERR! path /usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/underscore npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/underscore' npm ERR! [Error: EACCES: permission denied, access '/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/underscore'] { npm ERR! stack: "Error: EACCES: permission denied, access '/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/underscore'", npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/underscore' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user'

from homebridge-broadlink-rm.

fratinize avatar fratinize commented on July 3, 2024

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

Perfect, that worked. All installed and everything worked for me. Existing accessories and IR / RF learning. 👍🏻 I don’t have any other accessories, dehumidifier, air con etc but everything seems okay for me.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

That's encouraging. Did you need to leave "debug": true in order to read the RF codes you learnt? And did the codes learnt work when sent (or match what you're using)?

Nothing has changed with the accessories - only the sending and receiving of codes from the device so I don't expect any issues with specific accessories.

from homebridge-broadlink-rm.

ben-callaway avatar ben-callaway commented on July 3, 2024

I had debug set to "debug": true yes, retested with debug set to "debug": false and got the hex codes pushed to logs okay 👍 Looks great. On closer inspection the RF one I tested didn't match my previous one (pre beta), it also didn't work with the device.

Original RF Scan:

b0c03a01689b06002a0f2a0f0e290d292a0f0e280e290e280e290e280e282b0e0e290e282b0f0d290e280e290e282a0f0e292a0f0e280e0001932b0e2b0e2b0f0e280e282b0e0e290e280e290e280e290d292a0f0e280e292a0f0e280e290e280e282b0f0d292a0f0e280e0001932b0e2b0f2a0f0e280e282b0f0e280e290d290e280e290e282a0f0e280e292a0f0e280e290e280e272c0f0e282a0f0e290d0001932b0e2b0e2b0f0d290e282b0e0e290e280e290e280e280e292a0f0e280e292a0f0e280e290d290e282b0e0e292a0f0e280e0001932a0f2b0e2b0f0d290e282a0f0e290e280e290e280e280e292a0f0e280e292a0f0e280e290e280e282b0e0e292a0f0e280e0001932a0f2b0e2b0f0d290e282a100d290e280e290e280e280f282a0f0e280e292a0f0e280e290e280e282b0f0e282a0f0e290d0005dc000000000000000000000000

New Beta RF Scan:

06000400011c170003172c0e2b0e2b0f0e290d292a100d290e290d290e280e290e282b0f0e280e292a0f0e290e280e290d292a0f0e292a0f0e290d0001942b0e2b0f2a0f0e290e282b0f0d290e290e280e290e280e292a0f0e290d292a100d290e280e290e282b0f0d292a100d290e0005dc00000000

IMG_7029

IMG_7028

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

Thinking about it, the code you were pulling pre-Beta was the raw packet in Hex. I duplicated the IR code which drops a few bytes off the start. I'll change this to just return the raw packet.

Could you install the Beta again and re-test? (Note, the version number of this won't change, it's a dependant module that has changed)

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

I just installed the Beta. During the restart I got the following message:
Plugin /homebridge/node_modules/homebridge-broadlink-rm-pro does not contain a package.json.
I have the same issue. I git the message "found frequency - 1 of 2" but no code. I checked my model and it's a Broadlink RM Pro+. Might this be the issue?

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

I just installed the Beta. During the restart I got the following message:
Plugin /homebridge/node_modules/homebridge-broadlink-rm-pro does not contain a package.json.

This error is odd. My understanding is that I wouldn't be able to publish to npm without a package.json. There's defiantly one there. Maybe corruption/errors on downloading? Try uninstalling and reinstalling.

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

downloading

I just uninstalled and reinstalled.

After another install the directory of node_modules/homebridge-broadlink-rm-pro is still empty with the exception on another empty node_modules folder. I run Homebridge on Synology Docker

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

Do you have this issue with other plugins too?

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

Do you have this issue with other plugins too?

No, the other plugins have index.js and package.json files...

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

Can I copy the files manually?

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

Screenshot 2020-11-25 at 19 54 58

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

That's really odd. Maybe permissions? Try uninstalling. then delete the homebridge-broadlink-rm-pro folder, then install again?

You can download the files from Github, but I don't think that will download the dependencies.

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

Did as you said. Now it didn't even create a new directory under node_modules. Will delete the Homebridge docker container and start from scratch...

from homebridge-broadlink-rm.

mkuerten avatar mkuerten commented on July 3, 2024

I needed to install the beta with the option --save instead of -g and then it worked. But my RM Pro+ still doesn't read the code - I have ordered a Pro4 and will report back

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

I installed the beta. i see in the .js file the chnages you made..
but still, i cant seem to see anything on the console, when i press the RF learning button. like its not registering the code..

Any idea?

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

I installed the beta. i see in the .js file the chnages you made..
but still, i cant seem to see anything on the console, when i press the RF learning button. like its not registering the code..

Any idea?

@aldryk77 Can you set "debug": true in the platform definition (Somewhere around "platform": "BroadlinkRM"), restart HomeBridge, and share the logs of what happens when you try?

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

I have the beta 1 and my config is:

{
"platform": "BroadlinkRM",
"debug": false,
"hideWelcomeMessage": false,
"hideScanFrequencyButton": false,
"hideLearnButton": false,
"name": "Broadlink RM",
"accessories": [...........

but no codes found...

nor with debug on and off... any suggestions?

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

Can you share the logs?

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

yes

[27/11/2020, 05:29:35] [Broadlink RM] [INFO] Scan RF (scanning)
[27/11/2020, 05:29:35] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[27/11/2020, 05:29:36] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 1900000000000000000000000000
[27/11/2020, 05:29:36] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000033d200009b646a000700b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:36] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:55177 (UDP)
[27/11/2020, 05:29:37] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:37] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000034d200009b646a000800b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:37] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:38] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000009cd200009b646a000900b043a032fa7b01000000d7be000052f67a8fbb9c1d19f2dbf3d19d21ea98
[27/11/2020, 05:29:38] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 0a002400000000000000010000000000
[27/11/2020, 05:29:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 05:29:38] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000036d200009b646a000a00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:38] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:38] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:53732 (UDP)
[27/11/2020, 05:29:39] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000037d200009b646a000b00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:39] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:40] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000038d200009b646a000c00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:40] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:40] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:49806 (UDP)
[27/11/2020, 05:29:41] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000039d200009b646a000d00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:42] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:42] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003ad200009b646a000e00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:42] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:42] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:35473 (UDP)
[27/11/2020, 05:29:43] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003bd200009b646a000f00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:43] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:44] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003cd200009b646a001000b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:44] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:44] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:55219 (UDP)
[27/11/2020, 05:29:45] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003dd200009b646a001100b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:45] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:46] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003ed200009b646a001200b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:46] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:46] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:52761 (UDP)
[27/11/2020, 05:29:47] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003fd200009b646a001300b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:47] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:48] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000a7d200009b646a001400b043a032fa7b01000000d7be000052f67a8fbb9c1d19f2dbf3d19d21ea98
[27/11/2020, 05:29:48] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 0a002400000000000000010000000000
[27/11/2020, 05:29:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 05:29:48] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000041d200009b646a001500b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:48] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:42930 (UDP)
[27/11/2020, 05:29:49] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:49] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000042d200009b646a001600b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:49] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:50] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000043d200009b646a001700b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:50] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:50] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:32891 (UDP)
[27/11/2020, 05:29:51] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000044d200009b646a001800b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:51] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:52] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000045d200009b646a001900b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:52] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:56522 (UDP)
[27/11/2020, 05:29:52] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:53] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000046d200009b646a001a00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:53] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:54] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000047d200009b646a001b00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:54] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:35243 (UDP)
[27/11/2020, 05:29:54] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:55] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000055d200009b646a001c00b043a032fa7b01000000d1be000066dcfbc3bac8616849539bf193993587
[27/11/2020, 05:29:55] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000049d200009b646a001d00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:55] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 1e00000000000000000000000000
[27/11/2020, 05:29:56] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:56] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout)

from homebridge-broadlink-rm.

RaziAmin avatar RaziAmin commented on July 3, 2024

yes

[27/11/2020, 05:29:35] [Broadlink RM] [INFO] Scan RF (scanning)
[27/11/2020, 05:29:35] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[27/11/2020, 05:29:36] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 1900000000000000000000000000
[27/11/2020, 05:29:36] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000033d200009b646a000700b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:36] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:55177 (UDP)
[27/11/2020, 05:29:37] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:37] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000034d200009b646a000800b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:37] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:38] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000009cd200009b646a000900b043a032fa7b01000000d7be000052f67a8fbb9c1d19f2dbf3d19d21ea98
[27/11/2020, 05:29:38] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 0a002400000000000000010000000000
[27/11/2020, 05:29:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 05:29:38] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000036d200009b646a000a00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:38] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:38] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:53732 (UDP)
[27/11/2020, 05:29:39] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000037d200009b646a000b00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:39] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:40] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000038d200009b646a000c00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:40] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:40] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:49806 (UDP)
[27/11/2020, 05:29:41] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000039d200009b646a000d00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:42] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:42] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003ad200009b646a000e00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:42] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:42] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:35473 (UDP)
[27/11/2020, 05:29:43] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003bd200009b646a000f00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:43] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:44] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003cd200009b646a001000b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:44] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:44] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:55219 (UDP)
[27/11/2020, 05:29:45] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003dd200009b646a001100b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:45] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:46] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003ed200009b646a001200b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:46] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:46] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:52761 (UDP)
[27/11/2020, 05:29:47] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000003fd200009b646a001300b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:47] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:48] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000a7d200009b646a001400b043a032fa7b01000000d7be000052f67a8fbb9c1d19f2dbf3d19d21ea98
[27/11/2020, 05:29:48] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 0a002400000000000000010000000000
[27/11/2020, 05:29:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 05:29:48] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000041d200009b646a001500b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:48] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:42930 (UDP)
[27/11/2020, 05:29:49] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:49] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000042d200009b646a001600b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:49] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:50] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000043d200009b646a001700b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:50] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:50] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:32891 (UDP)
[27/11/2020, 05:29:51] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000044d200009b646a001800b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:51] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:52] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000045d200009b646a001900b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:52] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:56522 (UDP)
[27/11/2020, 05:29:52] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:53] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000046d200009b646a001a00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:53] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000000b08f06000000000000
[27/11/2020, 05:29:54] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000047d200009b646a001b00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:54] [Broadlink RM] [INFO] Listening for Broadlink devices on 192.168.0.10:35243 (UDP)
[27/11/2020, 05:29:54] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:55] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000055d200009b646a001c00b043a032fa7b01000000d1be000066dcfbc3bac8616849539bf193993587
[27/11/2020, 05:29:55] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000049d200009b646a001d00b043a032fa7b01000000cdbe0000c7fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 05:29:55] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 1e00000000000000000000000000
[27/11/2020, 05:29:56] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received:
[27/11/2020, 05:29:56] [Broadlink RM] [INFO] Scan RF (stopped - 20s timeout)

can you please try this method and see if you get any results. Do not press and hold the remote button, keep clicking fast and continues till you see "Found 1 of 2", then immediately and press and hold the button.

This what made my RM4 read the correct RF code.

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

this is my log after your suggestion:

fca60ae1f1a5c47a089eb4fe65313c
[27/11/2020, 07:18:51] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 09001a00000001609e06000000000000
[27/11/2020, 07:18:51] [Broadlink RM] [INFO] Scan RF (found frequency - 1 of 2)
[27/11/2020, 07:18:51] [Broadlink RM] [ACTION] Keep holding that button!
[27/11/2020, 07:18:52] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000007ad200009b646a00af00b043a032fa7b01000000cebe0000c0a085f79f5cc4c4ae051989f8fd2a1d
[27/11/2020, 07:18:52] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: 1b00000000000000000000000000
[27/11/2020, 07:18:52] [Broadlink RM] [INFO] Scan RF (found frequency - 2 of 2)
[27/11/2020, 07:18:52] [Broadlink RM] [ACTION] Press the RF button multiple times with a pause between them.
[27/11/2020, 07:18:53] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000000cd000009b646a00b000b043a032fa7b01000000b7be00009da684cc2f5bbd24f9a107733526101b
[27/11/2020, 07:18:54] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000000dd000009b646a00b100b043a032fa7b01000000b7be00009da684cc2f5bbd24f9a107733526101b
[27/11/2020, 07:18:55] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000000ed000009b646a00b200b043a032fa7b01000000b7be00009da684cc2f5bbd24f9a107733526101b
[27/11/2020, 07:18:56] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000000fd000009b646a00b300b043a032fa7b01000000b7be00009da684cc2f5bbd24f9a107733526101b
[27/11/2020, 07:18:56] [Broadlink RM] [DEBUG] ( a043b032fa7b ) Packet received: b1c0b004609e0600110e1a0e0d1b1a0f190f190f0c1c1a0e1a0e1a0f1911180e190f190f1910190001f80d0e0d0d0d0d0e0d0d0d0e0d0d0d0d0e0d0d0d0e0d0d0d850e1b1a0e0d1b1a0e0d1b1a0f0c1c1a0e1a0e1a0e1a0e1a0f0c1c190f1a0e0d1b1a0f190f190f190f190f190f190f1a0f190f190f190f190f19101810190f190f0c1c190f190f0c1c1a0f190f190f0c1c0c1c0c1c0c1c1a0e0d1c0c1c0c1c1a0e190f1a0e1a0f190f0c1c190f190f1a0e0d1b1a0f190f190f190f190f1a0e1a0f190f190001f80d0d0e0d0d0e0c0e0d0d0d0e0d0d0d0e0d0d0d0d0d0e0d850d1c1a0e0d1b1a0e0d1b1a0e0d1c190f1a0e1a0e1a0e1a0f0c1c190f190f0c1c190f1a0e1a0f190f190f190f1910190e1a0f190f190f190f190f1910190f190f0c1c190f190f0c1c1a0e1a0f190f0c1c0c1c0c1c0c1c1a0e0d1c0c1b0d1c190f190f1a0e1a0e1a0f0c1c190f190f190f0c1c1a0e1a0f190f190f190f190f1a0f190f190001f80d0d0d0e0d0d0d0e0c0e0d0d0d0e0d0d0d0e0d0d0d0e0c860d1b1a0e0d1c1a0e0d1b1a0e0d1b1a0f190f190f190f1a0e0d1b1a0f190f0c1c190f190f1a0e1a0f190f190f190f190f190f1a0f190f190f190f190f1910180f0d1c190f190f0c1c190f190f1a0e0d1b0d1c0c1c0c1c190f0c1c0d1b0d1c190f190f190f190f190f0d1c190f190f190f0c1c1a0e1a0e1a0f190f190f190f190f1a0e1a0001f80d0d0d0e0c0e0d0d0d0e0d0d0d0e0d0d0d0d0d0e0d0e0c860d1b1a0f0c1b1a0f0d1b1a0e0d1b1a0e1a0f190f190f190f0c1c1a0e1a0f0c1c190f190f190f1a0e1a0e1a0f190f190f190f190f1a0f190f190f190f190f190f0c1d190f190f0c1c190f190f1a0e0c1c0d1b0d1c0c1c190f0c1c0c1c0d1b1a0e1a0f190f190f190f0d1b1a0e1a0f190f0c1c190f190f1a0f190f190f190f190f190f190001f90c0e0d0d0d0e0d0d0d0e0d0d0d0e0c0e0d0d0d0e0d0d0d860d1b1a0e0d1b1a0e0d1c1a0e0d1b1a0e1a0e1a0e1a0f190f0c1c1a0e1a0e0d1c190f190f190f190f1a0e1a0e1a0f190f190f190f190f1a0f190f190f190f190f0c1c190f1a0f0c1c190f190f190f0c1c0d1b0d1c0c1b1a0f0c1c0c1c0c1c1a0e1a0e1a0f190f190f0c1c1a0e1a0e1a0f0c1c190f190f190f1910190e1a0f190f190f190001f80d0e0d0d0d0e0c0e0d0e0c0e0d0d0d0e0d0d0d0e0c0e0d860d1b1a0e0d1b1a0e0d1c190f0c1c1a0e1a0e1a0e1a0e1a0f0c1c190f1a0e0d1b1a0f190f190f190f190f190f1a0f190f190f190f190f190f1910190f190f190f0c1c190f190f0c1d190f190f190f0c1c0c1c0d1b0d1c190f0c1c0c1c0c1c1a0e1a0e1a0f190f190f0c1c190f1a0e1a0e0d1c1a0e190f190f190f1a0e1a0e1a0f190f190001f80d0e0d0d0d0e0c0e0d0d0d0e0d0d0d0e0d0d0d0d0e0d0d860c1c1a0e0d1b1a0e0d1b1a0f0c1c1a0e1a0e1a0e1a0e1a0f0c1c190f190f0c1c1a0e1a0f190f190f190f190f190f1a0f190f190f190f190f190f1a0f190f190f0c1c190f190f0c1c1a0f190f190f0c1c0c1c0c1c0d1b1a0e0d1c0c1c0c1c190f1a0e1a0e1a0f190f0c1c190f190f1a0e0c1c1a0f190f190f190f190f190f1a0e1a0f190001f80d0e0c0e0d0d0d0e0c0e0d0d0e0d0d0d0d0e0d0d0d0e0d850d1b1a0f0d1b1a0e0d1b1a0e0d1b1a0f190f1a0e1a0e1a0e0d1b1a0f190f0c1c000000000000
[27/11/2020, 07:18:56] [Broadlink RM] [INFO] Scan RF (complete)
[27/11/2020, 07:18:56] [Broadlink RM] [RESULT] Hex Code: b1c0b004609e0600110e1a0e0d1b1a0f190f190f0c1c1a0e1a0e1a0f1911180e190f190f1910190001f80d0e0d0d0d0d0e0d0d0d0e0d0d0d0d0e0d0d0d0e0d0d0d850e1b1a0e0d1b1a0e0d1b1a0f0c1c1a0e1a0e1a0e1a0e1a0f0c1c190f1a0e0d1b1a0f190f190f190f190f190f190f1a0f190f190f190f190f19101810190f190f0c1c190f190f0c1c1a0f190f190f0c1c0c1c0c1c0c1c1a0e0d1c0c1c0c1c1a0e190f1a0e1a0f190f0c1c190f190f1a0e0d1b1a0f190f190f190f190f1a0e1a0f190f190001f80d0d0e0d0d0e0c0e0d0d0d0e0d0d0d0e0d0d0d0d0d0e0d850d1c1a0e0d1b1a0e0d1b1a0e0d1c190f1a0e1a0e1a0e1a0f0c1c190f190f0c1c190f1a0e1a0f190f190f190f1910190e1a0f190f190f190f190f1910190f190f0c1c190f190f0c1c1a0e1a0f190f0c1c0c1c0c1c0c1c1a0e0d1c0c1b0d1c190f190f1a0e1a0e1a0f0c1c190f190f190f0c1c1a0e1a0f190f190f190f190f1a0f190f190001f80d0d0d0e0d0d0d0e0c0e0d0d0d0e0d0d0d0e0d0d0d0e0c860d1b1a0e0d1c1a0e0d1b1a0e0d1b1a0f190f190f190f1a0e0d1b1a0f190f0c1c190f190f1a0e1a0f190f190f190f190f190f1a0f190f190f190f190f1910180f0d1c190f190f0c1c190f190f1a0e0d1b0d1c0c1c0c1c190f0c1c0d1b0d1c190f190f190f190f190f0d1c190f190f190f0c1c1a0e1a0e1a0f190f190f190f190f1a0e1a0001f80d0d0d0e0c0e0d0d0d0e0d0d0d0e0d0d0d0d0d0e0d0e0c860d1b1a0f0c1b1a0f0d1b1a0e0d1b1a0e1a0f190f190f190f0c1c1a0e1a0f0c1c190f190f190f1a0e1a0e1a0f190f190f190f190f1a0f190f190f190f190f190f0c1d190f190f0c1c190f190f1a0e0c1c0d1b0d1c0c1c190f0c1c0c1c0d1b1a0e1a0f190f190f190f0d1b1a0e1a0f190f0c1c190f190f1a0f190f190f190f190f190f190001f90c0e0d0d0d0e0d0d0d0e0d0d0d0e0c0e0d0d0d0e0d0d0d860d1b1a0e0d1b1a0e0d1c1a0e0d1b1a0e1a0e1a0e1a0f190f0c1c1a0e1a0e0d1c190f190f190f190f1a0e1a0e1a0f190f190f190f190f1a0f190f190f190f190f0c1c190f1a0f0c1c190f190f190f0c1c0d1b0d1c0c1b1a0f0c1c0c1c0c1c1a0e1a0e1a0f190f190f0c1c1a0e1a0e1a0f0c1c190f190f190f1910190e1a0f190f190f190001f80d0e0d0d0d0e0c0e0d0e0c0e0d0d0d0e0d0d0d0e0c0e0d860d1b1a0e0d1b1a0e0d1c190f0c1c1a0e1a0e1a0e1a0e1a0f0c1c190f1a0e0d1b1a0f190f190f190f190f190f1a0f190f190f190f190f190f1910190f190f190f0c1c190f190f0c1d190f190f190f0c1c0c1c0d1b0d1c190f0c1c0c1c0c1c1a0e1a0e1a0f190f190f0c1c190f1a0e1a0e0d1c1a0e190f190f190f1a0e1a0e1a0f190f190001f80d0e0d0d0d0e0c0e0d0d0d0e0d0d0d0e0d0d0d0d0e0d0d860c1c1a0e0d1b1a0e0d1b1a0f0c1c1a0e1a0e1a0e1a0e1a0f0c1c190f190f0c1c1a0e1a0f190f190f190f190f190f1a0f190f190f190f190f190f1a0f190f190f0c1c190f190f0c1c1a0f190f190f0c1c0c1c0c1c0d1b1a0e0d1c0c1c0c1c190f1a0e1a0e1a0f190f0c1c190f190f1a0e0c1c1a0f190f190f190f190f190f1a0e1a0f190001f80d0e0c0e0d0d0d0e0c0e0d0d0e0d0d0d0d0e0d0d0d0e0d850d1b1a0f0d1b1a0e0d1b1a0e0d1b1a0f190f1a0e1a0e1a0e0d1b1a0f190f0c1c000000000000

from homebridge-broadlink-rm.

RaziAmin avatar RaziAmin commented on July 3, 2024

Looks like it worked, now try to use the hex code to control your accessories and see

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

first codes were not right. with some attention I remake procedure 3 o 4 times and find code correctly.
the only thing is that I have no pause in my homekit.I can only click for on and for off... but think this is an homekit limitation

from homebridge-broadlink-rm.

RaziAmin avatar RaziAmin commented on July 3, 2024

first codes were not right. with some attention I remake procedure 3 o 4 times and find code correctly.
the only thing is that I have no pause in my homekit.I can only click for on and for off... but think this is an homekit limitation

what is the device you're adding?

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

an RF command that command a window so I need open/close/stop
the problem is that when you click on homekit icon it makes open/close intead of open/stop/close/stop

from homebridge-broadlink-rm.

RaziAmin avatar RaziAmin commented on July 3, 2024

an RF command that command a window so I need open/close/stop
the problem is that when you click on homekit icon it makes open/close intead of open/stop/close/stop

You need to add the accessory with the right type. Also record the time it takes your curtain to open and close in seconds and feed it as shown below
use the following sample:

                "accessories": [{
                "name": "Living Room Curtain",
                "type": "window-covering",
                "totalDurationOpen": 38,
                "totalDurationClose": 38,
                "data": {
                    "open": "Hex Code",
                    "close": ""Hex Code",
                    "stop": "Hex Code"
                }]

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

this was my config...
{
"name": "Pergotenda",
"type": "window-covering",
"totalDurationOpen": 42,
"totalDurationClose": 42,
"data": {
"open": "b1c0aa00a69e0600180f190e1a0001f90d0c0e0d0e0c0e0d0d0d0e0d0d0d0e0d0d0d0d0e0d0d0d860d1b1a0e0d1b1a0e0d1b1a0f0c1c1a0e1a0e1a0f190f190f0c1c190f1a0e0d1b1a0e1a0f190f190f190f1a0e1a0f190f190f190f190f191018101810190f190f0c1c190f190f0c1d190f190f190f0c1c0c1c0c1c0d1b1a0f0c1c0c1c0c1c190f1a0e1a0f190f190f0c1c190f1a0e1a0f0c1c190f190f190f190f1a0e1a0f190f190f190005dc000000000000000000000000",
"close": "b1c03e01749e06000e0d0e0c0e0d0e0c0e0d0d0e0c0e0d0d0d0e0d0d0d860d1b1a0e0d1b1a0e0d1b1a0e0e1b1a0e1a0e1a0e1a0e1a0f190f190f0c1c1a0e1a0f190f190f190f190f190f19101810190f190f190f190f190f1910190f190f0c1c190f190f0c1c190f1a0f190f0c1c0c1c0c1c0c1c190f0d1b0d1c0c1c190f190f190f1a0e1a0e0d1c190f190f190f0c1c190f1a0e1a0e1a0f190f190f190f190f190001f90c0e0d0e0c0e0d0d0d0e0d0d0d0d0d0e0d0d0d0e0d0d0d860d1b1a0e0d1b1a0e0d1c190f0c1c1a0e1a0e1a0e1a0f190f190f190f0c1c1a0e1a0f190f190f190f190f190f1a0e1a0f190f190f190f190f190f190f1a0f190f0c1c190f190f0c1c1a0e1a0f190f0c1c0c1c0c1c0c1c1a0e0d1c0c1c0c1c190f190f190f1a0e1a0f0c1c190f190f190f0c1c1a0f190e1a0f190f190f190f190f1a0f190005dc0000000000000000",
"stop": "b1c04001a69e06000c0c0e0c0f0c0e0d0d15050e0d0d0d0d0d0e0d0d0d0e0d850d1b1b0d0e1b1a0e0d1b1a0e0d1b1a0f190f190f1a0e1a0e1a0e0d1c0c1c190f190f190f1a0e1a0e1a0f190f190f190f190f190f1a0f190f190f190f190f190f0c1c1a0f190f0c1c190f190f190f0c1c0c1c0d1b0d1c190f0c1c0c1c0c1c1a0e1a0f190f190f190f0c1c1a0e1a0e1a0e0d1c190f190f190f190f1a0e1a0f190f190f1900021a0d0d0d0e0d0d0d0e0d0d0d0e0d0d0d0e0c0e0d0d0d0e0d860c1b1b0e0d1b1a0e0d1b1a0e0d1b1a0e1a0f190f1a0e1a0e1a0e0d1c0c1c190f190f190f1a0e1a0f190f190f190f190f190f1a0f190f190f190f190f190f190f0c1d190e1a0f0c1c190f190f190f0c1c0d1b0d1b0d1c190f0c1c0c1c0c1c1a0e1a0e1a0f190f190f0c1c1a0e1a0e1a0e0d1c190f190f190f190f1a0f190f190f190f190005dc000000000000"
}

whats' wrong?

from homebridge-broadlink-rm.

RaziAmin avatar RaziAmin commented on July 3, 2024

your config is ok.

in HomeKit, if you see the accessory as a curtain, then you're all good. Tapping it would either open or close 100%.
Tap and hold would open the accessory bar and there you can set where the curtain should stop. As shown in the attached photo.
IMG_B5903A169B4D-1

You can also ask Siri something like this "set Pergotenda curtain to 30%"
IMG_EB589566FE55-1

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

ok but when one (open or close) funzion is tapped how to pause in moment I want to do it?

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

@kiwi-cam
This is the log after i set the debug to true:

@RaziAmin I also tried the trick with the rapid presses, but no result in the console for 1 of 2.

I am trying to learn RF code of a broadlink light switch.

[11/27/2020, 11:29:34 AM] [BroadlinkRM] [INFO] Scan RF (scanning)
[11/27/2020, 11:29:34 AM] [BroadlinkRM] [ACTION] Hold down the button that sends the RF frequency.
[11/27/2020, 11:29:34 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1900000000000000000000000000
[11/27/2020, 11:29:35 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001ecc000027226a00170000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:35 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:36 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001fcc000027226a00180000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:36 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:37 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000020cc000027226a00190000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:37 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000021cc000027226a001a0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:39 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000022cc000027226a001b0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:39 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:40 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000023cc000027226a001c0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:40 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:41 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000024cc000027226a001d0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:41 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/27/2020, 11:29:42 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000025cc000027226a001e0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:42 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000026cc000027226a001f0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000c5cd000027226a00200000000004030001000000d1be0000bb403be2da5b1e5f71f1fd8eae7b14bc
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1e00000000000000000000000000
[11/27/2020, 11:29:44 AM] [BroadlinkRM] [INFO] Scan RF (stopped)

This is with the rapid presses:
[11/27/2020, 11:31:59 AM] [BroadlinkRM] [INFO] Scan RF (scanning)
[11/27/2020, 11:31:59 AM] [BroadlinkRM] [ACTION] Hold down the button that sends the RF frequency.
[11/27/2020, 11:31:59 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1900000000000000000000000000
[11/27/2020, 11:32:00 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000002ecc000027226a00270000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:00 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:01 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000002fcc000027226a00280000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:01 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:02 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000030cc000027226a00290000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:02 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:03 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000031cc000027226a002a0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:03 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:04 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000032cc000027226a002b0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:04 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:05 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000d1cd000027226a002c0000000004030001000000d1be0000bb403be2da5b1e5f71f1fd8eae7b14bc
[11/27/2020, 11:32:05 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1e00000000000000000000000000
[11/27/2020, 11:32:05 AM] [BroadlinkRM] [INFO] Scan RF (stopped)

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

all these calls are normal?
[27/11/2020, 10:50:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:50:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:50:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:50:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:50:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:50:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:51:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:51:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:51:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:51:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:51:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:51:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:52:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:52:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:52:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:52:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:52:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:52:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:53:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:53:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:53:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:53:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:53:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:53:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:54:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:54:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:54:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:54:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:54:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:54:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:55:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:55:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:55:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:55:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:55:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:55:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:56:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:56:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:56:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:56:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:56:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:56:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:57:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:57:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:57:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:57:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:57:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:57:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:58:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:58:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:58:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:58:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:58:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:58:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:59:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:59:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:59:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:59:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:59:48] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 10:59:58] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 11:00:08] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 11:00:18] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 11:00:28] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)
[27/11/2020, 11:00:38] [Broadlink RM] Condizionatore Soggiorno onTemperature (0)

from homebridge-broadlink-rm.

RaziAmin avatar RaziAmin commented on July 3, 2024

ok but when one (open or close) funzion is tapped how to pause in moment I want to do it?

I know what you mean and you can't do that with HomeKit, you scroll the curtain bar and decide where you want it to stop and it will

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

oh ok... that's bad...

from homebridge-broadlink-rm.

platini76 avatar platini76 commented on July 3, 2024

someone can help me on calls?

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

@kiwi-cam
This is the log after i set the debug to true:

@RaziAmin I also tried the trick with the rapid presses, but no result in the console for 1 of 2.

I am trying to learn RF code of a broadlink light switch.

[11/27/2020, 11:29:34 AM] [BroadlinkRM] [INFO] Scan RF (scanning)
[11/27/2020, 11:29:34 AM] [BroadlinkRM] [ACTION] Hold down the button that sends the RF frequency.
[11/27/2020, 11:29:34 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1900000000000000000000000000
[11/27/2020, 11:29:35 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001ecc000027226a00170000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:35 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:36 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001fcc000027226a00180000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:36 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:37 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000020cc000027226a00190000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:37 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000021cc000027226a001a0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:39 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000022cc000027226a001b0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:39 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:40 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000023cc000027226a001c0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:40 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:41 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000024cc000027226a001d0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:41 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/27/2020, 11:29:42 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000025cc000027226a001e0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:42 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000026cc000027226a001f0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000c5cd000027226a00200000000004030001000000d1be0000bb403be2da5b1e5f71f1fd8eae7b14bc
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1e00000000000000000000000000
[11/27/2020, 11:29:44 AM] [BroadlinkRM] [INFO] Scan RF (stopped)

This is with the rapid presses:
[11/27/2020, 11:31:59 AM] [BroadlinkRM] [INFO] Scan RF (scanning)
[11/27/2020, 11:31:59 AM] [BroadlinkRM] [ACTION] Hold down the button that sends the RF frequency.
[11/27/2020, 11:31:59 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1900000000000000000000000000
[11/27/2020, 11:32:00 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000002ecc000027226a00270000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:00 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:01 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000002fcc000027226a00280000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:01 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:02 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000030cc000027226a00290000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:02 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:03 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000031cc000027226a002a0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:03 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:04 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000032cc000027226a002b0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:04 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:05 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000d1cd000027226a002c0000000004030001000000d1be0000bb403be2da5b1e5f71f1fd8eae7b14bc
[11/27/2020, 11:32:05 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1e00000000000000000000000000
[11/27/2020, 11:32:05 AM] [BroadlinkRM] [INFO] Scan RF (stopped)

@kiwi-cam @RaziAmin - got an idea?

from homebridge-broadlink-rm.

eladsiri avatar eladsiri commented on July 3, 2024

@kiwi-cam
This is the log after i set the debug to true:
@RaziAmin I also tried the trick with the rapid presses, but no result in the console for 1 of 2.
I am trying to learn RF code of a broadlink light switch.
[11/27/2020, 11:29:34 AM] [BroadlinkRM] [INFO] Scan RF (scanning)
[11/27/2020, 11:29:34 AM] [BroadlinkRM] [ACTION] Hold down the button that sends the RF frequency.
[11/27/2020, 11:29:34 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1900000000000000000000000000
[11/27/2020, 11:29:35 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001ecc000027226a00170000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:35 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:36 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001fcc000027226a00180000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:36 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:37 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000020cc000027226a00190000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:37 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000021cc000027226a001a0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:39 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000022cc000027226a001b0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:39 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:40 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000023cc000027226a001c0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:40 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:41 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000024cc000027226a001d0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:41 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/27/2020, 11:29:42 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000025cc000027226a001e0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:42 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000026cc000027226a001f0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000c5cd000027226a00200000000004030001000000d1be0000bb403be2da5b1e5f71f1fd8eae7b14bc
[11/27/2020, 11:29:43 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1e00000000000000000000000000
[11/27/2020, 11:29:44 AM] [BroadlinkRM] [INFO] Scan RF (stopped)
This is with the rapid presses:
[11/27/2020, 11:31:59 AM] [BroadlinkRM] [INFO] Scan RF (scanning)
[11/27/2020, 11:31:59 AM] [BroadlinkRM] [ACTION] Hold down the button that sends the RF frequency.
[11/27/2020, 11:31:59 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1900000000000000000000000000
[11/27/2020, 11:32:00 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000002ecc000027226a00270000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:00 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:01 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000002fcc000027226a00280000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:01 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:02 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000030cc000027226a00290000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:02 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:03 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000031cc000027226a002a0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:03 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:04 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000032cc000027226a002b0000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/27/2020, 11:32:04 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/27/2020, 11:32:05 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000d1cd000027226a002c0000000004030001000000d1be0000bb403be2da5b1e5f71f1fd8eae7b14bc
[11/27/2020, 11:32:05 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1e00000000000000000000000000
[11/27/2020, 11:32:05 AM] [BroadlinkRM] [INFO] Scan RF (stopped)

@kiwi-cam @RaziAmin - got an idea?

Same for me.. please help

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

[11/27/2020, 11:29:41 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000

Something is odd here. This line should move you to the second phase of RF scanning. Are you sure you're running the right version? Could you share the output of npm list -g --depth=1?

I'd like to confirm the versions of the plugin and dependency:
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

├─┬ [email protected] (git+ssh://[email protected]/kiwi-cam/homebridge-broadlink-rm.git#3ca58c30afb8f5b9e776b9961847504501e1a0cd)
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected] invalid (git+ssh://[email protected]/kiwi-cam/broadlinkjs-rm.git#9f459d6cb6a46193cd1dfa293d4378af072a1401)
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]

Should i reinstall it? i see beta.0

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

i also get this:

npm ERR! code ELSPROBLEMS
npm ERR! invalid: [email protected] /usr/local/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

beta.0 should be fine, beta.1 is just a bug fix for the Dehumidifier accessory. It's odd that you see "invalid" there. Maybe try a re-install or update to beta.1?

It could also be that there are two node_modules paths (one for the local user and one for su). sudo find / -name 'homebridge-broadlink-rm-pro' would help locate any other versions.

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

how do i update to beta.1?

I think it found:
/usr/local/lib/node_modules/homebridge-broadlink-rm-pro
/System/Volumes/Data/usr/local/lib/node_modules/homebridge-broadlink-rm-pro

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

/usr/local/lib/node_modules/homebridge-broadlink-rm-pro
/System/Volumes/Data/usr/local/lib/node_modules/homebridge-broadlink-rm-pro

Those look suspiciously like two mounts to the same path. MacOS by chance?

There some good info on selecting versions here: https://github.com/homebridge/homebridge/wiki/How-to-Install-Alternate-Plugin-Versions. Hopefully one of those processes will work for your config.

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

Yes, i'm on a Mac.

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

ok, i updated to beta.1

Still same thing... both rapid press on broadlink switch or long hold - same result. no RF data is sent.

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

Yes, i'm on a Mac.

Those paths make complete sense then. It's not two node_modules paths causing issues.

Do you still see the [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000 line? The first two digits "09" are what it should be picking up.

from homebridge-broadlink-rm.

fixcompain avatar fixcompain commented on July 3, 2024

FYI, I had the error "Couldn't learn code, device not found" since the start.

There was no activated firewall, so I set one and add the following rules
See Control Panel > Security > Firewall > Edit Rules.
Port Description
53036 Homebridge
8581 Homebridge interface
51827 Homekit Protocol (allows pairing homebridge to HomeKit)
5353 mDNS (without it, you get “No Response” from devices when lookups fail.)

And now, I can learn from my RM4 mini. I don't have the error message anymore

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

Yes, i'm on a Mac.

Those paths make complete sense then. It's not two node_modules paths causing issues.

Do you still see the [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000 line? The first two digits "09" are what it should be picking up.

@kiwi-cam Yes, the 09 still there. not sure why it is not logging the switch RF Code:

04030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:19 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:20 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000084cc000027226a00780500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:20 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:21 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000085cc000027226a00790500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:21 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:22 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000086cc000027226a007a0500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:22 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:23 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000087cc000027226a007b0500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:23 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:24 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000088cc000027226a007c0500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:25 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:25 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000089cc000027226a007d0500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:26 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/30/2020, 9:25:27 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000008acc000027226a007e0500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:27 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/30/2020, 9:25:28 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000008bcc000027226a007f0500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:28 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:29 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000008ccc000027226a00800500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:29 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:30 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000008dcc000027226a00810500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:30 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:31 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000008ecc000027226a00820500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:31 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:32 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000008fcc000027226a00830500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:32 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:33 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000090cc000027226a00840500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:33 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:34 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000091cc000027226a00850500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:34 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/30/2020, 9:25:35 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000092cc000027226a00860500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:35 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 09001a00000000b08f06000000000000
[11/30/2020, 9:25:36 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000093cc000027226a00870500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:36 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:37 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000094cc000027226a00880500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:37 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000033ce000027226a00890500000004030001000000d1be0000bb403be2da5b1e5f71f1fd8eae7b14bc
[11/30/2020, 9:25:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1e00000000000000000000000000
[11/30/2020, 9:25:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000096cc000027226a008a0500000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[11/30/2020, 9:25:38 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[11/30/2020, 9:25:39 AM] [BroadlinkRM] [INFO] Scan RF (stopped - 20s timeout)
[11/30/2020, 9:25:39 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000035ce000027226a008b0500000004030001000000d1be0000bb403be2da5b1e5f71f1fd8eae7b14bc
[11/30/2020, 9:25:39 AM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1e00000000000000000000000000
[11/30/2020, 9:25:40 AM] [BroadlinkRM] [INFO] Scan RF (stopped)

from homebridge-broadlink-rm.

kiwi-cam avatar kiwi-cam commented on July 3, 2024

This should now be fixed in 4.3.8. Huge thanks to @haf76348g78 !

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

@kiwi-cam Still not working for me...?

from homebridge-broadlink-rm.

aldryk77 avatar aldryk77 commented on July 3, 2024

[12/1/2020, 2:12:46 PM] [BroadlinkRM] [INFO] Scan RF (scanning)
[12/1/2020, 2:12:46 PM] [BroadlinkRM] [ACTION] Hold down the button that sends the RF frequency.
[12/1/2020, 2:12:46 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1900000000000000000000000000
[12/1/2020, 2:12:47 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001bcc000027226a00140000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[12/1/2020, 2:12:47 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[12/1/2020, 2:12:48 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001ccc000027226a00150000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[12/1/2020, 2:12:48 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[12/1/2020, 2:12:49 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001dcc000027226a00160000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[12/1/2020, 2:12:49 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[12/1/2020, 2:12:50 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001ecc000027226a00170000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[12/1/2020, 2:12:50 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[12/1/2020, 2:12:51 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa550000000000000000000000000000000000000000000000001fcc000027226a00180000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[12/1/2020, 2:12:51 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[12/1/2020, 2:12:52 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa5500000000000000000000000000000000000000000000000020cc000027226a00190000000004030001000000cdbe0000522fa175df1fda838f3622a8d00c0eab
[12/1/2020, 2:12:52 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received:
[12/1/2020, 2:12:52 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet sent: 5aa5aa555aa5aa55000000000000000000000000000000000000000000000000bfcd000027226a001a0000000004030001000000d1be0000bb403be2da5b1e5f71f1fd8eae7b14bc
[12/1/2020, 2:12:52 PM] [BroadlinkRM] [DEBUG] ( a0:43:b0:18:f9:de ) Packet received: 1e00000000000000000000000000
[12/1/2020, 2:12:53 PM] [BroadlinkRM] [INFO] Scan RF (stopped)

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.