Posted July 27, 2026 at 2:34 am #2 Is the Pi’s ground tied to the 24 V supply’s 0 V somewhere? If so the opto isn’t isolating anything.