MQTT notes

PubSub protocol

https://www.youtube.com/watch?v=J5FJn-y4buM

EMQX ports

Mqtt template to write to Influxdb

InfluxDB

Influxdb config

Telegraf parsing

https://www.influxdata.com/blog/mqtt-topic-payload-parsing-telegraf/