Hello everyone! Starting with some context. I'm the technical director at an escape room, and I've used node-red to control most of our electronics in one of our rooms by means of two Raspberry Pi 3s running two node-red servers, joining the two using TCP. Node-red has been a wonderful environment to work with, as I have very little coding experience and mainly do low-voltage wiring.
So, my predicament. The grand finale of the room is that the team must have one of their own sit in an "electric chair" (it really just vibrates and uses some sparkers ) while the rest of the team pushes the button to trigger the chair's execution sequence. Previously, the chair would go off whenever the button was pressed, so the general manager at my establishment wanted me to add a pressure switch to the seat of the chair to make sure someone HAS to be seated to trigger the execution sequence. I installed the switch, wired it up as an input GPIO, and realized I had no idea how to make that switch be a prerequisite or gate for the pushing of the execution button. I read that the "join" node can merge two messages to one output, so maybe that could help? I only saw examples of sensor readings being merged, however.
Would anyone have a suggestion on how to make this work? I'm running Node-RED 1.2.8
Thank you in advance,