Okay, now I understand.
Thank you, I think this is a brilliant idea.
I build a sequence to test it:
[{"id":"852f9f8b.753fc8","type":"change","z":"aac14499.e7214","name":"Convert l/h to l/min","rules":[{"t":"set","p":"payload","pt":"msg","to":"(payload/60)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":370,"y":1620,"wires":[["3b130fe1.1cd2a","c885fe5e.9d9ca"]]},{"id":"2978a318.54ae3c","type":"inject","z":"aac14499.e7214","name":"","topic":"","payload":"2564.12554788252","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":1540,"wires":[["852f9f8b.753fc8"]]},{"id":"1542bbc4.5f6d5c","type":"inject","z":"aac14499.e7214","name":"","topic":"","payload":"1641.1554525145","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":1580,"wires":[["852f9f8b.753fc8"]]},{"id":"15ec6ebd.7428b9","type":"inject","z":"aac14499.e7214","name":"","topic":"","payload":"636.71736823488","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":1620,"wires":[["852f9f8b.753fc8"]]},{"id":"ecbab304.018918","type":"inject","z":"aac14499.e7214","name":"","topic":"","payload":"241.569841254452","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":1660,"wires":[["852f9f8b.753fc8"]]},{"id":"35de990.e6e9668","type":"inject","z":"aac14499.e7214","name":"","topic":"","payload":"53.256478125564","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":1700,"wires":[["852f9f8b.753fc8"]]},{"id":"3b130fe1.1cd2a","type":"debug","z":"aac14499.e7214","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":570,"y":1540,"wires":[]},{"id":"c885fe5e.9d9ca","type":"switch","z":"aac14499.e7214","name":"If flowrate is","property":"payload","propertyType":"msg","rules":[{"t":"gte","v":"30","vt":"num"},{"t":"btwn","v":"15","vt":"num","v2":"30","v2t":"num"},{"t":"btwn","v":"5","vt":"num","v2":"15","v2t":"num"},{"t":"btwn","v":"3","vt":"num","v2":"5","v2t":"num"},{"t":"btwn","v":"2","vt":"num","v2":"3","v2t":"num"},{"t":"btwn","v":"1","vt":"num","v2":"2","v2t":"num"},{"t":"lte","v":"1","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":570,"y":1620,"wires":[["15a2cf0d.142c01"],["e59ed7e4.d3c218"],["96c13357.dbaed8"],["9025ed60.a78868"],["ded45f29.9186b8"],["f707cd0.01e9a3"],["76a9065c.f2bf3"]]},{"id":"15a2cf0d.142c01","type":"trigger","z":"aac14499.e7214","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"2","extend":true,"units":"s","reset":"","bytopic":"all","name":">=30 then send payload, wait 2 seconds for timer reset, otherwise send \"0\"","x":970,"y":1500,"wires":[["86fab700.28f94"]]},{"id":"e59ed7e4.d3c218","type":"trigger","z":"aac14499.e7214","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"4","extend":true,"units":"s","reset":"","bytopic":"all","name":"15-30 then send payload, wait 4 seconds for timer reset, otherwise send \"0\"","x":970,"y":1540,"wires":[["86fab700.28f94"]]},{"id":"96c13357.dbaed8","type":"trigger","z":"aac14499.e7214","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"8","extend":true,"units":"s","reset":"","bytopic":"all","name":"5-15 then send payload, wait 8 seconds for timer reset, otherwise send \"0\"","x":970,"y":1580,"wires":[["86fab700.28f94"]]},{"id":"86fab700.28f94","type":"debug","z":"aac14499.e7214","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1370,"y":1620,"wires":[]},{"id":"9025ed60.a78868","type":"trigger","z":"aac14499.e7214","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"12","extend":true,"units":"s","reset":"","bytopic":"all","name":"3-5 then send payload, wait 12 seconds for timer reset, otherwise send \"0\"","x":970,"y":1620,"wires":[["86fab700.28f94"]]},{"id":"ded45f29.9186b8","type":"trigger","z":"aac14499.e7214","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"17","extend":true,"units":"s","reset":"","bytopic":"all","name":"2-3 then send payload, wait 17 seconds for timer reset, otherwise send \"0\"","x":970,"y":1660,"wires":[["86fab700.28f94"]]},{"id":"f707cd0.01e9a3","type":"trigger","z":"aac14499.e7214","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"32","extend":true,"units":"s","reset":"","bytopic":"all","name":"1-2 then send payload, wait 32 seconds for timer reset, otherwise send \"0\"","x":970,"y":1700,"wires":[["86fab700.28f94"]]},{"id":"76a9065c.f2bf3","type":"trigger","z":"aac14499.e7214","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"60","extend":true,"units":"s","reset":"","bytopic":"all","name":"<=1 then send payload, wait 60 seconds for timer reset, otherwise send \"0\"","x":970,"y":1740,"wires":[["86fab700.28f94"]]},{"id":"15439a28.dcea5e","type":"comment","z":"aac14499.e7214","name":"Setting Flowrate to Zero when no new impulse comes","info":"","x":240,"y":1500,"wires":[]}]
It seems to work, but I found one issue.
If one clicks on different inject nodes without waiting for another timer has finished, then it sends Zeros where in reality there is no zero flowrate.
This happens in reality when the flowrate is changing.
Any idea to block or bypass this behaviour?
Thanks and best regards,
Chris