INDIGO plot --> see new version INDIGOplotD

Posted on
Fri Feb 21, 2014 3:58 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGO plot

with negative values you should set the range to -30 +xx or leave it empty it should work..

..


next version will have:

1. text color ( e.g. for white text on black background)
2. title on top of the plot.

works, in final test over night.

QUESTIONs:
What other functionality would be good? and is it easy to use to install i.e. the home-brew and gnuplot part. do we need to automate THAT
I would like to get some feedback on the read me (the manual is my weak point)

Karl

Posted on
Fri Feb 21, 2014 4:40 pm
zabazoom offline
Posts: 56
Joined: Nov 09, 2013

Re: INDIGO plot

The cut and paste instructions worked for me. I had a bit of a hiccup when xcode needed to be authorised with my admin password, but once I went into xcode and did that everything loaded fine. Now I'm new to the OSX world, coming from the PC world from when I built my first CPM system, I've played with apple stuff when I needed to do something simple like surf or e-mail. So Indigo is my first real jump into the dark side, Just about anything on the sys side is a learning curve. Add to that that I talk to the Mini with VNC running on a win7 machine, So I may have some odd issues as to what everyone else sees as simple.

If i understand it correctly you are sampling on a five min boundary I can think of a few situations where that would miss events, again I may not fully understand what's happing under the hood, but for instance wind speed or wind gust data.

Posted on
Fri Feb 21, 2014 4:55 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGO plot

the program takes data once per minute i.e. reads the information stored in the indigo devices and then averages over the collection period which is 5 minutes, 1 hour and 1 day for the 3 plots.

the peak info is a bit more difficult as indigo also does not read the devices every second - at most once a minutes most ~ once per 3-10 minutes.

Also thermostats are of by several minutes as the ac/heat controllers keep the fan running, but tell indigo its off and the ac is off but indigo gets told it is still on.
that takes between 2-5 minutes to get corrected. it is related to settings in the thermostat/controller that should prevent too frequent on/ off cycles..

Anyway reducing the bin time to one minute would not remove the peak detection issue. Some of these devices have peak information. like the rain sensors .

That could be recorded properly.

thanks for the feedback.

Karl

Posted on
Fri Feb 21, 2014 6:58 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGO plot

updated the read me file (first post):
- formatting,
- better explanations and
- a better install guide for gnuplot which is the most difficult part .

Posted on
Fri Feb 21, 2014 9:38 pm
bob.banks offline
Posts: 27
Joined: Feb 27, 2012

Re: INDIGO plot

I've got 2 plots working well. I also did a bit of an audit of other properties that I'd like to plot.

'humdityInput1' : 'Humditity'
'UVLevel' : 'UVLevel'
'avgSpeed' : 'Avg Wind Speed',
'directionDegrees' : 'Wind Direction'
'gust' : 'Wind Gust'
'DistanceAway' : 'Distance'
'BatteryLevel' : 'Battery Level'
'BatteryTimeRemaining' : 'Battery Time Remaining'
'dewPointC' : 'Dewpoint [C]'
'dewPointF' : 'Dewpoint [F]'
'pressureInches' : 'Pressure [in]'
'visibility' : 'Visibility'
'windDegrees' : 'Wind Direction'
'windKnots' : 'Wind Speed [k]'
'windMPH' : 'Wind Speed [MPH]'

I'd also be interested in plots for motion & open/close sensor. They would require 'onOffState'

Posted on
Fri Feb 21, 2014 10:12 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGO plot

https://www.dropbox.com/s/b8meshfa07rb8fv/indigoplot-0-6-5.zip version 0-6-5

new:
1. title text
2. text color
3. improved readme
4. added device properties:

,"humdityInput1" : "Humditity"
,"UVLevel" : "UVLevel"
,"avgSpeed" : "Avg Wind Speed",
,"directionDegrees" : "Wind Direction"
,"gust" : "Wind Gust"
,"DistanceAway" : "Distance"
,"BatteryLevel" : "Battery Level"
,"BatteryTimeRemaining" : "Battery Time Remaining"
,"dewPointC" : "Dewpoint [C]"
,"dewPointF" : "Dewpoint [F]"
,"pressureInches" : "Pressure [in]"
,"visibility" : "Visibility"
,"windDegrees" : "Wind Direction"
,"windKnots" : "Wind Speed [k]"
,"windMPH" : "Wind Speed [MPH]"


Karl
bob.. that was quick, right? ;-)
Attachments
all-minute-S1 copy.png
all-minute-S1 copy.png (6.17 KiB) Viewed 4073 times
Last edited by kw123 on Fri Feb 21, 2014 11:29 pm, edited 2 times in total.

Posted on
Fri Feb 21, 2014 10:14 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGO plot

Bob: we can do on/off, do you have the properties?

Posted on
Sat Feb 22, 2014 12:06 am
BassMint offline
Posts: 105
Joined: Dec 24, 2013

Re: INDIGO plot

kw123 wrote:
https://www.dropbox.com/s/b8meshfa07rb8fv/indigoplot-0-6-5.zip version 0-6-5


Karl
bob.. that was quick, right? ;-)


Code: Select all
Feb 22, 2014, 12:59:31 AM
  Stopping plugin "indigoplot" (pid 84870)
  indigoplot                       stopped
  Stopped plugin "indigoplot"
  Upgrading plugin "indigoplot" to newer version 0.6.5 (previous version moved to trash)
  Loading plugin "indigoplot 0.6.5"
  Starting plugin "indigoplot 0.6.5" (pid 93953)

Feb 22, 2014, 12:59:58 AM
  indigoplot Error                Error in plugin execution InitializeMain:

Traceback (most recent call last):
<type 'exceptions.SyntaxError'>: ('invalid syntax', ('plugin.py', 180, 4, '\t\t\t,"directionDegrees" :\t"Wind-Direction"\n'))

  Stopping plugin "indigoplot 0.6.5" (pid 93953)
  Stopped plugin "indigoplot 0.6.5"
  Error                           plugin "indigoplot 0.6.5" (pid 93953) failed to start -- restarting in 5 seconds

Posted on
Sat Feb 22, 2014 7:32 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGO plot

i don't get that error message.. that error message states it does not compile.. it is not even starting.. ???

do not understand this..

Posted on
Sat Feb 22, 2014 7:47 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGO plot

https://www.dropbox.com/s/09n5i00zefogk8s/indigoplot-0-6-6.zip version 0-6-6.
did packaging new

(BassMint) could you reinstall this one?

sorry for this

Karl

Posted on
Sat Feb 22, 2014 12:27 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGO plot

(bassmint)

checked my files. I did post a bad version for ~20 minutes.. then corrected the upload.. bad timing.. sorry for this


Karl

Posted on
Sat Feb 22, 2014 3:30 pm
bob.banks offline
Posts: 27
Joined: Feb 27, 2012

Re: INDIGO plot

Hey Karl,

I tried adding a new plot with some of the new properties. Everything seemed to go ok but all the PNGs were 0 bytes. I manually executed gnuplot and found the text label color wasn't set. All better now. Could you include the output from gnuplot if an error occurred in the debug log?

I also noticed that I spelled humidity incorrectly. That's what I get for not copy/pasting. The property should read: "humidityInput1"

One more thing, when I change from plot to plot the "Title text" does not change.

Posted on
Sat Feb 22, 2014 3:46 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: INDIGO plot

bob:

could you elaborate.. It takes ~ 1+ minute before the png files >0. did you find a syntax error in the gnu file?
I tried adding a new plot with some of the new properties. Everything seemed to go ok but all the PNGs were 0 bytes. I manually executed gnuplot and found the text label color wasn't set. All better now. Could you include the output from gnuplot if an error occurred in the debug log?


FIXED: 0-6-7
I also noticed that I spelled humidity incorrectly. That's what I get for not copy/pasting. The property should read: "humidityInput1"


FIXED: 0-6-7
One more thing, when I change from plot to plot the "Title text" does not change.


Karl

Posted on
Sat Feb 22, 2014 3:50 pm
bob.banks offline
Posts: 27
Joined: Feb 27, 2012

Re: INDIGO plot

kw123 wrote:
bob:
could you elaborate.. It takes ~ 1+ minute before the png files >0. did you find a syntax error in the gnu file?


Sorry, I should have been more clear. Yes there was a syntax error in the gnu file. Because I had not set the "Text Color" property on the plots, it was empty. When executed, gnuplot complained that "textcolor" was present in the .gnu but there was no color after it. Syntax error was:

set ylabel "Temperature [F]" textcolor
^
"HVAC-minute-s2.gnu", line 10: expected colorspec

Went back into configuration and set the Text Color drop-down and all is well.

On a separate topic, I think the property for the motion and open/close sensors is just the generic "onOffState".

Posted on
Sat Feb 22, 2014 3:54 pm
bob.banks offline
Posts: 27
Joined: Feb 27, 2012

Re: INDIGO plot

Here's an interesting chart that I've started to plot. Using the "Find My iDevices" plugin, I'm plotting the "distance from home" for my families iOS devices. Not alot of data so far but you can see how my wife left for a bit and went about 9.5 miles away. Not sure what I'll use it for yet, but it's kinda cool. :)
Attachments
Distance-minute-S1.png
Distance-minute-S1.png (3.89 KiB) Viewed 3994 times

Page 4 of 28 1, 2, 3, 4, 5, 6, 7 ... 28

Who is online

Users browsing this forum: No registered users and 2 guests