This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Store a Value and use it for a calc
#3
(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
Reply


Messages In This Thread
RE: Store a Value and use it for a calc - by Tuwat47 - 25.10.2024, 14:53

Forum Jump: