2022-03-17 07_43_11-Window.png
This uses mosquitto MQTT and Influx2 with build in telegraf config. The dashboard has been updated for V3 firmware of EMS-ESP. https://github.com/emsesp/EMS-ESP32
Ensure the following settings are configured correctly in EMS-ESP:
- Topic/Payload Format should be As individual topics
- Boolean Format should be 1/0
See the telegraf config above, Influx should have a bucket called ems and an api token generated.
Collector Configuration Details
# Configuration for telegraf agent
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
hostname = ""
## If set to true, do no set the "host" tag in the telegraf agent.
omit_hostname = false
[[outputs.influxdb_v2]]
urls = ["http://0.0.0.0:8086"]
token = "$INFLUX_TOKEN"
organization = "org"
bucket = "ems"
[[inputs.mqtt_consumer]]
servers = ["tcp://0.0.0.0:1883"]
data_format = "json"
topics = [
"ems-esp/boiler_data",
"ems-esp/boiler_data_ww",
"ems-esp/thermostat_data_hc1",
"ems-esp/thermostat_data",
"ems-esp/thermostat_data_hc2",
"ems-esp/mixer_data_hc1",
"ems-esp/mixer_data_hc2",
"ems-esp/solar_data",
]