Problems with min/max in templates
Problems with min/max in templates
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:
Actual temp. +17.2°C, but min. reported is +18.2°C.
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!
As you can see the right values ar not reported correctly:
Actual temp. +17.2°C, but min. reported is +18.2°C.
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.
- TiToine
- Site Admin
- Messages : 3356
- Inscription : lun. mars 20, 2006 11:16 am
- Localisation : Montréal
- Contact :
Re: Problems with min/max in templates
What are the tags used in your template ?
Re: Problems with min/max in templates
Actual: $Current[outdoor_temperature]$Unit[Temperature]TiToine a écrit :What are the tags used in your template ?
Min.: $Stats[Day,Min,outdoor_temperature]$Unit[Temperature]
Max.: $Stats[Day,Max,outdoor_temperature]$Unit[Temperature]
- TiToine
- Site Admin
- Messages : 3356
- Inscription : lun. mars 20, 2006 11:16 am
- Localisation : Montréal
- Contact :
Re: Problems with min/max in templates
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...
I will try to fix this problem, I have no idea what happens...
Re: Problems with min/max in templates
OK, I'll wait the fix.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...

Re: Problems with min/max in templates
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):
But as you can see it shows 19:25. But then in the tpl the time is ok:
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.
But as you can see it shows 19:25. But then in the tpl the time is ok:
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.
- TiToine
- Site Admin
- Messages : 3356
- Inscription : lun. mars 20, 2006 11:16 am
- Localisation : Montréal
- Contact :
Re: Problems with min/max in templates
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") ?
In your plugin, is there a "time shift ("adjust time") ?
Re: Problems with min/max in templates
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.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") ?
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.
Re: Problems with min/max in templates
Thanks, with new version seems that this bug is solved.TiToine a écrit :Have you try the last revision of GW?
http://graphweather.protosigma.com/file ... 52a_en.exe
