added automatic delayed shutter closing
This commit is contained in:
14
klappezu.py
Normal file
14
klappezu.py
Normal file
@ -0,0 +1,14 @@
|
||||
from slic.devices.general.shutter import Shutter
|
||||
from slic.utils.run_later import run_at, tomorrow
|
||||
|
||||
sh1 = Shutter("SATFE10-OPSH066")
|
||||
sh2 = Shutter("SATOP21-OPSH138")
|
||||
|
||||
def close():
|
||||
sh1.close()
|
||||
sh2.close()
|
||||
|
||||
def klappezu():
|
||||
run_at(tomorrow(7), close)
|
||||
|
||||
|
Reference in New Issue
Block a user