tasmota to influxdb

TasmotaToInflux is a Python bridge for collecting telemetry from Tasmota devices via MQTT and writing the parsed sensor values to InfluxDB. It was built for a home monitoring setup where Grafana should be able to display power plugs, temperature sensors and other Tasmota devices over time.

gitlab

What it does

  • subscribes to MQTT telemetry topics and processes SENSOR JSON payloads
  • listens to Tasmota discovery config messages to learn device names
  • maps device ids to configured aliases for cleaner Grafana labels
  • handles DS18B20 / 1-Wire temperature sensors as separate measurements

Status

Works, but the implementation is hacky.