select a range for the values. Values outside this range will be ignored.Use this plugin to calculate the min/max/averages of device/states or variables and put the result into variables for easy access in your display pages etc.
e.g. what was the min/max/ average temperature yesterday or last week?
(please use this thread http://forums.indigodomo.com/viewtopic.php?f=188&t=15240&p=107092#p107092 to discuss the plugin: )
version 7-5-2 takes advantage of some i7 features
download from here:https://www.dropbox.com/s/hrsnfn9alsu6fvt/minMax-v-7-5-2.zip?dl=1
this plugin will create variables like these:
DeviceName_StateName_thisHour_Ave
DeviceName_StateName_thisHour_Min
DeviceName_StateName_thisHour_Max
DeviceName_StateName_thisHour_Ave_Count
DeviceName_StateName_thisHour_Max_Date
DeviceName_StateName_thisHour_Min_Date
...
with a device= Outside and the state = temperature and selected measurement = Min and timeframe = lastDay it would create a variable:
Outside_Temperature_LastDay_Min
in a folder minMax
The Options for time frames: for average/min/max of the device/states are:
this hour
last hour
this day
last day
last 7 days
this week
last week
this month
last months
Besides min/max you can also get the timestamp of when the min/max value was e.g. for this months would be interesting when the max temp was.
For averages you can get the number of measurements that went into the sum/#of measurements
You can also
It will read the SQLITE DataBase every x minutes (configure in config) and will calculate the min/mac/average values of the selected device/states or selected variables.
YOU MUST HAVE SQLITE / postgres running (Enable sqllogger plugin)
the screenshots:
the variables created:
the config menu:
the selection menu:
NOW on plugin storehttps://www.indigodomo.com/pluginstore/95/
Karl