Best approach for IR lamp + Broadlink RM + HA

Want to check with the community about the best approach.

So I have

  • A ceiling lamp controlled via IR remote (on/off, color temp, several brightness modes)
  • A Broadcom RM mini. Integrated, successfully controlling that lamp after some learning
  • Mosquitto MQTT broker.
  • AppDaemon

I’m thinking this way:

  • MQTT Light (https://www.home-assistant.io/components/light.mqtt/) via JSON schema
  • Make AppDaemon subscribe to the corresponding topic from the MQTT Light and send commands to broadlink.send
  • Make AppDaemon publish MQTT messages so that state changes are reflected by MQTT Light

Anything I’m missing? Anything can be done better?

1 Like

I’d be interested in this too, though I’d prefer to avoid AppDemon. In my case I’m looking at IR control of an LED lighting strip through a Broadlink RM3 mini. Currently working as on/off through the broadlink switch component, but would like to set colours, brightness up/down (i.e. all the controls on the remote).

Have you considered using Node Red?

Hi there. AppDaemon is an optional thing. HomeAssistant itself can work with MQTT.

but would like to set colours, brightness up/down

The link I have put above should be a direct answer to this. All you’ll have to do is to stitch the MQTT commands to proper IR commands you are sending to Broadlink.

I have come up with a usable solution for my situation, using the button-card and pop-ups. I essentially replicate the functions of my IR remote with a “digital duplicate” of the remote that pops up when clicking on the entity.