How do I wire a fog machine to be triggered by a motion sensor?
I have a couple fog machines purchased at Target around Halloween last year. The model has a switch on an extension cord which when pressed triggers the fog machine to produce fog for 5-10 seconds. They work great but I want to use a remotely placed motion sensor, like from a motion sensor flood light to trigger the fog machine when people walk past. I purchased a replacement motion sensor module for a flood light and looked at the wiring of the switch and the fog machine but haven't figured out how to properly wire it. The motion sensor module has a "test" setting which would turn on the light fixture for 5 seconds, I want to use this to trigger the fog periodically as people walk past. Any help would be appreciated. A couple photos to show the pieces are included. If more detailed information about the wiring is needed please let me know.