mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
doorstate: reduce logging output
Remove unnecessary output Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
c8503f46e8
commit
71e55ec523
@ -52,8 +52,6 @@ class AudioPlayer(Thread):
|
||||
self._event.set()
|
||||
|
||||
def run(self):
|
||||
print('Run')
|
||||
|
||||
while not self._shutdown:
|
||||
self._event.wait(1)
|
||||
|
||||
@ -144,13 +142,9 @@ while True:
|
||||
if ev_line:
|
||||
event = line.event_read()
|
||||
door_open = event.type == gpiod.LineEvent.RISING_EDGE
|
||||
print('door_open: %s' % door_open)
|
||||
publish_doorstate()
|
||||
|
||||
print('Loop: door_open: %s' % door_open)
|
||||
print('Loop: is_locked: %s' % is_locked)
|
||||
print('Loop: door_alarm_set: %s' % door_alarm_set)
|
||||
print()
|
||||
|
||||
# Door State stuff
|
||||
if is_locked is not None:
|
||||
if is_locked is False:
|
||||
|
Loading…
Reference in New Issue
Block a user