motoz / pellmonMQTT

Connect to a running pellmon instance over DBUS and publish all data on MQTT
GNU General Public License v2.0
4 stars 2 forks source link

pellmonMQTT

An MQTT client for PellMon.

PellmonMQTT connects to the PellMon DBUS interface and publishes all data at pellmon/item and subscribes to all settings at pellmon/settings/item. Changed data items are republished and received data is written to the corresponding PellMon item. Events are published to pellmon/__event__.

Usage:

usage: pellmonMQTT [-h] [-H HOST] [-p PORT] [-d {SESSION,SYSTEM}]

optional arguments:
  -h, --help            show this help message and exit
  -H HOST, --host HOST  mqtt host to connect to. Defaults to localhost
  -p PORT, --port PORT  network port to connect to. Defaults to 1883
  -d {SESSION,SYSTEM}, --dbus {SESSION,SYSTEM}
                        which bus to use, SESSION is default