fensterbogenbleuchtung -> UDP

This commit is contained in:
Markus Schmidl 2017-02-15 21:29:28 +01:00
parent 62f1b4e86e
commit ce17854095
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@ def switch_longpressed(event):
elif pin_shortpress_count[event.pin_num] == 1:
event.chip.output_pins[event.pin_num].toggle()
elif pin_shortpress_count[event.pin_num] == 2:
call(["/root/chch-power/ligth.sh"])
call(["/root/chch-power/light.sh"])
def switch_verylongpressed(event):
shortpress_delay = pin_last_rise_date[event.pin_num] - pin_last_shortpress[event.pin_num]