Page 1 of 1

[solved] Q about MultiMeter_Calender table in domoticz.db

Posted: Monday 06 November 2023 11:55
by BartSr
Hi,
Investigation of table MultMeter_Calender of Domoticz database show:

Value1 = used Wh (low tarif)
Value2 = delivered Wh (low tarif)
Value5 = used Wh (high tarif)
Value6 = delivered Wh (high tarif)

Countervalues 1-4 corresponds to countervalues of P1 meter (values may differ due to offset. That's what I presume ).
In other words. Once you start using Domoticz the P1-device countersettings (C1-C4) are not synchronized with P1-meter.

Question:
What is Value3 and Value4 representing?

TIA
-Bart

Re: Q about MultiMeter_Calender table in domoticz.db

Posted: Monday 06 November 2023 13:19
by willemd
Value3 and value4 in the multimeter_calendar table are the maximum values of the day as selected from the multimeter table.

Here is the daily closing routine
https://github.com/domoticz/domoticz/bl ... .cpp#L7392

Re: Q about MultiMeter_Calender table in domoticz.db

Posted: Monday 06 November 2023 14:35
by BartSr
Willemd, thanks a lot for pointing me to the source!
-Bart