I use a very basic fog machine with a wired trigger button, which is a little inconvenient at parties. So I was looking into improving the user experience by DIYing an ESP etc. into it, but it actually turned out that a Shelly and relay perfectly fulfill the requirements and simplify the whole modification a lot. The fog machine is now controllable via Wifi and can be automated in HA! (Manual wired control still works as fallback.)
I was about to consider doing this using one of the many spare sonoff Basics I have, but realised that you use the local switching on the shelly to detect the heater being ready - so looks like I need to buy a shelly. and the AC relay.
The Sonoff Basic is the first switch I looked into, but it’s much bigger than the Shelly and wouldn’t have fit into my fog machine. The ready detection isn’t absolutely necessary, but definitely helpful.
What a cool project, I am going to replicate this for my halloween smoke alley. Basically i want to combine this idea with blacklight and/or strobolights triggered by a motion sensor.
Can you share your entity configuration in Home Assistant for the “Available” and “On” and “auto fog” view in your video? This is my first WiFi shelly i am going to add to my HA system, hence the ask.