25.10.2024, 14:53
(25.10.2024, 13:15)Daniel Wrote: Well you can create a virtual object and write value to it or use storage in script(see helpers).
Another solution to the task is to make a trend for your energy object and fetch value from it:
https://kb.logicmachine.net/libraries/trends/
Thanks Daniel. I need your help once again if you're available.
Using trends I can store data and this is ok. How can I call back the data for example at 31/10/2024 and use it in a calc?
Based on my task, I should be able to use the data stored a 31/10/24 at 23:59 inside the variable "Electrical_Consumption_previous_month" and execute my calc. Are you agree with me? Can you suggest me how to do that?
Thanks