def boilerPowerOff(camrecorder_cfg): logging.info('boiler goes OFF') snap_shot(camrecorder_cfg) # take a snapshot before switching off boilerPowerSwitch(0) # switch_off sleep(5) snap_shot(camrecorder_cfg) # take a snapshot after switching off
def boilerPowerOff(camrecorder_cfg): logging.info('boiler goes OFF') snap_shot(camrecorder_cfg) # take a snapshot before switching off boilerPowerSwitch(0) # switch_off sleep(5) snap_shot(camrecorder_cfg) # take a snapshot after switching off
def boilerPowerOn(camrecorder_cfg): logging.info('boiler goes ON') snap_shot(camrecorder_cfg) # take a snapshot before switching on boilerPowerSwitch(1) # switch_on sleep(5) snap_shot(camrecorder_cfg) # take a snapshot after switching on
def boilerPowerOn(camrecorder_cfg): logging.info('boiler goes ON') snap_shot(camrecorder_cfg) # take a snapshot before switching on boilerPowerSwitch(1) # switch_on sleep(5) snap_shot(camrecorder_cfg) # take a snapshot after switching on