Hi guys,
How it is possible to run an external command when specific IR command received by LIRC?
Details:
I have surround LED lighting behind the TV. The light is controlled with dedicated IR remote.
Every time I turn the TV on and off, I should remember to turn the LEDs too. Not a big deal, just not comfortable.
Once I managed to control Kodi with TV remote, I thought the same remote can control the LED light as well.
And OpenELEC over Raspberry pi might be the translator.
Possible solutions:
1. When "Power" key received, transmit MQTT command to separate IR transmitter. The transmitter will do the rest. This requires additional MCU and depends on network. Not the best solution.
2. When "Power" key received, bit-bang GPIO with codes of LED light controller. The IR LED need to be connected to the GPIO. This is wired solution, not the best too.
What's optimal way to transmit IR command by receiving other IR command over LIRC?