Page 28 of 28

Re: Python Plugin : Broadlink

Posted: Monday 03 November 2025 16:46
by zak45
antonis wrote: Monday 20 October 2025 20:43 Hello everyone can someone do a step by step instalation for the RM4 mini ? I was confused with all this. Someone shows the Broadlink RM2 with kodi remote and their plugin didnt have the RM2 in the sellection. Whats that plug in and where to find ? also did someone manage to understand why the setup.py is faulty when someone try to install it ?
what do not work on the process described at first page ?

Re: Python Plugin : Broadlink

Posted: Monday 24 November 2025 15:12
by rutek024
gizmocuz wrote: Tuesday 21 October 2025 11:53 I know this is not the answer, but as a previous Broadlink user I want to mention I found a nice Zigbee alternative and have recently added support for this in Domoticz

Tuya Zigbee Smart IR Remote Controller (~ 9 euro)

https://nl.aliexpress.com/item/1005008588051335.html

MOES Tuya ZigBee Smart IR Remote Control Universal Infrared (18 euro)

https://nl.aliexpress.com/item/1005004176577444.html

Working perfectly here with by AC
Could you please explain how to connect this to Domoticz?
Is there a plugin for this?

Re: Python Plugin : Broadlink

Posted: Monday 24 November 2025 18:34
by jvdz
You simply connect to zigbee2mqtt or other zigbee hub.
I use it to send mqtt messages via a lua script to control devices. So created dummy switches and when they switch on or off it sends the required it code to mqtt.

Re: Python Plugin : Broadlink

Posted: Wednesday 26 November 2025 23:15
by TiXav
I gave up this plugin and now I use this
https://github.com/eschava/broadlink-mqtt
Now I can control (Heat Pump / Tv / Soundbar / candles(LED) like this
from Dzvents script with executeShellCommand:

Code: Select all

topic= 'Broadlink/x/'..string.lower(folder)..'/'..string.lower(name)
--         Broadlink/x/tv/volminus                                --to reduce volume of my tv, so name above is the name of a push button
local CmdStr ='mosquitto_pub -t '..topic..' -m replay'
dz.executeShellCommand({
	command = CmdStr,
	callback = 'Retour_Mosquitto',
	timeout = 2,
})
In Mqtt explorer:
MQTTexplorer.png
MQTTexplorer.png (12.45 KiB) Viewed 111 times
In fact the topic above correspond to the folder/file where the IR command is stored
Folder where located the IR command.png
Folder where located the IR command.png (7.89 KiB) Viewed 111 times
The best : I copy the old IR commands from the python broadlink plugin (the .ini files) into the folder of the broadlink-mqtt (I renamed them and keep in, only the IR code) and it's working WELL!

There is also an automatic learning functionality of new IR code but I did not use it yet

I hope that would help someone...