Plugin Sea temperature

Post Reply
poppelsepien
Newbie
Newbie
Posts: 4
Joined: Fri Oct 20, 2017 7:08 am
Station model: Davis Pro2
Software: Weather Display

Plugin Sea temperature

Post by poppelsepien » Tue Oct 24, 2017 9:50 am

Yesterday I've installed de sea temperature plugin. I followed the setup but I only see the text and temperature itself but no graph. What's wrong?
[url][/https://beruys.com/poppelsweer/plugins/ ... /index.php

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Plugin Sea temperature

Post by nikokara - BANNED » Tue Oct 24, 2017 8:14 pm

Your data file is empty

{"city":"Vlissingen","avg":[],"max":[],"min":[]}
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Plugin Sea temperature

Post by Jachym » Tue Oct 24, 2017 8:42 pm

Try deleting the cache folder. If it then starts working it was a temporary issue. If not, it means your server is unable to load data from the data source

poppelsepien
Newbie
Newbie
Posts: 4
Joined: Fri Oct 20, 2017 7:08 am
Station model: Davis Pro2
Software: Weather Display

Re: Plugin Sea temperature

Post by poppelsepien » Wed Oct 25, 2017 8:59 am

I've deleted the cache but no result. In de cache directory are 2 files: data.txt en current.txt. In the current.txt file you can read the current temperature and in de data.txt file is only the cityname filled in, the average, min max fields are empty.
{"city":"Vlissingen","avg":[],"max":[],"min":[]}
So, why are several fields empty and some not?

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Plugin Sea temperature

Post by Jachym » Wed Oct 25, 2017 9:48 am

I think your server has general problems loading data from external sources, because you have the same problem with other blocks/plugins, do you use some free webhosting?

poppelsepien
Newbie
Newbie
Posts: 4
Joined: Fri Oct 20, 2017 7:08 am
Station model: Davis Pro2
Software: Weather Display

Re: Plugin Sea temperature

Post by poppelsepien » Wed Oct 25, 2017 11:13 am

I use my own ubuntu server with Apache.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Plugin Sea temperature

Post by Jachym » Wed Oct 25, 2017 11:31 am

OK, well I really dont know how to help you

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Plugin Sea temperature

Post by nikokara - BANNED » Wed Oct 25, 2017 12:35 pm

Hi poppelsepien

I have exact the same issue

Copy the data.txt from my zip to your plugin cache folder

and enjoy ;)

Jachym, the script cant parse the seatemperature.org page
Attachments
data.zip
(300 Bytes) Downloaded 622 times
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Plugin Sea temperature

Post by Jachym » Wed Oct 25, 2017 12:37 pm

Copying the file to cache folder is useless because it will be automatically deleted once the cache expires (12h).

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Plugin Sea temperature

Post by nikokara - BANNED » Wed Oct 25, 2017 12:44 pm

Yachym in my case data.txt has been never overwritten since 3 weeks
(the data.txt) current.txt yes it's overwritten


Edit: Since 5 weeks (21/09/2017)
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Plugin Sea temperature

Post by Jachym » Wed Oct 25, 2017 1:11 pm

Yes, but the plugin will not work correctly, it needs the current.txt as well

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Plugin Sea temperature

Post by nikokara - BANNED » Wed Oct 25, 2017 1:24 pm

Jachym

current.txt works fine. (is updated regularly)
data.txt is not updated (and i want this)
I have input the data only once in data.txt manually, i have no other choice :cry:

But the plugin works fine.
sea_temp1.jpg
sea_temp1.jpg (11.31 KiB) Viewed 17788 times
sea_temp2.jpg
sea_temp2.jpg (11.94 KiB) Viewed 17788 times
niko

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Plugin Sea temperature

Post by nikokara - BANNED » Wed Oct 25, 2017 3:57 pm

Jachym

Your data.txt (niagara fails) at meteotemplate.com
are not altered-updated too
since June 16, 2017, 3:47:56 PM
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Plugin Sea temperature

Post by Jachym » Wed Oct 25, 2017 4:14 pm

Yes, but current is.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Plugin Sea temperature

Post by Jachym » Wed Oct 25, 2017 4:15 pm

Data.txt is loaded once for the location specified (so if you use different location then he cannot use it), these are records which do not change. Current data is cached for 12 h.

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Plugin Sea temperature

Post by nikokara - BANNED » Wed Oct 25, 2017 4:26 pm

Ok
lets make an experiment.
rename data.txt to old.

and give this temporary as location in the settings:
https://www.seatemperature.org/europe/g ... rhaven.htm

wats happen?
niko

hcorrin
Observer
Observer
Posts: 40
Joined: Tue Sep 05, 2017 10:55 am
Location: Ballaugh
Station model: Davis VP2
Software: Weather Display
Contact:

Re: Plugin Sea temperature

Post by hcorrin » Thu Oct 26, 2017 10:09 pm

Hi
I just tried this plugin and got the same current.txt with a value in and data.txt with just the site in no values for the site I had chosen Blackpool as nearest to my location taken from seatemperature site
So based on the data.zip posted earlier and using the data shown on the January page for Blackpool I was able to get the data required to fill in a data file and put it in the cache and that works.
I know my host has some limitations that may stop the data.txt from being populated with data, but when I tried it on my local test server it also failed to get data in the data.txt.
not sure what the full url is for getting this data.
Harold
Image

Post Reply