To be rigorously tested.
[{"id":"2283699df4b6d938","type":"inject","z":"370cbf905893daf4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"},{"p":"bc1","v":"green","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"switch1","payload":"true","payloadType":"bool","x":300,"y":240,"wires":[["fd66469577425d17"]]},{"id":"b0563272b2c75460","type":"inject","z":"370cbf905893daf4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"},{"p":"bc1","v":"red","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"switch1","payload":"false","payloadType":"bool","x":300,"y":300,"wires":[["fd66469577425d17"]]},{"id":"42034a39a5372ada","type":"inject","z":"370cbf905893daf4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"},{"p":"bc2","v":"red","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"switch2","payload":"false","payloadType":"bool","x":300,"y":420,"wires":[["05b7d1cd117331c1"]]},{"id":"129f860b1ccc3f98","type":"inject","z":"370cbf905893daf4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"},{"p":"bc2","v":"green","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"switch2","payload":"true","payloadType":"bool","x":300,"y":360,"wires":[["05b7d1cd117331c1"]]},{"id":"fd66469577425d17","type":"change","z":"370cbf905893daf4","name":"","rules":[{"t":"set","p":"switch1","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":490,"y":270,"wires":[["b05377130d539e14"]]},{"id":"05b7d1cd117331c1","type":"change","z":"370cbf905893daf4","name":"","rules":[{"t":"set","p":"switch2","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":490,"y":390,"wires":[["b05377130d539e14"]]},{"id":"b05377130d539e14","type":"join","z":"370cbf905893daf4","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":650,"y":330,"wires":[["3dd520e263a3f690"]]},{"id":"3dd520e263a3f690","type":"switch","z":"370cbf905893daf4","name":"Switch1","property":"payload.switch1","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":780,"y":330,"wires":[["1bd24398c1769ce0"],["9d51f91d0f14d0da"]]},{"id":"0025506a23ad1356","type":"ui_switch","z":"370cbf905893daf4","name":"","label":"Switch-2","tooltip":"","group":"3b8a9dc8.db09d2","order":2,"width":"3","height":"1","passthru":true,"decouple":"false","topic":"switch2","topicType":"str","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":130,"y":390,"wires":[["05b7d1cd117331c1"]]},{"id":"32838add9dc3dd08","type":"ui_switch","z":"370cbf905893daf4","name":"","label":"Switch-1","tooltip":"","group":"3b8a9dc8.db09d2","order":1,"width":"3","height":"1","passthru":true,"decouple":"false","topic":"switch1","topicType":"str","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":130,"y":270,"wires":[["fd66469577425d17"]]},{"id":"1bd24398c1769ce0","type":"link out","z":"370cbf905893daf4","name":"S1-ON","mode":"link","links":["31f6c6ca9b5399da","39f74f13b3df9981","6ba2ee765008e803","86b7e8b9d9403390","24849dac7202bd36","d40b5bc840e23085","500bba19c04ca207"],"x":885,"y":300,"wires":[]},{"id":"9d51f91d0f14d0da","type":"link out","z":"370cbf905893daf4","name":"S1-OFF","mode":"link","links":["08f1aa4dd507c9b4","68f9df1ea99db0d0","f893636b98b8abd2","65f01326a68c9a73","888a073676fe69a0","cdb4c4280284302d","207d9d5dea7e40cc"],"x":885,"y":360,"wires":[]},{"id":"f0d61a66b04489b9","type":"group","z":"370cbf905893daf4","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["f55749ac713a3ca9","ea3bd2152087150e","3202271f1e13e017","1ed8c8b25380fa34","08f1aa4dd507c9b4","39f74f13b3df9981","7d10b7f735c32c63","4810ae16b10de846"],"x":964,"y":349,"w":1032,"h":142},{"id":"f55749ac713a3ca9","type":"change","z":"370cbf905893daf4","g":"f0d61a66b04489b9","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"green","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":390,"wires":[["3202271f1e13e017","7d10b7f735c32c63"]]},{"id":"ea3bd2152087150e","type":"change","z":"370cbf905893daf4","g":"f0d61a66b04489b9","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":450,"wires":[["3202271f1e13e017","7d10b7f735c32c63"]]},{"id":"3202271f1e13e017","type":"ui_button","z":"370cbf905893daf4","g":"f0d61a66b04489b9","name":"","group":"3b8a9dc8.db09d2","order":5,"width":"6","height":"1","passthru":false,"label":"OR Output","tooltip":"","color":"","bgcolor":"{{bc3}}","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":1680,"y":450,"wires":[[]]},{"id":"1ed8c8b25380fa34","type":"switch","z":"370cbf905893daf4","g":"f0d61a66b04489b9","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":450,"wires":[["f55749ac713a3ca9"],["ea3bd2152087150e"]]},{"id":"08f1aa4dd507c9b4","type":"link in","z":"370cbf905893daf4","g":"f0d61a66b04489b9","name":"link in 216","links":["9d51f91d0f14d0da"],"x":1005,"y":450,"wires":[["1ed8c8b25380fa34"]]},{"id":"39f74f13b3df9981","type":"link in","z":"370cbf905893daf4","g":"f0d61a66b04489b9","name":"link in 217","links":["1bd24398c1769ce0"],"x":1005,"y":390,"wires":[["f55749ac713a3ca9"]]},{"id":"7d10b7f735c32c63","type":"change","z":"370cbf905893daf4","g":"f0d61a66b04489b9","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"bool","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1690,"y":390,"wires":[["4810ae16b10de846"]]},{"id":"4810ae16b10de846","type":"debug","z":"370cbf905893daf4","g":"f0d61a66b04489b9","name":"debug 402","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1880,"y":390,"wires":[]},{"id":"a5cf5180f29347e2","type":"group","z":"370cbf905893daf4","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["54095fc9035205d7","5e1f981d1ca221a3","bcb7386a0970e1f9","68f9df1ea99db0d0","a4a91e83ea5fc72d","6ba2ee765008e803","ad7f2b5448d4392c","a33734c537068343"],"x":964,"y":169,"w":1032,"h":142},{"id":"54095fc9035205d7","type":"change","z":"370cbf905893daf4","g":"a5cf5180f29347e2","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"green","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":210,"wires":[["bcb7386a0970e1f9","ad7f2b5448d4392c"]]},{"id":"5e1f981d1ca221a3","type":"change","z":"370cbf905893daf4","g":"a5cf5180f29347e2","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":270,"wires":[["bcb7386a0970e1f9","ad7f2b5448d4392c"]]},{"id":"bcb7386a0970e1f9","type":"ui_button","z":"370cbf905893daf4","g":"a5cf5180f29347e2","name":"","group":"3b8a9dc8.db09d2","order":3,"width":"6","height":"1","passthru":true,"label":"AND Output","tooltip":"","color":"","bgcolor":"{{bc3}}","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":1680,"y":270,"wires":[[]]},{"id":"68f9df1ea99db0d0","type":"link in","z":"370cbf905893daf4","g":"a5cf5180f29347e2","name":"link in 219","links":["9d51f91d0f14d0da"],"x":1005,"y":270,"wires":[["5e1f981d1ca221a3"]]},{"id":"a4a91e83ea5fc72d","type":"switch","z":"370cbf905893daf4","g":"a5cf5180f29347e2","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":210,"wires":[["54095fc9035205d7"],["5e1f981d1ca221a3"]]},{"id":"6ba2ee765008e803","type":"link in","z":"370cbf905893daf4","g":"a5cf5180f29347e2","name":"link in 215","links":["1bd24398c1769ce0"],"x":1005,"y":210,"wires":[["a4a91e83ea5fc72d"]]},{"id":"ad7f2b5448d4392c","type":"change","z":"370cbf905893daf4","g":"a5cf5180f29347e2","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"bool","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1690,"y":210,"wires":[["a33734c537068343"]]},{"id":"a33734c537068343","type":"debug","z":"370cbf905893daf4","g":"a5cf5180f29347e2","name":"debug 401","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1880,"y":210,"wires":[]},{"id":"4e4ce02e654ec1a0","type":"group","z":"370cbf905893daf4","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["98d97efb77a24140","ccb4ccd334fae231","79a8b9ee10e8be46","5ee71b3e2426b954","31f6c6ca9b5399da","cdb4c4280284302d","0250c853ba084b60","dd87d01fe043f173","2278d2d6edbe3c21"],"x":964,"y":529,"w":1032,"h":142},{"id":"98d97efb77a24140","type":"change","z":"370cbf905893daf4","g":"4e4ce02e654ec1a0","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"green","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":570,"wires":[["79a8b9ee10e8be46","dd87d01fe043f173"]]},{"id":"ccb4ccd334fae231","type":"change","z":"370cbf905893daf4","g":"4e4ce02e654ec1a0","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":630,"wires":[["79a8b9ee10e8be46","dd87d01fe043f173"]]},{"id":"79a8b9ee10e8be46","type":"ui_button","z":"370cbf905893daf4","g":"4e4ce02e654ec1a0","name":"","group":"3b8a9dc8.db09d2","order":6,"width":"6","height":"1","passthru":false,"label":"XOR Output","tooltip":"","color":"","bgcolor":"{{bc3}}","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":1680,"y":630,"wires":[[]]},{"id":"5ee71b3e2426b954","type":"switch","z":"370cbf905893daf4","g":"4e4ce02e654ec1a0","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":570,"wires":[["ccb4ccd334fae231"],["98d97efb77a24140"]]},{"id":"31f6c6ca9b5399da","type":"link in","z":"370cbf905893daf4","g":"4e4ce02e654ec1a0","name":"link in 218","links":["1bd24398c1769ce0"],"x":1005,"y":570,"wires":[["5ee71b3e2426b954"]]},{"id":"cdb4c4280284302d","type":"link in","z":"370cbf905893daf4","g":"4e4ce02e654ec1a0","name":"link in 224","links":["9d51f91d0f14d0da"],"x":1005,"y":630,"wires":[["0250c853ba084b60"]]},{"id":"0250c853ba084b60","type":"switch","z":"370cbf905893daf4","g":"4e4ce02e654ec1a0","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":630,"wires":[["98d97efb77a24140"],["ccb4ccd334fae231"]]},{"id":"dd87d01fe043f173","type":"change","z":"370cbf905893daf4","g":"4e4ce02e654ec1a0","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"bool","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1690,"y":570,"wires":[["2278d2d6edbe3c21"]]},{"id":"2278d2d6edbe3c21","type":"debug","z":"370cbf905893daf4","g":"4e4ce02e654ec1a0","name":"debug 403","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1880,"y":570,"wires":[]},{"id":"a8a1aae2666b0dad","type":"group","z":"370cbf905893daf4","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["5fa65b3a93ac3d93","cbe7fe163da1f69e","ceaa2186b0a7cae4","72b378dd184469d4","50089bcca85e8c69","86b7e8b9d9403390","f893636b98b8abd2","d98fb5f94e98fea4","98802e74e97aa0c5"],"x":964,"y":709,"w":1032,"h":142},{"id":"5fa65b3a93ac3d93","type":"change","z":"370cbf905893daf4","g":"a8a1aae2666b0dad","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"green","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":750,"wires":[["ceaa2186b0a7cae4","d98fb5f94e98fea4"]]},{"id":"cbe7fe163da1f69e","type":"change","z":"370cbf905893daf4","g":"a8a1aae2666b0dad","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":810,"wires":[["ceaa2186b0a7cae4","d98fb5f94e98fea4"]]},{"id":"ceaa2186b0a7cae4","type":"ui_button","z":"370cbf905893daf4","g":"a8a1aae2666b0dad","name":"","group":"3b8a9dc8.db09d2","order":4,"width":"6","height":"1","passthru":false,"label":"NAND Output","tooltip":"","color":"","bgcolor":"{{bc3}}","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":1690,"y":810,"wires":[[]]},{"id":"72b378dd184469d4","type":"switch","z":"370cbf905893daf4","g":"a8a1aae2666b0dad","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":750,"wires":[["cbe7fe163da1f69e"],["5fa65b3a93ac3d93"]]},{"id":"50089bcca85e8c69","type":"switch","z":"370cbf905893daf4","g":"a8a1aae2666b0dad","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":810,"wires":[["5fa65b3a93ac3d93"],["5fa65b3a93ac3d93"]]},{"id":"86b7e8b9d9403390","type":"link in","z":"370cbf905893daf4","g":"a8a1aae2666b0dad","name":"link in 221","links":["1bd24398c1769ce0"],"x":1005,"y":750,"wires":[["72b378dd184469d4"]]},{"id":"f893636b98b8abd2","type":"link in","z":"370cbf905893daf4","g":"a8a1aae2666b0dad","name":"link in 220","links":["9d51f91d0f14d0da"],"x":1005,"y":810,"wires":[["50089bcca85e8c69"]]},{"id":"d98fb5f94e98fea4","type":"change","z":"370cbf905893daf4","g":"a8a1aae2666b0dad","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"bool","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1690,"y":750,"wires":[["98802e74e97aa0c5"]]},{"id":"98802e74e97aa0c5","type":"debug","z":"370cbf905893daf4","g":"a8a1aae2666b0dad","name":"debug 404","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1880,"y":750,"wires":[]},{"id":"24ad266388a5209d","type":"group","z":"370cbf905893daf4","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["4e11787b02172287","772d18c49cb6d7f6","8e48f02ff9842c78","bce5298d07d69d9d","922018ef70284d42","d40b5bc840e23085","888a073676fe69a0","1d0249f2160dd523","1e5c0326c7ff0e54"],"x":964,"y":919,"w":1032,"h":142},{"id":"4e11787b02172287","type":"change","z":"370cbf905893daf4","g":"24ad266388a5209d","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"green","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":960,"wires":[["8e48f02ff9842c78","1d0249f2160dd523"]]},{"id":"772d18c49cb6d7f6","type":"change","z":"370cbf905893daf4","g":"24ad266388a5209d","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":1020,"wires":[["8e48f02ff9842c78","1d0249f2160dd523"]]},{"id":"8e48f02ff9842c78","type":"ui_button","z":"370cbf905893daf4","g":"24ad266388a5209d","name":"","group":"3b8a9dc8.db09d2","order":7,"width":"6","height":"1","passthru":false,"label":"NOR Output","tooltip":"","color":"","bgcolor":"{{bc3}}","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":1680,"y":1020,"wires":[[]]},{"id":"bce5298d07d69d9d","type":"switch","z":"370cbf905893daf4","g":"24ad266388a5209d","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":960,"wires":[["772d18c49cb6d7f6"],["772d18c49cb6d7f6"]]},{"id":"922018ef70284d42","type":"switch","z":"370cbf905893daf4","g":"24ad266388a5209d","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":1020,"wires":[["772d18c49cb6d7f6"],["4e11787b02172287"]]},{"id":"d40b5bc840e23085","type":"link in","z":"370cbf905893daf4","g":"24ad266388a5209d","name":"link in 223","links":["1bd24398c1769ce0"],"x":1005,"y":960,"wires":[["bce5298d07d69d9d"]]},{"id":"888a073676fe69a0","type":"link in","z":"370cbf905893daf4","g":"24ad266388a5209d","name":"link in 222","links":["9d51f91d0f14d0da"],"x":1005,"y":1020,"wires":[["922018ef70284d42"]]},{"id":"1d0249f2160dd523","type":"change","z":"370cbf905893daf4","g":"24ad266388a5209d","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"bool","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1690,"y":960,"wires":[["1e5c0326c7ff0e54"]]},{"id":"1e5c0326c7ff0e54","type":"debug","z":"370cbf905893daf4","g":"24ad266388a5209d","name":"debug 405","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1880,"y":960,"wires":[]},{"id":"1f87dafc73a39d18","type":"group","z":"370cbf905893daf4","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["40b557d56799e712","35aee7880c461d12","4a257f60284f528d","0e40e329a104d0e6","278562a769d9a0d4","500bba19c04ca207","207d9d5dea7e40cc","6d1d5acb2e5030d8","a8759f4a59a1e0de"],"x":964,"y":1129,"w":1032,"h":142},{"id":"40b557d56799e712","type":"change","z":"370cbf905893daf4","g":"1f87dafc73a39d18","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"green","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":1170,"wires":[["4a257f60284f528d","6d1d5acb2e5030d8"]]},{"id":"35aee7880c461d12","type":"change","z":"370cbf905893daf4","g":"1f87dafc73a39d18","name":"","rules":[{"t":"set","p":"bool","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"bc3","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1390,"y":1230,"wires":[["4a257f60284f528d","6d1d5acb2e5030d8"]]},{"id":"4a257f60284f528d","type":"ui_button","z":"370cbf905893daf4","g":"1f87dafc73a39d18","name":"","group":"3b8a9dc8.db09d2","order":8,"width":"6","height":"1","passthru":false,"label":"XNOR Output","tooltip":"","color":"","bgcolor":"{{bc3}}","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":1690,"y":1230,"wires":[[]]},{"id":"0e40e329a104d0e6","type":"switch","z":"370cbf905893daf4","g":"1f87dafc73a39d18","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":1170,"wires":[["40b557d56799e712"],["35aee7880c461d12"]]},{"id":"278562a769d9a0d4","type":"switch","z":"370cbf905893daf4","g":"1f87dafc73a39d18","name":"Switch2","property":"payload.switch2","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":1230,"wires":[["35aee7880c461d12"],["40b557d56799e712"]]},{"id":"500bba19c04ca207","type":"link in","z":"370cbf905893daf4","g":"1f87dafc73a39d18","name":"link in 225","links":["1bd24398c1769ce0"],"x":1005,"y":1170,"wires":[["0e40e329a104d0e6"]]},{"id":"207d9d5dea7e40cc","type":"link in","z":"370cbf905893daf4","g":"1f87dafc73a39d18","name":"link in 226","links":["9d51f91d0f14d0da"],"x":1005,"y":1230,"wires":[["278562a769d9a0d4"]]},{"id":"6d1d5acb2e5030d8","type":"change","z":"370cbf905893daf4","g":"1f87dafc73a39d18","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"bool","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1690,"y":1170,"wires":[["a8759f4a59a1e0de"]]},{"id":"a8759f4a59a1e0de","type":"debug","z":"370cbf905893daf4","g":"1f87dafc73a39d18","name":"debug 406","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1880,"y":1170,"wires":[]},{"id":"3b8a9dc8.db09d2","type":"ui_group","name":"LOGIC GATES","tab":"9f15e1fa.4fc18","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"9f15e1fa.4fc18","type":"ui_tab","name":"GATES","icon":"dashboard","order":1,"disabled":false,"hidden":false}]