Hi,
First of all, thanks for making this great product and giving continued support! It’s been working great and reliably. I also had a lot of fun setting up InfluxDB and Grafana to do all sorts of cool graphs.
Since the last update happened on my device around 21h on April 28th, I have errors in the data being sent to InfluxDB using the kWh outputs. For some reason, the kWh data is not matching the Wh data anymore.
This is the data for my Mains in Wh when using iotawatt.local/query?..
2021-04-24T00:00:00, 32462.31
2021-04-25T00:00:00, 46925.94
2021-04-26T00:00:00, 39972.35
2021-04-27T00:00:00, 46493.86
2021-04-28T00:00:00, 42064.07
2021-04-29T00:00:00, 36774.98
2021-04-30T00:00:00, 36390.33
2021-05-01T00:00:00, 43766.22
This is from Grafana querying InfluxDB for my Mains in kWh…
2021-04-24 00:00:00, 32.461644
2021-04-25 00:00:00, 46.924601
2021-04-26 00:00:00, 39.973394
2021-04-27 00:00:00, 46.496023
2021-04-28 00:00:00, 42.228679
2021-04-29 00:00:00, 37.515000
2021-04-30 00:00:00, 37.879000
2021-05-01 00:00:00, 44.236000
As you can see, starting on 2021-04-28 and even more obvious from 2021-04-29, the numbers have a pretty noticeable difference. Also, when adding my numbers in kWh in Grafana, it does it match the Mains since the update (the totals exceed the Mains values by a significant margin).
BTW, I also switched to InfluxDBv2 yesterday and that worked fine, but is unrelated to the problem above. Switching to the Flux syntax in Grafana seems to be a PITA, so for now I added user accounts in InfluxDBv2 to be able to keep using InfluxQL.
Keep up the good work!