changeset 1009:0ce7cd91111a

old edits Ignore-this: 3e77b4a7d621e0bb2218e815ae60934c darcs-hash:20151004111926-312f9-543686f9c04fc45962cc86f2dae2b71bced3e312
author drewp <drewp@bigasterisk.com>
date Sun, 04 Oct 2015 04:19:26 -0700
parents 084f95932677
children f2d05b425dfa
files service/theaterArduino/watchpins.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/service/theaterArduino/watchpins.py	Sun Oct 04 04:18:58 2015 -0700
+++ b/service/theaterArduino/watchpins.py	Sun Oct 04 04:19:26 2015 -0700
@@ -140,11 +140,11 @@
         a = ActivityStream()
         self.settings.mongo.ensure_index('t')
         remaining = {'downstairsDoorMotion':10, 'downstairsDoorOpen':10,
-                     'frontDoorMotion':10, 'frontDoor':50, 'bedroomMotion': 10}
+                     'frontDoorMotion':30, 'frontDoor':50, 'bedroomMotion': 10}
         recent = {}
         toAdd = []
         for row in list(self.settings.mongo.find(sort=[('t', -1)],
-                                                     limit=5000)):
+                                                     limit=10000)):
             try:
                 r = remaining[row['name']]
                 if r < 1: