Hello,
With the WLIP plugin the wind gusts do not match
When I check what WEATHERLINK sends me:
https://api.weatherlink.com/v1/NoaaExt. ... rie69820&a
There is only one line that takes the bursts from the line above
<Wind_ten_min_gust_mph> 5.0 </ wind_ten_min_gust_mph>
But this value is not taken over for the database
How to take into account this line which seems to correspond to the last 10 minutes
Thanks in advance for the help
My site :http://www.fleurie-meteolive.ovh
cordially
Wind gust with plugins WLIP
- Olinet
- Newbie

- Posts: 4
- Joined: Sun Jan 07, 2018 4:51 pm
- Location: Switzerland
- Station model: Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Wind gust with plugins WLIP
In your file ..plugins\WIIP\wlIPupdate.php ,
you have the link between the database fields and the xml tags of the weatherlink API:
For Gust you should have:
$rawUpdate['G'] = floatval($xml->wind_mph)*1.609; //km/h
which you can replace with:
$rawUpdate['G'] = floatval($xml->davis_current_observation->wind_ten_min_gust_mph)*1.609; //km/h
you have the link between the database fields and the xml tags of the weatherlink API:
For Gust you should have:
$rawUpdate['G'] = floatval($xml->wind_mph)*1.609; //km/h
which you can replace with:
$rawUpdate['G'] = floatval($xml->davis_current_observation->wind_ten_min_gust_mph)*1.609; //km/h
- Jolumarali
- Forecaster

- Posts: 249
- Joined: Sun Aug 20, 2017 2:06 pm
- Location: Lignerolles
- Station model: Vantage Vue
- Software: WlIP
- Contact:
Re: Wind gust with plugins WLIP
Bonjour
Ma question ton cron est réglé à combien de minutes.
perso : 1 minute

et sur data

sur weatherlink il n'y a pas les rafales et meteotemplateLive.txt
ce qu'il enregistre
{"T":5.9,"H":93,"P":1032.6,"B":221,"W":1.609,"G":4.827,"R":0.20066,"RR":0,"S":0,"U":1577901058,"TIN":22.2,"HIN":38,"SW":"wlIP","TTime":1577901105,"HTime":1577901105,"PTime":1577901105,"BTime":1577901105,"WTime":1577901105,"GTime":1577901105,"RTime":1577901105,"RRTime":1577901105,"STime":1577901105,"UTime":1577901105,"TINTime":1577901105,"HINTime":1577901105,"SWTime":1577901105,"D":4.8,"DTime":1577901105,"A":4.4,"ATime":1577901105}
Donc c'est une idée, si tu mets le cron sur 1 minute, tu as des chance que ta rafale maxi soit enregistrée vu qu''elles ont enregistrée dans alldata toutes les cinq minutes.
perso cela fonctionne (Tout cela est une observation) à voir
si ton cron est déjà sur 1 minute , aucune autre idée, en espérant que tu es compris HUmmm
après tout cela Bonne et heureuse année
José Luis
Ma question ton cron est réglé à combien de minutes.
perso : 1 minute

et sur data

sur weatherlink il n'y a pas les rafales et meteotemplateLive.txt
ce qu'il enregistre
{"T":5.9,"H":93,"P":1032.6,"B":221,"W":1.609,"G":4.827,"R":0.20066,"RR":0,"S":0,"U":1577901058,"TIN":22.2,"HIN":38,"SW":"wlIP","TTime":1577901105,"HTime":1577901105,"PTime":1577901105,"BTime":1577901105,"WTime":1577901105,"GTime":1577901105,"RTime":1577901105,"RRTime":1577901105,"STime":1577901105,"UTime":1577901105,"TINTime":1577901105,"HINTime":1577901105,"SWTime":1577901105,"D":4.8,"DTime":1577901105,"A":4.4,"ATime":1577901105}
Donc c'est une idée, si tu mets le cron sur 1 minute, tu as des chance que ta rafale maxi soit enregistrée vu qu''elles ont enregistrée dans alldata toutes les cinq minutes.
perso cela fonctionne (Tout cela est une observation) à voir
si ton cron est déjà sur 1 minute , aucune autre idée, en espérant que tu es compris HUmmm
après tout cela Bonne et heureuse année
José Luis
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya
https://meteo-lignerolles.fr
José Luis
- Olinet
- Newbie

- Posts: 4
- Joined: Sun Jan 07, 2018 4:51 pm
- Location: Switzerland
- Station model: Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Wind gust with plugins WLIP
je confirme, avec le Cron sur 1 minute, cela va fonctionner de la manière que tu décris Jolumarali
- Jolumarali
- Forecaster

- Posts: 249
- Joined: Sun Aug 20, 2017 2:06 pm
- Location: Lignerolles
- Station model: Vantage Vue
- Software: WlIP
- Contact:
Re: Wind gust with plugins WLIP
Bonjour
petite modif de mon current

José Luis
petite modif de mon current

José Luis
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya
https://meteo-lignerolles.fr
José Luis
-
PNCATTE
- Observer

- Posts: 22
- Joined: Wed Oct 10, 2018 8:05 am
- Location: FLEURIE
- Station model: Davis Pro 2
- Software: WLIP
- Contact:
Re: Wind gust with plugins WLIP
Hello,
After modifying the file:
..plugins \ WIIP \ wlIPupdate.php
line:
$ rawUpdate ['G'] = floatval ($ xml-> davis_current_observation-> wind_ten_min_gust_mph) * 1.609; // km / h
and set the CRON to 1 minute
gusts are taken into account
Putting the CRON one minute also allows to have the mini / maxi each time before they were all identical
Thank you again for your precious help for having a fair database.
Happy new year 2020
Pascal
After modifying the file:
..plugins \ WIIP \ wlIPupdate.php
line:
$ rawUpdate ['G'] = floatval ($ xml-> davis_current_observation-> wind_ten_min_gust_mph) * 1.609; // km / h
and set the CRON to 1 minute
gusts are taken into account
Putting the CRON one minute also allows to have the mini / maxi each time before they were all identical
Thank you again for your precious help for having a fair database.
Happy new year 2020
Pascal
-
PNCATTE
- Observer

- Posts: 22
- Joined: Wed Oct 10, 2018 8:05 am
- Location: FLEURIE
- Station model: Davis Pro 2
- Software: WLIP
- Contact:
Re: Wind gust with plugins WLIP
Bonjour,
Après avoir modifié le fichier:
..plugins \ WIIP \ wlIPupdate.php
ligne:
$ rawUpdate ['G'] = floatval ($ xml-> davis_current_observation-> wind_ten_min_gust_mph) * 1.609; // km / h
et réglez le CRON sur 1 minute
les rafales sont bien prises en compte
Mettre le CRON une minute permet aussi d'avoir les mini / maxi à chaque releves de 5 minutes pour ma base avant elles étaient toutes identiques.
Merci encore pour votre aide précieuse pour avoir une base de données juste
Bonne année 2020
Pascal
Après avoir modifié le fichier:
..plugins \ WIIP \ wlIPupdate.php
ligne:
$ rawUpdate ['G'] = floatval ($ xml-> davis_current_observation-> wind_ten_min_gust_mph) * 1.609; // km / h
et réglez le CRON sur 1 minute
les rafales sont bien prises en compte
Mettre le CRON une minute permet aussi d'avoir les mini / maxi à chaque releves de 5 minutes pour ma base avant elles étaient toutes identiques.
Merci encore pour votre aide précieuse pour avoir une base de données juste
Bonne année 2020
Pascal