INDIGOplotD -- a plot tool for indigo

Posted on
Mon Sep 19, 2016 10:57 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: INDIGOplotD -- a plot tool for indigo

hehe. it works!!=)

Posted on
Mon Sep 19, 2016 10:59 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo

thanks for testing

Posted on
Mon Sep 19, 2016 11:20 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: INDIGOplotD -- a plot tool for indigo

draw invisible line at zero only works on some plots. hows that?

Posted on
Mon Sep 19, 2016 11:21 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo

don't know... :oops:

Posted on
Mon Sep 19, 2016 8:27 pm
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo

draw invisible line at zero only works on some plots. hows that?:


is it enabled in the plot?
Attachments
Screen Shot 2016-09-19 at 21.25.47.png
Screen Shot 2016-09-19 at 21.25.47.png (24.4 KiB) Viewed 7042 times

Posted on
Tue Sep 20, 2016 4:40 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: INDIGOplotD -- a plot tool for indigo

yes. it is.
Attachments
Skjermbilde 2016-09-20 kl. 12.39.31.png
Skjermbilde 2016-09-20 kl. 12.39.31.png (36.48 KiB) Viewed 7142 times
Skjermbilde 2016-09-20 kl. 12.39.18.png
Skjermbilde 2016-09-20 kl. 12.39.18.png (19.5 KiB) Viewed 7142 times

Posted on
Tue Sep 20, 2016 7:04 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo

Coukd you Dropbox the plot defs and gnu files ?


Sent from my iPhone using Tapatalk

Posted on
Tue Sep 20, 2016 9:12 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: INDIGOplotD -- a plot tool for indigo


Posted on
Tue Sep 20, 2016 9:23 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo

they all have the line defined in the gnuplot files, eg:
Code: Select all
,''   using 1:($2-$2)  with  lines  linetype 0    linewidth 1   linecolor  rgb "#FFFFFF"   title ""  axis x1y1

$2-$2 is zero -- it uses the x coordinate and y=0

why do you think it is not there? it should be invisible. , that might not work. but if it is invisible you should not see it .

it purpose is not to draw a line, to force gnuplot to show the whole range selected.
sometimes when there is no data left or right, gnuplot does not show that part.
thats why it was added to plot a "fake" line at the x axis from left to right.

Karl

Posted on
Tue Sep 20, 2016 9:59 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo

if you wan to add a VISIBLE line at y=0: add a special line , then set its color etc.
Attachments
Screen Shot 2016-09-20 at 10.58.11.png
Screen Shot 2016-09-20 at 10.58.11.png (24.25 KiB) Viewed 7055 times

Posted on
Tue Sep 20, 2016 10:14 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: INDIGOplotD -- a plot tool for indigo

ah okey :D i will try it

Posted on
Wed Sep 21, 2016 10:07 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo

working ok "EVENT PLOTTING":

currently indigoplotD plots averages (or min/max ..) in certain time bins (5 min/1hour/1day)

planned:
get data from SQLlogger, and plot (time,Yvalues) for each event. This can be used for eg. Door was opened or light went on or alarm triggered .. plots = short events that will not show up in averages.
or just any data as it comes in eg electricity consumption, any variable changed etc ..

you can do this manually now:
- in utilities create a report (separator=";"),
- create plot device
- select "data from file"
- set range and time format
- define the line and configure it
then run utilities every x minutes (can be done in a script)
a little bit cumbersome...

anyone interested?


Karl

Posted on
Fri Sep 23, 2016 4:15 pm
Sharek326 offline
User avatar
Posts: 377
Joined: Jul 20, 2014
Location: Lansford, PA

Re: INDIGOplotD -- a plot tool for indigo

Hello

Recently I seemed to have finally got INDIGOplotD setup and working correctly for Power and Energy in my house everyday since I started it the Energy plot worked correctly until today. Below is a picture. The day that clipped past 60 read correctly as 32 all month until today. What caused that?

Image

Posted on
Fri Sep 23, 2016 4:20 pm
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGOplotD -- a plot tool for indigo

please try:

1. menu/indigoplotd/import sql (all records)
2. use utilities to print a report on that data: use # of records ~ 500, from the beginning (not the last records)
3. send (dropbox) the file device#-state (eg:/Users/yourid/Documents/INDIGOplotD/sql/185536022-status) for that device/state

Karl

Posted on
Fri Sep 23, 2016 4:30 pm
Sharek326 offline
User avatar
Posts: 377
Joined: Jul 20, 2014
Location: Lansford, PA

Re: INDIGOplotD -- a plot tool for indigo

The Import step lost me which menu...the Plugin menu? I don't see an import all

Who is online

Users browsing this forum: No registered users and 2 guests