Minimum power consumption - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Minimum power consumption (/showthread.php?tid=4252) |
Minimum power consumption - gilles38 - 20.09.2022 Hi all, Since years I'm calculating the "always on" power value by taking the minimum value in the data base everyday. the power value is coming from the main power meter of my installation, and is placed in a trend. I just have installed some PV... so I need to modify my calculation ... and need now to do the calculation when the PV is not producing ... between 0:00AM and 6AM and from 9PM to 11h59PM Code: require('trends') as in documentation I have seen that for dates [start] and [ends] the time is not taken in consideration ....how can I do ? thanks all for support Gilles |