broadlink_discover Send a code (writing):
import broadlink import time device_ip = "192.168.1.100" Replace with your device type (rm_mini, rm_pro, rm4, etc.) device = broadlink.rm(host=(device_ip, 80), mac=None) device.auth() This IR code (example) – replace with your code ir_code = "JgBQAAABK...." Send the command (writing) device.send_data(broadlink.b64_to_packet(ir_code)) broadlink manager writing compatible device not detected hot
ping 192.168.x.x -t If ping fails, your device is disconnected from Wi-Fi. Reseat power. Unplug your Broadlink. Wait 30 seconds. Plug it back in. After boot (about 10 seconds), immediately try the write command. Freshly booted devices are more likely to accept local commands. Wait 30 seconds
| Tool | Platform | Reliability | |------|----------|-------------| | | Windows/Linux/Unraid | Very high – runs as a daemon | | Node-RED (node-red-contrib-broadlink) | Any | High – better retry logic | | Broadlink CLI (Python) | Command line | Medium – but verbose errors | | e-Control (old official app) | Android only | Low – discontinued | Freshly booted devices are more likely to accept
timeout = 5 Change to:
pip install broadlink Discover devices:
Run with: