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

A Plugin to create Plots from INDIGO data and other sources
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

posted v 4-16-19 in downloads http://forums.indigodomo.com/viewtopic. ... 48#p113648


fixed:
...."colVaru" not ... for polar plots in gnuplot (the "u" should have not been there)

will check the other things later


Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

posted v-4-16-20http://forums.indigodomo.com/viewtopic. ... 65&t=15884

fixed some other things (variables not dome right) with polar plot in gnuplot .. should work again.. sorry for the mess.


Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

posted v 4-16-21 http://forums.indigodomo.com/viewtopic. ... 65&t=15884

added:
now supports text values in devices/states or variables (any upper / lower case) - Text ==> converted to Number -1/0/1:
TRUE, T, ON, HOME, YES, UP, CLEAR, ENABLe, ARRIVe ====> 1
FALSE, T, AWAY, OFF, NO, DOWN, FAULTED, FAULT, EXPIRED, STOP ====> 0
LEAVe, LEAVing, LEFT, UNKnown ====> -1
(UNKnow = if UNK are the first 3 lettesr LEAVing if LEAV are the first 4 letters ... )

The new values LEAVE LEAVING, LEFT STOP, ARRIVed are used in CARs device types in the pibeacon plugin.
With this you can plot events when your car arrives, leaves has left , motor is on/off.

Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

http://forums.indigodomo.com/viewtopic. ... 48#p113648

posted v 4-16-22

fixed:
adding 2 device/ states in a row did not work .. was a basic python error
(a=b, change b then a changes too)

Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

posted v 4.16.25 http://forums.indigodomo.com/viewtopic. ... 48#p113648

fixed:
== added the 3."/" in http:///filename in the log file output when you save the plot device.. Indigo 7.1 wants the 3. "/" in the URL
== fixed an issue: if you define a device data source , click save then not click on new device a variable did not get properly incremented (it comes from the fact that indigo does not execute filter methods in a predictable way. you need to click on a button to make that happen) . Now you have to click on the select field in order to continue. = the error should not happen anymore

improved:
== added "where state is not NULL" to the sql select statement to import data. that makes it a factor of 2 faster - in my case. Especially for devices that have a lot of states and if you use the indigo 7 improved sql logger way of storing changes.
== some better sorting in a menu when you select devices

Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

posted v 4.16.28 on GitHub @ https://www.indigodomo.com/pluginstore/71/

mostly bug fixes for external ";" delimited data, ie if you want to plot data that is not in indigo.

Karl

ps.
Thanks to Adam for helping to debug this
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

posted v 4.16.29 @https://www.indigodomo.com/pluginstore/71/

en raison de la demande populaire:
added OUI / NON to be recognized as 1/0 (also oUi/nOn Oui/Non, .. etc)


Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

posted v 4.16.30 @https://www.indigodomo.com/pluginstore/71/

To make it more complex, added german, spanish, hungarian*) ..yes / no open / close to recognized as 1/0
val is upper() case

Code: Select all

                if (  val== u"TRUE"            or   
                      val== u"T"               or   
                      val== u"ON"              or   
                      val== u"HOME"            or   
                      val== u"YES"             or   
                      val== u"SI"              or   
                      val== u"JA"              or   
                      val== u"IGEN"            or   
                      val== u"OUI"             or   
                      val== u"UP"              or   
                      val== u"OPEN"            or   
                      val== u"CLEAR"   
                                          ):  return 1.0		  
               elif ( val== u"FALSE"         or   
                       val== u"F"               or   
                       val== u"AWAY"            or   
                       val== u"OFF"             or   
                       val== u"NO"              or   
                       val== u"NEIN"            or   
                       val== u"NEM"             or   
                       val== u"NON"             or   
                       val== u"DOWN"            or   
                       val== u"CLOSED"         or   
                       val== u"FAULTED"         or   
                       val== u"FAULT"           or   
                       val== u"EXPIRED"
                                           ): return 0.0		  
Karl

for our large Hungarian user group
User avatar
DomoPat
Posts: 213
Joined: Sat Jul 17, 2010 10:35 am
Location: Toulouse, France

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

Post by DomoPat »

kw123 wrote:posted v 4.16.29 @https://www.indigodomo.com/pluginstore/71/

en raison de la demande populaire:
added OUI / NON to be recognized as 1/0 (also oUi/nOn Oui/Non, .. etc)


Karl

Merci beaucoup !
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

vous êtes les bienvenus


Sent from my iPhone using Tapatalk
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

posted v 4.17.30 at https://www.indigodomo.com/pluginstore/71/

added event count type measurement -- only for matplot , not for gnu plot.
its a quick add-on, not well tested, but seems to work

Karl
User avatar
DomoPat
Posts: 213
Joined: Sat Jul 17, 2010 10:35 am
Location: Toulouse, France

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

Post by DomoPat »

It works, but the graphs are difficult to update with version 4.17.30: when you do changes to the parameters, they are not reflected when you push the 'update' button, and even if you wait the changes are not taken into account. Sometimes they are, and most of the times they are not, I could not find what makes it happen...
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

in device edit?

did you confirm changes? after that click update then wait 5 secs then press show

you can check if it runs matplot updates in the matplot directory log file ~/indigo/indigoplotd/matplot/.xx.log

down recall the exit names of the directory

Karl
Ps can we move this to the discussion thread ?
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

posted new release: 4.18.47
fixed SQL import bugs

see plugin store and GitHub.com/kw123

Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

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

Post by kw123 »

released 7.18.54

- added option to track cpu usage of methods and functions This is beneficial in case plugin hangs (ie menu/ config does not open)

Karl

ps from now on all MY updated plugins will required Indigo 7.x.. it gets to difficult to maintain work arounds for options that do not work under 6.x
Post Reply

Return to “INDIGOplotD”