https://github.com/hobbyquaker/lirc2mqtt
An Interface that connects LIRC (Infrared Transceiver) to MQTT. :tv: :radio:
https://github.com/hobbyquaker/lirc2mqtt
infrared lirc mqtt remote-control smarthome
Last synced: 3 months ago
JSON representation
An Interface that connects LIRC (Infrared Transceiver) to MQTT. :tv: :radio:
- Host: GitHub
- URL: https://github.com/hobbyquaker/lirc2mqtt
- Owner: hobbyquaker
- License: mit
- Created: 2015-11-01T19:35:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T20:14:29.000Z (over 5 years ago)
- Last Synced: 2024-10-30T00:36:16.713Z (6 months ago)
- Topics: infrared, lirc, mqtt, remote-control, smarthome
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 23
- Watchers: 4
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lirc2mqtt
[](https://github.com/mqtt-smarthome/mqtt-smarthome)
[](http://badge.fury.io/js/lirc2mqtt)
[](https://gemnasium.com/github.com/hobbyquaker/lirc2mqtt)
[](https://travis-ci.org/hobbyquaker/lirc2mqtt)
[](https://coveralls.io/github/hobbyquaker/lirc2mqtt?branch=master)
[](https://github.com/sindresorhus/xo)
[![License][mit-badge]][mit-url]This is an interface that connects [LIRC](www.lirc.org) to MQTT.
## Getting started
* Prerequisites
* [Node.js](www.nodejs.org) >= 6.
* lircd started with --listen option.* Install
`sudo npm install -g lirc2mqtt`* Start
`lirc2mqtt --help`## Topics and Payloads
### Receive
`lirc/status//`
Payload is the repeat counter.
### Send
`lirc/set//`
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](https://github.com/hobbyquaker)
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
[mit-url]: LICENSE