|
|
@@ -292,7 +292,9 @@ def setOnOff(): |
|
|
|
|
|
|
|
def doorShutdown(): |
|
|
|
tts.say(random.choice(bye_sayings), "en") |
|
|
|
closeService(4) # sleep to give pir sensor some time |
|
|
|
# sleep to give user some time to close the door |
|
|
|
# (pir sensor also stays up for 2 sec) |
|
|
|
closeService(5) |
|
|
|
|
|
|
|
def bootstrap(): |
|
|
|
wiringpi.wiringPiSetup() |
|
|
|