Skip to content

Commit

Permalink
doord.py: Temporarily disable foot-in-door mode
Browse files Browse the repository at this point in the history
The sensor on the upstairs door appears to be borked, so ignore it for
now.

Probably noone will notice as openbot performs a similar function, but
better.

Signed-off-by: Paul Brook <[email protected]>
  • Loading branch information
pbrook committed Aug 4, 2016
1 parent 74decfe commit ec8b3b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doord.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,9 @@ def _really_update(self, cur):
if self._recent_tag_out():
new_state = False
else:
new_state = self.door_state["internaldoor"]
# Disabled while door sensor is borked
#new_state = self.door_state["internaldoor"]
new_state = False
if old_state and not new_state:
self.space_open_state = False
self.g.irc.send("The space is closed")
Expand Down

0 comments on commit ec8b3b7

Please sign in to comment.