예제 #1
0
파일: boilerctrl.py 프로젝트: corerd/PyDomo
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
예제 #2
0
파일: boilerctrl.py 프로젝트: corerd/PyDomo
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
예제 #3
0
파일: boilerctrl.py 프로젝트: corerd/PyDomo
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
예제 #4
0
파일: boilerctrl.py 프로젝트: corerd/PyDomo
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