P1 Smart Meter populated via API, incorrect readings displayed
Posted: Monday 22 October 2018 23:49
I readout one of my meters via IR and submit the values to the Domoticz API every 5 minutes.
For that purpose I have setup a dummy P1 Smart Meter in Domoticz (because that devices takes Consumption and Power in one go).
Example of the JSON:
This JSON gives the data with Consumption meterreading 2349.800kWh and actual Power of 2745W.
This USUALLY works ok, but more than once a day, it seems Domoticz is not able to process the data (I checked it more than once the API call has the correct JSON data!). Instead it either shows zero values (most of the time for Power) or very high values (most of the time for Consumption).
You can see this in the graphs as well: Any clue, anyone??
For that purpose I have setup a dummy P1 Smart Meter in Domoticz (because that devices takes Consumption and Power in one go).
Example of the JSON:
Code: Select all
http://192.168.8.3:8080/json.htm?type=command¶m=udevice&idx=202&nvalue=0&svalue=0;2349800;0;0;2745;0
This USUALLY works ok, but more than once a day, it seems Domoticz is not able to process the data (I checked it more than once the API call has the correct JSON data!). Instead it either shows zero values (most of the time for Power) or very high values (most of the time for Consumption).
You can see this in the graphs as well: Any clue, anyone??