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
input_boolean:
  waschmaschine_status:
    name: Status Waschmaschine
    initial: off
# sensor
sensor:
  platform: template
    washer_pwrdn:
    value_template: "{{ states('sensor.revolt_1_watt') | int < 3.4 }}"
# automation start
automation:
  - alias: 'Waschmaschine Start'
    trigger:
      platform: state
      entity_id: sensor.washer_pwrdn
      from: 'True'
      to: 'False'
    action:
      service: input_boolean.turn_on
      entity_id: input_boolean.waschmaschine_status
# automation fertig
  - alias: 'Waschmaschine fertig'
    trigger:
      platform: state
      entity_id: sensor.washer_pwrdn
        from: 'False'
        to: 'True'
        for:
          minutes: 4
    condition:
      condition: state
      entity_id: input_boolean.waschmaschine_status
      state: 'on'
    action:
      - service: notify.notify
          data:
          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)

6 Likes

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

1 Like