Smart Fog Controller Hack
Looking to integrate your fog machine into Home Automation or just simply make it wifi enabled... This will show you how.
This project is a bit more complex but if you ever want to control a fog machine with Home Automation, this post is for you. The hack is designed where you can still use the original features of the machine with the added benefits of a smart device. Details and Circuit Design Coming Soon!
The concept explained and demo'ed
- 5V Relay Module (1 Channel)
- AC Sensing Circuit (See "Building an AC Sensing Circuit")
- D1 Mini ESP8266 (or an ESP8266/ESP32 board alternative but you will need to adapt the pin configuration)
- (Optional) 5V 1A 6W Isolated Switching Power Supply (PLG06A-5V)
- (Optional) Computer power cord extension cable, 1.5ft (Monoprice has the best price)
- (Optional) Qty 2 - GX16-3 Panel Metal Mount Circular Metal Aviation Connector Adapter Male Female Plug Socket (3 Pins)
- Fog Machine (This article is designed around the Chauvet Hurricane 700 but most fog machines would work with this hack)
Since a fog machine runs on AC power you need a way to convert the AC signal that indicates the fog machine is ready into a microprocessor. This can be done with an AC sensing circuit who's primary components are a Bridge Rectifier and an Optocoupler. See the circuit diagrams below.
To make this compatible with 220v AC current you will need to swap the 33k ohm and 330 ohm resistors. Details coming soon.
110v AC Sense Circuit
Details and Build Video Coming Soon!
Hacking the system boils down to tapping into the wires that feed the remote to sense when the LED turns on indicating it is ready to disperse fog and connecting the two wires together that trigger the fog. AC power is what runs the entire fog machine to proceed with caution and at your own risk.
See the wiring diagram below to understand how each component interconnects to make up the entire smart hack.
Common Remote on no name fog machines
There is a common controller that is used on no-name or non mainstream brands of fog machines which uses a yellow, brown and blue color coding. Below you will find a color conversion for this remote with the color coding found in Chauvet Hurricane remotes.
Black = Yellow Green = Brown White = Blue
There are two ways to provide power to your D1 Mini... either through a USB micro power supply or by tapping into the the fog machine power cord and using a PLG06A-5V transformer (see "Wiring Diagram").
Details Coming Soon!
I am not going to cover how to flash an espHome because there documentation that already exists to do this. Visit the espHome site for installation details or add the espHome plugin to Hass.io to flash an espHome device. I have provided a template YAML config based on the diagram above.
espHome Fog Machine YAML (D1 Mini)