I’m still gonna give it a try anyway (been looking through several topics for information on how to do this correctly), but a tutorial would be really useful. I’m sure myself and many others would appreciate it.
I had a problem to set mi rm4 mini. It did showed up on the AP, but not in the app.
I must have resetted it like 15 times.
Then, i left for the night to sleep. Try the app next day, and it recognize the thing w/o doing nothing and set it up correctly. Later i learn about this script. Maybe one needs to wait a bit?
I have one working flawlessly in HA i only read the integration documentation, it says you have to avoid attach your rm4 mini to the cloud since it blocks the rm4 to work locally so once you put the wifi credentials close the app and asign a static ip in your router, then add it to configuration.yaml and that’s all
After looking through some of the other Broadlink topics and a lot of trial and error, I managed to get my Broadlink devices added to my network using python-broadlink, so I’m gonna post the steps I took, in case anyone else needs help with it.
Do keep in mind that I’m by no means an expert at this (as is obvious from my helpless posts in this thread alone haha), so there might be better, more efficient methods to do this that I overlooked. This is simply what worked for me.
Enter pip install --upgrade https://github.com/mjg59/python-broadlink/archive/master.zip to install python-broadlink
Set your Broadlink device to AP mode and connect to it via wifi
Enter python to start Python
In Python, enter import broadlink
Then enter broadlink.setup('myssid', 'mynetworkpass', 3), where the first 2 parameters are your own wifi info. Check the python-broadlink Github for more info on the parameters.
If done correctly, the indicator light on the Broadlink device should stop flashing and it will show up in your local network.
To verify, while still in Python, enter devices = broadlink.discover(timeout=5) and wait it to finish
Then enter devices[0].auth(). It should return true
Finally enter devices[0].host[0] to get the device’s IP address on local network.
That should do it! Hope this will be of use to anyone who encountered issues using the app and is looking to use python-broadlink instead.
If your Broadlink device is already connected to your local network, you can either capture IR codes using the broadlink.learn service on HA (search for the HOW TO OBTAIN IR/RF PACKETS section here, or capture RF codes using broadlink_cli (explained here).
Managed to install hts2 as sensor but the temperature value is showing as unknown unfortunately. Otherwise, rm4_mini is working good like my rm3 mini.
Hoping for new updates that will make hts2 work wonders.
Anyone managed to succeed in getting the temp and humidity reading from hts2 + rm4_mini combi?
By me everything works fine, i need only advice a lovelace volume button option. I need to do click repeatly on the volume button. I have just now added as switch button but it is not working very fine.
I use the “Compal Connect Box” router from UPC to which I have connected, among others Broadlink RM4 mini and RM4 Pro (I have it connected to Home Assistant). After restarting the router on my phone, I cannot connect to my WiFi network because the message “Getting the IP address …” is still displayed. If I disconnect the Broadlink devices from the power supply, restart the router and then turn on the Broadlink devices, I can connect to the WiFi network without any problems. Have any of you encountered such a problem and know how to solve it?
Hi! I have a problem configuring a rm4 mini to pilot a clima. I use smartIR and have 3 broadlink: one rm4 pro and 2 rm4 mini, all of then to control the same model of Fujitsu clima. The problem is that one of the rm4 mini does not work. When i launch a command via lovelace climate entity, the led of the rm4 mini blinks but the clima does not start. So i think the integration is correct.
I have thought the rm4 mini was broken so i have tried to install it on the android Broadlink app; by the app i can use the clima so the rm4 mini is ok. After the test i deleted the remote in the broadlink app and reset the device to connect it again to the wifi.
This is the smartIR configuration and the integration of that rm4 mini.
The one highlighted is not working.
Someone can help me? (sorry for my english)
I added my BL into HAS using the python method, added it via integrations and shows up as a remote, I cant seem to get my temp and humidity sensor working though with your code, I have rm4 mini and set the IP and MAC