| 
															
																@@ -7,7 +7,7 @@ import logging as log 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 class Calibrations(object): 
															 | 
															
															 | 
															
																 class Calibrations(object): 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     TOLERANCE_RATE = 0.6 
															 | 
															
															 | 
															
																     TOLERANCE_RATE = 0.6 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     THRESHOLD = 10 
															 | 
															
															 | 
															
																     THRESHOLD = 10 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    FALL_TOLERANCE = 2 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    FALL_TOLERANCE = 0 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																     def __init__(self, device_id): 
															 | 
															
															 | 
															
																     def __init__(self, device_id): 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         self.dev_ref = fbdb.reference('devices').child(device_id) 
															 | 
															
															 | 
															
																         self.dev_ref = fbdb.reference('devices').child(device_id) 
															 |