New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can no longer record RF codes #272
Comments
Also noticed the detection format for the MAC address seems a bit weird?
|
FYI, I've tried this with 3 individual RM Pro+'s and same issue with all. |
Same issue I believe, but I'm getting a bit further ahead (found frequency - 2 of 2). But then it won't show any RF codes and timeout. |
Can you add |
Here you go:
|
I raised a seperate bug report regarding the mac address. Despite the documentation the app actually expect the mac address without the colons (that's why it looks weird - it's adding extra colons) - so put it in like this: obviously a fix is on its way already in the BETA |
Does fixing the MAC address resolve this issue? The logs don't give much information. It's going into the scan, and even finding the frequency but never getting the actual frequency. Usually this is down to the remote timing out and stopping sending. Holding the button and quickly releasing and re-holding the button usually helps - or some combination. You just need to get it so the remote sends the signal at the right time. Out of curiosity, why are you manually entering the device details - did they not discover correctly? |
Fixing the MAC address does not resolve the issue. I'm manually entering device details since I have multiple devices, also just trying things out hoping for it to resolve. This used to work fine, it's only the current version that doesn't work. I've tried holding the button down for the whole time, or quickly pressing/releasing the button. Both of these used to always work for at the very least detecting the frequency. |
Are you able to try the latest beta for me - v4.4.2-beta.5? The hosts section has always been very pedantic (buggy) with formatting. I've made these much more resilient and it may help in this case. Failing that, are you able to identify a version that does work? I'll review the changes made and see if I can find the cause. |
This would be worth its weight in gold to get the function working... For me, the function 'broke' about 1.5yrs back dunno whether it was Homebridge, the plugin, or Broadlink firmware that broke it along the way. |
It hadn’t been working for me for a long time. I’d posted issues to the original version of this plugin but the author had stopped working on it so I moved to this one. But the original version did actually work a bit better than this. I’ll try some of those debugging steps when I have a sec. |
I tried the latest version 4.4.2 - I needed to update the Mac addresses in config to include colons to make sure the device was detected. I know the device works fine because if I use their app I can learn the commands. I wish the app exposed the codes! I have the same result: [4/14/2021, 12:24:22 PM] [Broadlink RM] [INFO] Scan RF (scanning) |
@GreatCookie (and others in this thread) any chance you could install the latest BETA and try learning RF codes again? I've found an error in my code compared to the original - I followed the documentation instead of the code. It should solve most (hopefully all) the RF learning issues. |
Exciting! I'm not sure how to install a beta plugin with HomeBridge-UI and am scared of breaking my set up. But as soon as you release the next version I'll test and report back. :) |
@booshtukka You can change version of plugins doing this in Homebridge UI |
Ah. Great! They should probably label that "install alternate versions" rather than "install previous version". :) I still have the same behaviour. :( And debug info no longer seems to show. [5/12/2021, 8:16:24 PM] [Broadlink RM] [INFO] Scan RF (scanning) |
@booshtukka Sorry, I had an issue in that Beta with logging. I've made device level debug logging a platform level setting. The latest beta will adjust this temporarily during a learn - it makes sense with this accessory type. Could you update and try again for me? |
Sure, tried again: 5/14/2021, 10:22:11 AM] [Broadlink RM] [INFO] Scan RF (scanning) |
Any movement here? I would love to be able to use this again! |
Please let me know if there are any debugging activities I can undertake |
I've given up on this being fixed, so I figured out my own steps to record the RF codes within the IHC app (which works perfectly) and get to them. Note, this doesn't work with the new Broadlink app - use the IHC one instead. I hope this helps someone.
select room.name, module.name, button.name, buttonCode.code from roomTable room, moduleTable module, buttonInfoTable button, buttonCodeTable buttonCode where module.roomId = room.roomId and module.moduleId = button.moduleId and button.buttonId = buttonCode.buttonId;
|
@booshtukka... Thanks very much for reviving this thread and bringing it forward. I received the notification of your note and it's been waiting for me to spend some time to verify the following. TL:DR: For me, it appears to work for some, but not all my remotes (still trying to figure out why) -> but brings us much closer to an alternative then were we were before I had purposely asked one of my RM Pros to 'learn' an existing (read: working) RF code for this exercise and had verified that ihc app was able to trigger the RF properly in the App before backing up the device (running iOS v15.0.1) As a Windows user (don't kill me), the only substitutes i made were to use iBackup Viewer (free mode is fine) from https://www.imactools.com/ and needed to browse to the cn.com.broadlink.econtrol.plus folder below to then extract the same econtrol.db file to then use with DB Browser (window's version). Running the SQL worked perfectly (thanks for the query) - but on extraction i noticed that there were marked differences in the code (particular to code length) on comparison. Created a new switch in homebridge with the extraction code and tried to trigger... Result = nothing. :( The only potential 'flags' for me:
For kicks, i used one of the IR codes extracted from IHC to replace another (existing) code i had... that one worked perfectly (with no issues) so i'm kinda stumped otherwise... I'll try some tinkering with '2' above and report back after. But many thanks again for your update... I'm sure there'd be literally 1000's of others who would shed tears of joy to come up with a stable/consistent way to do this (even with this type of workaround) - but glad you've managed to find a solution for you (and point the rest of us in the right direction). Best Regards, GC |
No worries! At least it is working for me… |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
hello my friends |
I am having the same issue, I cannot find cn.com.broadlink.europe.ihc either. I am using a RM4 Pro and it uses the new Broadlink app so maybe thats the problem. Does anyone know where or how to find the HEX codes in the new BroadLink App on iPhone? |
Using an RM Pro+
I used to be able to record RF codes, but now the device won't detect the frequency. From the logs:
[3/22/2021, 11:05:05 AM] [Broadlink RM] [ACTION] Hold down the button that sends the RF frequency.
[3/22/2021, 11:05:13 AM] [Broadlink RM] [INFO] Scan RF (found frequency - 1 of 2)
[3/22/2021, 11:05:13 AM] [Broadlink RM] [ACTION] Keep holding that button!
[3/22/2021, 11:05:36 AM] [Broadlink RM] [INFO] Scan RF (stopped - 30s timeout)
[3/22/2021, 11:05:37 AM] [Broadlink RM] [INFO] Scan RF (stopped)
From my config:
Would appreciate any support! And thanks for maintaining this plugin. :)
The text was updated successfully, but these errors were encountered: