Connect CUL to MQTT (FS20, HMS, EM, ...)
Node.js/npm needed.
$ npm install -g cul2mqtt
I suggest to use pm2 to manage the cul2mqtt process (start on system boot, manage log files, ...)
$ cul2mqtt --help
Usage: cul2mqtt [options]
Options:
-v, --verbosity possible values: "error", "warn", "info", "debug"
[default: "info"]
-n, --name topic prefix [default: "cul"]
-u, --url mqtt broker url. [default: "mqtt://127.0.0.1"]
-h, --help Show help [boolean]
-m, --map-file file containing name mappings
[default: "example-cul2mqtt.json"]
-s, --serialport CUL serial port [default: "/dev/ttyACM0"]
-c, --cul-mode CUL mode [default: "SlowRF"]
--version Show version number [boolean]
Copyright (c) 2015, 2016 hobbyquaker hobbyquaker@gmail.com