little script to simulate s0 events by flipping relais