I have some rule that calculater power usage:
PV_KonsumpcjaDzisWoPC.postUpdate((PV_AutokonsumpcjaDzis.state as DecimalType) + (Ex9EMS_DayUsage.state as DecimalType) - (SDM_DayUsage.state as DecimalType))
Basing on that I have some notifications running when next tresholds are achieved (NORMAL, WARN, CRIT). Problem is that for first I’m getting info that level WARN is meet, and in few minutes that level goes back to normal - it’s not possible (same thing in case of WARN->CRIT->WARN).
I’ve mede some graph of values of above items, and strange is that fluctuations appers on “PV_KonsumpcjaDzisWoPC” item, but not on any other item on the basis of which the rule performs calculations. Any clue why?
Number PV_KonsumpcjaDzisWoPC “PV daily energy usage without Heat Pump [%s]”
Number PV_AutokonsumpcjaDzis “PV daily energy autoconsumption [%s]”
Number Ex9EMS_DayUsage “PV daily energy import [%s]”
Number SDM_DayUsage “Heat Pump daily usage [%s]”