minMax  

Developer: Karl's Plugins     Like this plugin? Show your appreciation!
Category: Reporting/UI/Control Pages
Github: Github Repo
Assistance: Get help!    Check the online documentation
Plugin ID: com.karlwachs.minMax
Latest release: v7.10.10 released on Dec. 11, 2018
Release downloaded: 0 times
Requires: Indigo v7.0.2 or higher
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

This is an indigo plugin that
tracks min/max/ave/count/CountIf1/std dev .. for devices/states and variables
for hour/lastHour/day/lastDay/last7Days/thisWeek/lastWeek/thisMonth/lastMonth

it will create variables deviceName_state_measurement in defined variable folder (setup in config)

Release details
Released on: Dec. 11, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.10.10 @ 2018-12-11

  1. added measures: First / last Entry Value and Date. These are the data from the first/last entry in the sql db in the time bin
Release details
Released on: Dec. 8, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.9.9 @ 2018-12-07

  1. added measures: standard deviation "StdDev"
    Start Value "Start" = first value in time bin and "End" = Last Value all functions: "Min", "Max", "DateMin", "DateMax", "Ave", "Count", "Count1", "First"", "Last time bins: this & last: hour, day, week, month, and last7Days

  2. improved menu error checking - in case not all fields are set

  3. improved formatting of menus and printouts

  4. automatic subscription to changes in devices and variables. Will switch on/off if not needed optimized checking if data updates are needed to reduce cpu load

  5. added option to select / de-select all 90 possible measures in memu "define tracking ..."

  6. force refresh all data action & menu items

Release details
Released on: Dec. 4, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added standard deviation measure ( devStd )

  2. improved menu error checking

  3. improved formatting of menus and printouts

  4. added option to select / deselect all 72 possible measures in menu define tracking ...

Release details
Released on: Dec. 2, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. major rewrite of internal data structure.

  2. added format option for ave/min/max variables eg %.1f or %.3f ... For count it is integer and dates it is string

  3. added free format option for date strings in eg ...DateMax
    %Y-%m-%d %H:%M:%S ==> 2018-02-24 15:13:40 %y-%b-%d %I%p %M:%S ==> 2018-Feb-24 3pm 13:40 set in config

  4. added count if value > 0 measure

  5. average is now a proper time weighted average, before it was just sum(values)/count. if eg temperature is 0 for 1 hour and 10 for 9 hours simple average would give 5, time weighted average = 9
    ==> sqllogger used to get the data only stores the changes, hence time weighted average is more proper in most cases the difference is much smaller

  6. now has the following measures:
    BINS: "thisHour","lastHour","thisDay","lastDay","thisWeek","lastWeek","thisMonth","lastMonth","last7Days"
    and for each of the above the following
    functions: "Min","Max","DateMin = Date of Min","DateMax = Date of Max","Ave","Count","Count1= Count when value>0 - use for eg events = on/off types"

  7. option to choose short name for variables - set in define tarcking of devices menu instead of s-2-TH-Leo-Outside_Temperature_thisWeek_Max eg set short name to L-O-Temp results in variable name: L-O-Temp_thisWeek_Max

  8. in menu add device/state now shows the previously selected devices first

  9. added time CPU tracking option (for debugging and experts), set in config

Release details
Released on: Dec. 1, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added warning to selection menu, if no measure (ave min/max) was selected that no variable will be created.
    also same info is printed to logfile "--- no measure selected, no variable will be created---"
  2. previously defined / tracked devices are marked in the selection box for new devices to be tracked
  3. bugfix in logfile for error messages
Release details
Released on: Nov. 28, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed error: File "plugin.py", line 154, in validatePrefsConfigUi

Release details
Released on: Nov. 15, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added: 1. last 7 days measurement 2. separate remove menu from add menu 3. add expanded logging options 4. improved menus to indicate you need to select measurements and click on confirm

Release details
Released on: Nov. 29, 2017
Requires: Indigo v7.0.2+
Changes in this release

base release, docs see indigo site http://forums.indigodomo.com/viewtopic.php?f=188&t=15241

Requirements

Indigo 6