Creating a loop I think!

[{"id":"66efa7f8.f43b48","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"d0e46998.c11a08","type":"ui_gauge","z":"66efa7f8.f43b48","name":"","group":"f13266f9.ba79b8","order":4,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"","format":"{{value}}","min":0,"max":"1000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":590,"y":620,"wires":[]},{"id":"83dae66c.1f0b88","type":"serial in","z":"66efa7f8.f43b48","name":"","serial":"4d850d89.ed6994","x":270,"y":620,"wires":[["d0e46998.c11a08","dfe9033b.370e5"]]},{"id":"8012e5a6.d874e8","type":"function","z":"66efa7f8.f43b48","name":"payload 1","func":"msg.payload = 1\nreturn msg;","outputs":1,"noerr":0,"x":520,"y":380,"wires":[["84773402.193848"]]},{"id":"a832c13.8bd904","type":"function","z":"66efa7f8.f43b48","name":"Payload 0","func":"msg.payload = 0\nreturn msg;","outputs":1,"noerr":0,"x":520,"y":300,"wires":[["84773402.193848","7b87346c.30948c"]]},{"id":"1932fb28.2dbcb5","type":"change","z":"66efa7f8.f43b48","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":520,"y":220,"wires":[["95796087.40c8a","d7a9a518.97d5e8"]]},{"id":"5b50a292.67a84c","type":"change","z":"66efa7f8.f43b48","name":"","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":534,"y":162,"wires":[[]]},{"id":"dfe9033b.370e5","type":"switch","z":"66efa7f8.f43b48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"gte","v":"10.00","vt":"num"},{"t":"lte","v":"10.00","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":80,"wires":[["a832c13.8bd904"],["5b50a292.67a84c","8012e5a6.d874e8"]]},{"id":"84773402.193848","type":"ui_switch","z":"66efa7f8.f43b48","name":"","label":"Fan","tooltip":"","group":"c1cdc8de.1ea148","order":10,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"0","onvalueType":"num","onicon":"","oncolor":"","offvalue":"1","offvalueType":"num","officon":"","offcolor":"","x":1030,"y":280,"wires":[["db287e03.9c9d5"]]},{"id":"d7a9a518.97d5e8","type":"ui_switch","z":"66efa7f8.f43b48","name":"","label":"Side Valve","tooltip":"","group":"c1cdc8de.1ea148","order":10,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"0","onvalueType":"str","onicon":"","oncolor":"","offvalue":"1","offvalueType":"str","officon":"","offcolor":"","x":1050,"y":200,"wires":[["d3a54be.bc9e9b8"]]},{"id":"d3a54be.bc9e9b8","type":"rpi-gpio out","z":"66efa7f8.f43b48","name":"","pin":"38","set":"","level":"0","freq":"","out":"out","x":1220,"y":200,"wires":[]},{"id":"db287e03.9c9d5","type":"rpi-gpio out","z":"66efa7f8.f43b48","name":"","pin":"40","set":"","level":"0","freq":"","out":"out","x":1220,"y":280,"wires":[]},{"id":"95796087.40c8a","type":"debug","z":"66efa7f8.f43b48","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1130,"y":100,"wires":[]},{"id":"7b87346c.30948c","type":"trigger","z":"66efa7f8.f43b48","op1":"","op2":"1","op1type":"nul","op2type":"str","duration":"5","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":760,"y":80,"wires":[["95796087.40c8a","d7a9a518.97d5e8"]]},{"id":"f13266f9.ba79b8","type":"ui_group","z":"","name":"Bottom Hopper","tab":"e6123a00.bae988","order":3,"disp":true,"width":"6","collapse":false},{"id":"4d850d89.ed6994","type":"serial-port","z":"","serialport":"/dev/ttyACM0","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"\\n","bin":"false","out":"char","addchar":"","responsetimeout":"10000"},{"id":"c1cdc8de.1ea148","type":"ui_group","z":"","name":"Misc","tab":"e6123a00.bae988","order":1,"disp":true,"width":"6","collapse":false},{"id":"e6123a00.bae988","type":"ui_tab","z":"","name":"Silent Roar","icon":"dashboard","order":2,"disabled":false,"hidden":false}]

I warn you this isn't pretty, as I said a newbie. will accept any suggestions LOL