Complete beginner here, so apologize if this is obvious - but I'm trying to hook up a fog machine to a relay module for my Arduino. The Fog machine has a plug for the wall, then a second drop cord plugs into the back of the fog machine that is connected to a little unit that has a light on it, and a rocker switch that, when depressed, causes the fog machine to spit out smoke.
The rocker switch is spring loaded, so letting go flips immediately back to the off position. The setup is exactly like this thread: https://forum.sparkfun.com/viewtopic.php?t=29518 There is a black wire that comes in, which is soldered to a post for a small light, then a blue wire is soldered on the other post. A small jumper goes from the same post as this blue wire, to the outside post of the rocker switch. Then the middle post of the rocker switch is connected to the white wire. I believe this is called a 'switched neutral' Hooking up a multimeter shows a 120v difference between both the black and blue wires, and the black and white wires.
On that thread, the solution was to wire the relay 'in parallel' to the switch, but it doesn't explain the circuit past that. How do I hook up a relay module before the switch so that I can trigger it from my arduino? The relay is SPDT relay with COMM, NO and NC posts. Hope I explained that clearly!