AlexanderBabel / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
46 stars 11 forks source link

frequency scan fails 315mhz remote -- can't learn #97

Open zellunit opened 3 years ago

zellunit commented 3 years ago

hey @AlexanderBabel @kiwi-cam i have a brand new rm4 pro and am trying to learn an ortal fireplace with an rf 315mhz remote. both through the native broadlink app and homebridge->homekit, when i do frequency scan, it does not find anything and simply times out. in the app, i can manually set 315mhz and then it does successfully learn the buttons. however, given the homekit functionality relies on you scanning first then learning second, i am stuck. is there any way to pre-wire the frequency through the config file or something? any other ideas or workarounds here? thank you so very much for your ideas.

kiwi-cam commented 3 years ago

The only work around I know of at this stage is to use python and this cli: https://github.com/mjg59/python-broadlink. You can take the codes you learn there and put them in your config.json.

Keep an eye on this thread, I'll update it when I've been able to fix and test the RF learning: https://github.com/kiwi-cam/homebridge-broadlink-rm/issues/10

zellunit commented 3 years ago

thanks @kiwi-cam i will keep an eye here! really appreciate it.

zellunit commented 3 years ago

@kiwi-cam i am really stuck. unfortunately, i think the rm4pro can't pick up 315mhz (doesn't matter which device) in the scan frequency mode. even when i am using the broadlink iphone app directly i have tried this fireplace remote and 2x garage door openers, all of which i know run at 315. all three just timeout on the scan over and over, while another device which is 432 the scan works immediately.

not sure what to do because even your python solution seems to require a scan step and then a learn step. and i think the rm4 pro is natively broken here.

the crazy thing is, the iphone app does learn the buttons once i manually set to 315mhz. but since i can't manually set frequencies or even "trick" the homekit scan procedure into 315mhz (since none of them work), i can't actually proceed to the learn step.

zellunit commented 3 years ago

@kiwi-cam broadlink customer support finally confirmed there is no scanning ability for rf 315mhz devices. major bummer. that just does not work on the device, period. hmmm. is there any way to hard code the frequency so i can bypass the scan step and just go straight to the learn step?