Beispiel #1
0
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
Beispiel #2
0
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
Beispiel #3
0
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
Beispiel #4
0
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