How to send a Push Notification when the Washing Machine ist ready

Hi All,
I would like to send a notification to my wifes phone (android) when the washing machine is done. During the cycle the current consumption drops to zero several times which makes it difficult to know when to trigger the notification. I think something like this: If power is > 10 watt(for 2 minutes = machine has started), wait until power is < 10 watt (for 5 minutes) then send a notification. a push in the right direction would be much appreciated.
Thanks
Tom

If the plug that the appliances are connected to can measure power, you can just test those state variables using Device State conditions. Add a “delay reset” or “sustained for” to “debounce” the value.

See:

  1. Reactor: Tutorial and Cookbook Videos on YouTube – video #007 may be helpful
  2. https://github.com/toggledbits/Reactor/wiki/Condition-Options
  3. https://github.com/toggledbits/Reactor/wiki/Device-State-Conditions

Thank you! Playing around i think i have a solution. Ups i think the second device state must be at least 300 seconds and not within!?
Look at this:

Probably need to be in separate subgroups. Make one group to contain the >10 condition, and one to contain the <10 condition. You can then put the actions on the group in Activities.

My general preference is that you post a Logic Summary (Tools tab) rather than a screen shot, as the screen shot rarely shows the full story.

Hi Patrik,
hope you enjoyed Chrismas. I’m testing this now.

*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
   Version: 3.4 config 19226 cdata 19082 ui 19237 pluginDevice 140
    System: Vera version 1.7.4453 on Sercomm G450; loadtime 1577118550; systemReady 1577118564; Lua 5.1; JSON dkjson 1.2
Local time: 2019-12-26T14:38:05+0100; DST=0; Beckum, North Rhine-Westphalia Germany
House mode: plugin 1; system 1; tracking off
  Sun data: { "stamp": 2019360, "civdawn": 1577343216, "nautdawn": 1577340610, "sunset": 1577373718, "nautdusk": 1577378761, "latitude": 51.7557, "astrodusk": 1577381222, "longitude": 8.04075, "civdusk": 1577376155, "astrodawn": 1577338149, "sunrise": 1577345653 }
  Geofence: not running
====================================================================================================================================
Waschen fertig (#244)
    Version 19082.10 12/23/19 17:40:39
    Message/status: Not tripped
    Condition group "Reactor Sensor 5" (AND)  false as of 12-23.17:29:30 <root>
      &-F-service Waschmaschine (239) urn:micasaverde-com:serviceId:EnergyMetering1/ActualUsage > 10 for ge 180s [1 at 12-23.17:29:30; F/F as of 12-23.17:29:30/12-23.17:29:30] <condlytxjnr>
      &-F-service Waschmaschine (239) urn:micasaverde-com:serviceId:EnergyMetering1/ActualUsage < 10 after condlytxjnr for ge 120s [1 at 12-23.17:29:30; T/F as of 12-23.17:29:30/12-23.17:29:30] <condlyuwtcj>
    Activity root.true
        Notify nid 1: sid 74 users 2063801 message "Waschmaschine fertig!"
    Events
        12/23/19 17:29:19 reload: notice=Luup reload
        12/23/19 17:29:19 disabled at start-up: 
        12/23/19 17:29:29 action: action=SetEnabled, state=1
        12/23/19 17:29:29 action: action=Restart
        12/23/19 17:29:29 start: 
        12/23/19 17:29:30 condchange: newState=false, cond=condlytxjnr
        12/23/19 17:29:30 evalchange: newState=false, cond=condlytxjnr
        12/23/19 17:29:30 condchange: newState=true, cond=condlyuwtcj
        12/23/19 17:29:30 evalchange: newState=false, cond=condlyuwtcj
        12/23/19 17:29:30 condchange: newState=false, cond=root
        12/23/19 17:29:30 evalchange: newState=false, cond=root
        12/23/19 17:29:48 action: action=Trip
        12/23/19 17:29:48 sensorstate: state=true
        12/23/19 17:29:48 startscene: scene=root.true, sceneName=root.true
        12/23/19 17:29:48 runscene: scene=root.true, sceneName=root.true, group=1, notice=Starting scene group 1
        12/23/19 17:29:48 endscene: scene=root.true, sceneName=root.true
        12/23/19 17:29:58 action: action=Reset
        12/23/19 17:29:58 sensorstate: state=false
        12/23/19 17:39:58 configchange: 
        12/23/19 17:40:39 configchange: 
    Devices
        ZWave (1) urn:schemas-micasaverde-com:device:ZWaveNetwork:1 (19/0); parent 0; plugin -
        Waschmaschine (239) urn:schemas-upnp-org:device:BinaryLight:1 (3/1); parent 1; plugin -


may be this will work :wink:

That will not work. You’ve put both conditions in an AND group, one condition checking if watts < 10, the other checking if > 10. They cannot both be true at the same time (AND means all conditions in the group must be true for the group to go true), so the group will never go true.

Your two test conditions need to go into separate groups.

Best Home Automation shopping experience. Shop at getvera!

© 2021 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules