projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switch off, again
[svn42.git]
/
switch-power.py
diff --git
a/switch-power.py
b/switch-power.py
index
2af257c
..
b3dbfab
100755
(executable)
--- a/
switch-power.py
+++ b/
switch-power.py
@@
-210,6
+210,11
@@
def eventNobodyHere():
for id in present_ids.split(" "):
time.sleep(0.2)
switchPower(id,False)
for id in present_ids.split(" "):
time.sleep(0.2)
switchPower(id,False)
+ present_ids.reverse()
+ time.sleep(4)
+ for id in present_ids.split(" "):
+ time.sleep(0.3)
+ switchPower(id,False)
##def eventPanic():
## logging.info("eventPanic(): switching around: "+uwscfg.slug_ids_panic)
##def eventPanic():
## logging.info("eventPanic(): switching around: "+uwscfg.slug_ids_panic)