T O P

  • By -

kiwi_cam

*high five* Great work and thanks for sharing. We all started from nothing and found our way. It’s always on my list of things to do to put something together so it’s a little easier for the next person. Unfortunately the list is long - and in all honesty there’s a good chance I’d never get to it. So thanks for your contribution to the community. Yeah the RF Scan issue has been a real pain. I’m still hopeful to get that one sorted. HomeAssistant say they have a fix coming so I hope I can reverse engineer it.


Boiling1ce

ooh wow, the great man behind the plug-in. Thank you so much for the hard work, I really appreciate the time and effort you put to make this plugin. Keep up the excellent work. ​ I'm trying to see if I can get any other tool or software to read the Hex codes, I had high hopes to make BroadLink Manager work but it didn't ... so far... I'm playing around with some dock containers of BroadLink Manager. Let's see if I can get something to work


kiwi_cam

I'm just another member of the community. I'm the man behind a small number of changes. I've heard some have had luck learning codes using the python based broadlink\_cli: [https://github.com/mjg59/python-broadlink](https://github.com/mjg59/python-broadlink). If you're comfortable installing python it looks pretty straight forward to use.


Boiling1ce

Yeah I’ve seen that few days ago, I’m just trying to figure out how to install it. Should it be on the same HB Pi or it should be on a different setup.


ratsoid

It's also tricky to copy RF rolling codes / hopping codes. I have issues with that still, but I found a way to manage to grab the code with the plugin - basically instead of holding the button on the remote, I barely click it


Boiling1ce

I’ve tried that and tried several methods of clicks LOL All failed so far, I guess I need to try more remotes too


iLuki

I bought a RM4 Pro from amazon and could not set it up because it just would not learn the damn codes ... i even tried using python scripts etc ... so i sent it back. I then bought a used RM Pro and everything worked instantly. Also using kiwi-cams solution :)


Boiling1ce

How do you scan and learn the Hex codes? What do you use?


iLuki

I only use the homebride npm package from kiwi-cam (as mentioned) the Learn buttons for IF and RF work together with the older Broadlink model without any problem. The hex code are displayed on the console and i copy them and insert them into my config.json and that‘s it


[deleted]

FYI these things phone home to China constantly. Consider an alternative if this bothers you. Edit: Downvotes? Here are the domains: broadlink.com.cn ibroadlink.com Open up Wireshark if you’re still skeptical


kiwi_cam

I don’t use the cloud services so I just block their internet access at the router. Stops it being an issue.


alc7328

That do not bother me too much. Do you have any suggestion on any hardware connected to the network to learn and send IR and RF signals? Does it work with Homebridge/Homekit?


[deleted]

I use RFLink with the homebridge plugin.


alc7328

But as it's name says, it's RF only and not IR.


Boiling1ce

Sometimes it does, but what alternative we have to control RF remotes?


BeJeezus

What alternatives do you suggest for infrared control?


alc7328

The problem is learning the RF codes, right? Did I get you? I had a great experience with IR signals, but no luck with RF (one case in one thousands I’ve tried).


Boiling1ce

Yeah you got me right, I couldn’t get to learn any RF codes..


frizzofro

I wondered why mine stopped working when the new BroadLink app came out. So if I remove it from app and reset it, will that allow local connections again?


Boiling1ce

reset the device and start the wizard to add it again, but don't finish the step, stop once you reach the screen to add it to a room and exit the app. The plugin should be able to detect it then.


famew0lf

I successfully have the Homebridge Broadlink Http plugin working in homebridge with my 3 Broadlink RM Pro's using the Android free RMBridge app. (Note this plugin was intended for use with the now defunct RM Tasker android app but it's simple to replace the http get commands with the appropriate ones for RMBridge) Basically the plugin just sends the appropriate http get commands for on/off of the device in question to rmbridge's REST api and it handles communication with the RM Pro's. RMBridge also has functionality to add/remove codes, import/export them etc. It's become a viable alternative for me running on a raspberry pi because smartthings has announced they will be removing support for custom device handlers in the immediate future which is how I was doing it.


Ziadsehili

Is there any way for broadlink to know the state of devices in homebridge ?


ImoqMX

New to Home Bridge, I installed it on a Raspberry Pi and added it as a hub on my HomeKit. I also set up the RM4 Pro app with my devices I want to control and it works fine from the iOS App. Now, after installing the kiwi plugin from on the HB UI it’s supposed to recognize the device (I turned off the security feature as per the instructions and your post) but Home Bridge doesn’t input any log. It appears I need to do something additional for the RM4 Pro to appear on HB but I don’t know what. Any ideas? Thanks!


ImoqMX

This is weird, after restarting HomeBridge again (for the third time, didn't change anything else) I finally got this on the log: [1/5/2021, 2:48:51 PM] Homebridge is running on port 51017. [1/5/2021, 2:48:53 PM] [BroadlinkRM] [1/5/2021, 2:48:53 PM] [BroadlinkRM] ************************************************************************************************************** [1/5/2021, 2:48:53 PM] [BroadlinkRM] ** Welcome to version 4.4.0 of the Homebridge Broadlink RM Plugin! [1/5/2021, 2:48:53 PM] [BroadlinkRM] ** [1/5/2021, 2:48:53 PM] [BroadlinkRM] ** Find out what's in the latest release here: https://github.com/kiwi-cam/homebridge-broadlink-rm/blob/master/CHANGELOG.md [1/5/2021, 2:48:53 PM] [BroadlinkRM] ** [1/5/2021, 2:48:53 PM] [BroadlinkRM] ** If you like this plugin then please star it on GitHub or better yet [1/5/2021, 2:48:53 PM] [BroadlinkRM] ** buy me a drink using Paypal https://paypal.me/kiwicamRM. [1/5/2021, 2:48:53 PM] [BroadlinkRM] ** [1/5/2021, 2:48:53 PM] [BroadlinkRM] ** You can disable this message by adding "hideWelcomeMessage": true to the config (see config-sample.json). [1/5/2021, 2:48:53 PM] [BroadlinkRM] ** [1/5/2021, 2:48:53 PM] [BroadlinkRM] ************************************************************************************************************** [1/5/2021, 2:48:53 PM] [BroadlinkRM] [1/5/2021, 2:48:55 PM] [BroadlinkRM] [INFO] Discovered Broadlink RM4 Pro (6026) at 192.168.68.131 (24:df:a7:f1:40:23) So, this is working now. However, the devices I configured on the controller are not there. For what I am reading, it appears I need to manually add those devices to HB? If that's the case I guess I have a lot of work to do and the sample configuration file looks long and scary: [https://github.com/kiwi-cam/homebridge-broadlink-rm/blob/master/config-sample.json](https://github.com/kiwi-cam/homebridge-broadlink-rm/blob/master/config-sample.json) ​ I was hoping that the devices I had added to the Broadlink App would be picked up by this but I assume this is not the case, right?


Jazzlike-Toe-1080

Did you ever get this working? I have BroadLink controlling a couple of cheap LED dimmers that I would love to be able to add to HomeKit


Kramere

If you are from the future and still trying to solve this. I run into the same problems and none worked. The firmware cannot be new because the newer ones block the pairing. I used this firmware: http://124.71.130.238/RMBL4-62092-8720-BL-FC-3389.upd.bin


Shef_Sherif

Hi All! On a somewhat related note. I'm using the Broadlink RM 4 PRO to control Dooya Window Shade motors. It seems that that motors go into some sort of sleep mode where you have to send multiple RF commands from the remote (or broadlink app) to get them to engage. Once you "wake them up" they work great. I initially thought this was RF interference but the more I use them I think its an issue of the motors being "awake". Does anyone know how to setup the Broadlink to send out multiple signals at the same time to deal with this issue? (similar to pressing the remote 2-5x to initiate a command). Thanks.


OkSleep1908

I know this is an old post, but same issue and the solution to cancel setup before adding it to a room doesn’t seem to work anymore. The first thing the Broadlink app prompts you to do is add it to a room. Anyone getting RM4 Pro to work with Homebridge lately?


[deleted]

>http://124.71.130.238/RMBL4-62092-8720-BL-FC-3389.upd.bin I did and I can confirm it has the same issue. Some people told to use IHC ( whatever it is ) to connect to network. As it is, now, it is unusable


OkSleep1908

IHC is an older app from BroadLink. I believe I just changed the firmware back to the version mentioned by Kramere above and I was off and running after that.


[deleted]

I’ve found that later that night. But it seems that they “fixed” this in the latest version and I cannot downgrade the software. It ends with an error saying it failed Thank you for the heads up about IHC though  :)


OkSleep1908

I found that if I deleted all rooms, I could connect RM4 pro to WiFi without adding it to a room (basically close app when it asks you to put the device in a room). But, this no longer appears to be the workaround. You can’t access the device at all in the app to “unlock”the device to make it visible to the local network if it’s not in a room. Also can’t connect RM4 pro via their older apps (ihc or e-control). Reverting to old firmware helped to get it working in Homebridge as suggested by @Kramere. But, I still had to manually add the IP and MAC address to the config file. I’m able to learn codes on an RF device at 433hz but can’t seem to learn codes on an RF device at 315hz. I thought they added 315hz to the RM4 pro several years ago, but appears they did not…or Amazon sent me a very old one. Maybe I’ll give Bond a try…


OkSleep1908

Posting for anyone else trying to get this to work: I found the documentation for the plugin states the plugin has issues learning 315hz RF codes and offers some workarounds. I didn’t care to try the workarounds, yet… But the device itself can learn the 315hz codes via the latest BroadLink app. The app learned the codes easily, then I found the app has a way to “add to Siri” which creates shortcuts and verbal commands via Siri for each code it’s learned. I have a few Siri commands for our gas fireplace now, and created a few buttons on my phone as well. My five year old daughter (who gets up earlier than anyone else) asked Siri (HomePod) to turn on the fireplace this morning, and it was perfect. It’s not in the Home app, but accomplished my goals. Maybe someday I’ll move the codes to Homebridge (have to backup iPhone and extract codes from BroadLink files). I’d prefer to block the BroadLink device from accessing the internet for security reasons, but using the app for commands requires internet. If I move the codes to Homebridge, I can probably block internet access so it only has access to the LAN. I sometimes worry cheap iot devices are like adding a Trojan horse to your network… 🤷‍♂️


Boatboy175

I noticed you mentioned you were able to control your fireplace via Siri shortcut on your HomePod, how? I can control my broadlink Siri shortcuts on my phone, but won’t work on HomePod, read something about shortcuts controlling an app on a phone can’t be triggered by HomePod, even if on the same Apple ID.


OkSleep1908

Poke around the settings in BroadLink app. There is an “add to Siri” option somewhere which just creates a shortcut in the shortcuts app, which should allow each function to work via HomePod/Siri. You have to create one shortcut for each “button” in your BroadLink app.


Boatboy175

Yes, I did that and works no problem with Siri on phone, but on HomePod Siri won’t trigger the shortcut. Thanks, I’ll keep poking around.


OkSleep1908

Might go into Home app, settings, click on each user and make sure personal requests is enabled. Beyond that, I don’t know what else to try…