From 56d60d0e65129d003a40620fa6d31093065af738 Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Mon, 12 Aug 2019 13:38:19 -0700 Subject: [PATCH] Update influxdb-logger.groovy --- third-party/influxdb-logger.groovy | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/third-party/influxdb-logger.groovy b/third-party/influxdb-logger.groovy index e56fbcc..576f21e 100755 --- a/third-party/influxdb-logger.groovy +++ b/third-party/influxdb-logger.groovy @@ -694,10 +694,10 @@ private manageSubscriptions() { if (prefLogModeEvents) subscribe(location, "mode", handleModeEvent) subscribe(accelerometers, "acceleration", handleEvent) - subscribe(alarms, "alarms", handleEvent) - subscribe(batteries, "batteries", handleEvent) - subscribe(beacons, "beacons", handleEvent) - subscribe(buttons, "buttons", handleEvent) + subscribe(alarms, "alarm", handleEvent) + subscribe(batteries, "battery", handleEvent) + subscribe(beacons, "presence", handleEvent) + subscribe(buttons, "button", handleEvent) subscribe(cos, "carbonMonoxide", handleEvent) subscribe(cos, "carbonDioxide", handleEvent) subscribe(colors, "hue", handleEvent) @@ -705,7 +705,7 @@ private manageSubscriptions() { subscribe(colors, "color", handleEvent) subscribe(consumables, "consumableStatus", handleEvent) subscribe(contacts, "contact", handleEvent) - subscribe(doorsControllers, "door", handleEvent) + subscribe(doorsControllers, "doorState", handleEvent) subscribe(energyMeters, "energy", handleEvent) subscribe(humidities, "humidity", handleEvent) subscribe(illuminances, "illuminance", handleEvent) @@ -743,10 +743,6 @@ private manageSubscriptions() { subscribe(thermostats, "thermostatMode", handleEvent) subscribe(thermostats, "thermostatFanMode", handleEvent) subscribe(thermostats, "thermostatOperatingState", handleEvent) - subscribe(thermostats, "thermostatSetpointMode", handleEvent) - subscribe(thermostats, "scheduledSetpoint", handleEvent) - subscribe(thermostats, "optimisation", handleEvent) - subscribe(thermostats, "windowFunction", handleEvent) subscribe(threeAxis, "threeAxis", handleEvent) subscribe(touchs, "touch", handleEvent) subscribe(uvs, "ultravioletIndex", handleEvent) -- 2.34.1