Still working on this.
What I have working is a pi zero with Mqtt service running on it and a python script monitoring it.
Then I have Esp32 monitoring the ac current going to the machines. When a machine turns on, current goes up. That triggers the Esp32 to send the Mqtt command to turn on the relay.
When the machine turns off, it waits 60 seconds before turning off the DC to clean out the lines. It also gives me time to turn on another machine without the dc cycling off/on.
I have the prototypes all working, I just need to make an enclosure for the Esp32 and buy more devices for the rest of the machines.
All my blast gates are right by the machines, so they’re easy to open up manually.
I was designing blast gates to open up with stepper motors and decided that’d be unnecessary.