fensterbogenbleuchtung -> UDP
This commit is contained in:
parent
62f1b4e86e
commit
ce17854095
2 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue