3 min read

Is the appliance running, is it finished: we tell from the current, without touching the appliance itself

A smart plug with power metering and a helper Threshold sensor in Home Assistant show whether the appliance is running and send a notification when it finishes. You measure the thresholds on your own appliance.

Level
Beginner
Active time
30–45 minutes
Home Assistant required
Yes

The coffee machine is on, but is it heating, or is it already ready? Is the iron still plugged in? You cannot always ask the appliance itself. You can ask the current: if the power drawn is above a certain limit, the appliance is running. When it drops, it is done.

What you will get

A “running / not running” signal for an appliance measured with a smart plug, and a notification when the run ends. You do not touch the appliance itself and do not change its power supply: the plug only measures.

What we need

You need a Zigbee hub or Home Assistant with a Zigbee adapter. The power appears as an entity in W.

What appliances it suits. Small appliances with a heater or electronics: a coffee machine, an iron, a charger, a desk lamp. For washing machines see the washing machine project.

  • Setup time: about 30–45 minutes.
  • Skills: you set up a helper sensor and paste YAML.

How it works

The appliance’s power is not one value: there is rest (close to zero), running and a pause between phases. That is why we use two thresholds with hysteresis. The Threshold helper sensor turns onwhen the power is above an upper limit, and goes back to offwhen it drops below a lower one. The automation notifies on on → off.

The threshold is not universal. Measure it yourself.

For several appliances Simeon uses the ready blueprint “appliance-notifications” (by Blackshome): a notification at the start and at the end of a cycle, with the cycle cost at the current tariff, its duration and a cycle counter. He uses it for the dishwasher, the washing machine, the dryer, a Ninja, a Thermomix and the terrace grill, with a start above 10 W for 1 minute and an end below 5 W for 1 minute.

Steps

  1. Find the power. In Settings → Devices & services open the plug and copy the entity ID of the power (example: sensor.coffee_machine_power). The unit must be W.
  2. Measure the appliance. Run a usual programme and watch the history. Note the rest, the running and the longest pause. The upper limit is above the rest and below the running; the lower is slightly above the rest.
  3. Make the sensor. Settings → Devices & services → Helpers → Create helper → Threshold sensor. Choose the power sensor, upper limit 10 W and lower 5 W (the values Simeon uses). Set hysteresis if needed. Result: binary_sensor.coffee_machine_running (example).
  4. An automation for the end. Edit in YAML.
alias: "Appliance: the run is finished"
mode: single
triggers:
  - trigger: state
    entity_id: binary_sensor.coffee_machine_running
    from: "on"
    to: "off"
    for: "00:01:00"
actions:
  - action: notify.mobile_app_telefon
    data:
      title: "The appliance is done"
      message: "The coffee machine has not been drawing power for 1 minute."

The entity IDs are examples. The thresholds and the 1 minute are the values Simeon uses.

Checking the result

  • Running. Start the appliance: the sensor becomes on.
  • End. Let it finish: after 1 minute a notification.
  • Pause. If the appliance has a pause shorter than 1 minute, there is no notification.
  • Unreachable plug. When unavailable the sensor gives no value: check the Zigbee connection.

If it does not work

  • The sensor is always on. The appliance’s rest is above the lower threshold. Set a higher threshold.
  • Notifications in the middle of a run. A pause longer than for. Increase the time.
  • Power 0. The appliance is not on the plug or the plug does not report.
  • The unit is kW. Convert or change the threshold.

Limitations and switching off

  • Power is an indirect sign: Home Assistant does not know whether the programme has finished, only that the appliance is not drawing current.
  • If Home Assistant or the Zigbee network is not working, there is no notification.
  • Switching off: delete the automation and the sensor; the plug stays an ordinary one.

Sources and verification status

The material follows the manufacturer’s and Home Assistant documentation, read on 22.11.2026. The topic is from Simeon’s list of ideas.

Need a hand?

We can set up and install everything in this project. In some regions we install it ourselves — ask us.

Contact us

Related projects

Sonoff S60ZBTPF Zigbee Smart Plug

16,90 €
View parts

What you need

Requires a Zigbee hub or Home Assistant with a Zigbee adapter.

Added to cart

Real Home Automations

Sign in to your account

With a code sent to your email

Continue with Google
or

By continuing, you accept the Terms and Conditions and the Privacy Policy.