Greetings,
I am very new to the energy dashboard. With some help from @mobile.andrew.jones I have been able to input the data from my solar inverter, which is coming via Domoticz… because Domoticz will talk to my SolarMax Inverter.
I have a few problems to solve. Inaccuracies in the Energy Dashboard data and being able to reset the data shown in the dashboard.
Here’s my is my mqtt energy config…
- platform: mqtt
state_topic: "domoticz/out/8"
value_template: "{{ value_json.svalue1|float(0) }}"
device_class: "energy"
name: "Solar kWh Meter"
state_class: "measurement"
unique_id: "c17e1348-d4ee-47ed-b790-4963727d94c0"
unit_of_measurement: "kWh"
last_reset_topic: "domoticz/out/8"
last_reset_value_template: '1970-01-01T00:00:00+00:00'
So… I have the following data coming from Domoticz via MQTT…
{
"Battery" : 255,
"RSSI" : 12,
"description" : "",
"dtype" : "General",
"hwid" : "2",
"id" : "00000101",
"idx" : 8,
"name" : "kWh Meter",
"nvalue" : 0,
"stype" : "kWh",
"svalue1" : "1759.000",
"svalue2" : "27061000.000",
"unit" : 1
}
What is interesting… despite the use of kWh in the MQTT data, I suspect the figure: “svalue1” : “1759.000” is actually a real-time feed of the ‘watts’ coming from the inverter? So not sure how that translates to kWh… remember, I said I am very new to the energy dashboard, so feel free to let me know what I am missing.
The second issue… I integrated the MQTT feed from Domoticz, no problem… however I was initially using total_increasing instead of measurement. And that appears to have caused a ‘spike’ in the statistics in the Energy Dashboard…
I know the data above is incorrect… so I would really like to erase all the data and start from scratch… but no matter what I do I am unable to reset the data? Is there a simple way to erase everything and then start again?
Here’s the data from the Domoticz Dashboard, which helps me believe the HA Energy Dashboard is wrong…
I assume my mqtt energy config is correct now? But I am still not sure about the data coming from Domoticz i.e. watts versus kWh?
Any help would really be appreciated, no doubt there will be something simple I have missed.