projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prepare for recovery code (unfinished)
[svn42.git]
/
switch-power.py
diff --git
a/switch-power.py
b/switch-power.py
index
4db6ad7
..
9e036b3
100755
(executable)
--- a/
switch-power.py
+++ b/
switch-power.py
@@
-343,7
+343,7
@@
while True:
elif structname == "BoreDoomButtonPressEvent":
eventPanic()
continue
elif structname == "BoreDoomButtonPressEvent":
eventPanic()
continue
- elif structname == "MovementSensorUpdate":
+ elif structname == "MovementSensorUpdate" or structname == "DoorAjarUpdate":
eventMovement()
continue
elif structname == "IlluminationSensorUpdate" and "Value" in dictdata:
eventMovement()
continue
elif structname == "IlluminationSensorUpdate" and "Value" in dictdata: