I have three smart plugs I’m looking to use to montior on my fridges/freezers. I can see on each that the power comes up for at least 10 minutes every hour, then turns off. Is there a way that I can run an hourly check that examines the last 60 minutes to see if the percent of load changed more than a determined amount during that time? From there I can set actions (i’ll pop a notification) but trying to figure out how I can have it check the delta over the full 60 mins instead of instantly.
I’d suggest energy rather than power.
Create an hourly cycle utility meter from the smart plug energy sensor. You can then trigger on the value it provides. E.g. less than xxxx kWH this hour.
Note however that for fridges and freezers the hourly energy will be highly dependant on the ambient temperature and temperature of the contents (e.g. you just put in warm fruit & veg from the supermarket).