from ablib import Daisy4 myrelay = Daisy4('D5','DIP1') myrelay.on()