- Posted on
Mon Sep 11, 2017 3:06 pm
-
kw123
offline
-
- Posts: 8377
- Joined: May 12, 2013
- Location: Dallas, TX
-
indigoplotd will create plots with binning : 5minutes/1hour/one day
there are created every 5 minutes
it will automatically read the SQL history once a day (as a refresh) and then during the day it will check the devices/state(s) of the plots every 1 minute and build averages, max/min/sum/ delta, consumption...
any data that are numbers or true/false/up/down/on/off/expired ... can be used
you can setup plots (2 steps) manually or through scripts (you need to use python do do that. it will automatically create a script for each plot that would recreate it in .../py in the indigoplotd directory)
1. define the data source: device/ state/ measurement (ave,min/max/ ..)
2. define a plot device ( (a) size color .. .. (b) pick from the data defined in step one to populate plots you can have 1... 100 lines / histograms dots / numbers etc per plot.
There is a menu item" simple plot" which does step 1&1 in one menu, but only for single line plots and very few options for size, color etc. If you want to change them, you need to change that in the regular step 2. --- it is meant to enable you to create a simple plot in seconds.
prerequisite for history is naturally that you have either sqlite or postgres active, or the history is started as soon as you define data source- in the internal data files
there is also a PDF in the download section.. some generations old but besides fancy options it should get you through .
Karl