7 hours ago
Hi guys,
I need your help with calculating today’s, weekly, monthly, and yearly energy values.
I was not able to manage it using the Trends library:
https://kb.logicmachine.net/libraries/trends/
Your help would be greatly appreciated.
What I need is:
I would really appreciate your help in advance.
I need your help with calculating today’s, weekly, monthly, and yearly energy values.
I was not able to manage it using the Trends library:
https://kb.logicmachine.net/libraries/trends/
Your help would be greatly appreciated.
What I need is:
- One script that runs every hour, calculates today’s energy consumption, and writes it to an object.
- Another script that calculates the monthly energy consumption and write it into object . It should sum the daily energy values, run 1 per day, and reset at the beginning of each new month.
- Another script that calculates the yearly energy consumption. It should accumulate the values over the year and reset at the beginning of each new year.
I would really appreciate your help in advance.