min/max/ average plugin discussion

Posted on
Fri Dec 11, 2015 11:02 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

min/max/ average plugin discussion

please us THIS thread to discuss the plugin.

and this to download the plugin:http://forums.indigodomo.com/viewtopic.php?f=188&t=15241


Karl

Posted on
Mon Dec 14, 2015 10:18 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: min/max/ average plugin discussion

the max and min date dosent update if the temp isn't higher than yesterday.
Attachments
Skjermbilde 2015-12-14 kl. 17.16.16.png
Skjermbilde 2015-12-14 kl. 17.16.16.png (111.29 KiB) Viewed 7531 times

Posted on
Mon Dec 14, 2015 10:23 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: min/max/ average plugin discussion

Morton,

is the value correct? It could be that there was no update of the value since 19:36. It then takes the last entry in the sql database for the value and time stamp.

I could change that to midnight.

Could you use utilities to check the sql data to see when the last entry was?

thanks

Karl

Posted on
Mon Dec 14, 2015 11:58 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: min/max/ average plugin discussion

Morton,
could you please check the new version 0.4.4. I believe it should fix that one.

I wil be in Europe for the next 2 weeks with little access to my mac at home. If you have a problem, I still can do some fixes today.

Karl

Posted on
Mon Dec 14, 2015 3:00 pm
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: min/max/ average plugin discussion

installed now. looks like it working. I'll check again tomorrow.

Posted on
Fri Dec 18, 2015 8:47 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: min/max/ average plugin discussion

trying to add a new device to track and....

minMax Error Error in plugin execution UiAction:

Traceback (most recent call last):
File "plugin.py", line 250, in buttonConfirmStateCALLBACK
<type 'exceptions.KeyError'>: ('ignoreLess',)

Posted on
Fri Dec 18, 2015 10:46 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: min/max/ average plugin discussion

Morton
Will check later tonight.
Karl


Sent from my iPhone using Tapatalk

Posted on
Fri Dec 18, 2015 4:10 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: min/max/ average plugin discussion

https://www.dropbox.com/s/ksdzb0wuj7h3j5s/minMax-v-0-4-5.zip?dl=1 also posted in the download thread.
uploaded 0.4.5 should fix the problem, but Its hard to test this remotely.

I did load it and added a device/state and had no problem.

Karl

Posted on
Fri Dec 18, 2015 4:49 pm
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: min/max/ average plugin discussion

installed the update, added one device to track. it was working. then i added one more device to track. and then this error comes in the log...


18. des. 2015, 23.46.56
minMax --------------------------------------------------------------
minMax error in Line '595' ; error='empty string for float()'
minMax --------------------------------------------------------------

Posted on
Fri Dec 18, 2015 11:07 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: min/max/ average plugin discussion

http://forums.indigodomo.com/viewtopic.php?f=188&t=15241

this version -0.4.8- should fix that.

it was an error in the sql data. Normally you have:
date;1234
hat one was
date;

The plugin was not catching that one if it was the first record. Now it should do hat.

Karl

Posted on
Fri Dec 18, 2015 11:07 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: min/max/ average plugin discussion

http://forums.indigodomo.com/viewtopic.php?f=188&t=15241

this version -0.4.8- should fix that.

it was an error in the sql data. Normally you have:
date;1234
that one was
date;

The plugin was not catching that one if it was the first record. Now it should do hat.

Karl

Posted on
Sat Dec 19, 2015 10:31 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: min/max/ average plugin discussion

Thanks! Tested and it works. The package (chocolate) i sent. :D

Posted on
Sun Aug 14, 2016 1:38 pm
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: min/max/ average plugin discussion

Hello karl.

I have a variable that has percent sign, like this; 100%. It seems like this plugin dont updates the minMax variables if it has percent sign.

Posted on
Mon Aug 15, 2016 6:32 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: min/max/ average plugin discussion

is this the name of the variable "100%" ?

and do you get an error message?

Karl

Posted on
Mon Aug 15, 2016 7:35 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: min/max/ average plugin discussion

The name of the variable is WSluftfuktighet. Look at the pictures :) no error msg
Attachments
Skjermbilde 2016-08-15 kl. 15.32.04.png
Skjermbilde 2016-08-15 kl. 15.32.04.png (61.4 KiB) Viewed 6209 times
Skjermbilde 2016-08-15 kl. 15.30.47.png
Skjermbilde 2016-08-15 kl. 15.30.47.png (9.47 KiB) Viewed 6209 times
Skjermbilde 2016-08-15 kl. 15.30.27.png
Skjermbilde 2016-08-15 kl. 15.30.27.png (25.59 KiB) Viewed 6209 times

Who is online

Users browsing this forum: No registered users and 1 guest