Page 1 of 1

refreshtime of buienradar image

Posted: Monday 17 August 2020 9:56
by NilsNijenhuis
Hello,

I thought that the refreshtime of the buienradar image was standard 60 seconds?
as you can see, mine is completely inaccurate (buienradar image of 17:05) and the time was 18:15,
so 70 minutes of not updating the image?

is this normal or is there a way to update this requently?

Re: refreshtime of buienradar image

Posted: Monday 17 August 2020 11:42
by Vomera
Can you send me the code of the buienradar ?

Re: refreshtime of buienradar image

Posted: Monday 17 August 2020 12:45
by NilsNijenhuis
// --------------------------------------------------------------------------------------------
// Buienradar
// --------------------------------------------------------------------------------------------
buttons.buienradar = {width:12, isimage:true, btnimage: 'https://api.buienradar.nl/image/1.0/Rad ... =512&h=512', url: 'https://gadgets.buienradar.nl/gadget/zo ... e=3&voor=1" scrolling=no width=550 height=512 frameborder=no'}

i didn't use refreshiframe or refresh because both are default at 60 seconds

Re: refreshtime of buienradar image

Posted: Monday 17 August 2020 13:25
by Vomera
I miss the parameter : refreshimage:60000

for example

Dont copy it, because the link is not complete :)

Code: Select all

buttons.buienradar = { refreshimage:60000, width:12, isimage:true, btnimage: 'https://api.buienradar.nl/image/1.0/Rad ... =512&h=512', url: 'https://gadgets.buienradar.nl/gadget/zo ... e=3&voor=1" scrolling=no width=550 height=512 frameborder=no'}
you need to refresh, buienradar does not refresh by it self, because it's cashed on your computer/tablet

groetjes

Re: refreshtime of buienradar image

Posted: Monday 17 August 2020 13:43
by NilsNijenhuis
is it in milli secondes or secondes?

if i read the next link it is secondes?
https://dashticz.readthedocs.io/en/mast ... buienradar

i will try what happens if i add it :)

Re: refreshtime of buienradar image

Posted: Monday 17 August 2020 13:46
by Vomera
NilsNijenhuis wrote: Monday 17 August 2020 13:43 is it in milli secondes or secondes?

if i read the next link it is secondes?
https://dashticz.readthedocs.io/en/mast ... buienradar

i will try what happens if i add it :)
Its in seconds like the document, i dont use the button anymore, before it was in miliseconds. I use iframe now.

Re: refreshtime of buienradar image

Posted: Monday 17 August 2020 14:54
by NilsNijenhuis
adding refreshimage:60 doesn't give a refresh of the image
not on the tablet and not on the laptop?

what is iframe? and does that give you a moving image of buienradar?

Re: refreshtime of buienradar image

Posted: Monday 17 August 2020 15:27
by gielie
There is something wrong at the side of buienradar, the api.buienradar doesn't work, it also doesn't work if u use the url in a web browser.
This url does work
https://gadgets.buienradar.nl/gadget/zo ... eborder=no

Re: refreshtime of buienradar image

Posted: Monday 17 August 2020 17:29
by HansieNL
Looks like they changed their image type. As far as I know was the old image a gif image and now it is a png image. The image is refreshed at buienradar site every 10 minutes.
This link: https://api.buienradar.nl/image/1.0/Ra ... =256&h=256 is working for me.

Re: refreshtime of buienradar image

Posted: Tuesday 18 August 2020 9:21
by Vomera

Code: Select all

var frames = {}

frames.buienradar = {
  frameurl:"https://gadgets.buienradar.nl/gadget/zoommap/?lat=50.82535&lng=5.72597&overname=2&zoom=8&naam=6228CN&size=2b&voor=0",
  height: 360,     //height of the block in pixels
  width: 10,
  scrollbars: false,
  refreshiframe:60000,
  forcerefresh: 1,
  key:'widthbuienradar'
}
This is my code. The url is used is from https://www.buienradar.nl/overbuienrada ... s-weerdata sector 1.3 Kies uw eigen Europese, Nederlandse of lokale Buienradar

Re: refreshtime of buienradar image

Posted: Friday 28 August 2020 16:33
by NilsNijenhuis
the api works again