This is an interface that connects LIRC to MQTT.
-
Prerequisites
- Node.js >= 6.
- lircd started with --listen option.
-
Install
sudo npm install -g lirc2mqtt
-
Start
lirc2mqtt --help
lirc/status/<remote>/<button>
Payload is the repeat counter.
lirc/set/<remote>/<button>
Payload can be one of:
- Empty (single button press)
START
orSTOP
(start/stop continuous button press)- An integer number (repeat count)
MIT © Sebastian Raff