subscribe(thermostats, "thermostatMode", handleThermostatModeEvent)
subscribe(thermostats, "fanMode", handleFanModeEvent)
subscribe(thermostats, "thermostatOperatingState", handleThermostatOperatingStateEvent)
- subscribe(automatic, "yesterdayTripsAvgAverageKmpl",handleDailyStats)
- subscribe(automatic, "yesterdayTripsAvgDistanceM",handleDailyStats)
- subscribe(automatic, "yesterdayTripsAvgDurationS",handleDailyStats)
- subscribe(automatic, "yesterdayTotalDistanceM",handleDailyStats)
- subscribe(automatic, "yesterdayTripsAvgFuelVolumeL",handleDailyStats)
- subscribe(automatic, "yesterdayTotalFuelVolumeL",handleDailyStats)
- subscribe(automatic, "yesterdayTotalDurationS:",handleDailyStats)
- subscribe(automatic, "yesterdayTotalNbTrips",handleDailyStats)
- subscribe(automatic, "yesterdayTotalHardAccels",handleDailyStats)
- subscribe(automatic, "yesterdayTotalHardBrakes:",handleDailyStats)
- subscribe(automatic, "yesterdayTripsAvgScoreSpeeding",handleDailyStats)
- subscribe(automatic, "yesterdayTripsAvgScoreEvents",handleDailyStats)
+ subscribe(automatic, "presence",handleDailyStats)
+ //subscribe(automatic, "yesterdayTripsAvgDistanceM",handleDailyStats)
+ //subscribe(automatic, "yesterdayTripsAvgDurationS",handleDailyStats)
+ //subscribe(automatic, "yesterdayTotalDistanceM",handleDailyStats)
+ //subscribe(automatic, "yesterdayTripsAvgFuelVolumeL",handleDailyStats)
+ //subscribe(automatic, "yesterdayTotalFuelVolumeL",handleDailyStats)
+ //subscribe(automatic, "yesterdayTotalDurationS:",handleDailyStats)
+ //subscribe(automatic, "yesterdayTotalNbTrips",handleDailyStats)
+ //subscribe(automatic, "yesterdayTotalHardAccels",handleDailyStats)
+ //subscribe(automatic, "yesterdayTotalHardBrakes:",handleDailyStats)
+ //subscribe(automatic, "yesterdayTripsAvgScoreSpeeding",handleDailyStats)
+ //subscribe(automatic, "yesterdayTripsAvgScoreEvents",handleDailyStats)
def queue = []
atomicState.queue=queue