Problems with min/max in templates

Forum for english speaking users
Répondre
Andrea75
Membre
Messages : 41
Inscription : dim. avr. 20, 2008 7:57 pm

Problems with min/max in templates

Message par Andrea75 »

Hi to all, I'm here again to point out about a little problem that we have on a template with min and max data.
As you can see the right values ar not reported correctly:
Cattura.JPG
Actual temp. +17.2°C, but min. reported is +18.2°C.
Cattura2.JPG
Actual temp. +28.3°C, but max. reported is +26.1°C.

I report temperatures data, but is the same for aother values. The station is Lacrosse WS2350, and I use as plugin the WS2300.dll with currdat.lst observe and history.dat source.
Any idea how to correct this?

Thanks in advance!
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Problems with min/max in templates

Message par TiToine »

What are the tags used in your template ?
Andrea75
Membre
Messages : 41
Inscription : dim. avr. 20, 2008 7:57 pm

Re: Problems with min/max in templates

Message par Andrea75 »

TiToine a écrit :What are the tags used in your template ?
Actual: $Current[outdoor_temperature]$Unit[Temperature]
Min.: $Stats[Day,Min,outdoor_temperature]$Unit[Temperature]
Max.: $Stats[Day,Max,outdoor_temperature]$Unit[Temperature]
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Problems with min/max in templates

Message par TiToine »

Another user reports the same problem, visible in gauges.xml, the max index is under the current temperature.
I will try to fix this problem, I have no idea what happens...
Andrea75
Membre
Messages : 41
Inscription : dim. avr. 20, 2008 7:57 pm

Re: Problems with min/max in templates

Message par Andrea75 »

TiToine a écrit :Another user reports the same problem, visible in gauges.xml, the max index is under the current temperature.
I will try to fix this problem, I have no idea what happens...
OK, I'll wait the fix. ;) Thanks
Andrea75
Membre
Messages : 41
Inscription : dim. avr. 20, 2008 7:57 pm

Re: Problems with min/max in templates

Message par Andrea75 »

I find the bug... the problem is in the time difference. Graph Weather reading data from HW, take them with an hour of difference (now is 18:25):
Cattura.JPG
But as you can see it shows 19:25. But then in the tpl the time is ok:
Cattura2.JPG
In this way if we have for example +28.0°C in this moment and a min. of 28.5°C the program don't update the old value, because consider it with +1 hour. And the same for other parameters. Yesterday I have had rain, and it doesn't show anuthing for an hour. Then it show the old data with an hour of reatrd.
I don't know if you understand, but I'm sure that is a bug. I try to move the time impostation but nothing change.
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Problems with min/max in templates

Message par TiToine »

Good job, I think you have found the bug...I hope. I will take a look in that way.

In your plugin, is there a "time shift ("adjust time") ?
Andrea75
Membre
Messages : 41
Inscription : dim. avr. 20, 2008 7:57 pm

Re: Problems with min/max in templates

Message par Andrea75 »

TiToine a écrit :Good job, I think you have found the bug...I hope. I will take a look in that way.

In your plugin, is there a "time shift ("adjust time") ?
Yes, there is and I've tried to change it (with +1 and -1), but nothing change. Or rather, chenge the time of min./max. (that are correct if I set 0), but the values doesn't be updated.
It seems that the program doesn't consider what happens in the last hour......
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Problems with min/max in templates

Message par TiToine »

Have you try the last revision of GW?

http://graphweather.protosigma.com/file ... 52a_en.exe
Andrea75
Membre
Messages : 41
Inscription : dim. avr. 20, 2008 7:57 pm

Re: Problems with min/max in templates

Message par Andrea75 »

TiToine a écrit :Have you try the last revision of GW?

http://graphweather.protosigma.com/file ... 52a_en.exe
Thanks, with new version seems that this bug is solved. ;) Good work!
Répondre