Self contained MQTT daemon for controlling the the Velleman K8055 / VM110 Board.
k8055mqtt version 0.1
Usage: k8055mqtt [options]
-h <host> the MQTT server to connect to (required)
-p <port> the MQTT port to connect to (default 1883)
-t <prefix> the MQTT topic prefix (default k8055)
-? This help message.
Starting the daemon:
./src/k8055mqtt -h test.mosquitto.org
Turn on digital output 1:
mosquitto_pub -h test.mosquitto.org -t k8055/digital/out/1 -m 1
Turn off all digital outputs:
mosquitto_pub -h test.mosquitto.org -t k8055/digital/out -m 0x00
Set analogue output channel 1 to 50%:
mosquitto_pub -h test.mosquitto.org -t k8055/analogue/out/1 -m 127
k8055mqtt uses a standard automake build process:
./configure
make
make install
k8055mqtt is based on libk8055 by Sven Lindberg and Pjetur G. Hjaltason.
The Mac OS X Kernel Extension is from k8055 for Mac OS X and Linux by Julien Etelain and Edward Nys.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.