joba-1 / Tasmoticz

Domoticz MQTT autodiscovery plugin for Tasmota devices
MIT License
24 stars 18 forks source link

Incorrect electricity data being sent to Domoticz. #42

Open Daro1003 opened 8 months ago

Daro1003 commented 8 months ago

The built electricity meter for PZEM and ESP sends all data to Domoticz using Tasmoticz. The transmitted electricity has errors in the graphs where there is a solid line instead of a bar graph. The data regarding the amount of kW consumed is correct, but the sensor type is incorrect. Detailed findings on the forum on this topic: https://domoticz.com/forum/viewtopic.php?p=307877#p307877

An important post from one user: "Generally speaking, custom sensors are stored in percentage and percentage tables, so you get lines and daily minimum, maximum and average values.

If you use a counter device (stored in the counter and counter_calendar tables), you will get bars. You will receive daily counter increase bars."

joba-1 commented 8 months ago

Hi, I also think bars might look nicer. I'll consider it. I have contacted the author of the pr that enabled the energy values to see what he thinks about it. For now I don't want to disturb his home automation...

Daro1003 commented 8 months ago

Thanks for the answer. Currently, if I do not use the energy yesterday and today, in a few days I have no idea how much energy was consumed a few days ago. Bar charts will do the trick.