Best approach for creating washing machine flow?

I’m trying to create a good algorithm for my washing machine to send a push notification when it is ready.

For the hardware I have a Shelly EM and a door sensor.

Ofcourse everything is depending of your specific model of the washing machine.

I have created some test runs and this are my parameters:

  • Washing machine off → Shelly returns 0 Watt
  • Washing machine standby → Shelly returns about 1,5 till 1,8 Watt (* see comment below)
  • Washing machine is running → More then 10 watts works good

I have changed the update period time of the MQTT settings of the Shelly to 1 second.

What I noticed is that when the washing machine is standby the power is every x seconds one moment 0 watt. I think that will be because it is very low and difficult to meassure (230V 1 watt).

What do I want:

  • entity that shows if the washing machine is powered on or off
  • entity that shows the state (Idle, Running, Clean)
  • push notification that is send directly when the program has finished
  • push notification every …minutes when the program has finished but the door is not opened.

In home assistant I have created this configuration:


input_select:
  washing_machine_status:
    name: Status wasmachine
    options:
      - Idle
      - Running
      - Clean
    initial: Idle
input_boolean:
  washing_machine_on:
    name: Wasmachine aan

sensor:
  - platform: mqtt
    name: "wasmachine_mqtt_sensor"
    state_topic: "shellies/shellyem-XXXXXXXXX/emeter/0/power"
    value_template: "{{ value|float }}" 
    qos: 1
    unit_of_measurement: "Watt"

In Node-Red I have created this flow:

[{"id":"7a34c540.8f84c4","type":"tab","label":"Wasmachine","disabled":false,"info":"","env":[]},{"id":"b1547d02.33153","type":"switch","z":"7a34c540.8f84c4","name":"","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"1.0","vt":"num"},{"t":"eq","v":"0","vt":"num"},{"t":"gt","v":"10","vt":"num"}],"checkall":"true","repair":false,"outputs":3,"x":330,"y":100,"wires":[["69656173.a925"],[],["ca1a567ccc427a60"]]},{"id":"69656173.a925","type":"api-call-service","z":"7a34c540.8f84c4","name":"> 1 watt --> Set power state of washing machine to on","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.washing_machine_on","data":"","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":680,"y":60,"wires":[[]]},{"id":"80540aed.a59958","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Washing Power","server":"ef392d83.86c5a","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_mqtt_sensor","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":120,"y":100,"wires":[["b1547d02.33153"]]},{"id":"efb03bfd0d1b4bd5","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Washing Power <= 2 for 30 sec?","server":"ef392d83.86c5a","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_mqtt_sensor","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"2","halt_if_type":"num","halt_if_compare":"lte","outputs":2,"output_only_on_state_change":true,"for":"30","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":360,"wires":[["bd1f2febfbdb9e24"],[]]},{"id":"ca1a567ccc427a60","type":"api-call-service","z":"7a34c540.8f84c4","name":"> 10 watt --> Set washing machine state running","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Running\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":660,"y":140,"wires":[[]]},{"id":"a2597efd6f2591b8","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Washing Power == 0 for 5 sec?","server":"ef392d83.86c5a","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_mqtt_sensor","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"0","halt_if_type":"num","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"for":"5","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":240,"wires":[["ebc4e8e1f4093c1a"],[]]},{"id":"8f53e4fd288c1ac5","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set power state of washing machine to off","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.washing_machine_on","data":"","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1080,"y":200,"wires":[[]]},{"id":"17eee4aaea92869e","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to Idle","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Idle\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1000,"y":260,"wires":[[]]},{"id":"bd1f2febfbdb9e24","type":"api-current-state","z":"7a34c540.8f84c4","name":"Has the washing machine been running?","server":"ef392d83.86c5a","version":2,"outputs":2,"halt_if":"Running","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"x":580,"y":360,"wires":[["54b4df08b8da8b8e"],[]]},{"id":"54b4df08b8da8b8e","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to clean","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Clean\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":910,"y":360,"wires":[["75b2d0998868b029"]]},{"id":"ebc4e8e1f4093c1a","type":"api-current-state","z":"7a34c540.8f84c4","name":"Has the washing machine been running?","server":"ef392d83.86c5a","version":2,"outputs":2,"halt_if":"Running","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"x":580,"y":240,"wires":[["8f53e4fd288c1ac5","54b4df08b8da8b8e"],["8f53e4fd288c1ac5","17eee4aaea92869e"]]},{"id":"a8a761be73a89c1a","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Door washing machine opened?","server":"63f26c18.71f4f4","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.wasmachine_deur","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":580,"wires":[["0c89294c758a3482"],[]]},{"id":"02f32a50916b77e5","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to Idle","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Idle\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":640,"y":580,"wires":[[]]},{"id":"75b2d0998868b029","type":"api-call-service","z":"7a34c540.8f84c4","name":"Send push notification: wash is ready","server":"63f26c18.71f4f4","version":3,"debugenabled":false,"service_domain":"notify","service":"mobile_app_iphone_van_martin","entityId":"","data":"{\"message\":\"Was is klaar.\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1190,"y":360,"wires":[[]]},{"id":"20f98740379d96a2","type":"poll-state","z":"7a34c540.8f84c4","name":"Wash is clean and door not opened yet?","server":"63f26c18.71f4f4","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"updateinterval":"30","updateIntervalType":"num","updateIntervalUnits":"minutes","outputinitially":false,"outputonchanged":false,"entity_id":"input_select.washing_machine_status","state_type":"str","halt_if":"Clean","halt_if_type":"str","halt_if_compare":"is","outputs":2,"x":190,"y":740,"wires":[[],[]]},{"id":"12c6c9970f21996a","type":"comment","z":"7a34c540.8f84c4","name":"Send every ....time a push notification that the wash is clean","info":"","x":260,"y":700,"wires":[]},{"id":"1d90178010efd54b","type":"comment","z":"7a34c540.8f84c4","name":"When door washing machine is opened and the washing program has runned, reset state to Idle","info":"","x":370,"y":540,"wires":[]},{"id":"0c89294c758a3482","type":"api-current-state","z":"7a34c540.8f84c4","name":"State is clean?","server":"ef392d83.86c5a","version":2,"outputs":2,"halt_if":"Clean","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"x":420,"y":580,"wires":[["02f32a50916b77e5"],[]]},{"id":"9f42b68e3d9788e4","type":"comment","z":"7a34c540.8f84c4","name":"TODO","info":"","x":430,"y":740,"wires":[]},{"id":"ef392d83.86c5a","type":"server","name":"Home Assistant","rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"63f26c18.71f4f4","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]

Conclusion: it works but I think this could be better and more efficient.

Also I’m considering if it is not better to have poll state nodes in stead of the state changed nodes?

The problem is now that it only reacts on state changed events. But what if some part of the system is not working at some moment? The system is not repairing its self.

So I could poll every X seconds for example. But I didn’t have found a solution to check if the entity has a state for … seconds in a flow (so after the poll state node).

What do you thinks. Is my approach correct of could it be better?

1 Like

Here’s how I am doing it, plus I send out nags to me and my wife and she can send me another nag while she’s at work! :grin: If the dryer starts to run it stops the timer for the nag.

[{"id":"5bbc5ca3.4c4764","type":"tab","label":"Laundry","disabled":false,"info":"Automate washer/dryer notifications and store stats in Influx"},{"id":"62e2bd2.38a7944","type":"poll-state","z":"5bbc5ca3.4c4764","name":"Washer usage poller","server":"0445edb13ee4a131","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"updateinterval":"30","updateIntervalType":"num","updateIntervalUnits":"seconds","outputinitially":true,"outputonchanged":true,"entity_id":"sensor.6c_washer_circuit_watts","state_type":"str","halt_if":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"x":110,"y":140,"wires":[["be6c3ee09f03b0bb"]]},{"id":"9359b56b.d21958","type":"poll-state","z":"5bbc5ca3.4c4764","name":"Dryer usage poller","server":"0445edb13ee4a131","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"updateinterval":"30","updateIntervalType":"num","updateIntervalUnits":"seconds","outputinitially":true,"outputonchanged":true,"entity_id":"sensor.6c_dryer_circuit_watts","state_type":"str","halt_if":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"x":110,"y":420,"wires":[["3280e791.114268"]]},{"id":"3280e791.114268","type":"power-monitor","z":"5bbc5ca3.4c4764","name":"Dryer power monitor","startthreshold":"30","stopthreshold":"30","startafter":"2","stopafter":"10","x":340,"y":420,"wires":[["b755d5ae93d742ed","55eaa1e8ad696455"]]},{"id":"be6c3ee09f03b0bb","type":"power-monitor","z":"5bbc5ca3.4c4764","name":"Washer power monitor","startthreshold":"15","stopthreshold":"15","startafter":"2","stopafter":"10","x":340,"y":140,"wires":[["28b12a7a6510bcd1","55eaa1e8ad696455"]]},{"id":"a50c57d52a6dbc73","type":"api-call-service","z":"5bbc5ca3.4c4764","name":"Dryer stopped","server":"0445edb13ee4a131","version":3,"debugenabled":false,"service_domain":"notify","service":"mobile_app_hubby_phone","entityId":"","data":"{\"message\":\"Dryer stopped, go empty\",\"data\":{\"tag\":\"laundry alert\"}}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","x":1160,"y":420,"wires":[[]]},{"id":"6b688097fc4029b7","type":"switch","z":"5bbc5ca3.4c4764","name":"","property":"payload.event.action","propertyType":"msg","rules":[{"t":"eq","v":"LaundryStop","vt":"str"},{"t":"eq","v":"LaundryNow","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":530,"y":240,"wires":[["eea98bcaac0c2232"],["751582241b35f722"]]},{"id":"a078cf3011c65830","type":"server-events","z":"5bbc5ca3.4c4764","name":"","server":"0445edb13ee4a131","version":1,"event_type":"mobile_app_notification_action","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"x":170,"y":240,"wires":[["6b688097fc4029b7"]]},{"id":"28b12a7a6510bcd1","type":"switch","z":"5bbc5ca3.4c4764","name":"","property":"payload.event","propertyType":"msg","rules":[{"t":"eq","v":"stop","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":530,"y":140,"wires":[["97d4a6513705fd45","797ec4a06394b15a"]]},{"id":"b755d5ae93d742ed","type":"switch","z":"5bbc5ca3.4c4764","name":"Dryer stopped","property":"payload.event","propertyType":"msg","rules":[{"t":"eq","v":"start","vt":"str"},{"t":"eq","v":"stop","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":580,"y":420,"wires":[["eea98bcaac0c2232","797ec4a06394b15a"],["a50c57d52a6dbc73"]]},{"id":"751582241b35f722","type":"api-call-service","z":"5bbc5ca3.4c4764","name":"Washer stopped, now (hubby)","server":"0445edb13ee4a131","version":3,"debugenabled":false,"service_domain":"notify","service":"mobile_app_hubby_phone","entityId":"","data":"{\"message\":\"Washer stopped, clothes were not moved\",\"title\":\"Actionable\",\"data\":{\"actions\":[{\"action\":\"LaundryStop\",\"title\":\"Clothes were transfered!\"}],\"tag\":\"laundry alert\"}}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","x":1210,"y":240,"wires":[[]]},{"id":"97d4a6513705fd45","type":"change","z":"5bbc5ca3.4c4764","name":"start","rules":[{"t":"set","p":"payload","pt":"msg","to":"start","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":690,"y":140,"wires":[["ccec303912d4b864"]]},{"id":"697cfbf192d0e6b4","type":"api-call-service","z":"5bbc5ca3.4c4764","name":"Washer stopped (hubby)","server":"0445edb13ee4a131","version":3,"debugenabled":false,"service_domain":"notify","service":"mobile_app_hubby_phone","entityId":"","data":"{\"message\":\"Washer stopped, transfer clothes\",\"title\":\"Actionable\",\"data\":{\"actions\":[{\"action\":\"LaundryStop\",\"title\":\"Clothes were transfered!\"}],\"tag\":\"laundry alert\"}}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","x":1190,"y":120,"wires":[[]]},{"id":"1411cc4690eb5cbb","type":"debug","z":"5bbc5ca3.4c4764","name":"","active":false,"console":"false","complete":"false","x":1170,"y":40,"wires":[]},{"id":"c1bd9e85767e3ba7","type":"looptimer","z":"5bbc5ca3.4c4764","duration":"60","units":"Minute","maxloops":"3","maxtimeout":"4","maxtimeoutunits":"Hour","name":"","x":920,"y":180,"wires":[["1411cc4690eb5cbb","8a400cc1d0fcc03f"],[]]},{"id":"eea98bcaac0c2232","type":"change","z":"5bbc5ca3.4c4764","name":"stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":690,"y":200,"wires":[["c1bd9e85767e3ba7","ccec303912d4b864"]]},{"id":"ccec303912d4b864","type":"trigger","z":"5bbc5ca3.4c4764","name":"","op1":"original","op2":"reminder","op1type":"str","op2type":"str","duration":"60","extend":false,"overrideDelay":false,"units":"min","reset":"stop","bytopic":"all","topic":"topic","outputs":2,"x":910,"y":120,"wires":[["697cfbf192d0e6b4","1411cc4690eb5cbb"],["c1bd9e85767e3ba7"]]},{"id":"55eaa1e8ad696455","type":"debug","z":"5bbc5ca3.4c4764","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":530,"y":340,"wires":[]},{"id":"797ec4a06394b15a","type":"debug","z":"5bbc5ca3.4c4764","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":770,"y":340,"wires":[]},{"id":"8a400cc1d0fcc03f","type":"api-call-service","z":"5bbc5ca3.4c4764","name":"Washer stopped (Both)","server":"0445edb13ee4a131","version":3,"debugenabled":false,"service_domain":"notify","service":"all_ios_devices","entityId":"","data":"{\"message\":\"Washer stopped, clothes were not moved\",\"title\":\"Actionable\",\"data\":{\"actions\":[{\"action\":\"LaundryStop\",\"title\":\"Clothes were transfered!\"},{\"action\":\"LaundryNow\",\"title\":\"Tell hubby to do it now!\"}],\"tag\":\"laundry alert\"}}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","x":1180,"y":180,"wires":[[]]},{"id":"0445edb13ee4a131","type":"server","name":"Home Assistant","version":2,"addon":false,"rejectUnauthorizedCerts":false,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30"}]

I have no answer for your question but rather have a question myself.

Could you post pictures of how you have the Shelly EM setup? Could I use it for my 220v dryer? I am trying to find a good way to monitor when my dryer is running or not.

Hi, your flow code is not completely. I have only 1 node when I import it.

Before the Shelly EM:

The installation:






I have used the next products:

In this box I have placed the Shelly EM:

ATTEMA Opbouwlasdoos universeel kopen bij HORNBACH

And in this 2 boxes there is one clamp each and on top of it there is a wall outlet

ATTEMA lasdoos universeel 2185 kopen bij HORNBACH
ATTEMA Montagedeksel 2186 voor universele lasdoos 2185 kopen bij HORNBACH
BERKER AP Opbouw wandcontactdoos (wcd) RA 1-voudig polar wit kopen bij HORNBACH

My bad, fixed above!

Nice one :slightly_smiling_face: I have a try with the TP link switch at the moment. Not finally done, but same approach.

@martinst

Can you draw a schematic of how you connected it. Is your load wire going from the washer, into the PM, then out the PM to your washer? Where is the clamp?

This is how you can connect it.

1 Like

Okay I didn’t know that there is Power Monitor node.

I have now this flow:

[{"id":"7a34c540.8f84c4","type":"tab","label":"Wasmachine","disabled":false,"info":"","env":[]},{"id":"b1547d02.33153","type":"switch","z":"7a34c540.8f84c4","name":"","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"1.0","vt":"num"},{"t":"gt","v":"10","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":330,"y":100,"wires":[["69656173.a925"],["ca1a567ccc427a60"]]},{"id":"69656173.a925","type":"api-call-service","z":"7a34c540.8f84c4","name":"> 1 watt --> Set power state of washing machine to on","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.washing_machine_on","data":"","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":680,"y":60,"wires":[[]]},{"id":"80540aed.a59958","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Washing Power","server":"ef392d83.86c5a","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_power_mqtt","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":120,"y":100,"wires":[["b1547d02.33153"]]},{"id":"efb03bfd0d1b4bd5","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Washing Power <= 2 for 15 sec?","server":"ef392d83.86c5a","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_power_mqtt","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"2","halt_if_type":"num","halt_if_compare":"lte","outputs":2,"output_only_on_state_change":true,"for":"15","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":240,"wires":[["bd1f2febfbdb9e24"],[]]},{"id":"ca1a567ccc427a60","type":"api-call-service","z":"7a34c540.8f84c4","name":"> 10 watt --> Set washing machine state running","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Running\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":660,"y":140,"wires":[[]]},{"id":"a2597efd6f2591b8","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Washing Power == 0 for 5 sec?","server":"ef392d83.86c5a","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_power_mqtt","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"0","halt_if_type":"num","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"for":"5","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":340,"wires":[["8f53e4fd288c1ac5"],[]]},{"id":"8f53e4fd288c1ac5","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set power state of washing machine to off","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.washing_machine_on","data":"","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":520,"y":340,"wires":[["bd1f2febfbdb9e24"]]},{"id":"bd1f2febfbdb9e24","type":"api-current-state","z":"7a34c540.8f84c4","name":"Has the washing machine been running?","server":"ef392d83.86c5a","version":2,"outputs":2,"halt_if":"Running","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"x":520,"y":240,"wires":[["54b4df08b8da8b8e"],[]]},{"id":"54b4df08b8da8b8e","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to clean","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Clean\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":890,"y":220,"wires":[["7301a7f2191cada6"]]},{"id":"a8a761be73a89c1a","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Door washing machine opened?","server":"63f26c18.71f4f4","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.wasmachine_deur","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":500,"wires":[["0c89294c758a3482"],[]]},{"id":"02f32a50916b77e5","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to Idle","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Idle\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":640,"y":500,"wires":[[]]},{"id":"75b2d0998868b029","type":"api-call-service","z":"7a34c540.8f84c4","name":"Send push notification: wash is ready","server":"63f26c18.71f4f4","version":3,"debugenabled":false,"service_domain":"notify","service":"mobile_app_iphone_van_martin","entityId":"","data":"{\"message\":\"Was is klaar.\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1410,"y":160,"wires":[[]]},{"id":"20f98740379d96a2","type":"poll-state","z":"7a34c540.8f84c4","name":"Wash is clean and door not opened yet?","server":"63f26c18.71f4f4","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"updateinterval":"3","updateIntervalType":"num","updateIntervalUnits":"minutes","outputinitially":false,"outputonchanged":false,"entity_id":"input_select.washing_machine_status","state_type":"str","halt_if":"Clean","halt_if_type":"str","halt_if_compare":"is","outputs":2,"x":190,"y":660,"wires":[["7043f4094cd1c17b"],[]]},{"id":"12c6c9970f21996a","type":"comment","z":"7a34c540.8f84c4","name":"Send every ....time a push notification that the wash is clean","info":"","x":260,"y":620,"wires":[]},{"id":"1d90178010efd54b","type":"comment","z":"7a34c540.8f84c4","name":"When door washing machine is opened and the washing program has runned, reset state to Idle","info":"","x":370,"y":460,"wires":[]},{"id":"0c89294c758a3482","type":"api-current-state","z":"7a34c540.8f84c4","name":"State is clean?","server":"ef392d83.86c5a","version":2,"outputs":2,"halt_if":"Clean","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"x":420,"y":500,"wires":[["02f32a50916b77e5"],[]]},{"id":"7043f4094cd1c17b","type":"api-call-service","z":"7a34c540.8f84c4","name":"Send push notification: wash is ready","server":"63f26c18.71f4f4","version":3,"debugenabled":false,"service_domain":"notify","service":"mobile_app_iphone_van_martin","entityId":"","data":"{\"message\":\"De was is gereed.\",\"title\":\"Wasmachine\",\"data\":{\"actions\":[{\"action\":\"RESET_WAS_READY_MESSAGE\",\"title\":\"Melding negeren\"}]}}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":550,"y":660,"wires":[["b357c8909330b93d"]]},{"id":"3d8dfdb18770ffa5","type":"server-events","z":"7a34c540.8f84c4","name":"Notify app action","server":"63f26c18.71f4f4","version":1,"event_type":"mobile_app_notification_action","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"x":120,"y":800,"wires":[["1e19060208f1be16"]]},{"id":"1e19060208f1be16","type":"switch","z":"7a34c540.8f84c4","name":"Stop message wash ready?","property":"payload.event.action","propertyType":"msg","rules":[{"t":"eq","v":"RESET_WAS_READY_MESSAGE","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":380,"y":800,"wires":[["eea38aade6fe40eb"]]},{"id":"eea38aade6fe40eb","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to Idle","server":"ef392d83.86c5a","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Idle\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":640,"y":800,"wires":[[]]},{"id":"b357c8909330b93d","type":"api-call-service","z":"7a34c540.8f84c4","name":"TTS on Play5","server":"63f26c18.71f4f4","version":3,"debugenabled":false,"service_domain":"script","service":"speel_af_tts_op_sonos_play_5","entityId":"","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":840,"y":660,"wires":[[]]},{"id":"65e7b93a5309a5e2","type":"api-call-service","z":"7a34c540.8f84c4","name":"TTS on Play5","server":"63f26c18.71f4f4","version":3,"debugenabled":false,"service_domain":"script","service":"speel_af_tts_op_sonos_play_5","entityId":"","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1340,"y":220,"wires":[[]]},{"id":"9d31ab9390fa76bb","type":"comment","z":"7a34c540.8f84c4","name":"Pressed on stop button in the app of raising wash ready notifications?","info":"","x":290,"y":760,"wires":[]},{"id":"7301a7f2191cada6","type":"delay","z":"7a34c540.8f84c4","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"5","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":1120,"y":160,"wires":[["75b2d0998868b029","65e7b93a5309a5e2"]]},{"id":"ef392d83.86c5a","type":"server","name":"Home Assistant","rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"63f26c18.71f4f4","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]

It is working now. But I have one problem with the push notification/TTS message.

You see in the flow:

  • A is executed when the wash is ready or when the wash is ready AND the device is directly set to off by the user.

  • B: I want to check every X minutes (i have now 3 minutes for testing) if the wash is ready and the door is not opened yet, there will be a message sent and a TTS on the Sonos.

This works also good but i want to synchronize it with option A.

So when option A is executed, the poll state node (timer) should restart the timer, so that the message is resent 3 minutes after option A.

Do you know if that is possible?

Do you ONLY want B to trigger when A is true? So in essence, when your input select is set to CLEAN, then start B every X seconds?

I use stoptimer-varidelay.

[{"id":"60e59140ac9eba02","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"b6adf6a30ef90b55","type":"api-call-service","z":"60e59140ac9eba02","name":"TTS on Play5","server":"63f26c18.71f4f4","version":3,"debugenabled":false,"service_domain":"script","service":"speel_af_tts_op_sonos_play_5","entityId":"","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1331,"y":270,"wires":[["ad9d629fa5bf236e"]]},{"id":"3943f0d3f4be8d33","type":"api-current-state","z":"60e59140ac9eba02","name":"Wash is clean and door not opened yet?","server":"ef392d83.86c5a","version":2,"outputs":2,"halt_if":"Clean","halt_if_type":"str","halt_if_compare":"is","entity_id":"media_player.echo_office","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":683,"y":270,"wires":[["1cb5d4226ca798aa"],[]]},{"id":"ad9d629fa5bf236e","type":"stoptimer-varidelay","z":"60e59140ac9eba02","duration":"5","durationType":"num","units":"Second","payloadtype":"num","payloadval":"0","name":"","reporting":"every_second","persist":false,"ignoretimerpass":false,"x":396,"y":270,"wires":[["3943f0d3f4be8d33"],[],[]]},{"id":"25c8fb2714876ea2","type":"server-state-changed","z":"60e59140ac9eba02","name":"Washing machine set to clean","server":"ab3e2c53.e3491","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.washing_machine_status","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"Clean","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":149,"y":270,"wires":[["ad9d629fa5bf236e"],[]]},{"id":"1cb5d4226ca798aa","type":"api-call-service","z":"60e59140ac9eba02","name":"Send push notification: wash is ready","server":"63f26c18.71f4f4","version":3,"debugenabled":false,"service_domain":"notify","service":"mobile_app_iphone_van_martin","entityId":"","data":"{\"message\":\"De was is gereed.\",\"title\":\"Wasmachine\",\"data\":{\"actions\":[{\"action\":\"RESET_WAS_READY_MESSAGE\",\"title\":\"Melding negeren\"}]}}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1052,"y":270,"wires":[["b6adf6a30ef90b55"]]},{"id":"63f26c18.71f4f4","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30},{"id":"ef392d83.86c5a","type":"server","name":"Home Assistant","rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"ab3e2c53.e3491","type":"server","name":"AvilaSmartHome","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]
  1. Wash machine set to clean
  2. Timer starts countdown
  3. Countdown elapses
  4. Flow cotinues
  5. Once TTS fires, it restarts timer
  6. Repeat from 2
  7. If it never makes it to the TTS node, then the timer just sits expired. Of course you can put in other nodes to double check, etc and restart timer if you wanted.
  8. You could have something else trigger the timer to start, and then when the machine machine was set to clean, that would reset the counter on it, as you wanted.

The reason for the 2 flows is that flow B is always working even when the system is restarted and there are no state changed events anymore and the state of the washing machine is still clean.

Hi.

Did you ever get a final working solution that you are able to share?

I’m using this flow:

[{"id":"7a34c540.8f84c4","type":"tab","label":"Washing machine","disabled":false,"info":"","env":[]},{"id":"b1547d02.33153","type":"switch","z":"7a34c540.8f84c4","name":"Check power","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"1.0","vt":"num"},{"t":"gt","v":"10","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":310,"y":100,"wires":[["69656173.a925"],["ca1a567ccc427a60"]]},{"id":"69656173.a925","type":"api-call-service","z":"7a34c540.8f84c4","name":"> 1 watt --> Set power state of washing machine to on","server":"63f26c18.71f4f4","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_on","areaId":[],"deviceId":[],"entityId":["input_boolean.washing_machine_on"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":660,"y":80,"wires":[[]]},{"id":"80540aed.a59958","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Washing Power","server":"63f26c18.71f4f4","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_power_mqtt","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":100,"y":100,"wires":[["b1547d02.33153"]]},{"id":"efb03bfd0d1b4bd5","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Washing Power <= 2 for 15 sec?","server":"63f26c18.71f4f4","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_power_mqtt","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"2","halt_if_type":"num","halt_if_compare":"lte","outputs":2,"output_only_on_state_change":true,"for":"15","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":150,"y":280,"wires":[["bd1f2febfbdb9e24"],[]]},{"id":"ca1a567ccc427a60","type":"api-call-service","z":"7a34c540.8f84c4","name":"> 10 watt --> Set washing machine state running","server":"63f26c18.71f4f4","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.washing_machine_status"],"data":"{\"option\":\"Running\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":640,"y":140,"wires":[[]]},{"id":"a2597efd6f2591b8","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Washing Power == 0 for 5 sec?","server":"63f26c18.71f4f4","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_power_mqtt","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"0","halt_if_type":"num","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"for":"5","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":150,"y":340,"wires":[["8f53e4fd288c1ac5"],[]]},{"id":"8f53e4fd288c1ac5","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set power state of washing machine to off","server":"63f26c18.71f4f4","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_off","areaId":[],"deviceId":[],"entityId":["input_boolean.washing_machine_on"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":520,"y":340,"wires":[["bd1f2febfbdb9e24"]]},{"id":"bd1f2febfbdb9e24","type":"api-current-state","z":"7a34c540.8f84c4","name":"Has the washing machine been running?","server":"63f26c18.71f4f4","version":3,"outputs":2,"halt_if":"Running","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":520,"y":280,"wires":[["54b4df08b8da8b8e"],[]]},{"id":"54b4df08b8da8b8e","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to clean","server":"63f26c18.71f4f4","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.washing_machine_status"],"data":"{\"option\":\"Clean\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":850,"y":280,"wires":[["6de1e262a9507c51"]]},{"id":"a8a761be73a89c1a","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Door washing machine opened?","server":"63f26c18.71f4f4","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.wasmachine_deur","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":150,"y":720,"wires":[["0c89294c758a3482"],[]]},{"id":"02f32a50916b77e5","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to Idle","server":"63f26c18.71f4f4","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.washing_machine_status"],"data":"{\"option\":\"Idle\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":620,"y":720,"wires":[[]]},{"id":"1d90178010efd54b","type":"comment","z":"7a34c540.8f84c4","name":"When door washing machine is opened and the washing program has runned, reset state to Idle","info":"","x":350,"y":680,"wires":[]},{"id":"0c89294c758a3482","type":"api-current-state","z":"7a34c540.8f84c4","name":"State is clean?","server":"63f26c18.71f4f4","version":3,"outputs":2,"halt_if":"Clean","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":400,"y":720,"wires":[["02f32a50916b77e5"],[]]},{"id":"3d8dfdb18770ffa5","type":"server-events","z":"7a34c540.8f84c4","name":"Notify app action","server":"63f26c18.71f4f4","version":2,"eventType":"mobile_app_notification_action","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"x":100,"y":840,"wires":[["1e19060208f1be16"]]},{"id":"1e19060208f1be16","type":"switch","z":"7a34c540.8f84c4","name":"Stop message wash ready?","property":"payload.event.action","propertyType":"msg","rules":[{"t":"eq","v":"RESET_WAS_READY_MESSAGE","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":360,"y":840,"wires":[["eea38aade6fe40eb"]]},{"id":"eea38aade6fe40eb","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to Idle","server":"63f26c18.71f4f4","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.washing_machine_status"],"data":"{\"option\":\"Idle\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":620,"y":840,"wires":[[]]},{"id":"9d31ab9390fa76bb","type":"comment","z":"7a34c540.8f84c4","name":"Pressed on stop button in the app of raising wash ready notifications?","info":"","x":270,"y":800,"wires":[]},{"id":"7301a7f2191cada6","type":"delay","z":"7a34c540.8f84c4","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"5","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":160,"y":480,"wires":[["4085f2ac25da12b1"]]},{"id":"4085f2ac25da12b1","type":"looptimer","z":"7a34c540.8f84c4","duration":"5","units":"Minute","maxloops":"5","maxtimeout":"1","maxtimeoutunits":"Hour","name":"","x":380,"y":480,"wires":[["2df0a6f29c1b110e"],[]]},{"id":"2df0a6f29c1b110e","type":"api-current-state","z":"7a34c540.8f84c4","name":"Is state clean?","server":"63f26c18.71f4f4","version":3,"outputs":2,"halt_if":"Clean","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":580,"y":480,"wires":[["d4fbfc51eb8ddf1a"],["d1c033775e5a801f"]]},{"id":"d1c033775e5a801f","type":"change","z":"7a34c540.8f84c4","name":"Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":470,"y":580,"wires":[["4085f2ac25da12b1"]]},{"id":"d4fbfc51eb8ddf1a","type":"api-call-service","z":"7a34c540.8f84c4","name":"Send notify","server":"63f26c18.71f4f4","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_iphone_van_martin","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\":\"De was is gereed.\",\"title\":\"Wasmachine\",\"data\":{\"actions\":[{\"action\":\"RESET_WAS_READY_MESSAGE\",\"title\":\"Melding negeren\"}]}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":790,"y":480,"wires":[["ab26bc53360b4c02"]]},{"id":"ebf0f6f0d50c5505","type":"api-call-service","z":"7a34c540.8f84c4","name":"TTS on Play5","server":"63f26c18.71f4f4","version":5,"debugenabled":false,"domain":"script","service":"wasmachine_gereed_melding_op_sonos_play_5","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1200,"y":560,"wires":[[]]},{"id":"ab26bc53360b4c02","type":"time-range-switch","z":"7a34c540.8f84c4","name":"","lat":"51.81828","lon":"4.78229","startTime":"07:00","endTime":"22:00","startOffset":0,"endOffset":0,"x":1010,"y":460,"wires":[["79cb211772360f6f"],[]]},{"id":"79cb211772360f6f","type":"api-current-state","z":"7a34c540.8f84c4","name":"Home?","server":"63f26c18.71f4f4","version":3,"outputs":2,"halt_if":"home","halt_if_type":"str","halt_if_compare":"is","entity_id":"person.martin_stuij","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1220,"y":440,"wires":[["ebf0f6f0d50c5505"],[]]},{"id":"6de1e262a9507c51","type":"link out","z":"7a34c540.8f84c4","name":"Washing machine ready notifications","mode":"link","links":["c08e4cfc9019f690"],"x":1095,"y":280,"wires":[]},{"id":"c08e4cfc9019f690","type":"link in","z":"7a34c540.8f84c4","name":"","links":["6de1e262a9507c51"],"x":35,"y":480,"wires":[["7301a7f2191cada6"]]},{"id":"16fc9de832617df0","type":"comment","z":"7a34c540.8f84c4","name":"Check if the washing machine is powered on or if a program is started","info":"","x":270,"y":40,"wires":[]},{"id":"05af28fa5fc9d860","type":"comment","z":"7a34c540.8f84c4","name":"Check if the washing machine is powered off or the program has finished","info":"","x":280,"y":240,"wires":[]},{"id":"b86d4fca1da6991e","type":"comment","z":"7a34c540.8f84c4","name":"Washing machine is ready, send notifications","info":"","x":190,"y":440,"wires":[]},{"id":"63f26c18.71f4f4","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"id","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]
input_boolean:
  washing_machine_on:
    name: Wasmachine aan

input_select:
  washing_machine_status:
    name: Status wasmachine
    options:
      - Idle
      - Running
      - Clean
    initial: Idle

Thank you. Just need my Mrs to put a wash on and i can test this out.

Question. How are you setting the Initial setting?

What do you mean exactly?

I’d personally pass up the door sensor, I believe you don’t need it. I guess your washing machine stays in standby (between 1.5 and 1.8 ) as long as you don’t rotate the wheel or push a button to set it to off. When the machine has finished, instead of opening the door, just set your washing machine to off so your shelly reads 0 watts and HA understands the laundry is done thus setting your sensor to Idle. Less hardware needed. This way this would work:

[{"id":"0a7182c3f6ca533f","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Power > 0 ? then on","server":"ef392d83.86c5a","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_mqtt_sensor","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"on","valueType":"str"}],"x":290,"y":1260,"wires":[["e32a5828bd8293ab"]]},{"id":"7857cb7fa3fa012d","type":"comment","z":"7a34c540.8f84c4","name":"Washing machine sensors","info":"","x":190,"y":1100,"wires":[]},{"id":"f751de84e93180bb","type":"comment","z":"7a34c540.8f84c4","name":"on / off","info":"","x":230,"y":1180,"wires":[]},{"id":"5de805198c79bb6b","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Power = 0 for 5'' ? then off","server":"ef392d83.86c5a","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_mqtt_sensor","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"0","halt_if_type":"num","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"off","valueType":"str"}],"x":270,"y":1300,"wires":[["e32a5828bd8293ab"],[]]},{"id":"87c071e453918e7c","type":"comment","z":"7a34c540.8f84c4","name":"Idle / Running / Clean","info":"","x":280,"y":1400,"wires":[]},{"id":"c8761a22637a8e60","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Power > 10 ? then Running","server":"ef392d83.86c5a","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_mqtt_sensor","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"Running","valueType":"str"}],"x":270,"y":1520,"wires":[["91069cd23d6d4f03"]]},{"id":"5553d21eac25d68c","type":"server-state-changed","z":"7a34c540.8f84c4","name":"2 > Power > 1.5 for 30''? then Clean","server":"ef392d83.86c5a","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_mqtt_sensor","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"$entity().state < 2 and $entity().state > 1.5","halt_if_type":"jsonata","halt_if_compare":"jsonata","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"Clean","valueType":"str"}],"x":240,"y":1560,"wires":[["eb8db29423506abd"],["4651b5c4da69b6a7"]]},{"id":"4651b5c4da69b6a7","type":"change","z":"7a34c540.8f84c4","name":"stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":470,"y":1600,"wires":[["eb8db29423506abd"]]},{"id":"eb8db29423506abd","type":"trigger","z":"7a34c540.8f84c4","name":"","op1":"","op2":"","op1type":"nul","op2type":"payl","duration":"30","extend":false,"overrideDelay":false,"units":"s","reset":"stop","bytopic":"all","topic":"topic","outputs":1,"x":610,"y":1560,"wires":[["91069cd23d6d4f03"]]},{"id":"e9e65aac352f2426","type":"server-state-changed","z":"7a34c540.8f84c4","name":"Power = 0 for 5'' ? then Idle","server":"ef392d83.86c5a","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.wasmachine_mqtt_sensor","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"0","halt_if_type":"num","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"Idle","valueType":"str"}],"x":270,"y":1480,"wires":[["91069cd23d6d4f03"],[]]},{"id":"07c1ea1c32558d4c","type":"comment","z":"7a34c540.8f84c4","name":"Notification","info":"","x":120,"y":1700,"wires":[]},{"id":"7790035e41aeda9f","type":"server-state-changed","z":"7a34c540.8f84c4","name":"status to Clean?","server":"9405c3fe.d0a6c","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.washing_machine_status","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"Clean","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[],"x":140,"y":1800,"wires":[["0a78c6065b9ca912"],[]]},{"id":"e32a5828bd8293ab","type":"api-call-service","z":"7a34c540.8f84c4","name":"Input boolean turn_{{payload}}","server":"9405c3fe.d0a6c","version":5,"debugenabled":false,"domain":"homeassistant","service":"turn_{{payload}}","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":590,"y":1280,"wires":[[]]},{"id":"91069cd23d6d4f03","type":"api-call-service","z":"7a34c540.8f84c4","name":"Set state to payload","server":"ef392d83.86c5a","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.washing_machine_status"],"data":"{\"option\": payload}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":840,"y":1480,"wires":[[]]},{"id":"0a78c6065b9ca912","type":"api-call-service","z":"7a34c540.8f84c4","name":"Notify","server":"9405c3fe.d0a6c","version":5,"debugenabled":false,"domain":"","service":"","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":330,"y":1800,"wires":[["67240943f9e5bbbe"]]},{"id":"67240943f9e5bbbe","type":"ha-wait-until","z":"7a34c540.8f84c4","name":"status != Idle and Running for 3 mins ? repeat","server":"9405c3fe.d0a6c","version":2,"outputs":2,"entityId":"input_select.washing_machine_status","entityIdFilterType":"exact","property":"state","comparator":"includes","value":"Idle, Running","valueType":"str","timeout":"3","timeoutType":"num","timeoutUnits":"minutes","checkCurrentState":true,"blockInputOverrides":true,"outputProperties":[],"entityLocation":"data","entityLocationType":"none","x":620,"y":1740,"wires":[[],["0a78c6065b9ca912"]]},{"id":"ef392d83.86c5a","type":"server","name":"Home Assistant","rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"9405c3fe.d0a6c","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]

If you still think you really need that door sensor:

[{"id":"07c1ea1c32558d4c","type":"comment","z":"7a34c540.8f84c4","name":"Notification","info":"","x":120,"y":1700,"wires":[]},{"id":"7790035e41aeda9f","type":"server-state-changed","z":"7a34c540.8f84c4","name":"status to Clean?","server":"9405c3fe.d0a6c","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.washing_machine_status","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"Clean","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[],"x":140,"y":1800,"wires":[["0a78c6065b9ca912"],[]]},{"id":"0a78c6065b9ca912","type":"api-call-service","z":"7a34c540.8f84c4","name":"Notify","server":"9405c3fe.d0a6c","version":5,"debugenabled":false,"domain":"","service":"","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":330,"y":1800,"wires":[["67240943f9e5bbbe"]]},{"id":"67240943f9e5bbbe","type":"ha-wait-until","z":"7a34c540.8f84c4","name":"door off for 3 mins? repeat","server":"9405c3fe.d0a6c","version":2,"outputs":2,"entityId":"binary_sensor.wasmachine_deur","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"3","timeoutType":"num","timeoutUnits":"minutes","checkCurrentState":true,"blockInputOverrides":true,"outputProperties":[],"entityLocation":"data","entityLocationType":"none","x":560,"y":1740,"wires":[[],["0a78c6065b9ca912"]]},{"id":"9405c3fe.d0a6c","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]

In fact the on / off sensor is irrelevant… It can be achieved with just the bottom two flows.

This is what i have so far based @martinst export he provided. I have changed it a little bit. It is working really well and the wife is mega happy.

@martinst really appreciate you sharing this flow.

[{"id":"7a34c540.8f84c4","type":"tab","label":"Washing machine","disabled":false,"info":"","env":[]},{"id":"a2c73fa50cb2a32b","type":"group","z":"7a34c540.8f84c4","name":"(1) - Power Washing Machine Plug - ON","style":{"label":true},"nodes":["9444aecf067e76b9","458134322f952984","74b1b0fb3c2e322b"],"x":14,"y":19,"w":572,"h":162},{"id":"42f19ab4686c6f56","type":"group","z":"7a34c540.8f84c4","name":"(2) - Check if the washing machine is powered on or if a program is started","style":{"label":true},"nodes":["b1547d02.33153","80540aed.a59958","20870c3a8431913a","b9cd530ed9fab1e9"],"x":14,"y":199,"w":872,"h":142},{"id":"4cc9edc269326691","type":"group","z":"7a34c540.8f84c4","name":"(3) - Check if the washing machine is powered off or the program has finished","style":{"label":true},"nodes":["efb03bfd0d1b4bd5","a2597efd6f2591b8","bd1f2febfbdb9e24","6de1e262a9507c51","ae923e3bc6c72f49","e2ef50a7acf0c470"],"x":14,"y":359,"w":1142,"h":142},{"id":"7493e29d52810a7e","type":"group","z":"7a34c540.8f84c4","name":"(4) - Washing machine is ready, send notifications","style":{"label":true},"nodes":["7301a7f2191cada6","2df0a6f29c1b110e","d1c033775e5a801f","c08e4cfc9019f690","4085f2ac25da12b1","559f35ec3ef28ce5","63d253784409287b","2de81beb398a9b5b","7f48182b740af734","2a2d2b68c76f243d","fa20e9d668aa9820","0e4680ce7ec8c26a","e6e940900334e41a","28ae37e67f859c83","79b3d9ad9990d29a","be72ef206290c06f"],"x":14,"y":519,"w":1212,"h":362},{"id":"71b5713194147431","type":"group","z":"7a34c540.8f84c4","name":"(5) - When door washing machine is opened and the washing program has runned, reset state to Idle","style":{"label":true},"nodes":["0c89294c758a3482","7e0a3b5bebcf5b51","dfff4ceb6964683b"],"x":14,"y":899,"w":732,"h":82},{"id":"e636c328204c1f50","type":"group","z":"7a34c540.8f84c4","name":"(6) - Pressed on stop button in the app of raising wash ready notifications?","style":{"label":true},"nodes":["1e19060208f1be16","bb992421c111639f","40a42484239b62ce"],"x":14,"y":999,"w":752,"h":82},{"id":"28ae37e67f859c83","type":"junction","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","x":620,"y":760,"wires":[[]]},{"id":"b1547d02.33153","type":"switch","z":"7a34c540.8f84c4","g":"42f19ab4686c6f56","name":"Check power","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"1.0","vt":"num"},{"t":"gt","v":"10","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":330,"y":260,"wires":[["20870c3a8431913a"],["b9cd530ed9fab1e9"]]},{"id":"80540aed.a59958","type":"server-state-changed","z":"7a34c540.8f84c4","g":"42f19ab4686c6f56","name":"Washing Power","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.plug_laundry_washing_machine_power","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":120,"y":260,"wires":[["b1547d02.33153"]]},{"id":"efb03bfd0d1b4bd5","type":"server-state-changed","z":"7a34c540.8f84c4","g":"4cc9edc269326691","name":"Washing Power <= 2 for 15 sec?","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.plug_laundry_washing_machine_power","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"2","halt_if_type":"num","halt_if_compare":"lte","outputs":2,"output_only_on_state_change":true,"for":"15","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":400,"wires":[["bd1f2febfbdb9e24"],[]]},{"id":"a2597efd6f2591b8","type":"server-state-changed","z":"7a34c540.8f84c4","g":"4cc9edc269326691","name":"Washing Power == 0 for 5 sec?","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.plug_laundry_washing_machine_power","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"0","halt_if_type":"num","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"for":"5","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":460,"wires":[["e2ef50a7acf0c470"],[]]},{"id":"bd1f2febfbdb9e24","type":"api-current-state","z":"7a34c540.8f84c4","g":"4cc9edc269326691","name":"Has the washing machine been running?","server":"7742f894.e9abc8","version":3,"outputs":2,"halt_if":"Running","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":540,"y":400,"wires":[["ae923e3bc6c72f49"],[]]},{"id":"0c89294c758a3482","type":"api-current-state","z":"7a34c540.8f84c4","g":"71b5713194147431","name":"State is clean?","server":"7742f894.e9abc8","version":3,"outputs":2,"halt_if":"Clean","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":420,"y":940,"wires":[["dfff4ceb6964683b"],[]]},{"id":"1e19060208f1be16","type":"switch","z":"7a34c540.8f84c4","g":"e636c328204c1f50","name":"Stop message wash ready?","property":"payload.event.action","propertyType":"msg","rules":[{"t":"eq","v":"RESET_WAS_READY_MESSAGE","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":380,"y":1040,"wires":[["40a42484239b62ce"]]},{"id":"7301a7f2191cada6","type":"delay","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"30","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":180,"y":600,"wires":[["4085f2ac25da12b1"]]},{"id":"2df0a6f29c1b110e","type":"api-current-state","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Is state clean?","server":"7742f894.e9abc8","version":3,"outputs":2,"halt_if":"Clean","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":580,"y":600,"wires":[["e6e940900334e41a","79b3d9ad9990d29a"],["d1c033775e5a801f"]]},{"id":"d1c033775e5a801f","type":"change","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":470,"y":680,"wires":[["4085f2ac25da12b1"]]},{"id":"6de1e262a9507c51","type":"link out","z":"7a34c540.8f84c4","g":"4cc9edc269326691","name":"Washing machine ready notifications","mode":"link","links":["c08e4cfc9019f690"],"x":1115,"y":400,"wires":[]},{"id":"c08e4cfc9019f690","type":"link in","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"","links":["6de1e262a9507c51"],"x":55,"y":600,"wires":[["7301a7f2191cada6"]]},{"id":"4085f2ac25da12b1","type":"looptimer","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","duration":"30","units":"Minute","maxloops":"5","maxtimeout":"1","maxtimeoutunits":"Hour","name":"","x":380,"y":600,"wires":[["2df0a6f29c1b110e"],[]]},{"id":"ae923e3bc6c72f49","type":"api-call-service","z":"7a34c540.8f84c4","g":"4cc9edc269326691","name":"Set state to clean","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.washing_machine_status"],"data":"{\"option\":\"Clean\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":890,"y":400,"wires":[["6de1e262a9507c51"]]},{"id":"e2ef50a7acf0c470","type":"api-call-service","z":"7a34c540.8f84c4","g":"4cc9edc269326691","name":"Set power state of washing machine to off","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_off","areaId":[],"deviceId":[],"entityId":["input_boolean.washing_machine_on"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":550,"y":460,"wires":[["bd1f2febfbdb9e24"]]},{"id":"20870c3a8431913a","type":"api-call-service","z":"7a34c540.8f84c4","g":"42f19ab4686c6f56","name":"> 1 watt --> Set power state of washing machine to on","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_on","areaId":[],"deviceId":[],"entityId":["input_boolean.washing_machine_on"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":660,"y":240,"wires":[[]]},{"id":"b9cd530ed9fab1e9","type":"api-call-service","z":"7a34c540.8f84c4","g":"42f19ab4686c6f56","name":"> 10 watt --> Set washing machine state running","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.washing_machine_status"],"data":"{\"option\":\"Running\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":650,"y":300,"wires":[[]]},{"id":"7e0a3b5bebcf5b51","type":"server-state-changed","z":"7a34c540.8f84c4","g":"71b5713194147431","name":"Door washing machine opened?","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.contact_switch_washing_machine_door_contact","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":940,"wires":[["0c89294c758a3482"],[]]},{"id":"dfff4ceb6964683b","type":"api-call-service","z":"7a34c540.8f84c4","g":"71b5713194147431","name":"Set state to Idle","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.washing_machine_status"],"data":"{\"option\":\"Idle\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":640,"y":940,"wires":[[]]},{"id":"bb992421c111639f","type":"server-events","z":"7a34c540.8f84c4","g":"e636c328204c1f50","name":"Notify app action","server":"7742f894.e9abc8","version":2,"eventType":"mobile_app_notification_action","exposeToHomeAssistant":false,"eventData":"","haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"event_type":"","x":120,"y":1040,"wires":[["1e19060208f1be16"]]},{"id":"40a42484239b62ce","type":"api-call-service","z":"7a34c540.8f84c4","g":"e636c328204c1f50","name":"Set state to Idle","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.washing_machine_status"],"data":"{\"option\":\"Idle\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":660,"y":1040,"wires":[[]]},{"id":"9444aecf067e76b9","type":"server-state-changed","z":"7a34c540.8f84c4","g":"a2c73fa50cb2a32b","name":"Washing Machine Plug; ON","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.washing_machine_bypass","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":160,"y":100,"wires":[["458134322f952984"],["74b1b0fb3c2e322b"]]},{"id":"458134322f952984","type":"api-call-service","z":"7a34c540.8f84c4","g":"a2c73fa50cb2a32b","name":"Washing Machine: ON","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"switch","service":"turn_on","areaId":[],"deviceId":[],"entityId":["switch.plug_laundry_washing_machine"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":420,"y":60,"wires":[[]]},{"id":"74b1b0fb3c2e322b","type":"api-call-service","z":"7a34c540.8f84c4","g":"a2c73fa50cb2a32b","name":"Washing Machine Plug: OFF","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"switch","service":"turn_off","areaId":[],"deviceId":[],"entityId":["switch.plug_laundry_washing_machine"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":440,"y":140,"wires":[[]]},{"id":"559f35ec3ef28ce5","type":"api-render-template","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Anouncement","server":"7742f894.e9abc8","version":0,"template":"\n\"Washing Machine is finished\"\n","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":1120,"y":740,"wires":[["2a2d2b68c76f243d"]]},{"id":"2a2d2b68c76f243d","type":"change","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Set Alexa Attributes","rules":[{"t":"set","p":"volume","pt":"flow","to":"0.4","tot":"str"},{"t":"set","p":"target","pt":"global","to":"media_player.office_echo_dot","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":160,"y":780,"wires":[["7f48182b740af734"]]},{"id":"2de81beb398a9b5b","type":"template","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Alexa device - Template","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"data\": \n    {\n    \"message\": \"{{ payload.data.message}}\",\n    \"target\": \"{{ payload.data.target }}\",\n    \"data\": {\n        \"type\": \"tts\"\n            }\n    }\n}    ","output":"json","x":650,"y":780,"wires":[["0e4680ce7ec8c26a","fa20e9d668aa9820","63d253784409287b"]]},{"id":"7f48182b740af734","type":"function","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Create Alexa Alert","func":"\nvar target = global.get('target')\nvar message = msg.payload \n\nvar payload = \n{\n \"data\":\n    {\n    \"target\": `${target}`,\n    \"message\": `${message}`\n    }\n}\nmsg.payload = payload\nmsg.topic = `${target}`\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":410,"y":780,"wires":[["2de81beb398a9b5b"]]},{"id":"63d253784409287b","type":"api-call-service","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Alexa - Notification - Living Room","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_craig_s_fire_tv_cube","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":200,"y":840,"wires":[[]]},{"id":"fa20e9d668aa9820","type":"api-call-service","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Alexa - Notification - Bedroom","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_bedroom","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":570,"y":840,"wires":[[]]},{"id":"0e4680ce7ec8c26a","type":"api-call-service","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Alexa - Notification - Office","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_office_show","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":920,"y":840,"wires":[[]]},{"id":"e6e940900334e41a","type":"api-call-service","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Washing Machine: Turn OFF","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_off","areaId":[],"deviceId":[],"entityId":["input_boolean.washing_machine_bypass"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":860,"y":640,"wires":[[]]},{"id":"79b3d9ad9990d29a","type":"api-call-service","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Send notify - Craig","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_craigs_iphone","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\":\" The laundry is ready\",\"title\":\"Washing Machine\",\"data\":{\"actions\":[{\"action\":\"RESET_WAS_READY_MESSAGE\",\"title\":\" Ignore message\"}]}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":830,"y":560,"wires":[["be72ef206290c06f"]]},{"id":"be72ef206290c06f","type":"api-call-service","z":"7a34c540.8f84c4","g":"7493e29d52810a7e","name":"Send notify - Lizzie","server":"db81808033d2498f","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_lizzie_iphone","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\":\" The laundry is ready\",\"title\":\"Washing Machine\",\"data\":{\"actions\":[{\"action\":\"RESET_WAS_READY_MESSAGE\",\"title\":\" Ignore message\"}]}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1070,"y":560,"wires":[["559f35ec3ef28ce5"]]},{"id":"7742f894.e9abc8","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true},{"id":"db81808033d2498f","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"id","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]