cloudy cloudy

Author Topic: RB pi3 ,update api meteotemplate  (Read 1008 times)

0 Members and 1 Guest are viewing this topic.

Offline pascal

  • Posts: 4
  • OS/Browser:
  • Mac OS X 10.11.6
  • Chrome 63.0.3239.132
RB pi3 ,update api meteotemplate
« on: January 26, 2018, 01:22:42 PM »
Hi,


I  have a raspberry 3, with the latest console version wd 64bits
it works without problem, but the update with the api of meteotemplate is too long 5mn .... how to reduce the update time about 1 min or less ...

Thanks

best regards

Offline Cavaliere89

  • Posts: 152
  • OS/Browser:
  • Win NT 10.0
  • Firefox 58.0
Re: RB pi3 ,update api meteotemplate
« Reply #1 on: January 31, 2018, 01:05:51 PM »
Hi,


I  have a raspberry 3, with the latest console version wd 64bits
it works without problem, but the update with the api of meteotemplate is too long 5mn .... how to reduce the update time about 1 min or less ...

Thanks

best regards
I recently put the weather display on raspberry pi3 as well, but I have the exact same problem, could I shorten the update time to 1 minute?

Offline Weather Display

  • Posts: 84,916
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 63.0.3239.132
    • Weather Display
Re: RB pi3 ,update api meteotemplate
« Reply #2 on: January 31, 2018, 05:33:27 PM »
I guess I could add option to update every minute

Offline Cavaliere89

  • Posts: 152
  • OS/Browser:
  • Win NT 10.0
  • Chrome 63.0.3239.132
Re: RB pi3 ,update api meteotemplate
« Reply #3 on: January 31, 2018, 07:24:35 PM »
I guess I could add option to update every minute


Great, then we wait for your confirmation as soon as it is inserted this works to load the file faster for meteotemplate.

But just launch the file Consolewd and also start uploading meteotemplate automatically?

Offline Weather Display

  • Posts: 84,916
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 63.0.3239.132
    • Weather Display
Re: RB pi3 ,update api meteotemplate
« Reply #4 on: February 01, 2018, 02:13:50 AM »
try
http://www.weather-display.com/downloadfiles/consolewdtest.zip
and put in the config.txt
meteotemplatefast=Y

Offline Cavaliere89

  • Posts: 152
  • OS/Browser:
  • Win NT 10.0
  • Firefox 58.0
Re: RB pi3 ,update api meteotemplate
« Reply #5 on: February 02, 2018, 10:11:04 PM »
try
http://www.weather-display.com/downloadfiles/consolewdtest.zip
and put in the config.txt
meteotemplatefast=Y

I can not keep updated at least 3 minutes per lap meteotemplate, even if the console does the upload every minute, as you have reduced the update time on the web page.

If possible, lower it to 30 seconds would be perfect in my opinion, if you can, or the possibility to choose a range like clientraw files.

Offline Weather Display

  • Posts: 84,916
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 63.0.3239.132
    • Weather Display
Re: RB pi3 ,update api meteotemplate
« Reply #6 on: February 02, 2018, 10:23:59 PM »
not sure what you mean by I have reduced the update time on the web page?

Offline Cavaliere89

  • Posts: 152
  • OS/Browser:
  • Win NT 10.0
  • Firefox 58.0
Re: RB pi3 ,update api meteotemplate
« Reply #7 on: February 02, 2018, 10:39:07 PM »
not sure what you mean by I have reduced the update time on the web page?

I put the data update every 100 seconds to give it some 'time since every 60 uploads the file but does not change anything does not update.

sending the file via weather display from windows is twice as fast in updates as ever?

p.s. I've just done a more thorough check and the data updates them every 70 seconds or more, but the problem is that it does not update the time when the data is loaded, which was the weather display on windows, maybe some string in the file that loads?
« Last Edit: February 02, 2018, 11:43:58 PM by Cavaliere89 »

Offline Weather Display

  • Posts: 84,916
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 63.0.3239.132
    • Weather Display
Re: RB pi3 ,update api meteotemplate
« Reply #8 on: February 03, 2018, 12:37:33 AM »
what is the url?

Offline Cavaliere89

  • Posts: 152
  • OS/Browser:
  • Win NT 10.0
  • Firefox 58.0

Offline Cavaliere89

  • Posts: 152
  • OS/Browser:
  • Win NT 10.0
  • Chrome 63.0.3239.132
Re: RB pi3 ,update api meteotemplate
« Reply #10 on: February 03, 2018, 07:11:21 PM »
Hello Brian, after talking to the meteotemplate programmer, he told me that the problem that does not update the time, and 'due to the string that is' inside the file that is loaded by the raspberry maybe something is not' correctly written, can you check it politely?

Offline Weather Display

  • Posts: 84,916
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 63.0.3239.132
    • Weather Display
Re: RB pi3 ,update api meteotemplate
« Reply #11 on: February 03, 2018, 08:19:33 PM »
in checking your meteotemplate site
it has the time as
Condizioni Attuali
21:15:00
is that not correct?

Offline Cavaliere89

  • Posts: 152
  • OS/Browser:
  • Win NT 10.0
  • Firefox 58.0
Re: RB pi3 ,update api meteotemplate
« Reply #12 on: February 03, 2018, 09:21:52 PM »
in checking your meteotemplate site
it has the time as
Condizioni Attuali
21:15:00
is that not correct?

The problem is that 'the data are updated, but often update the data and not the update timestamp, I also spoke with those who created meteotemplate that controlled and told me so:

"Hi, I checked your API file. Your API file is updated correctly, but the date/time (parameter U), the timestamp, is not being updated so the time remains the same. "

Offline Weather Display

  • Posts: 84,916
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 63.0.3239.132
    • Weather Display
Re: RB pi3 ,update api meteotemplate
« Reply #13 on: February 04, 2018, 04:20:02 AM »
I just checked now , your site
and it says
Condizioni Attuali
5:18:45

i.e the time is updating

what am I missing

Offline Cavaliere89

  • Posts: 152
  • OS/Browser:
  • Win NT 10.0
  • Firefox 58.0
Re: RB pi3 ,update api meteotemplate
« Reply #14 on: February 04, 2018, 07:05:05 AM »
I just checked now , your site
and it says
Condizioni Attuali
5:18:45

i.e the time is updating

what am I missing

Hello brian, the problem is precisely: When you update the weather data, it does not update at the same time the time in here is loaded. the timetable in the above line is updated later than ever? You can see it because as soon as the updated weather data flashes, the time does not flash, watch carefully.