Hello Home Assistant friends,
I have a coffee machine which does not turn off automatically. In case I accidentally leave the machine on, I want to turn it off after let’s say one hour using a HomeWizard energy socket to prevent wasting energy, or in an extreme situation a fire.
See below the load profile [W] of the coffee machine while turned on. Between peaks, the coffee machine was also on but not consuming energy since it was not heating up at those times.
I tried and searched the docs and forum for multiple hours now, but cannot come up with a solution. The best direction I came up with, is to use a utility meter with a quarter-hourly cycle. I could then create an automation to turn off the Energy Socket when:
E(t) * E(t-15min) * E(t-30min) * E(t-45min) * E(t-60min) > 0
But I think it’s not possible to use old utility meter values in defining an automation trigger, or create a new sensor based on old values of other sensors.
Can anyone point me in the right direction?
2 posts - 2 participants