Wind gust with plugins WLIP

Post Reply
PNCATTE
Observer
Observer
Posts: 22
Joined: Wed Oct 10, 2018 8:05 am
Location: FLEURIE
Station model: Davis Pro 2
Software: WLIP
Contact:

Wind gust with plugins WLIP

Post by PNCATTE » Mon Dec 30, 2019 9:33 am

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

User avatar
Olinet
Newbie
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

Post by Olinet » Wed Jan 01, 2020 11:26 am

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
Image

User avatar
Jolumarali
Forecaster
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

Post by Jolumarali » Wed Jan 01, 2020 5:59 pm

Bonjour

Ma question ton cron est réglé à combien de minutes.
perso : 1 minute

Image
et sur data
Image
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
Image
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

User avatar
Olinet
Newbie
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

Post by Olinet » Wed Jan 01, 2020 7:15 pm

je confirme, avec le Cron sur 1 minute, cela va fonctionner de la manière que tu décris Jolumarali
Image

User avatar
Jolumarali
Forecaster
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

Post by Jolumarali » Thu Jan 02, 2020 6:52 am

Bonjour
petite modif de mon current

Image

José Luis
Image
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
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

Post by PNCATTE » Sat Jan 04, 2020 8:18 am

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

PNCATTE
Observer
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

Post by PNCATTE » Sat Jan 04, 2020 8:23 am

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

Post Reply