Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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