MultiMeter_Calendar

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
gege05
Posts: 2
Joined: Monday 15 June 2015 14:22
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: FRANCE
Contact:

MultiMeter_Calendar

Post by gege05 »

Hello,
How is the field 'Values3' of the MultiMeter_calendar table calculated ?
cordially

Gérard
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: MultiMeter_Calendar

Post by waaren »

gege05 wrote: Wednesday 15 July 2020 11:01 How is the field 'Values3' of the MultiMeter_calendar table calculated ?
It depends on the device type. For P1 smartmeter types it is max(value3) - min(value3) of yesterdays MultiMeter data for the device.

See the function CSQLHelper::AddCalendarUpdateMultiMeter() starting at line 6639 in main/SQLHelper.cpp
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
gege05
Posts: 2
Joined: Monday 15 June 2015 14:22
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: FRANCE
Contact:

Re: MultiMeter_Calendar

Post by gege05 »

Thanks a lot for your answer
Bests regards
Gerard
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest