Enable light toggling

The PLC expects a pulse, so we must write 1 and then immediately reset
to 0.
Fix ID parsing and ensure s7conn object is available