Page 3 of 5
Re: min/max/ average plugin discussion
Posted:
Wed Feb 15, 2017 1:35 pm
by kw123
The log output locks fine. No error messages
Can you try max instead of min.
Do you names have spaces? Can you try with a device that has no spaces?
I am out of town for 2 weeks. Will try to check remotely
Sent from my iPhone using Tapatalk
Re: min/max/ average plugin discussion
Posted:
Wed Feb 15, 2017 4:14 pm
by Busta999
Will do thanks
Will report back
Much appreciated
Mike
Re: min/max/ average plugin discussion
Posted:
Thu Feb 16, 2017 7:09 am
by kw123
And could you post a screen shot of the device def page?
Sent from my iPhone using Tapatalk
Re: min/max/ average plugin discussion
Posted:
Thu Feb 16, 2017 7:34 am
by kw123
And could you post a screen shot of the device def page?
Sent from my iPhone using Tapatalk
Re: min/max/ average plugin discussion
Posted:
Thu Feb 16, 2017 8:15 am
by Busta999
Ok
I have tried to capture everything in one go
- minMax - Oregon setup.jpeg (32.21 KiB) Viewed 4537 times
- minMax Config.jpeg (43.46 KiB) Viewed 4537 times
- Oregon1 Temp Sensor.jpeg (62.42 KiB) Viewed 4537 times
[img]
minMax%20-%20Oregon%20setup.jpeg
[/img]
[img]
minMax%20Config.jpeg
[/img]
[img]
Oregon1%20Temp%20Sensor.jpeg
[/img]
- Code: Select all
minMax UiValuesDict : (dict)
buttonCOnfirmdevstate : (string)
buttonConfirm : (string)
buttonRemove : (string)
device : 181303829 (string)
ignoreGreater : +9876543210. (string)
ignoreLess : -9876543210. (string)
infoLabel1 : (string)
infoLabelParameters : (string)
lastDayAve : false (bool)
lastDayDate : false (bool)
lastDayMax : false (bool)
lastDayMin : false (bool)
lastHourAve : false (bool)
lastHourDate : false (bool)
lastHourMax : false (bool)
lastHourMin : false (bool)
lastMonthAve : false (bool)
lastMonthDate : false (bool)
lastMonthMax : false (bool)
lastMonthMin : false (bool)
lastWeekAve : false (bool)
lastWeekDate : false (bool)
lastWeekMax : false (bool)
lastWeekMin : false (bool)
showM : false (bool)
state : (string)
thisDayAve : false (bool)
thisDayDate : false (bool)
thisDayMax : false (bool)
thisDayMin : false (bool)
thisHourAve : false (bool)
thisHourDate : false (bool)
thisHourMax : false (bool)
thisHourMin : false (bool)
thisMonthAve : false (bool)
thisMonthDate : false (bool)
thisMonthMax : false (bool)
thisMonthMin : false (bool)
thisWeekAve : false (bool)
thisWeekDate : false (bool)
thisWeekMax : false (bool)
thisWeekMin : false (bool)
minMax UiValuesDict : (dict)
buttonCOnfirmdevstate : (string)
buttonConfirm : (string)
buttonRemove : (string)
device : 181303829 (string)
ignoreGreater : +9876543210. (string)
ignoreLess : -9876543210. (string)
infoLabel1 : (string)
infoLabelParameters : (string)
lastDayAve : false (bool)
lastDayDate : false (bool)
lastDayMax : false (bool)
lastDayMin : false (bool)
lastHourAve : false (bool)
lastHourDate : false (bool)
lastHourMax : false (bool)
lastHourMin : false (bool)
lastMonthAve : false (bool)
lastMonthDate : false (bool)
lastMonthMax : false (bool)
lastMonthMin : false (bool)
lastWeekAve : false (bool)
lastWeekDate : false (bool)
lastWeekMax : false (bool)
lastWeekMin : false (bool)
showM : false (bool)
state : (string)
thisDayAve : false (bool)
thisDayDate : false (bool)
thisDayMax : false (bool)
thisDayMin : false (bool)
thisHourAve : false (bool)
thisHourDate : false (bool)
thisHourMax : false (bool)
thisHourMin : false (bool)
thisMonthAve : false (bool)
thisMonthDate : false (bool)
thisMonthMax : false (bool)
thisMonthMin : false (bool)
thisWeekAve : false (bool)
thisWeekDate : false (bool)
thisWeekMax : false (bool)
thisWeekMin : false (bool)
Re: min/max/ average plugin discussion
Posted:
Thu Feb 16, 2017 9:19 am
by kw123
You need to select what to do: check at least one checkbox in define device
It looks as if nothing is selected.
You can select one or many min/max/average values :hour/day/...
If nothing is select it will not do anything
Sent from my iPhone using Tapatalk
Re: min/max/ average plugin discussion
Posted:
Thu Feb 16, 2017 9:32 am
by Busta999
EXCELLENT !!!
WORKING NOW
I did not see the list below.
Only when you said on e of the boxes did it occur there should be more than one.
Thank you !!!
Mike
Re: min/max/ average plugin discussion
Posted:
Wed Nov 14, 2018 3:56 pm
by kw123
nop.
will extend the visible part of the menu to make it clearer .
Karl
Re: min/max/ average plugin discussion
Posted:
Wed Nov 28, 2018 6:44 am
by Seeker
in configuration, i get 'error validating fields' when i click on for config.
what am i doing wrong?
minMax Error Error in plugin execution UiValidate:
Traceback (most recent call last):
File "plugin.py", line 154, in validatePrefsConfigUi
KeyError: key debugLevel not found in dict
Re: min/max/ average plugin discussion
Posted:
Wed Nov 28, 2018 9:34 am
by kw123
fixed in v 7.6.4
Karl
Re: min/max/ average plugin discussion
Posted:
Fri Nov 30, 2018 6:09 am
by Seeker
thanks, 7.6.4 allowed enabling.
i do not see any variables under the minmax folder. i have sql logger running.
Re: min/max/ average plugin discussion
Posted:
Fri Nov 30, 2018 9:10 am
by kw123
Could you post a screen shot of your menu setup for the selection of tracking devices?
Sent from my iPhone using Tapatalk
Re: min/max/ average plugin discussion
Posted:
Fri Nov 30, 2018 12:49 pm
by Seeker
does this help? if not i'll get the images.
Nov 30, 2018 at 12:23:18 PM
minMax /usr/bin/sqlite3 -separator ";" '/Library/Application Support/Perceptive Automation/Indigo 7.2/logs/indigo_history.sqlite' "select strftime('%Y-%m-%d-%H:%M:%S',ts,'localtime'), temperatureInput1 from device_history_857805275 where ts > '2018-09-30-00:03:17';"
minMax data-out: 2018-11-30-05:50:01;66.0
2018-11-30-05:55:49;66.0
2018-11-30-06:07:53;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:20;66.0
2018-11-30-09:51:39;65.0
2018-11-30-10:06:52;66.0
2018-11-30-10:22:50;65.0
2018-11-30-10:26:38;66.0
minMax err-out:
minMax ['2018-11-30-05:50:01', '66.0']
minMax variName Thermostat_temperatureInput1
Nov 30, 2018 at 12:28:18 PM
minMax /usr/bin/sqlite3 -separator ";" '/Library/Application Support/Perceptive Automation/Indigo 7.2/logs/indigo_history.sqlite' "select strftime('%Y-%m-%d-%H:%M:%S',ts,'localtime'), temperatureInput1 from device_history_857805275 where ts > '2018-09-30-00:03:17';"
minMax data-out: 2018-11-30-05:50:01;66.0
2018-11-30-05:55:49;66.0
2018-11-30-06:07:53;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:20;66.0
2018-11-30-09:51:39;65.0
2018-11-30-10:06:52;66.0
2018-11-30-10:22:50;65.0
2018-11-30-10:26:38;66.0
minMax err-out:
minMax ['2018-11-30-05:50:01', '66.0']
minMax variName Thermostat_temperatureInput1
Nov 30, 2018 at 12:33:18 PM
minMax /usr/bin/sqlite3 -separator ";" '/Library/Application Support/Perceptive Automation/Indigo 7.2/logs/indigo_history.sqlite' "select strftime('%Y-%m-%d-%H:%M:%S',ts,'localtime'), temperatureInput1 from device_history_857805275 where ts > '2018-09-30-00:03:17';"
minMax data-out: 2018-11-30-05:50:01;66.0
2018-11-30-05:55:49;66.0
2018-11-30-06:07:53;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:20;66.0
2018-11-30-09:51:39;65.0
2018-11-30-10:06:52;66.0
2018-11-30-10:22:50;65.0
2018-11-30-10:26:38;66.0
minMax err-out:
minMax ['2018-11-30-05:50:01', '66.0']
minMax variName Thermostat_temperatureInput1
Nov 30, 2018 at 12:38:18 PM
minMax /usr/bin/sqlite3 -separator ";" '/Library/Application Support/Perceptive Automation/Indigo 7.2/logs/indigo_history.sqlite' "select strftime('%Y-%m-%d-%H:%M:%S',ts,'localtime'), temperatureInput1 from device_history_857805275 where ts > '2018-09-30-00:03:17';"
minMax data-out: 2018-11-30-05:50:01;66.0
2018-11-30-05:55:49;66.0
2018-11-30-06:07:53;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:20;66.0
2018-11-30-09:51:39;65.0
2018-11-30-10:06:52;66.0
2018-11-30-10:22:50;65.0
2018-11-30-10:26:38;66.0
minMax err-out:
minMax ['2018-11-30-05:50:01', '66.0']
minMax variName Thermostat_temperatureInput1
Nov 30, 2018 at 12:43:19 PM
minMax /usr/bin/sqlite3 -separator ";" '/Library/Application Support/Perceptive Automation/Indigo 7.2/logs/indigo_history.sqlite' "select strftime('%Y-%m-%d-%H:%M:%S',ts,'localtime'), temperatureInput1 from device_history_857805275 where ts > '2018-09-30-00:03:17';"
minMax data-out: 2018-11-30-05:50:01;66.0
2018-11-30-05:55:49;66.0
2018-11-30-06:07:53;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:20;66.0
2018-11-30-09:51:39;65.0
2018-11-30-10:06:52;66.0
2018-11-30-10:22:50;65.0
2018-11-30-10:26:38;66.0
minMax err-out:
minMax ['2018-11-30-05:50:01', '66.0']
Re: min/max/ average plugin discussion
Posted:
Fri Nov 30, 2018 2:06 pm
by kw123
Need the screen print out. Or just restart the plugin. It will print the info.
Sent from my iPhone using Tapatalk
Re: min/max/ average plugin discussion
Posted:
Fri Nov 30, 2018 2:29 pm
by Seeker
thanks for looking at this.
- Code: Select all
Nov 30, 2018 at 2:27:42 PM
Reloading plugin "minMax 7.6.4"
Stopping plugin "minMax 7.6.4" (pid 10760)
minMax stopConcurrentThread called 1
minMax stopConcurrentThread called 2
Stopped plugin "minMax 7.6.4"
Starting plugin "minMax 7.6.4" (pid 26656)
Started plugin "minMax 7.6.4"
minMax myLogSet setting parameters -- logFileActive= standard; logFile= ; debugLevel= ['Loop', 'Sql', 'Setup', 'all']; maxFileSize= 5000000
minMax Configuration: Dev-Name DevID State ignoreLess ignoreGreater; tracking states: -------
minMax Thermostat ; 857805275 ; temperatureInput1 -9876543210 9876543210
minMax first-Date: 2018-09-30-00:27:47
minMax date-limits: [['2018-11-30-14:00:00', '2018-11-30-15:00:00'], ['2018-11-30-13:00:00', '2018-11-30-14:00:00'], ['2018-11-30-00:00:00', '2018-12-01-00:00:00'], ['2018-11-29-00:00:00', '2018-11-30-00:00:00'], ['2018-11-26-00:00:00', '2018-12-01-14:27:47'], ['2018-11-19-00:00:00', '2018-11-26-00:00:00'], ['2018-10-31-00:00:00', '2018-12-01-14:27:47'], ['2018-10-01-00:00:00', '2018-10-31-00:00:00'], ['2018-11-23-00:00:00', '2018-11-30-14:27:47']]
minMax /usr/bin/sqlite3 -separator ";" '/Library/Application Support/Perceptive Automation/Indigo 7.2/logs/indigo_history.sqlite' "select strftime('%Y-%m-%d-%H:%M:%S',ts,'localtime'), temperatureInput1 from device_history_857805275 where ts > '2018-09-30-00:27:47';"
minMax data-out: 2018-11-30-05:50:01;66.0
2018-11-30-05:55:49;66.0
2018-11-30-06:07:53;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:18;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:19;66.0
2018-11-30-07:28:20;66.0
2018-11-30-09:51:39;65.0
2018-11-30-10:06:52;66.0
2018-11-30-10:22:50;65.0
2018-11-30-10:26:38;66.0
minMax err-out:
minMax ['2018-11-30-05:50:01', '66.0']
minMax variName Thermostat_temperatureInput1