mariolukas / Watterott-CO2-Ampel-Plus-Firmware

Firmware for Watterott CO2 Ampel (Plus Version)
GNU General Public License v3.0
15 stars 13 forks source link

MQTT publishing format – InfluxDB line protocol/JSON #18

Closed velkoff closed 3 years ago

velkoff commented 3 years ago

Hello, thank you for the great work!

It seems that the Docker-CO2-Monitoring setup expects data in the InfluxDB line protocol, but recently the firmware MQTT publishing format was amended to JSON.

Is this a known issue?

Thanks, Vlad

mariolukas commented 3 years ago

Yes you are right, seems that the format changed. I will try to add a selection option for the format.

mariolukas commented 3 years ago

I fixed it. You are able to choose the data format (JSON or influx) now. Just try the latest Release v.2.1.0. The Docker Co2 Monitoring project was also updated. The default MQTT port is now 1884 to prevent collision with other MQTT brokers in the local network.