Multiple physical buttons GPIO - only one push button at a time + RGB strip and relays sequence with variable delays

Screen Shot 2022-10-29 at 3.52.12 AM
TOP IMAGE: Flow I provided
BOTTOM IMAGE: Your flow

Do you notice a difference in the wiring between my flow and yours? Take a look, examine the trigger node and see if you can explain why there is a difference.

Thank you and I examin that but in fact there are differences

I know there are differences. What I want you to figure out and understand what they are so let me ask you some questions.

  1. what difference do you see in the two images - be specific
  2. look at the settings of the timer node and tell me what the two output nodes do

I send you code with some changes and now the relays are working with RGB lights but they are not shotdown. Next relays and RG lights are overlap.
When I connect the nodes which you show on top image with crossing connection to relay 1 and relay 2 they don't work and they don't shotdown

[{"id":"d3c5a098e31a8197","type":"tab","label":"Flow 4","disabled":false,"info":"","env":[]},{"id":"aa28dcd62d2594ed","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 11 - Yellow Button","pin":"11","intype":"tri","debounce":"100","read":false,"bcm":true,"x":220,"y":160,"wires":[["e5b677b45e22b0eb"]]},{"id":"385c46cacb16a2de","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 14 - Blue Button","pin":"14","intype":"tri","debounce":"100","read":false,"bcm":true,"x":220,"y":240,"wires":[["c12bef46db99d7ed"]]},{"id":"cbe2d15907090351","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 15 - Red Button","pin":"15","intype":"tri","debounce":"100","read":false,"bcm":true,"x":220,"y":320,"wires":[["f1d2cb8848fff7d5"]]},{"id":"b271497a7f24a41d","type":"debug","z":"d3c5a098e31a8197","name":"relay 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1230,"y":240,"wires":[]},{"id":"960a8d02ab062bf9","type":"debug","z":"d3c5a098e31a8197","name":"relay 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1230,"y":300,"wires":[]},{"id":"2c0402934caeea5e","type":"switch","z":"d3c5a098e31a8197","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"yellow","vt":"str"},{"t":"eq","v":"blue","vt":"str"},{"t":"eq","v":"red","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":870,"y":240,"wires":[["edfd7d4c17621f20","896820eb684084ff"],["b271497a7f24a41d"],["960a8d02ab062bf9"]]},{"id":"9f798fb32b25e613","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"","op2":"","op1type":"pay","op2type":"nul","duration":"20","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":670,"y":220,"wires":[["2c0402934caeea5e","998d88a71351d13d"]]},{"id":"edfd7d4c17621f20","type":"link out","z":"d3c5a098e31a8197","name":"Yellow process","mode":"link","links":["0275a027facdae27"],"x":1240,"y":180,"wires":[],"l":true},{"id":"f6963577c8444205","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":620,"y":440,"wires":[["478eb20775252fb5","ed7bb4e67bc0383a"],["1a2ab29e73a1a1cf","478eb20775252fb5","ed7bb4e67bc0383a"]]},{"id":"1a2ab29e73a1a1cf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":620,"y":600,"wires":[["18d16612f3a78f5c","35a2638d8977810a"],["aa5fdf5c2329347c","18d16612f3a78f5c","35a2638d8977810a"]]},{"id":"aa5fdf5c2329347c","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":600,"y":740,"wires":[["efb9545b5acf584f","ddf172436f6cd8df"],["ddf172436f6cd8df","efb9545b5acf584f","d53266dd3f104fbf"]]},{"id":"896820eb684084ff","type":"debug","z":"d3c5a098e31a8197","name":"debug 6","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1160,"y":120,"wires":[]},{"id":"998d88a71351d13d","type":"debug","z":"d3c5a098e31a8197","name":"debug 7","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":900,"y":120,"wires":[]},{"id":"0275a027facdae27","type":"link in","z":"d3c5a098e31a8197","name":"Yellow steps","links":["edfd7d4c17621f20"],"x":430,"y":440,"wires":[["f6963577c8444205"]],"l":true},{"id":"89e743dac3c7e99e","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 18 - 1 relay","pin":"18","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1190,"y":420,"wires":[]},{"id":"2bd41c0f5e75b0ec","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1180,"y":500,"wires":[]},{"id":"4b00923ae52c103c","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1180,"y":580,"wires":[]},{"id":"b0915a2b99a0aa4d","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1190,"y":640,"wires":[]},{"id":"6d4d43a58a010d92","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1180,"y":720,"wires":[]},{"id":"e9209b0c5164c904","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1190,"y":800,"wires":[]},{"id":"d0764df669ce1c53","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1190,"y":880,"wires":[]},{"id":"d53266dd3f104fbf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":620,"y":940,"wires":[["be5a30cc941bac9e","34c287e7c9670f9c"],["be5a30cc941bac9e","34c287e7c9670f9c"]]},{"id":"f7f7506a061de8bb","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1190,"y":1140,"wires":[]},{"id":"fcda6f55c25ad033","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1190,"y":1080,"wires":[]},{"id":"301f34ca48545c63","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 16 - 11 relay","pin":"16","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1190,"y":1020,"wires":[]},{"id":"27702bffc9371361","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 12 - 10 relay","pin":"12","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1190,"y":960,"wires":[]},{"id":"0e081b235d5a9fb1","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1190,"y":1200,"wires":[]},{"id":"e5b677b45e22b0eb","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"yellow","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":160,"wires":[["9f798fb32b25e613"]]},{"id":"c12bef46db99d7ed","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"blue","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":240,"wires":[["9f798fb32b25e613"]]},{"id":"f1d2cb8848fff7d5","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":320,"wires":[["9f798fb32b25e613"]]},{"id":"478eb20775252fb5","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":920,"y":380,"wires":[["89e743dac3c7e99e"]]},{"id":"ed7bb4e67bc0383a","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":920,"y":480,"wires":[["2bd41c0f5e75b0ec"]]},{"id":"18d16612f3a78f5c","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":920,"y":560,"wires":[["4b00923ae52c103c"]]},{"id":"35a2638d8977810a","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":920,"y":620,"wires":[["b0915a2b99a0aa4d"]]},{"id":"efb9545b5acf584f","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":920,"y":720,"wires":[["6d4d43a58a010d92","e9209b0c5164c904"]]},{"id":"ddf172436f6cd8df","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":920,"y":800,"wires":[["d0764df669ce1c53"]]},{"id":"be5a30cc941bac9e","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":920,"y":900,"wires":[["27702bffc9371361","301f34ca48545c63","fcda6f55c25ad033","f7f7506a061de8bb"]]},{"id":"34c287e7c9670f9c","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":920,"y":1000,"wires":[["0e081b235d5a9fb1"]]}]

It looks like that there are missing some close / reset nodes which return each realy / RGB lights node to previous status after going through the steps of the sequence

I also send the flow with cross connections which don't work.

[{"id":"a3405e719cceddb4","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"d230ce309cf90932","type":"rpi-gpio in","z":"a3405e719cceddb4","name":"GPIO 11 - Yellow Button","pin":"11","intype":"tri","debounce":"100","read":false,"bcm":true,"x":780,"y":360,"wires":[["1f1dcfda6e1b69b8"]]},{"id":"ff2144e1cff931f8","type":"rpi-gpio in","z":"a3405e719cceddb4","name":"GPIO 14 - Blue Button","pin":"14","intype":"tri","debounce":"100","read":false,"bcm":true,"x":780,"y":440,"wires":[["74c23f4bebdfe07d"]]},{"id":"d3e0c691a2f85b5a","type":"rpi-gpio in","z":"a3405e719cceddb4","name":"GPIO 15 - Red Button","pin":"15","intype":"tri","debounce":"100","read":false,"bcm":true,"x":780,"y":520,"wires":[["82fa5cbf52d48f7d"]]},{"id":"dcfc8ac41d35ca81","type":"debug","z":"a3405e719cceddb4","name":"relay 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1790,"y":440,"wires":[]},{"id":"2db45ee99a201928","type":"debug","z":"a3405e719cceddb4","name":"relay 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1790,"y":500,"wires":[]},{"id":"bc36cc2b97dd2da9","type":"switch","z":"a3405e719cceddb4","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"yellow","vt":"str"},{"t":"eq","v":"blue","vt":"str"},{"t":"eq","v":"red","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":1430,"y":440,"wires":[["e4f0f44fd93ea9a0","e8c34c271fea8ac7"],["dcfc8ac41d35ca81"],["2db45ee99a201928"]]},{"id":"2c747483bfd23f05","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"","op2":"","op1type":"pay","op2type":"nul","duration":"20","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1230,"y":420,"wires":[["bc36cc2b97dd2da9","198b64505e1b6015"]]},{"id":"e4f0f44fd93ea9a0","type":"link out","z":"a3405e719cceddb4","name":"Yellow process","mode":"link","links":["300eac26ff3c8e2a"],"x":1800,"y":380,"wires":[],"l":true},{"id":"6a361aacdbb687f7","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1180,"y":640,"wires":[["70a468bdc1d24805","a44ae7715f33e2e4"],["9a8e6995d0fcb933","70a468bdc1d24805","a44ae7715f33e2e4"]]},{"id":"9a8e6995d0fcb933","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1180,"y":800,"wires":[["d5d76b36fc482021","1cbfb2bd20b30a42"],["25e2f5425460e0da","d5d76b36fc482021","1cbfb2bd20b30a42"]]},{"id":"25e2f5425460e0da","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1160,"y":940,"wires":[["d7ac71c5f7c5c439","ac46f9d7babd80a2","1e96b1e0dda901c6"],["b3565da345fd17de","d7ac71c5f7c5c439","ac46f9d7babd80a2","1e96b1e0dda901c6"]]},{"id":"e8c34c271fea8ac7","type":"debug","z":"a3405e719cceddb4","name":"debug 8","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1720,"y":320,"wires":[]},{"id":"198b64505e1b6015","type":"debug","z":"a3405e719cceddb4","name":"debug 9","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1460,"y":320,"wires":[]},{"id":"300eac26ff3c8e2a","type":"link in","z":"a3405e719cceddb4","name":"Yellow steps","links":["e4f0f44fd93ea9a0"],"x":990,"y":640,"wires":[["6a361aacdbb687f7"]],"l":true},{"id":"70a468bdc1d24805","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 18 - 1 relay","pin":"18","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":600,"wires":[]},{"id":"a44ae7715f33e2e4","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1500,"y":700,"wires":[]},{"id":"d5d76b36fc482021","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1500,"y":780,"wires":[]},{"id":"1cbfb2bd20b30a42","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1510,"y":840,"wires":[]},{"id":"d7ac71c5f7c5c439","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1500,"y":920,"wires":[]},{"id":"ac46f9d7babd80a2","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1000,"wires":[]},{"id":"1e96b1e0dda901c6","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1510,"y":1080,"wires":[]},{"id":"b3565da345fd17de","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1180,"y":1140,"wires":[["abcf8b4c41f36b3f","4d4d515e5b924cf3","bcbdf7888581beac","a6b7aa3cec6c06f6","2aa354a6dc2a04d9"],["abcf8b4c41f36b3f","4d4d515e5b924cf3","bcbdf7888581beac","a6b7aa3cec6c06f6","2aa354a6dc2a04d9"]]},{"id":"a6b7aa3cec6c06f6","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1340,"wires":[]},{"id":"bcbdf7888581beac","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1280,"wires":[]},{"id":"4d4d515e5b924cf3","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 16 - 11 relay","pin":"16","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1220,"wires":[]},{"id":"abcf8b4c41f36b3f","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 12 - 10 relay","pin":"12","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1160,"wires":[]},{"id":"2aa354a6dc2a04d9","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1510,"y":1400,"wires":[]},{"id":"1f1dcfda6e1b69b8","type":"change","z":"a3405e719cceddb4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"yellow","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1020,"y":360,"wires":[["2c747483bfd23f05"]]},{"id":"74c23f4bebdfe07d","type":"change","z":"a3405e719cceddb4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"blue","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1020,"y":440,"wires":[["2c747483bfd23f05"]]},{"id":"82fa5cbf52d48f7d","type":"change","z":"a3405e719cceddb4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1020,"y":520,"wires":[["2c747483bfd23f05"]]}]

It works!
I put the code with working sequence where relays works and RGB lights works. Now I will add the Blue button and Red button and see how it works with 3 buttons

[{"id":"d3c5a098e31a8197","type":"tab","label":"Flow 4","disabled":false,"info":"","env":[]},{"id":"aa28dcd62d2594ed","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 11 - Yellow Button","pin":"11","intype":"tri","debounce":"100","read":false,"bcm":true,"x":220,"y":160,"wires":[["e5b677b45e22b0eb"]]},{"id":"385c46cacb16a2de","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 14 - Blue Button","pin":"14","intype":"tri","debounce":"100","read":false,"bcm":true,"x":220,"y":240,"wires":[["c12bef46db99d7ed"]]},{"id":"cbe2d15907090351","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 15 - Red Button","pin":"15","intype":"tri","debounce":"100","read":false,"bcm":true,"x":220,"y":320,"wires":[["f1d2cb8848fff7d5"]]},{"id":"b271497a7f24a41d","type":"debug","z":"d3c5a098e31a8197","name":"relay 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1230,"y":240,"wires":[]},{"id":"960a8d02ab062bf9","type":"debug","z":"d3c5a098e31a8197","name":"relay 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1230,"y":300,"wires":[]},{"id":"2c0402934caeea5e","type":"switch","z":"d3c5a098e31a8197","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"yellow","vt":"str"},{"t":"eq","v":"blue","vt":"str"},{"t":"eq","v":"red","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":870,"y":240,"wires":[["edfd7d4c17621f20","896820eb684084ff"],["b271497a7f24a41d"],["960a8d02ab062bf9"]]},{"id":"9f798fb32b25e613","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"","op2":"","op1type":"pay","op2type":"nul","duration":"20","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":670,"y":220,"wires":[["2c0402934caeea5e","998d88a71351d13d"]]},{"id":"edfd7d4c17621f20","type":"link out","z":"d3c5a098e31a8197","name":"Yellow process","mode":"link","links":["0275a027facdae27"],"x":1240,"y":180,"wires":[],"l":true},{"id":"f6963577c8444205","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":620,"y":440,"wires":[["478eb20775252fb5","ed7bb4e67bc0383a"],["1a2ab29e73a1a1cf"]]},{"id":"1a2ab29e73a1a1cf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":620,"y":600,"wires":[["18d16612f3a78f5c","35a2638d8977810a"],["aa5fdf5c2329347c"]]},{"id":"aa5fdf5c2329347c","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":620,"y":780,"wires":[["efb9545b5acf584f","ddf172436f6cd8df"],["d53266dd3f104fbf"]]},{"id":"896820eb684084ff","type":"debug","z":"d3c5a098e31a8197","name":"debug 6","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1160,"y":120,"wires":[]},{"id":"998d88a71351d13d","type":"debug","z":"d3c5a098e31a8197","name":"debug 7","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":900,"y":120,"wires":[]},{"id":"0275a027facdae27","type":"link in","z":"d3c5a098e31a8197","name":"Yellow steps","links":["edfd7d4c17621f20"],"x":430,"y":440,"wires":[["f6963577c8444205"]],"l":true},{"id":"89e743dac3c7e99e","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 18 - 1 relay","pin":"18","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1390,"y":380,"wires":[]},{"id":"2bd41c0f5e75b0ec","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1380,"y":480,"wires":[]},{"id":"4b00923ae52c103c","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1380,"y":560,"wires":[]},{"id":"b0915a2b99a0aa4d","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1390,"y":620,"wires":[]},{"id":"6d4d43a58a010d92","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1380,"y":700,"wires":[]},{"id":"e9209b0c5164c904","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1390,"y":780,"wires":[]},{"id":"d0764df669ce1c53","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1390,"y":860,"wires":[]},{"id":"d53266dd3f104fbf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":620,"y":960,"wires":[["be5a30cc941bac9e","34c287e7c9670f9c"],[]]},{"id":"f7f7506a061de8bb","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1390,"y":1120,"wires":[]},{"id":"fcda6f55c25ad033","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1390,"y":1060,"wires":[]},{"id":"301f34ca48545c63","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 16 - 11 relay","pin":"16","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1390,"y":1000,"wires":[]},{"id":"27702bffc9371361","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 12 - 10 relay","pin":"12","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1390,"y":940,"wires":[]},{"id":"0e081b235d5a9fb1","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1390,"y":1180,"wires":[]},{"id":"e5b677b45e22b0eb","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"yellow","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":160,"wires":[["9f798fb32b25e613"]]},{"id":"c12bef46db99d7ed","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"blue","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":240,"wires":[["9f798fb32b25e613"]]},{"id":"f1d2cb8848fff7d5","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":320,"wires":[["9f798fb32b25e613"]]},{"id":"478eb20775252fb5","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":380,"wires":[["0d6f994c469e978f"]]},{"id":"ed7bb4e67bc0383a","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":480,"wires":[["932bb6622b27f8a4"]]},{"id":"18d16612f3a78f5c","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":560,"wires":[["6de889c5ec13ed5d"]]},{"id":"35a2638d8977810a","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":620,"wires":[["ba53050f9bdd17e4"]]},{"id":"efb9545b5acf584f","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":700,"wires":[["21855002994733df"]]},{"id":"ddf172436f6cd8df","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":780,"wires":[["942e1270dd9748a7"]]},{"id":"be5a30cc941bac9e","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":960,"wires":[["03828baf832ae747"]]},{"id":"34c287e7c9670f9c","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":1060,"wires":[["9c48b357e3c1a1b7"]]},{"id":"0d6f994c469e978f","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1120,"y":380,"wires":[["89e743dac3c7e99e"]]},{"id":"932bb6622b27f8a4","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1120,"y":480,"wires":[["2bd41c0f5e75b0ec"]]},{"id":"6de889c5ec13ed5d","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1120,"y":560,"wires":[["4b00923ae52c103c"]]},{"id":"ba53050f9bdd17e4","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1120,"y":620,"wires":[["b0915a2b99a0aa4d"]]},{"id":"21855002994733df","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1120,"y":700,"wires":[["6d4d43a58a010d92","e9209b0c5164c904"]]},{"id":"942e1270dd9748a7","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1120,"y":780,"wires":[["d0764df669ce1c53"]]},{"id":"03828baf832ae747","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1100,"y":960,"wires":[["27702bffc9371361","301f34ca48545c63","fcda6f55c25ad033","f7f7506a061de8bb"]]},{"id":"9c48b357e3c1a1b7","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1100,"y":1060,"wires":[["0e081b235d5a9fb1"]]}]

You are making this too complicated! If you want a 10 second delay, change the time in the first trigger node and change what you want to send.


You now have

  • a trigger node (1) that sends msg.payload as boolean true out the top wire, waits 5 seconds and sends a boolean 'false' out the bottom wire
  • the msg going out the top wire goes to a change node (2) that sets msg.payload to a string '0'
  • it then goes to another trigger node (3) that sends out a string '0' waits 5 seconds and sends out a string '1'

The same is happening on the second wire going to (4) and (5)

  1. there is no need for the change node since you set msg.payload in the trigger node
  2. use the second output to send a msg to the gpio nodes AND the next trigger.
    Doing this will clean up your code and make it easier to maintain in the future.

If the GPIO nodes need a 1 and 0

You are right that with more nodes it is more complicated but when the tests are only done virtually it is working with your diagram but when I have run it physically unfortunately it doesn't work.
I have just tested a few times and when I set first "global" trigger node for 20 seconds and
the remaining trigger nodes to appropriate times it show on stopwatch exactly 20 seconds.
I also put code which you marked but in this case it doesn't work.

[{"id":"a3405e719cceddb4","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"d230ce309cf90932","type":"rpi-gpio in","z":"a3405e719cceddb4","name":"GPIO 11 - Yellow Button","pin":"11","intype":"tri","debounce":"100","read":false,"bcm":true,"x":780,"y":360,"wires":[["1f1dcfda6e1b69b8"]]},{"id":"ff2144e1cff931f8","type":"rpi-gpio in","z":"a3405e719cceddb4","name":"GPIO 14 - Blue Button","pin":"14","intype":"tri","debounce":"100","read":false,"bcm":true,"x":780,"y":440,"wires":[["74c23f4bebdfe07d"]]},{"id":"d3e0c691a2f85b5a","type":"rpi-gpio in","z":"a3405e719cceddb4","name":"GPIO 15 - Red Button","pin":"15","intype":"tri","debounce":"100","read":false,"bcm":true,"x":780,"y":520,"wires":[["82fa5cbf52d48f7d"]]},{"id":"dcfc8ac41d35ca81","type":"debug","z":"a3405e719cceddb4","name":"relay 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1790,"y":440,"wires":[]},{"id":"2db45ee99a201928","type":"debug","z":"a3405e719cceddb4","name":"relay 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1790,"y":500,"wires":[]},{"id":"bc36cc2b97dd2da9","type":"switch","z":"a3405e719cceddb4","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"yellow","vt":"str"},{"t":"eq","v":"blue","vt":"str"},{"t":"eq","v":"red","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":1430,"y":440,"wires":[["e4f0f44fd93ea9a0","e8c34c271fea8ac7"],["dcfc8ac41d35ca81"],["2db45ee99a201928"]]},{"id":"2c747483bfd23f05","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"","op2":"","op1type":"pay","op2type":"nul","duration":"20","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1230,"y":420,"wires":[["bc36cc2b97dd2da9","198b64505e1b6015"]]},{"id":"e4f0f44fd93ea9a0","type":"link out","z":"a3405e719cceddb4","name":"Yellow process","mode":"link","links":["300eac26ff3c8e2a"],"x":1800,"y":380,"wires":[],"l":true},{"id":"6a361aacdbb687f7","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1180,"y":640,"wires":[["70a468bdc1d24805","a44ae7715f33e2e4"],["9a8e6995d0fcb933","70a468bdc1d24805","a44ae7715f33e2e4"]]},{"id":"9a8e6995d0fcb933","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1180,"y":800,"wires":[["d5d76b36fc482021","1cbfb2bd20b30a42"],["25e2f5425460e0da","d5d76b36fc482021","1cbfb2bd20b30a42"]]},{"id":"25e2f5425460e0da","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1160,"y":940,"wires":[["d7ac71c5f7c5c439","ac46f9d7babd80a2","1e96b1e0dda901c6"],["b3565da345fd17de","d7ac71c5f7c5c439","ac46f9d7babd80a2","1e96b1e0dda901c6"]]},{"id":"e8c34c271fea8ac7","type":"debug","z":"a3405e719cceddb4","name":"debug 8","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1720,"y":320,"wires":[]},{"id":"198b64505e1b6015","type":"debug","z":"a3405e719cceddb4","name":"debug 9","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1460,"y":320,"wires":[]},{"id":"300eac26ff3c8e2a","type":"link in","z":"a3405e719cceddb4","name":"Yellow steps","links":["e4f0f44fd93ea9a0"],"x":990,"y":640,"wires":[["6a361aacdbb687f7"]],"l":true},{"id":"70a468bdc1d24805","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 18 - 1 relay","pin":"18","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":600,"wires":[]},{"id":"a44ae7715f33e2e4","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1500,"y":700,"wires":[]},{"id":"d5d76b36fc482021","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1500,"y":780,"wires":[]},{"id":"1cbfb2bd20b30a42","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1510,"y":840,"wires":[]},{"id":"d7ac71c5f7c5c439","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1500,"y":920,"wires":[]},{"id":"ac46f9d7babd80a2","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1000,"wires":[]},{"id":"1e96b1e0dda901c6","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1510,"y":1080,"wires":[]},{"id":"b3565da345fd17de","type":"trigger","z":"a3405e719cceddb4","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1180,"y":1140,"wires":[["abcf8b4c41f36b3f","4d4d515e5b924cf3","bcbdf7888581beac","a6b7aa3cec6c06f6","2aa354a6dc2a04d9"],["abcf8b4c41f36b3f","4d4d515e5b924cf3","bcbdf7888581beac","a6b7aa3cec6c06f6","2aa354a6dc2a04d9"]]},{"id":"a6b7aa3cec6c06f6","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1340,"wires":[]},{"id":"bcbdf7888581beac","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1280,"wires":[]},{"id":"4d4d515e5b924cf3","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 16 - 11 relay","pin":"16","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1220,"wires":[]},{"id":"abcf8b4c41f36b3f","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 12 - 10 relay","pin":"12","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":1510,"y":1160,"wires":[]},{"id":"2aa354a6dc2a04d9","type":"rpi-gpio out","z":"a3405e719cceddb4","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":1510,"y":1400,"wires":[]},{"id":"1f1dcfda6e1b69b8","type":"change","z":"a3405e719cceddb4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"yellow","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1020,"y":360,"wires":[["2c747483bfd23f05"]]},{"id":"74c23f4bebdfe07d","type":"change","z":"a3405e719cceddb4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"blue","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1020,"y":440,"wires":[["2c747483bfd23f05"]]},{"id":"82fa5cbf52d48f7d","type":"change","z":"a3405e719cceddb4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1020,"y":520,"wires":[["2c747483bfd23f05"]]}]

code with 3 buttons

[{"id":"d3c5a098e31a8197","type":"tab","label":"Flow 4","disabled":false,"info":"","env":[]},{"id":"aa28dcd62d2594ed","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 11 - Yellow Button","pin":"11","intype":"tri","debounce":"100","read":false,"bcm":true,"x":180,"y":940,"wires":[["e5b677b45e22b0eb"]]},{"id":"385c46cacb16a2de","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 14 - Blue Button","pin":"14","intype":"tri","debounce":"100","read":false,"bcm":true,"x":180,"y":1020,"wires":[["c12bef46db99d7ed"]]},{"id":"cbe2d15907090351","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 15 - Red Button","pin":"15","intype":"tri","debounce":"100","read":false,"bcm":true,"x":180,"y":1100,"wires":[["f1d2cb8848fff7d5"]]},{"id":"b271497a7f24a41d","type":"debug","z":"d3c5a098e31a8197","name":"relay 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1170,"y":1020,"wires":[]},{"id":"960a8d02ab062bf9","type":"debug","z":"d3c5a098e31a8197","name":"relay 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1170,"y":1140,"wires":[]},{"id":"2c0402934caeea5e","type":"switch","z":"d3c5a098e31a8197","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"yellow","vt":"str"},{"t":"eq","v":"blue","vt":"str"},{"t":"eq","v":"red","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":830,"y":1020,"wires":[["edfd7d4c17621f20","896820eb684084ff"],["b271497a7f24a41d","6475c6ed7d0967c1"],["960a8d02ab062bf9","e0469135fa400e06"]]},{"id":"9f798fb32b25e613","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"","op2":"","op1type":"pay","op2type":"nul","duration":"20","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":630,"y":1020,"wires":[["2c0402934caeea5e","998d88a71351d13d"]]},{"id":"edfd7d4c17621f20","type":"link out","z":"d3c5a098e31a8197","name":"Yellow process","mode":"link","links":["0275a027facdae27"],"x":1200,"y":960,"wires":[],"l":true},{"id":"f6963577c8444205","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1700,"y":100,"wires":[["478eb20775252fb5","ed7bb4e67bc0383a"],["1a2ab29e73a1a1cf"]]},{"id":"1a2ab29e73a1a1cf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1700,"y":260,"wires":[["18d16612f3a78f5c","35a2638d8977810a"],["aa5fdf5c2329347c"]]},{"id":"aa5fdf5c2329347c","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1700,"y":440,"wires":[["efb9545b5acf584f","ddf172436f6cd8df"],["d53266dd3f104fbf"]]},{"id":"896820eb684084ff","type":"debug","z":"d3c5a098e31a8197","name":"debug 6","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1120,"y":900,"wires":[]},{"id":"998d88a71351d13d","type":"debug","z":"d3c5a098e31a8197","name":"debug 7","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":860,"y":900,"wires":[]},{"id":"0275a027facdae27","type":"link in","z":"d3c5a098e31a8197","name":"Yellow steps","links":["edfd7d4c17621f20"],"x":1510,"y":100,"wires":[["f6963577c8444205"]],"l":true},{"id":"89e743dac3c7e99e","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 18 - 1 relay","pin":"18","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":40,"wires":[]},{"id":"2bd41c0f5e75b0ec","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2460,"y":140,"wires":[]},{"id":"b0915a2b99a0aa4d","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2470,"y":280,"wires":[]},{"id":"6d4d43a58a010d92","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2460,"y":360,"wires":[]},{"id":"e9209b0c5164c904","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":440,"wires":[]},{"id":"d0764df669ce1c53","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2470,"y":520,"wires":[]},{"id":"d53266dd3f104fbf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1700,"y":620,"wires":[["be5a30cc941bac9e","34c287e7c9670f9c"],[]]},{"id":"f7f7506a061de8bb","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":780,"wires":[]},{"id":"fcda6f55c25ad033","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":720,"wires":[]},{"id":"301f34ca48545c63","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 16 - 11 relay","pin":"16","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":660,"wires":[]},{"id":"27702bffc9371361","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 12 - 10 relay","pin":"12","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":600,"wires":[]},{"id":"0e081b235d5a9fb1","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2470,"y":840,"wires":[]},{"id":"e5b677b45e22b0eb","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"yellow","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":940,"wires":[["9f798fb32b25e613"]]},{"id":"c12bef46db99d7ed","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"blue","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":1020,"wires":[["9f798fb32b25e613"]]},{"id":"f1d2cb8848fff7d5","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":1100,"wires":[["9f798fb32b25e613"]]},{"id":"478eb20775252fb5","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":40,"wires":[["0d6f994c469e978f"]]},{"id":"ed7bb4e67bc0383a","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":140,"wires":[["932bb6622b27f8a4"]]},{"id":"18d16612f3a78f5c","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":220,"wires":[["6de889c5ec13ed5d"]]},{"id":"35a2638d8977810a","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":280,"wires":[["ba53050f9bdd17e4"]]},{"id":"efb9545b5acf584f","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":360,"wires":[["21855002994733df"]]},{"id":"ddf172436f6cd8df","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":440,"wires":[["942e1270dd9748a7"]]},{"id":"be5a30cc941bac9e","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":620,"wires":[["03828baf832ae747"]]},{"id":"34c287e7c9670f9c","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":720,"wires":[["9c48b357e3c1a1b7"]]},{"id":"0d6f994c469e978f","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":40,"wires":[["89e743dac3c7e99e"]]},{"id":"932bb6622b27f8a4","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":140,"wires":[["2bd41c0f5e75b0ec"]]},{"id":"6de889c5ec13ed5d","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":220,"wires":[["6c6aa4ef786a9719"]]},{"id":"ba53050f9bdd17e4","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":280,"wires":[["b0915a2b99a0aa4d"]]},{"id":"21855002994733df","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":360,"wires":[["6d4d43a58a010d92","e9209b0c5164c904"]]},{"id":"942e1270dd9748a7","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":440,"wires":[["d0764df669ce1c53"]]},{"id":"03828baf832ae747","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2180,"y":620,"wires":[["27702bffc9371361","301f34ca48545c63","fcda6f55c25ad033","f7f7506a061de8bb"]]},{"id":"9c48b357e3c1a1b7","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2180,"y":720,"wires":[["0e081b235d5a9fb1"]]},{"id":"6c6aa4ef786a9719","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 13 - 6 relay","pin":"13","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":220,"wires":[]},{"id":"6475c6ed7d0967c1","type":"link out","z":"d3c5a098e31a8197","name":"Blue process","mode":"link","links":["a2b99807e98dbfb2","16a9c02d31205bff"],"x":1190,"y":1080,"wires":[],"l":true},{"id":"a2b99807e98dbfb2","type":"link in","z":"d3c5a098e31a8197","name":"Blue steps","links":["6475c6ed7d0967c1"],"x":1500,"y":1080,"wires":[["e42a2d1706829426"]],"l":true},{"id":"e42a2d1706829426","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1720,"y":1080,"wires":[["2a70b6305e05c126","610a1ced20f4cd0e"],["e5eb805931aced86"]]},{"id":"e5eb805931aced86","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1720,"y":1240,"wires":[["2f0b701572363067","63a2afaeb3541b81"],["683321381f6513df"]]},{"id":"683321381f6513df","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1720,"y":1420,"wires":[["16c32594232a5ef0","e5a240b502c4d0b2"],["18cfbe6f8abce6b2"]]},{"id":"1b92bcac208faa29","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2680,"y":1140,"wires":[]},{"id":"d661e2504d0f82ac","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1240,"wires":[]},{"id":"760fc02ac4befcce","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2480,"y":1340,"wires":[]},{"id":"04d4a82d504a659e","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1420,"wires":[]},{"id":"5ca1133be500765c","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1500,"wires":[]},{"id":"18cfbe6f8abce6b2","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1720,"y":1600,"wires":[["253f17e010b933df","7bf3d943aec8fc35"],[]]},{"id":"5d2ab5ec48137e07","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1900,"wires":[]},{"id":"2a70b6305e05c126","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1020,"wires":[["b1b4141b68afa985"]]},{"id":"610a1ced20f4cd0e","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1120,"wires":[["f840f8826c40cf4a"]]},{"id":"2f0b701572363067","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1200,"wires":[["d867a0f0bd3fc6b5"]]},{"id":"63a2afaeb3541b81","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1260,"wires":[["26437b2b441843ee"]]},{"id":"16c32594232a5ef0","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1340,"wires":[["9f52f460307a4f1b"]]},{"id":"e5a240b502c4d0b2","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1420,"wires":[["1433f4f40a16d472"]]},{"id":"253f17e010b933df","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1600,"wires":[["8ecacc8d7d9b4e5c"]]},{"id":"7bf3d943aec8fc35","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1700,"wires":[["18b7ee7eed7f58e1"]]},{"id":"b1b4141b68afa985","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2220,"y":1020,"wires":[["edd256173472051d","bb7f3ebd5a0df52b"]]},{"id":"f840f8826c40cf4a","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2220,"y":1120,"wires":[["8ea44280d8a12fa1","1b92bcac208faa29"]]},{"id":"d867a0f0bd3fc6b5","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2220,"y":1200,"wires":[["23a2056ee66b2bfd"]]},{"id":"26437b2b441843ee","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2220,"y":1260,"wires":[["828fea1bbb0676c5","d661e2504d0f82ac"]]},{"id":"9f52f460307a4f1b","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2220,"y":1340,"wires":[["760fc02ac4befcce","04d4a82d504a659e"]]},{"id":"1433f4f40a16d472","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2220,"y":1420,"wires":[["5ca1133be500765c"]]},{"id":"8ecacc8d7d9b4e5c","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":1600,"wires":[["3323310261eca360","94e216f47a195674","f06324aaba2f1815","9a3a388266dd4694"]]},{"id":"18b7ee7eed7f58e1","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":1700,"wires":[["5d2ab5ec48137e07","22021814d20e176e"]]},{"id":"edd256173472051d","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 5 - 4 relay","pin":"5","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2480,"y":960,"wires":[]},{"id":"bb7f3ebd5a0df52b","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 13 - 6 relay","pin":"13","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1020,"wires":[]},{"id":"8ea44280d8a12fa1","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1080,"wires":[]},{"id":"23a2056ee66b2bfd","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1200,"wires":[]},{"id":"828fea1bbb0676c5","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1300,"wires":[]},{"id":"3323310261eca360","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1580,"wires":[]},{"id":"94e216f47a195674","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 21 - 14 relay","pin":"21","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1640,"wires":[]},{"id":"f06324aaba2f1815","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 10 - 15 relay","pin":"10","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1700,"wires":[]},{"id":"9a3a388266dd4694","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 9 - 16 relay","pin":"9","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1760,"wires":[]},{"id":"22021814d20e176e","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2680,"y":1980,"wires":[]},{"id":"16a9c02d31205bff","type":"link in","z":"d3c5a098e31a8197","name":"Red steps","links":["6475c6ed7d0967c1","e0469135fa400e06"],"x":1700,"y":2220,"wires":[["adb2bc251535824e"]],"l":true},{"id":"adb2bc251535824e","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1920,"y":2220,"wires":[["4192c0acb5f4ebdf","1044307dc5e2f579"],["b7029fbb166e442f"]]},{"id":"b7029fbb166e442f","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1920,"y":2380,"wires":[["085c90c46b079c58","0dbfb1eb1faeb0e3"],["1b4f83d29ba5d543"]]},{"id":"1b4f83d29ba5d543","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1920,"y":2560,"wires":[["eab612cb956c7935","79a80e2e90d90bf8"],["87d092ead882b234"]]},{"id":"edb941c24cc3d70f","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2880,"y":2280,"wires":[]},{"id":"7c679a8375613deb","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":2380,"wires":[]},{"id":"8319c873a1fa4809","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2680,"y":2480,"wires":[]},{"id":"5f63e42f8df25be7","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2560,"wires":[]},{"id":"2da90acf2326b100","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":2640,"wires":[]},{"id":"87d092ead882b234","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1920,"y":2740,"wires":[["28fc493cb6236f12","405de7e0ae40829b"],[]]},{"id":"7ba48fe2282c40f7","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":3040,"wires":[]},{"id":"4192c0acb5f4ebdf","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2160,"wires":[["3954c43ed5920788"]]},{"id":"1044307dc5e2f579","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2260,"wires":[["f86ae62230fd9ccf"]]},{"id":"085c90c46b079c58","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2340,"wires":[["2e84d442542bcc19"]]},{"id":"0dbfb1eb1faeb0e3","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2400,"wires":[["fdc469b9818b9c84"]]},{"id":"eab612cb956c7935","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2480,"wires":[["59b3a5a1f8c5893f"]]},{"id":"79a80e2e90d90bf8","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2560,"wires":[["dd331ec5e7ddfa85"]]},{"id":"28fc493cb6236f12","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2740,"wires":[["dd589279b5470526"]]},{"id":"405de7e0ae40829b","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2840,"wires":[["0620a1742241e234"]]},{"id":"3954c43ed5920788","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2160,"wires":[["2264398f3e603190","a2eea7bc4f0da38d"]]},{"id":"f86ae62230fd9ccf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2260,"wires":[["9aa205bc357498ce","edb941c24cc3d70f"]]},{"id":"2e84d442542bcc19","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2340,"wires":[["69ff579aff307d66"]]},{"id":"fdc469b9818b9c84","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2400,"wires":[["53c2e7f0fb4b3429","7c679a8375613deb"]]},{"id":"59b3a5a1f8c5893f","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2480,"wires":[["8319c873a1fa4809","5f63e42f8df25be7"]]},{"id":"dd331ec5e7ddfa85","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2560,"wires":[["2da90acf2326b100"]]},{"id":"dd589279b5470526","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2400,"y":2740,"wires":[["6cf515329636fee4","3b3cd8da0ea4dd81","7fdbf63eb1fa9c17","17f429142816c30f"]]},{"id":"0620a1742241e234","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2400,"y":2840,"wires":[["7ba48fe2282c40f7","f46984dc8dd5f722"]]},{"id":"2264398f3e603190","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 5 - 4 relay","pin":"5","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2680,"y":2100,"wires":[]},{"id":"a2eea7bc4f0da38d","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 13 - 6 relay","pin":"13","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2160,"wires":[]},{"id":"9aa205bc357498ce","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":2220,"wires":[]},{"id":"69ff579aff307d66","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2340,"wires":[]},{"id":"53c2e7f0fb4b3429","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":2440,"wires":[]},{"id":"6cf515329636fee4","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2720,"wires":[]},{"id":"3b3cd8da0ea4dd81","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 21 - 14 relay","pin":"21","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2780,"wires":[]},{"id":"7fdbf63eb1fa9c17","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 10 - 15 relay","pin":"10","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2840,"wires":[]},{"id":"17f429142816c30f","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 9 - 16 relay","pin":"9","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2900,"wires":[]},{"id":"f46984dc8dd5f722","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2880,"y":3120,"wires":[]},{"id":"e0469135fa400e06","type":"link out","z":"d3c5a098e31a8197","name":"Red process","mode":"link","links":["16a9c02d31205bff"],"x":1190,"y":1220,"wires":[],"l":true}]

Is there some solution to concept when the sequence for each button has different time?


Now we have global time the same for each button but is it possible to separate globals tirggers for each others?

Click on the trigger node then go to the sidebar and click the 'Help' icon and read the notes for the node.

Why do you have a trigger node before the switch node??? You have it set to send a msg, wait 20 seconds and then do nothing.

I read the help in sidebar about the trigger node but I can only use max 2 outputs and I think to use function node or maybe gate node that if I push the first button for example blue one make the whole sequence for 30 seconds. When it finish now I can push different button for example Red button with sequense for 15 seconds.
I am very grateful for your all your help you give me. You have so much experience so it is very nice to learn from you.
Last picture is just a concept to separate those globals to make individual sequences with different length for each button

Did you read this part

The delay between sending messages can be overridden by msg.delay if that option is enabled in the node. The value must be provided in milliseconds. Here is an example

[{"id":"833105b06880be65","type":"inject","z":"f793a77fa07624c4","name":"delay 1 second (1000 ms)","props":[{"p":"delay","v":"1000","vt":"num"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":250,"y":200,"wires":[["3023f9d9116ffbc5"]]},{"id":"3023f9d9116ffbc5","type":"trigger","z":"f793a77fa07624c4","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"","extend":false,"overrideDelay":true,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":520,"y":240,"wires":[["9be46669b6ba0698"]]},{"id":"9be46669b6ba0698","type":"debug","z":"f793a77fa07624c4","name":"debug 11","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":740,"y":240,"wires":[]},{"id":"41a0dd9e47aa4392","type":"inject","z":"f793a77fa07624c4","name":"delay 5 second (5000 ms)","props":[{"p":"delay","v":"5000","vt":"num"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":250,"y":280,"wires":[["3023f9d9116ffbc5"]]}]

one other thing, I see your Blue link-out node links to the red and blue flows....

I correct that glad that you notice. I am confuse what node I can put between between GPIO push button node and trigger node. I put different nodes but none of these are equal to your example

Take a look at the change node but you done need a trigger node before the switch node.

It is working like a charm.
I delete the global trigger node but unfortunately this node must be in the code because when the trigger node isn't in the flow I can push all 3 buttons at the same time

[{"id":"d3c5a098e31a8197","type":"tab","label":"Flow 4","disabled":false,"info":"","env":[]},{"id":"aa28dcd62d2594ed","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 11 - Yellow Button","pin":"11","intype":"tri","debounce":"100","read":false,"bcm":true,"x":100,"y":940,"wires":[["e5b677b45e22b0eb"]]},{"id":"385c46cacb16a2de","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 14 - Blue Button","pin":"14","intype":"tri","debounce":"100","read":false,"bcm":true,"x":100,"y":1020,"wires":[["c12bef46db99d7ed"]]},{"id":"cbe2d15907090351","type":"rpi-gpio in","z":"d3c5a098e31a8197","name":"GPIO 15 - Red Button","pin":"15","intype":"tri","debounce":"100","read":false,"bcm":true,"x":100,"y":1100,"wires":[["f1d2cb8848fff7d5"]]},{"id":"2c0402934caeea5e","type":"switch","z":"d3c5a098e31a8197","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"yellow","vt":"str"},{"t":"eq","v":"blue","vt":"str"},{"t":"eq","v":"red","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":830,"y":1020,"wires":[["edfd7d4c17621f20","851b814195545b3d"],["6475c6ed7d0967c1"],["e0469135fa400e06"]]},{"id":"edfd7d4c17621f20","type":"link out","z":"d3c5a098e31a8197","name":"Yellow process","mode":"link","links":["0275a027facdae27","7f38ba2bed95cff2"],"x":1080,"y":900,"wires":[],"l":true},{"id":"f6963577c8444205","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1700,"y":100,"wires":[["478eb20775252fb5","ed7bb4e67bc0383a"],["1a2ab29e73a1a1cf"]]},{"id":"1a2ab29e73a1a1cf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1700,"y":260,"wires":[["18d16612f3a78f5c","35a2638d8977810a"],["aa5fdf5c2329347c"]]},{"id":"aa5fdf5c2329347c","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1700,"y":440,"wires":[["efb9545b5acf584f","ddf172436f6cd8df"],["d53266dd3f104fbf"]]},{"id":"0275a027facdae27","type":"link in","z":"d3c5a098e31a8197","name":"Yellow steps","links":["edfd7d4c17621f20"],"x":1510,"y":100,"wires":[["f6963577c8444205"]],"l":true},{"id":"89e743dac3c7e99e","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 18 - 1 relay","pin":"18","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":40,"wires":[]},{"id":"2bd41c0f5e75b0ec","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2460,"y":140,"wires":[]},{"id":"b0915a2b99a0aa4d","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2470,"y":280,"wires":[]},{"id":"6d4d43a58a010d92","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2460,"y":360,"wires":[]},{"id":"e9209b0c5164c904","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":440,"wires":[]},{"id":"d0764df669ce1c53","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2470,"y":520,"wires":[]},{"id":"d53266dd3f104fbf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1700,"y":620,"wires":[["be5a30cc941bac9e","34c287e7c9670f9c"],[]]},{"id":"f7f7506a061de8bb","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":780,"wires":[]},{"id":"fcda6f55c25ad033","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":720,"wires":[]},{"id":"301f34ca48545c63","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 16 - 11 relay","pin":"16","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":660,"wires":[]},{"id":"27702bffc9371361","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 12 - 10 relay","pin":"12","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":600,"wires":[]},{"id":"0e081b235d5a9fb1","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2470,"y":840,"wires":[]},{"id":"e5b677b45e22b0eb","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"yellow","tot":"str"},{"t":"set","p":"delay","pt":"msg","to":"20000","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":360,"y":940,"wires":[["f9ae68a5e92e86eb"]]},{"id":"c12bef46db99d7ed","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"blue","tot":"str"},{"t":"set","p":"delay","pt":"msg","to":"30000","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":360,"y":1020,"wires":[["f9ae68a5e92e86eb"]]},{"id":"f1d2cb8848fff7d5","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"red","tot":"str"},{"t":"set","p":"delay","pt":"msg","to":"15000","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":360,"y":1100,"wires":[["f9ae68a5e92e86eb"]]},{"id":"478eb20775252fb5","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":40,"wires":[["0d6f994c469e978f"]]},{"id":"ed7bb4e67bc0383a","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":140,"wires":[["932bb6622b27f8a4"]]},{"id":"18d16612f3a78f5c","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":220,"wires":[["6de889c5ec13ed5d"]]},{"id":"35a2638d8977810a","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":280,"wires":[["ba53050f9bdd17e4"]]},{"id":"efb9545b5acf584f","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":360,"wires":[["21855002994733df"]]},{"id":"ddf172436f6cd8df","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":440,"wires":[["942e1270dd9748a7"]]},{"id":"be5a30cc941bac9e","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":620,"wires":[["03828baf832ae747"]]},{"id":"34c287e7c9670f9c","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1980,"y":720,"wires":[["9c48b357e3c1a1b7"]]},{"id":"0d6f994c469e978f","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":40,"wires":[["89e743dac3c7e99e"]]},{"id":"932bb6622b27f8a4","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":140,"wires":[["2bd41c0f5e75b0ec"]]},{"id":"6de889c5ec13ed5d","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":220,"wires":[["6c6aa4ef786a9719"]]},{"id":"ba53050f9bdd17e4","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":280,"wires":[["b0915a2b99a0aa4d"]]},{"id":"21855002994733df","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":360,"wires":[["6d4d43a58a010d92","e9209b0c5164c904"]]},{"id":"942e1270dd9748a7","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":440,"wires":[["d0764df669ce1c53"]]},{"id":"03828baf832ae747","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2180,"y":620,"wires":[["27702bffc9371361","301f34ca48545c63","fcda6f55c25ad033","f7f7506a061de8bb"]]},{"id":"9c48b357e3c1a1b7","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2180,"y":720,"wires":[["0e081b235d5a9fb1"]]},{"id":"6c6aa4ef786a9719","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 13 - 6 relay","pin":"13","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2470,"y":220,"wires":[]},{"id":"6475c6ed7d0967c1","type":"link out","z":"d3c5a098e31a8197","name":"Blue process","mode":"link","links":["a2b99807e98dbfb2"],"x":1070,"y":1020,"wires":[],"l":true},{"id":"a2b99807e98dbfb2","type":"link in","z":"d3c5a098e31a8197","name":"Blue steps","links":["6475c6ed7d0967c1"],"x":1500,"y":1080,"wires":[["e42a2d1706829426"]],"l":true},{"id":"e42a2d1706829426","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1720,"y":1080,"wires":[["2a70b6305e05c126","610a1ced20f4cd0e"],["e5eb805931aced86"]]},{"id":"e5eb805931aced86","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1730,"y":1240,"wires":[["2f0b701572363067","63a2afaeb3541b81"],["683321381f6513df"]]},{"id":"683321381f6513df","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1730,"y":1420,"wires":[["16c32594232a5ef0","e5a240b502c4d0b2"],["18cfbe6f8abce6b2"]]},{"id":"1b92bcac208faa29","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2680,"y":1140,"wires":[]},{"id":"d661e2504d0f82ac","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1240,"wires":[]},{"id":"760fc02ac4befcce","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2480,"y":1340,"wires":[]},{"id":"04d4a82d504a659e","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1420,"wires":[]},{"id":"5ca1133be500765c","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1500,"wires":[]},{"id":"18cfbe6f8abce6b2","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1720,"y":1600,"wires":[["253f17e010b933df","7bf3d943aec8fc35"],[]]},{"id":"5d2ab5ec48137e07","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1900,"wires":[]},{"id":"2a70b6305e05c126","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1020,"wires":[["b1b4141b68afa985"]]},{"id":"610a1ced20f4cd0e","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1120,"wires":[["f840f8826c40cf4a"]]},{"id":"2f0b701572363067","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1200,"wires":[["d867a0f0bd3fc6b5"]]},{"id":"63a2afaeb3541b81","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1260,"wires":[["26437b2b441843ee"]]},{"id":"16c32594232a5ef0","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1340,"wires":[["9f52f460307a4f1b"]]},{"id":"e5a240b502c4d0b2","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1420,"wires":[["1433f4f40a16d472"]]},{"id":"253f17e010b933df","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1600,"wires":[["8ecacc8d7d9b4e5c"]]},{"id":"7bf3d943aec8fc35","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2000,"y":1700,"wires":[["18b7ee7eed7f58e1"]]},{"id":"b1b4141b68afa985","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2220,"y":1020,"wires":[["edd256173472051d","bb7f3ebd5a0df52b"]]},{"id":"f840f8826c40cf4a","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2220,"y":1120,"wires":[["8ea44280d8a12fa1","1b92bcac208faa29"]]},{"id":"d867a0f0bd3fc6b5","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2230,"y":1200,"wires":[["23a2056ee66b2bfd"]]},{"id":"26437b2b441843ee","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2230,"y":1260,"wires":[["828fea1bbb0676c5","d661e2504d0f82ac"]]},{"id":"9f52f460307a4f1b","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2230,"y":1340,"wires":[["760fc02ac4befcce","04d4a82d504a659e"]]},{"id":"1433f4f40a16d472","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2230,"y":1420,"wires":[["5ca1133be500765c"]]},{"id":"8ecacc8d7d9b4e5c","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":1600,"wires":[["3323310261eca360","94e216f47a195674","f06324aaba2f1815","9a3a388266dd4694"]]},{"id":"18b7ee7eed7f58e1","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2200,"y":1700,"wires":[["5d2ab5ec48137e07","22021814d20e176e"]]},{"id":"edd256173472051d","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 5 - 4 relay","pin":"5","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2480,"y":960,"wires":[]},{"id":"bb7f3ebd5a0df52b","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 13 - 6 relay","pin":"13","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1020,"wires":[]},{"id":"8ea44280d8a12fa1","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1080,"wires":[]},{"id":"23a2056ee66b2bfd","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1200,"wires":[]},{"id":"828fea1bbb0676c5","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2690,"y":1300,"wires":[]},{"id":"3323310261eca360","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1580,"wires":[]},{"id":"94e216f47a195674","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 21 - 14 relay","pin":"21","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1640,"wires":[]},{"id":"f06324aaba2f1815","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 10 - 15 relay","pin":"10","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1700,"wires":[]},{"id":"9a3a388266dd4694","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 9 - 16 relay","pin":"9","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2490,"y":1760,"wires":[]},{"id":"22021814d20e176e","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2680,"y":1980,"wires":[]},{"id":"16a9c02d31205bff","type":"link in","z":"d3c5a098e31a8197","name":"Red steps","links":["e0469135fa400e06"],"x":1700,"y":2220,"wires":[["adb2bc251535824e"]],"l":true},{"id":"adb2bc251535824e","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1920,"y":2220,"wires":[["4192c0acb5f4ebdf","1044307dc5e2f579"],["b7029fbb166e442f"]]},{"id":"b7029fbb166e442f","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1920,"y":2380,"wires":[["085c90c46b079c58","0dbfb1eb1faeb0e3"],["1b4f83d29ba5d543"]]},{"id":"1b4f83d29ba5d543","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"2.5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1930,"y":2560,"wires":[["eab612cb956c7935","79a80e2e90d90bf8"],["87d092ead882b234"]]},{"id":"edb941c24cc3d70f","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2880,"y":2280,"wires":[]},{"id":"7c679a8375613deb","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":2380,"wires":[]},{"id":"8319c873a1fa4809","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 4 - 2 relay","pin":"4","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2680,"y":2480,"wires":[]},{"id":"5f63e42f8df25be7","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 22 - 3 relay","pin":"22","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2560,"wires":[]},{"id":"2da90acf2326b100","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":2640,"wires":[]},{"id":"87d092ead882b234","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"2.5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":1930,"y":2740,"wires":[["28fc493cb6236f12","405de7e0ae40829b"],[]]},{"id":"7ba48fe2282c40f7","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 27 - BLUE","pin":"27","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":3040,"wires":[]},{"id":"4192c0acb5f4ebdf","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2160,"wires":[["3954c43ed5920788"]]},{"id":"1044307dc5e2f579","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2260,"wires":[["f86ae62230fd9ccf"]]},{"id":"085c90c46b079c58","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2340,"wires":[["2e84d442542bcc19"]]},{"id":"0dbfb1eb1faeb0e3","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2400,"wires":[["fdc469b9818b9c84"]]},{"id":"eab612cb956c7935","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2480,"wires":[["59b3a5a1f8c5893f"]]},{"id":"79a80e2e90d90bf8","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2560,"wires":[["dd331ec5e7ddfa85"]]},{"id":"28fc493cb6236f12","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2740,"wires":[["dd589279b5470526"]]},{"id":"405de7e0ae40829b","type":"change","z":"d3c5a098e31a8197","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2200,"y":2840,"wires":[["0620a1742241e234"]]},{"id":"3954c43ed5920788","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2160,"wires":[["2264398f3e603190","a2eea7bc4f0da38d"]]},{"id":"f86ae62230fd9ccf","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2260,"wires":[["9aa205bc357498ce","edb941c24cc3d70f"]]},{"id":"2e84d442542bcc19","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2340,"wires":[["69ff579aff307d66"]]},{"id":"fdc469b9818b9c84","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2420,"y":2400,"wires":[["53c2e7f0fb4b3429","7c679a8375613deb"]]},{"id":"59b3a5a1f8c5893f","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"2.5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2430,"y":2480,"wires":[["8319c873a1fa4809","5f63e42f8df25be7"]]},{"id":"dd331ec5e7ddfa85","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"2.5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2430,"y":2560,"wires":[["2da90acf2326b100"]]},{"id":"dd589279b5470526","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"0","op2":"1","op1type":"str","op2type":"str","duration":"2.5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2410,"y":2740,"wires":[["6cf515329636fee4","3b3cd8da0ea4dd81","7fdbf63eb1fa9c17","17f429142816c30f"]]},{"id":"0620a1742241e234","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"2.5","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2410,"y":2840,"wires":[["7ba48fe2282c40f7","f46984dc8dd5f722"]]},{"id":"2264398f3e603190","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 5 - 4 relay","pin":"5","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2680,"y":2100,"wires":[]},{"id":"a2eea7bc4f0da38d","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 13 - 6 relay","pin":"13","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2160,"wires":[]},{"id":"9aa205bc357498ce","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":2220,"wires":[]},{"id":"69ff579aff307d66","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 20 - 12 relay","pin":"20","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2340,"wires":[]},{"id":"53c2e7f0fb4b3429","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 23 - GREEN","pin":"23","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2890,"y":2440,"wires":[]},{"id":"6cf515329636fee4","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 26 - 13 relay","pin":"26","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2720,"wires":[]},{"id":"3b3cd8da0ea4dd81","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 21 - 14 relay","pin":"21","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2780,"wires":[]},{"id":"7fdbf63eb1fa9c17","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 10 - 15 relay","pin":"10","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2840,"wires":[]},{"id":"17f429142816c30f","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 9 - 16 relay","pin":"9","set":true,"level":"1","freq":"","out":"out","bcm":true,"x":2690,"y":2900,"wires":[]},{"id":"f46984dc8dd5f722","type":"rpi-gpio out","z":"d3c5a098e31a8197","name":"GPIO 17 - RED","pin":"17","set":true,"level":"0","freq":"","out":"out","bcm":true,"x":2880,"y":3120,"wires":[]},{"id":"e0469135fa400e06","type":"link out","z":"d3c5a098e31a8197","name":"Red process","mode":"link","links":["16a9c02d31205bff"],"x":1070,"y":1160,"wires":[],"l":true},{"id":"851b814195545b3d","type":"debug","z":"d3c5a098e31a8197","name":"debug 12","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1060,"y":820,"wires":[]},{"id":"93030f6e01eaf1f6","type":"comment","z":"d3c5a098e31a8197","name":"yellow - 20 seconds","info":"","x":370,"y":900,"wires":[]},{"id":"aebdb3345bd2930d","type":"comment","z":"d3c5a098e31a8197","name":"blue - 30 seconds","info":"","x":360,"y":980,"wires":[]},{"id":"d51843a43f84c6ee","type":"comment","z":"d3c5a098e31a8197","name":"red - 15 seconds","info":"","x":360,"y":1060,"wires":[]},{"id":"f9ae68a5e92e86eb","type":"trigger","z":"d3c5a098e31a8197","name":"","op1":"","op2":"","op1type":"pay","op2type":"nul","duration":"250","extend":false,"overrideDelay":true,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":660,"y":1020,"wires":[["2c0402934caeea5e"]]}]

Now I am looking the node which can add sound to each sequence and node which can manipulate RGB lights more than only light on and off.
Is it possible to add some input spaces on future dashboard when I can put / change the times for these sequences? I think about some table when I will be have something like:

  1. global sequence for yellow button - 120 seconds length
  2. step 1 - 30 seconds length
  3. step 2 - 15 seconds length
    etc.
    Then I will have possibility to change each of sequence when there will be such necessity

Ahh right I forgot that requirement, so leave it in for the amount of time you wish to restrict button pushing.

Yes you can add a dashboard node to enter any values you want, but I suggest you do some playing first. Do it on another flow tab and using a different dashboard tab. Then once you get it working you can add it to your original flow.

Do you mean something like that on the below picture?

Possibly...as I said, try some things and see what works BUT do it on another editor tab in a new flow so you won't mess up what you have already.