flic-mqtt

1.1.3 • Public • Published

node-flic-mqtt

Publishes Flic button presses to MQTT.

Requires a Flic server to connect to.

Intended to be run on the same Linux host as the Flic server.

Build Status

Usage

Install globally: npm i -g flic-mqtt.

Place a config.yml file at /etc/flicmqtt/config.yml.

Eg:

---

mqtt:
  host: '192.168.0.123'
buttons:
  - id: 'one'
    address: '80:e0:d0:70:e0:50'
    topic: 'button/one'
  - id: 'two'
    address: '80:e0:d0:60:30:20'
    topic: 'button/two'

Run: flic-mqtt.

Readme

Keywords

Package Sidebar

Install

npm i flic-mqtt

Weekly Downloads

10

Version

1.1.3

License

MIT

Unpacked Size

113 kB

Total Files

53

Last publish

Collaborators

  • denwilliams