INDIGOplotD -- a plot tool for indigo -- program download

Posted on
Mon Dec 28, 2015 3:44 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

https://www.dropbox.com/s/qucuoz411juobka/INDIGOplotD-v-3-14-5.zip?dl=1

v 3.14.5

fixed:
MATPLOT (only) when using very large plot sizes, the x-axis labels (eg day /n month) were overlapping in Y direction. That should be fixed now

Karl

Posted on
Sat Jan 16, 2016 11:32 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

https://www.dropbox.com/s/dtc029ywbo4emd3/INDIGOplotD-v-3-14-6.zip?dl=0 - v-3-14-6

fixed:
MATPLOT only: if data did not cover full time range, density of time tables where wrong. EG: If only 20days of one year data was present in a 365 day plot, it used the settings for 20 days not 365.

Karl

Posted on
Tue Apr 05, 2016 9:50 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

new version3-14-7 posted

http://forums.indigodomo.com/viewtopic.php?f=165&t=15884&p=113648#p113648

fixed:
"/menu/simple plot" had some issues with creating plots while waiting for SQL import to finish.

some smaller internal fixes e.g. data config files are now formatted ..

Karl

from now on the most recent and history will always be posted here:
viewtopic.php?f=165&t=15884&p=113648#p113648

Posted on
Wed Sep 14, 2016 2:59 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

https://www.dropbox.com/s/bhwutuu0675fres/INDIGOplotD-v-4-15-1.zip?dl=1


V 4-15-1
added:
- compatible with Indigo 5,6, and above .
- added MIN/MAX feature: plot min, max for each day in month, or day or week or hour on top of regular minute/hour/day plots
eg if you have and Minute-bin plot for one whole week. This option will show the min/ max for each day of that week = 7 points on top of the 2012 points from the Minute plot
you can place a dot or a number at these points.
works with Matplot and GNUPLOT


the example shows the month plot with the maximin / minimum values in the 3 months
Karl
Attachments
Screen Shot 2016-09-14 at 16.05.36.png
Screen Shot 2016-09-14 at 16.05.36.png (96.2 KiB) Viewed 18497 times

Posted on
Fri Sep 16, 2016 6:30 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo


Posted on
Wed Sep 21, 2016 9:20 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

Fixed:
if data not presentGNUPLOT issues a warning.
There is now an option to suppress these warningsin general (in config) and the PLUGIN will automatically suppress MIN/MAX points that do not have any data.


https://www.dropbox.com/s/lgke89ra28bo2wj/INDIGOplotD-v-4-15-9.zip?dl=1

Posted on
Thu Sep 29, 2016 9:58 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

V 4-16-2

added EVENT measurement (data type)
Screen Shot 2016-09-28 at 21.54.52.png
Screen Shot 2016-09-28 at 21.54.52.png (73.33 KiB) Viewed 18432 times

Currently the plugin does averages/ max/min/ accumulated values, differentiated values etc. Now we are adding "EVENT"

For this the plugin reads the SQL database and ONLY PLOTS THE DATA THAT IS IN THE SQL-logger: Indigo writes to the logger only when a state / variable changes.

The attached shows an example of my "YOU GOT MAIL" sensor. When the mailbox gets opened the sensors sends a signal and when it is closed, not other wise.
Shown are the regular "average" as line and the "EVENT" measurement as red dot. You can clearly see the events when the mailbox got opened. While the average is an average over time for each bin ( here 1 hour) of the current state value in indigo.

This is NOT useful if you have frequent events (like 1/minute) You will get too many dots. It will look like a solid line.

One issue: the regular way does binning (collect info for eg 5 minutes) and the dot of the line gets draw on the corner of the bin eg at 5/10/15 minutes. The events get drawn at the second of when the event occurs. That might create some situations where the 2 infos seem out of sync.

Here how to use it:
in select device/states for data source, elect the device/state as before, but instead of average use "EVENT", click confirm
Screen Shot 2016-09-29 at 10.55.22.png
Screen Shot 2016-09-29 at 10.55.22.png (144.16 KiB) Viewed 18432 times

then in edit PLOT select the new data source and elect color linotype etc. and click confirm
Screen Shot 2016-09-29 at 10.55.53.png
Screen Shot 2016-09-29 at 10.55.53.png (91.2 KiB) Viewed 18432 times

Things like smoothing etc will likely not be working, but that would defeat the purpose anyway: do don't want smooth events, but raw as they occur.

Karl

Posted on
Sat Oct 08, 2016 11:45 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo


Posted on
Mon Oct 10, 2016 2:26 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

https://www.dropbox.com/s/f4kkhdmplvrlvv7/INDIGOplotD-v-4-16-4.zip?dl=1

fixed matplot only:
do not show dots when <ymin or >ymax for matplot

I introduced
Code: Select all
y=max(ymin,min(ymax,y))
for Y values to be plotted to make the lines smoother when data was missing.
Other wise the lines would just stop. That also moved all dots into the plot rage, even when pushed outside by eg offset =-0.001 and plot range =0:2 to suppress dots at y=0
now that "fix" will only apply for lines and histogram etc. not for single dots. If they are outside Y-RANGE they will not be plotted.


Karl

Posted on
Thu Oct 13, 2016 1:34 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

https://www.dropbox.com/s/6btrgdj1xsdgnz4/INDIGOplotD-v-4-16-6.zip?dl=1

posted v 4-16-6

fixed/added:
timing of matplot vs sql imports
improve sql import when a device/state is used as eg average AND max AND min( eg average temp/ max temp/ min temp in a day).
The SQL export job just runs once for all three


the plugin now accepts besides number:
val = str(val).upper()
if ( val== "TRUE" or
val== "T" or
val =="ON" or
val== "YES" or
val== "UP" or
val== "ENABLED"or
val== "CLEAR" ): return 1.0 # true/on/.... --> 1
if ( val== "FALSE" or
val== "F" or
val== "OFF" or
val== "NO" or
val== "DOWN" or
val== "FAULTED"or
val== "FAULT" or
val== "EXPIRED"): return 0.0 # false/off/... --> 0

Karl

Posted on
Thu Oct 20, 2016 3:18 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

https://www.dropbox.com/s/27jbel7sw0t7wqt/INDIGOplotD-v-4-16-9.zip?dl=1
Version 4-16-9:

fixed:
problems with SQL import, only 2 days were imported. That caused some missing data and also created issues where no data was present when plot were generated.

added
new event types, to plot eg "door was opened", "mail arrived", "you got home" etc= parse data, In other words EVENTS, not for eg temperature plots etc.
ANY: any entry into the SQL logger Database
UP: only entry when data = 1/on/true/up/ ...
DOWN: only entries when data = 0/off/false/down/ ...
Changed: only data when it is different from last entry. (works only with MATPLOT not with GNUPLOT). When a device has eg 20 states and only one is changed all states get written to the database by indigo and that would be looked at as an "event". This option will only show the device/state events where the device/state is changed.
This only works with SQL logger switched on.

Karl

Posted on
Thu Oct 27, 2016 11:13 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

https://www.dropbox.com/s/ujsdlyn9r47joaj/INDIGOplotD-v-4-16-12.zip?dl=1

posted v 4-16-12

fixes:
depending on sequences sometimes EVENT type data was not handled properly (trying to optimize things too much)

Karl

Posted on
Mon Nov 21, 2016 1:35 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

posted v 4-16-14
http://forums.indigodomo.com/viewtopic.php?f=165&t=15884&p=113648#p113648

added/fixed:
it will now automatically change path to SQLite database when you upgrade from i6 to i7 = change the path in indigoplotD/menu/configuration to the indigo sql database.

the pseudo logic is "if database still points to i6 path while indigo is v7 then change SQLite path to i7 path"

Karl

Posted on
Sun Dec 11, 2016 11:24 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

http://forums.indigodomo.com/viewtopic.php?f=165&t=15884&p=113648#p113648

posted v 4-16-16

fixed issue that true/ false was not recognized as a "number" .

Karl

somehow i deleted: a line: val = unicode(val).upper().. it was recognizing TRUE though, but not true

Posted on
Fri Jan 06, 2017 7:41 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo -- program downlo

http://forums.indigodomo.com/viewtopic.php?f=165&t=15884&p=113648#p113648

posted V 4-16-18

fixed:
- invisible line not working when using ONLY event data in GNUPLOT. This option is needed to create a plot when no event data is present. Otherwise gnuplot does not create a plot if no data present.
- added variable position for "filled curves" line key in matplot. Filled curve is not a basic matplot line type. It is an graphical object and does not come with a line key. Before the line key was "manually" added at a fixed position. Now the Y position varies with line number so that you can have multiple filled curves and the line keys do not overlap.

Karl

Who is online

Users browsing this forum: No registered users and 2 guests