User Tools

Site Tools


processing:mqspeak

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
processing:mqspeak [2016/05/03 12:06]
buben [Development]
processing:mqspeak [2016/05/09 10:24]
127.0.0.1 external edit
Line 1: Line 1:
 +====== mqspeak ======
 +
 +mqspeak is MQTT client which collect data and transforms them into [[https://​thingspeak.com/​|ThingSpeak]] channel updates or [[http://​phant.io/​|Phant]] data streams. It is able to handle multiple MQTT connections and independently update multiple channels.
 +
 +===== Install =====
 +
 +Application can be installed with following command:
 +
 +<​code>​
 +$ sudo pip3 install mqspeak
 +</​code>​
 +
 +===== systemd unit file =====
 +
 +Create systemd unit file ''/​etc/​systemd/​system/​mqspeak.service''​ with following content:
 +
 +<​code>​
 +[Unit]
 +Description=MQTT to ThingSpeak bridge
 +After=mosquitto.service
 +
 +[Service]
 +Type=simple
 +ExecStart=/​usr/​local/​bin/​mqspeak -c /​etc/​mqspeak.conf -v
 +Restart=always
 +
 +[Install]
 +WantedBy=multi-user.target
 +</​code>​
 +
 +===== Development =====
 +
 +You can get source code of mqspeak at its [[https://​github.com/​mqopen/​mqspeak|GitHub page]].
  
processing/mqspeak.txt · Last modified: 2016/06/29 09:02 by buben