Notification when washing machine is done


i just bought a revolt revolt SF-436 (NC-5461) energy monitor for €14 that communicates with 433 mhz and can be decoded by a 433-receiver like the rfxtrx. the NC-5461 is available at amazon germany, too.

my rfxtrx came with a ext2 firmware, but only the type2 firmware can decode it. so i had to flash my rfxtrx with that firmware. also the pyRFXtrx library couldn’t decode the ELEC5 packets the rfxtrx sends, so i had to write that module. it should be part of the next home assistant release.

after both the rfxtrx and home-assistant understoond the NC-5461 i could just follow @rpitera’s lead and add his automation suggestion.

# input boolean
    name: Status Waschmaschine
    initial: off
# sensor
  platform: template
    value_template: "{{ states('sensor.revolt_1_watt') | int < 3.4 }}"
# automation start
  - alias: 'Waschmaschine Start'
      platform: state
      entity_id: sensor.washer_pwrdn
      from: 'True'
      to: 'False'
      service: input_boolean.turn_on
      entity_id: input_boolean.waschmaschine_status
# automation fertig
  - alias: 'Waschmaschine fertig'
      platform: state
      entity_id: sensor.washer_pwrdn
        from: 'False'
        to: 'True'
          minutes: 4
      condition: state
      entity_id: input_boolean.waschmaschine_status
      state: 'on'
      - service: notify.notify
          message: 'Waschmaschine ist fertig!'
      - service: shell_command.play_bike_horn
      - service: input_boolean.turn_off
          entity_id: input_boolean.waschmaschine_status

this seems to work pretty well, since the energy consumption of the washing machine is never zero longer than 2 minutes. if there’s no energy consumption longer than 4 minutes, it’s done. though there might be small amounts of energy consumption when the machine is on standby, the monitor reports zero watts.

(blogpost in german about the same thing)


I love my laundry automation and glad it could be of some help in yours. Nice work!