An Interface that connects LIRC (Infrared Transceiver) to MQTT. 📺 📻
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
config.js
index.js
package.json
test.js

README.md

lirc2mqtt

mqtt-smarthome NPM version Dependency Status Build Status Coverage Status XO code style License

This is an interface that connects LIRC to MQTT.

Getting started

  • Prerequisites

    • Node.js >= 6.
    • lircd started with --listen option.
  • Install
    sudo npm install -g lirc2mqtt

  • Start
    lirc2mqtt --help

Topics and Payloads

Receive

lirc/status/<remote>/<button>

Payload is the repeat counter.

Send

lirc/set/<remote>/<button>

Payload can be one of:

  • Empty (single button press)
  • START or STOP (start/stop continuous button press)
  • An integer number (repeat count)

License

MIT © Sebastian Raff