Your electronic circuit is sensitive to interference. Therefore- do NOT use the DC line so close to AC main line. Separate them into separate cables. Use AC filter(s) to reduce AC power line interference. If possible, use a logic with a large trigger voltage, and if you can, slow the triggering signal by a low-pass filter to reduce circuit response to unwanted signals.
In extreme circumstances use optical fiber for logic circuits like it is done in high-quality audio systems.