I’ve got a set of Ikea bulbs and plugs in my lounge which is controlled by an Ikea remote switch. I’ve also got another light that is controlled by a standard IR remote.
I have a broadlink RM pro, I’m wondering if it’s possible to use hassio in some way to trigger the broadlink to send an IR command to turn the light on when I press the Tradfri remote switch?
use Developer tools-> Service to find service broadlink.learn and learn the IR remote code;
test that the code works with service broadlink.send;
write an automation (something similar to below for the service or save learned command as a switch; I don’t know how Tradfri will appear in HA, if it is a switch or a binary sensor/sensor):