For synchronizing motion, you can use the camera's hot shoe. It will be closed during the exposure and open once it's complete.
Or even better the PC Sync port - it's quite a simple plug, easy to get one and connect to the camera, the hot shoe is a bit fiddly to connect to (unless you have a spare shoe and are willing to modify it). Also setting flash sync to the second curtain will close the circuit just before the exposure ends instead of when it starts, which may be beneficial for interval calculations with long exposures.
Edit: the circuit is insulated from the camera electronics since some flash lights can send 250V or even more trough the PC socket - it acts as the pathway for the charge from capacitors to the bulb (in some, esp. older strobes).