Essentially what is described are 3 automations.
-
Counting Cycles:
Trigger: Numeric state of a smart plug’s power sensor.
Action: Increment the value of a Counter Helper.
There are a few Blueprints that you can use to achieve this like Sbyx’s Appliance blueprint -
Notification Automation:
Trigger: Numeric state of the Counter Helper
Action: Notify yourself -
Reset Counter Automation:
Trigger: Tag trigger*
Action: Reset the Counter Helper using thecounter.reset
action.
The values that you need to use for the numeric state triggers are something that you will need to figure out empirically based on your actual situation.
* If you aren’t already using NFC tags, don’t feel like you need to start just for this automation… There are plenty of other ways to trigger the reset like attaching a smart button near/on the softener or adding a door sensor to it.