User Tools

Site Tools


processing:mqspeak

mqspeak

mqspeak is MQTT client which collect data and transforms them into ThingSpeak channel updates or Phant data streams. It is able to handle multiple MQTT connections and independently update multiple channels.

It is written in Python3 and with use of paho MQTT library.

Install

Application can be installed with following command:

$ sudo pip3 install mqspeak

systemd unit file

Create systemd unit file /etc/systemd/system/mqspeak.service with following content:

[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

Development

You can get source code of mqspeak at its GitHub page.

processing/mqspeak.txt · Last modified: 2016/06/29 09:02 by buben