Hi,
I have tried to search before posting but could not find a “best pratice” for this question.
I have 22 meeters that are just sending the kwh from 0 - 65565 (or something around that)
I want to use this to generate 4 items - ItemDaily, ItemWeekly, ItemMonthly, ItemYearly.
I want to show on habmin how much energy i’m using so far today, week, month year, i have made a logoritme that shows what energyclass im in at this moment.
My question is how is the best way to do this? With .rules or rule generator? Can i make a more global rule? Any suggestions to make this work, but also to do it the simplest way. Should this logic also be ready for when it hits maximum and goes to 0 again?