openDTU [Flux]

openDTU [Flux] screenshot 1
openDTU [Flux] screenshot 2

Dashboard & Telegraf config to collect and visualize Data from a Hoymiles MIcroinverter.

  • It is assumed that you have openDTU (https://github.com/tbnobody/OpenDTU) connected to a Hoymiles Microinverter and configured it to drop the collected data to an MQTT Broker. It is also assumed that you have a telegraf running somewhere, that can connect both to your MQTT and your InfluxDB Server.
  1. Use the telegraf collector config and adjust mqtt server if needed. If you have more than two DC inlets in your inverter, add solar/+/3/+and "solar/+/4/+. Also adjust MQTT Credentials / Certificates if needed.
  2. Verify that you have data in your default Bucket (in measurement mqtt_consumer)
  3. Import Dashboard to Grafana, select datasource, bucket and inverter.

Because grafana.com messed up their website, I include the collector Config here in the readme:

[[inputs.mqtt_consumer]]
  servers = ["tcp://localhost:1883"]
  topics = [
     "solar/+/status/+",
     "solar/+/0/+",
     "solar/+/1/+",
     "solar/+/2/+"
  ]
  data_format = "value"
  data_type = "float"

[[inputs.mqtt_consumer.topic_parsing]]
  topic = "solar/+/+/+"
  tags = "_/serial/channel/field"
[[processors.pivot]]
  tag_key = "field"
  value_key = "value"
Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies