I have a couple of Wall Plugs that are able to be Tasmota'd (is that a new dictionary word i wonder ?) - they provide energy monitoring as well as remote control.
I plan on using them on my Washing machine and dryer to monitor when their cycles are finished and to provide email and Telegram alerts.
The units will provide an update every minute of energy used that day - based on manual observation of the dryer and washing machine it appears they do not pause for any longer than 5 minutes at any point in their cycles before they are finished. So i will use 5 minutes of little or no energy consumption as the inital benchmark and then tweak from there.
So how would people approach this
I will need to work out when a cycle starts - my thought would be to find the initial "baseload/standby" power draw over (say) a 5 minute period and to store that away
Keep a running tally of each 5 minute window of power useage and when that number "jumps" (metric to be confirmed at this point) - can assume a cycle has commenced.
Continue to monitor each minute and build that baseload power draw as a 5 minute sliding window - once that falls back to near the baseload/Standby power metric assume the cycle has finished and notify accordingly
Does anyone else do this type of thing and have any words of wisdom as to how they approached it ?
What would be the best way of calculating when the running tally gets "near" the baseload - just look at a percentage differential to allow for some flexibility or is there a node that will do some mathematical shenannigans for me ?