Thanks for your blueprint, it fits my use case pretty well. However, I think I noticed a small mistake.
The description asks to limit the sum helper to 7, but in my automation this fails because it tries to set a much higher value. It seems to work without the limit.
@Zaunei I messed up the description of the helpers. I updated the code on github.
Let me know if you have any other additions.
The logic is fairly simple:
The automation adds 1 to the count helper until it reaches 6. At 7 it resets the helper.
When count is 6 it calculates the avarage of the sum helper (which added 6 readings of the wattage) to check if the avarage is below the threshold. If below the threshold it continues the rest of the automation
Hi there,
thanks for sharing your code. I use it and I works almost perfect. The only thing that is missing is a “No Water” or error detection.
My espresso machine is refilling the boilers after turning on power. If there is not enough water left in the water tank it will show “water needs” and will not heat up. Is there a possibility to check for power consumption within the first minutes and if it’s too low, send a message to refill water.