/pages/station/climate.php?var=xxx
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
/pages/station/climate.php?var=xxx
Hello,
I probably missed some steps ...
but how did you Davide to add the extra sensors in the climate statistics?
thanks
I probably missed some steps ...
but how did you Davide to add the extra sensors in the climate statistics?
thanks
- Attachments
-
- ScreenShot00992.jpg (18.66 KiB) Viewed 2746 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: /pages/station/climate.php?var=xxx
I think you have to update only the attached files ( expand in pages/station directory, make a backup of the original files ).
But don't remember if these are the only changes needed ( because I made these mods together with other php 8.0 conversions ).
In the menu, to add T1 extra temperature, SM1 soil moisture and ET evapotranspiration, add something similar to:
The graph.php and graphAjax.php extend the 'Interactive graph' page adding extra sensor graphing capabilities.
But don't remember if these are the only changes needed ( because I made these mods together with other php 8.0 conversions ).
In the menu, to add T1 extra temperature, SM1 soil moisture and ET evapotranspiration, add something similar to:
Code: Select all
T1|pages/station/redirect.php?url=climate.php?var=T1|mticon-temp
SM1|pages/station/redirect.php?url=climate.php?var=SM1|mticon-soilmoisture
ET|pages/station/redirect.php?url=climate.php?var=ET|mticon-evapotranspiration
- Attachments
-
- station_1.0.zip
- (35.08 KiB) Downloaded 64 times
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: /pages/station/climate.php?var=xxx
works fine, tnx a lot
I would only use UV and PP1-2-3, so
1st thing: the UV archive seems not be enabled
.../pages/station/climate.php?var=UV
2nd thing: is it possible to assign a description (or an icon) to the various PPs? (x purpleAir: PP1=PM10 - PP2=PM2.5 - PP3=PM1)
we know what it is, but the 'muggle users' who looks the report or the graph does not know what are means PP1, PP2 or PP3)
thanks againr
I would only use UV and PP1-2-3, so
1st thing: the UV archive seems not be enabled
.../pages/station/climate.php?var=UV
2nd thing: is it possible to assign a description (or an icon) to the various PPs? (x purpleAir: PP1=PM10 - PP2=PM2.5 - PP3=PM1)
we know what it is, but the 'muggle users' who looks the report or the graph does not know what are means PP1, PP2 or PP3)
thanks againr
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: /pages/station/climate.php?var=xxx
Ciao Davide,
avendo iniziato a registrare i dati PP1-2-3 da pochi giorni con MB nano ma l'archivio alldataExtra contiene già i dati UV dal 2017, mi ritrovo con dati PP1-2-3 a null che sballano le statistiche.
come posso sostituire i null con 0 nel database? o meglio, se cancello fisicamente da phpMyadmin si ricrea poi in automatico?
grazie
avendo iniziato a registrare i dati PP1-2-3 da pochi giorni con MB nano ma l'archivio alldataExtra contiene già i dati UV dal 2017, mi ritrovo con dati PP1-2-3 a null che sballano le statistiche.
come posso sostituire i null con 0 nel database? o meglio, se cancello fisicamente da phpMyadmin si ricrea poi in automatico?
grazie
- Attachments
-
- ScreenShot00999.jpg (79.15 KiB) Viewed 2681 times
-
- ScreenShot01000.jpg (97.81 KiB) Viewed 2681 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: /pages/station/climate.php?var=xxx
No, il valore corretto ( per i dati mancanti ) è null. Il problema è che meteotemplate ( a volte ) non tratta correttamente i dati incompleti ( come nel tuo caso ).
Allega un backup della tabella alldataExtra ( mi basta l'ultimo anno ) e vedo di correggerlo.
The correct value ( for missing data ) is null. The problem is that meteotemplate ( sometimes ) is not good at dealing with incomplete data ( as in your case ).
Attach a backup of the alldataExtra table ( last year is enough ) I'll try to fix it.
Allega un backup della tabella alldataExtra ( mi basta l'ultimo anno ) e vedo di correggerlo.
The correct value ( for missing data ) is null. The problem is that meteotemplate ( sometimes ) is not good at dealing with incomplete data ( as in your case ).
Attach a backup of the alldataExtra table ( last year is enough ) I'll try to fix it.
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: /pages/station/climate.php?var=xxx
- added UV to available sensors
- you can specify the page heading passing parameter title ( to climate.php script )
In menu add something like this:
For the PP1-PP3 showing incorrect min/max try deleting the cache files ( will be automatically regenerated )
NOTE
Add commas to the title parameter to automatically translate ( well, sorta ) the text between commas, ex:
a) title=soil moisture SM1 (vaso) - will translate the full text ( in reality the text is not present in the language file, so the text will remain unchanged )
b) title=soil moisture,SM1 (vaso) - will translate 'soil moisture' and 'SM1 (vaso)' ( 'soil moisture' will be translated in the selected language, 'SM1 (vaso)' will remain unchanged )
This 'sort of translation' works only if the text is contained in the meteotemplate language file
- you can specify the page heading passing parameter title ( to climate.php script )
In menu add something like this:
Code: Select all
SM1|pages/station/climate.php?var=SM1&title=soil moisture SM1 (vaso)|mticon-soilmoisture
Code: Select all
pages\station\cache\climatePP1extremes.txt
pages\station\cache\climatePP2extremes.txt
pages\station\cache\climatePP3extremes.txt
Add commas to the title parameter to automatically translate ( well, sorta ) the text between commas, ex:
a) title=soil moisture SM1 (vaso) - will translate the full text ( in reality the text is not present in the language file, so the text will remain unchanged )
b) title=soil moisture,SM1 (vaso) - will translate 'soil moisture' and 'SM1 (vaso)' ( 'soil moisture' will be translated in the selected language, 'SM1 (vaso)' will remain unchanged )
This 'sort of translation' works only if the text is contained in the meteotemplate language file
- Attachments
-
- climate_1.1.zip
- (5.25 KiB) Downloaded 56 times
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: /pages/station/climate.php?var=xxx
new stats are showing C not default F for temps
and there is no Feels Like stats
I have reverted back to backup files
and there is no Feels Like stats
I have reverted back to backup files
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: /pages/station/climate.php?var=xxx
Hello,
Evapotranspiration:
https://meteoesine.it/template/pages/st ... nspiration
I have noticed that the data seems not complete and fully correct
If I clear the cache the data shown are correct, but as soon as I reload the page again it appears as before.
Most probably I don't have the latest version, possibly you can share the updated full version containg also the possibility to see lightning data?
another question about ET data: is it right that the database archives only and exclusively the values from 23:45 to 00:00 of the next day?
many thanks in advance
Evapotranspiration:
https://meteoesine.it/template/pages/st ... nspiration
I have noticed that the data seems not complete and fully correct
If I clear the cache the data shown are correct, but as soon as I reload the page again it appears as before.
Most probably I don't have the latest version, possibly you can share the updated full version containg also the possibility to see lightning data?
another question about ET data: is it right that the database archives only and exclusively the values from 23:45 to 00:00 of the next day?
many thanks in advance
- Attachments
-
- ScreenShot01082.jpg (45.17 KiB) Viewed 2259 times
-
- ScreenShot01083.jpg (25.79 KiB) Viewed 2259 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: /pages/station/climate.php?var=xxx
Should have fixed the cache problem, the incorrect extra temperature conversion ( °C <-> °F ) and reintroduced Feels Like stats.
P.S.
All available sensors should be supported ( in stats and interactive graph page )
P.S.
All available sensors should be supported ( in stats and interactive graph page )
- Attachments
-
- station_1.2.zip
- (36.9 KiB) Downloaded 53 times
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: /pages/station/climate.php?var=xxx
perfect !!
tnx a lot
tnx a lot
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: /pages/station/climate.php?var=xxx
hello
for lightning
Would it be possible to reset the data at midnight on the new day to prevent the previous day's data from being carried over to the next day and bust the statistics?
There is obviously something wrong
to fix also the evapotranspiration
thanks in advance
for lightning
Would it be possible to reset the data at midnight on the new day to prevent the previous day's data from being carried over to the next day and bust the statistics?
There is obviously something wrong
to fix also the evapotranspiration
thanks in advance
- Attachments
-
- ScreenShot01154.jpg (63.95 KiB) Viewed 1806 times
-
- ScreenShot01155.jpg (31.44 KiB) Viewed 1806 times
-
- ScreenShot01153.jpg (14.07 KiB) Viewed 1806 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: /pages/station/climate.php?var=xxx
You may try this updated api.php script, it should fix the zeroing of L and ET at 00:00
Regarding the evapotranspiration table you posted, it could be ok ( if you have only 1 year of recording )
As every row represent average/min/max of all values recorded in the same day of the year.
Regarding the evapotranspiration table you posted, it could be ok ( if you have only 1 year of recording )
As every row represent average/min/max of all values recorded in the same day of the year.
- Attachments
-
- api_3.4.zip
- (12.59 KiB) Downloaded 45 times
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: /pages/station/climate.php?var=xxx
Ciao,
yes, data is reset at 00:00 but reappears at 00:05 then it is reset again at 00:10
tnx
yes, data is reset at 00:00 but reappears at 00:05 then it is reset again at 00:10
tnx
- Attachments
-
- ScreenShot01187.jpg (45.38 KiB) Viewed 1554 times
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: /pages/station/climate.php?var=xxx
https://meteoesine.it/template/pages/st ... .php?var=L
for the lightning statistics is it possible to have the cumulative data month/year instead of the daily max? (as in the rain statistic)
Thank you
for the lightning statistics is it possible to have the cumulative data month/year instead of the daily max? (as in the rain statistic)
Thank you