From a8771e4ec7bd374abd13ec81ee115af156f29602 Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Tue, 19 Mar 2019 13:16:36 +0000 Subject: [PATCH] door chanegs --- discobert.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discobert.py b/discobert.py index 5d0b4f9..50409d0 100644 --- a/discobert.py +++ b/discobert.py @@ -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()