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.
Last updated
Looking to integrate your fog machine into Home Automation or just simply make it wifi enabled... This will show you how.
Last updated
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!
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.
Parts
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.
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").
From This...
To This...
To THIS...
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.