Distraction Free
Use this flow when you need to group notifications in a specific time window. This prevent you from recieving notifications all the time and then keep you focused on important tasks
[{"id":"419d77b0.2125c8","type":"http in","z":"fadae125.153d8","name":"","url":"/notif","method":"get","upload":false,"swaggerDoc":"","x":130,"y":1540,"wires":[["e8977f2e.6808b","bd5fcb5a.2b2f18"]]},{"id":"e8977f2e.6808b","type":"http response","z":"fadae125.153d8","name":"","statusCode":"200","headers":{},"x":310,"y":1500,"wires":[]},{"id":"80d30c32.60511","type":"delay","z":"fadae125.153d8","name":"","pauseType":"delay","timeout":"15","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":510,"y":1600,"wires":[["9f639df.da1986"]]},{"id":"bd5fcb5a.2b2f18","type":"time-range-switch","z":"fadae125.153d8","name":"time-range-switch","lat":"38.3007","lon":"-76.50496","startTime":"18:25","endTime":"16:26","startOffset":0,"endOffset":0,"x":350,"y":1540,"wires":[[],["dc3dd5c3.85daa8","80d30c32.60511"]]},{"id":"dc3dd5c3.85daa8","type":"debug","z":"fadae125.153d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":455,"y":1640,"wires":[],"l":false},{"id":"3ab998b8.7cb3b8","type":"link in","z":"fadae125.153d8","name":"","links":["9f639df.da1986"],"x":235,"y":1600,"wires":[["bd5fcb5a.2b2f18"]]},{"id":"9f639df.da1986","type":"link out","z":"fadae125.153d8","name":"","links":["3ab998b8.7cb3b8"],"x":615,"y":1600,"wires":[]},{"id":"f05b3d86.38af5","type":"comment","z":"fadae125.153d8","name":"continue flow","info":"","x":550,"y":1540,"wires":[]}]