Wattmon can connect to any standard MQTT server - you can install the open source mosquitto for example. In order for Wattmon to work with MQTT, it needs to be enabled. To do this, create a config file called mqtt.ini in the /config/ folder.
[config] enabled=1 mqtt_server=10.0.0.1
See the below table for an explanation of the possible parameters
KEY | VALUE | DESCRIPTION | |
---|---|---|---|
enabled | 1 or 0 | Set this to 1 to enable MQTT support | |
mqtt_server | string | ip address or host name of MQTT server you are using | |
mqtt_user | string | Optional username when connecting to MQTT | |
mqtt_password | string | Optional password when connecting to MQTT | |
mqtt_id | string | Optional id of Wattmon device. If not specified, the device's MAC address will be used. |