Learn Code (Couldn't learn code, device not found)
See original GitHub issueCan’t get RM3 to connect, and I’ve tried everything I found online. I’m running Homebridge on a MacBook with its firewall turned off. I can control the RM3 with the native app with no issues.
Logs:
removed as irrelevant to the problem
My code, with couple of switches just as a placeholder:
removed as irrelevant to the problem
Having the “Hosts” section under the plaforms doesn’t help. I can ping the RM3 with no issues from the MacBook. Some posts suggested installing this: https://github.com/mjg59/python-broadlink, but I have no idea how to do that. Is this something related to running Homebridge on a MacBook or does my router (Linksys EA8100) require some config? Please help me out here.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:88
Top Results From Across the Web
Broadlink RM Mini - Learn Error: Device Not Found - Reddit
Couldn't learn code (device not found). My questions are: Is this the best plugin to use for Broadlink? How do I add the...
Read more >homebridge-broadlink-rm - Bountysource
Does somebody has a Broadlink Mini 5f36 working fine ? It seems to be some protocol ... "[ERROR][0m Learn Code (Couldn't learn code,...
Read more >"This Device Cannot Start": How to Fix Code 10 Errors - Lifewire
How to fix 'this device cannot start' (Code 10) error in Device Manager. Code 10 errors are often due to driver issues.
Read more >Sign in with Google prompts - Android - Google Account Help
Learn which devices get Google prompts ... We recommend Google prompts instead of text message (SMS) verification codes to help you: Avoid phone...
Read more >Code.org: Learn today, build a brighter tomorrow.
translation missing: en-US.code_org_logo_alt · Learn Teach Projects Stats ... Start learning. Watch the video ... Over 229 million Code.org projects created ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Faisalthe01 @fizulnizam can you guys see if works to you?
I have tested without the hosts, when I set the host it’s getting a wrong device for me.
To tested it, just replace the
index.js
frombroadlinkrm-js
for this one:https://gist.github.com/rafaelncarvalho/44d21b718825f4327bbd7c0217b17a84
I’ve had some success. I then updated to @rafaelncarvalho’s code and confirmed that it works and could learn. Then I reset my RM Mini3 and configured it with the IHC app. I was then able to replicate this issue using homebridge-broadlink-rm-pro@4.2.3 - learn code times out. I then re-updating using the working code and confirmed it resolved the issue.
homebridge-broadlink-rm-pro@4.2.4 now uses kiwicam-broadlinkjs-rm@0.8.3 (which is essentially @rafaelncarvalho’s code) and appears to work.
I’ve only got the one device to test but 🤞 hopefully I’ve now got both compatibility with the newer devices and backwards compatibility with existing devices. Please let me know if you have any issues - maybe here to keep the conversation cleaner.
The only niggling part is I can’t see why the previous version didn’t work when it integrated all the changes I could find anyway.