Community Support
Hi, I am trying to add my weather station (Davis Vantage Pro 2) to the plugin. I tried both via stickertags file and realtime.txt file, however, I wound up with the same error message "bad file format" (find attached a screenshot). I searched similar issues in this forum, but I was not able to figure out where the problem is. My guess is about the stickertags/realtime file format. Here they are the files I'm pushing via Weatherlink:
Stickertags -> http://www.lascasasdeandrea.com/meteo/realtime.txt
Realtime -> http://www.lascasasdeandrea.com/meteo/realtime.txt
Does anybody know what I'm doing wrong?
Thanks in advance.
Hello!
I’m sorry I’m in holidays for now with limited access to internet. I will be back in 3 days and will try to help you at this time.Â
Just got an eye on your realtime file and it contains
<!--hiWindSpeedTime-->
which is is not a valid valueÂ
If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...
Thanks Pierre, I finally managed to setup the WL_stickertags.txt file and then I added my station. However, data was retrieved just once despite being pushed every 1 minute via Weatherlink (see screenshot).
On the other hand, I checked the error log, and there are some entries like this: "Internationalization support is not installed on your server. Weather Station runs in degraded mode..."
Any help would be appreciated.
Thanks.
Hello Fernando,
have you set up a cron job for your page according to this article? It allows your page to fetch up-to-date weather data, even if there is little to no traffic ????Â
Chris
I like the cold weather. It means you get work done.
Hello @ferserranod!
@zerog981 is right, the main reason may be a cron which is not set. I encourage you to set it. If the problem is still here after that, just let me know...
If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...
Thanks Pierre/Chris,
I set up the cron job according to the article steps. It seems to be working fine (I can see "Cronjob execution: Successful (200 OK)" in cron-job.org log). Unfortunately, data is not being retrieved yet and the freshness column is stuck in "07/05/2019, 19:14 - 2 days ago".Â
Find attached a screenshot from the events section. Hope it helps.
You have many errors in your events log. Could click on a line with error and give us the full content of the error? Could you give me the exact url of the file you're collecting too?
Thanks
If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...
Seems like I'm getting the "bad file format" error again, but my WL_stickertags.txt ( http://www.lascasasdeandrea.com/meteo/WL_stickertags.txt ) was not changed. Weird...
Thanks.
Your file contains errors (as far as I can see):
- it must not contain carriage return
- it must not contain double spaces
If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...
According to the log, data is sometimes retrieved, right?
Yes, the file 🙂
If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...
Yes, the file 🙂
So, I should see something new here (see attachment)Â
Hello @ferserranod.
I understand the frustration to manage things with files (and stupid formats, I admit). Nevertheless, I recommend you to fix your file before any other investigations. Weather Station will never works correctly if your file is wrong. I'm sorry.Â
If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...
Posted by: Pierre Lannoy
Hello @cojka80!
I'm sorry you have a wrong behavior of Weather Station but I must admit, I'm not totally surprised... Once again, Weather Station can only collect file-based stations if the provided file is a realtime.txt, clientraw.txt or stickertags file. These types of files are normalized or are defacto standards.
- realtime.txt is described here:Â http://wiki.sandaysoft.com/a/Realtime.txt
- clientraw.txt is described here: http://www.burnhamoncrouchweather.com/clientrawdescription.txt  (and you will find a lovely parser here: https://www.tnetweather.com/wdparserold/index.php )
- stickertags is described here: http://reseaumeteofrance.fr/instructions.php  (sorry, it's in French)
They are raw text files (not html or other formats).Â
If these formats are not fully implemented, the files can not be rightly used by Weather Station. I'm sorry.
According to your recommendation in other post for stickertags file generation, I generated my file as described for Weatherlink software. I'm still getting some errors, despite being retrieved OK in other cases.
Thanks.