Page 1 of 1
Gust with plugin wlIP
Posted: Sun Dec 15, 2019 4:08 pm
by PNCATTE
Hello,
I use the wlIP plugin with an update every five minutes but the gusts of wind are false we would say that they take the maximum wind speed and not the gusts
My data is taken for INFOCLIMAT and the gusts are good compared to my console of the station
(Photos attached)
How to fix this concern for this plugin
Thanks in advance
cordially
Re: Gust with plugin wlIP
Posted: Sun Dec 15, 2019 6:12 pm
by Jolumarali
Bonjour
Regarde ton api, si tu n'as pas cette ligne : <wind_gust_max>29.0</wind_gust_max>
avec WLIp les rafales ne s'affiche pas..
Perso j'ai une vantage vue et cette ligne je l'ai:
donc aucune idée pour ce manque.
Problème rencontré avec d'autres stations.
tu peux voir sur ce lien mon maxi enregistré avec weatherlink:
http://meteo-lignerolles.fr/custom/cust ... eatherlink
José Luis
Re: Gust with plugin wlIP
Posted: Mon Dec 16, 2019 4:29 pm
by PNCATTE
Bonsoir
Merci pour l'aide
Je ne trouve pas : wind_gust_max>29.0< il se trouve dans le fichier API ?
Si je prends aujourd'hui la rafale max a été de 49.9 KM/H je la retrouve dans WEATHERLINK
https://www.weatherlink.com/embeddableP ... d7/summary
Mais dans METEOTEMPLATE affiche 37 km/h
est ce un soucis dans l'API WLIP?
Re: Gust with plugin wlIP
Posted: Mon Dec 16, 2019 5:06 pm
by Jolumarali
Bonsoir
Oui dans l'Api
http://meteo-lignerolles.fr/plugins/sta ... format=xml
Donc quand il n’y pas cette ligne avec WlIP il y a un problème.
ce qui est bizarre c'est que sur certaines Api elle apparaît et d'autres non. c'est ce que j'ai observé.
Désolé mes compétences s’arrête là.
Bonne soirée
José Luis
Re: Gust with plugin wlIP
Posted: Tue Dec 17, 2019 7:40 am
by PNCATTE
Bonjour,
Cette ligne n'apparait pas
http://www.fleurie-meteolive.ovh/plugin ... format=xml
Certainement la cause du soucis
Re: Gust with plugin wlIP
Posted: Thu Dec 19, 2019 7:41 am
by PNCATTE
Bonjour,
Dans le fichier update.php
Ligne 71 : $rawUpdate['G'] = number_format(convertor($rawData[133],"kt","kmh"),1,".","");
rawData 133 est t'il bien le numéro correspondant aux rafales ?
D'avance merci pour vos renseignements
Re: Gust with plugin wlIP
Posted: Thu Dec 19, 2019 8:02 am
by Jolumarali
oui
G wind gust km/h maximum wind speed
josé luis
Re: Gust with plugin wlIP
Posted: Thu Dec 19, 2019 6:51 pm
by PNCATTE
Bonsoir,
Avec un meteohub cette variable ne pose pas de soucis
Existe t'il une table de toutes les variables pour savoir si la 133 est bien GUST ou la moyenne GUST
$rawUpdate['T'] = $rawData[4]; la temperature exterieure est donc 4
$rawUpdate['H'] = $rawData[5];
$rawUpdate['P'] = $rawData[6];
$rawUpdate['B'] = $rawData[3];
Merci
Re: Gust with plugin wlIP
Posted: Fri Jun 26, 2020 8:33 pm
by kratochh
I faced some problems connecting to WL 2.0 but thx to the forum i finally managed it.
As a small contribution I just share my amendments to the plugin; You can find the details in the attached zip file.
Finally, don't miss to establish a cron job as described in Meteotemplate's installation information
(url...../plugins/wlIP/wlIPupdate.php?pass=******);
mine is set to a 5 minutes intervall.