changeset 204:9a3b8f1aaf78

old edits Ignore-this: 3e77b4a7d621e0bb2218e815ae60934c
author drewp@bigasterisk.com
date Sun, 04 Oct 2015 04:19:26 -0700
parents 572580b50de3
children 40000fafad94
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: