Update influxdb-logger.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Mon, 12 Aug 2019 20:33:08 +0000 (13:33 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Mon, 12 Aug 2019 20:33:08 +0000 (13:33 -0700)
third-party/influxdb-logger.groovy

index 2242964..e56fbcc 100755 (executable)
@@ -693,7 +693,7 @@ private manageSubscriptions() {
     // Subscribe to mode events:
     if (prefLogModeEvents) subscribe(location, "mode", handleModeEvent)
     
-    subscribe(accelerometers, "accelerometers", handleEvent)
+    subscribe(accelerometers, "acceleration", handleEvent)
     subscribe(alarms, "alarms", handleEvent)
     subscribe(batteries, "batteries", handleEvent)
     subscribe(beacons, "beacons", handleEvent)