Page 1 of 1
Buienradar not working in 3.5.1 beta
Posted: Monday 22 June 2020 12:11
by Jimster
I upgraded to the latest beta and since then buienradar doesn't work anymore.
Any idea what I have to change to get it work again?
Code: Select all
var frames = {}
frames.buienradar = {
frameurl:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.81&lng=4.67361&overname=2&zoom=8&naam=Dordrecht&size=2b&voor=1',
refreshiframe: 600000,
width: 12,
height: 330,
scrollbars: true,
forcerefresh: 2,
key: 'buienradar'
}
Re: Buienradar not working in 3.5.1 beta
Posted: Wednesday 24 June 2020 23:41
by clinkadink
I think your "refreshiframe" needs updating from milliseconds to seconds. Unless you mean to refresh it once per week
Code: Select all
refreshiframe: 600000 // incorrect
refreshiframe: 60 // correct
https://dashticz.readthedocs.io/en/beta ... parameters
Re: Buienradar not working in 3.5.1 beta
Posted: Wednesday 24 June 2020 23:48
by Lokonli
Jimster wrote:I upgraded to the latest beta and since then buienradar doesn't work anymore.
Any idea what I have to change to get it work again?
Code: Select all
var frames = {}
frames.buienradar = {
frameurl:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.81&lng=4.67361&overname=2&zoom=8&naam=Dordrecht&size=2b&voor=1',
refreshiframe: 600000,
width: 12,
height: 330,
scrollbars: true,
forcerefresh: 2,
key: 'buienradar'
}
Can you try with forcerefresh:0?
Sent from my SM-A320FL using Tapatalk
Re: Buienradar not working in 3.5.1 beta
Posted: Thursday 25 June 2020 16:11
by Lokonli
Jimster wrote: ↑Monday 22 June 2020 12:11
I upgraded to the latest beta and since then buienradar doesn't work anymore.
Any idea what I have to change to get it work again?
Code: Select all
var frames = {}
frames.buienradar = {
frameurl:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.81&lng=4.67361&overname=2&zoom=8&naam=Dordrecht&size=2b&voor=1',
refreshiframe: 600000,
width: 12,
height: 330,
scrollbars: true,
forcerefresh: 2,
key: 'buienradar'
}
and replace refreshiframe:600000 with refresh:600
(the parameter was renamed from refreshiframe to refresh, expressed in sec not msec.)
Re: Buienradar not working in 3.5.1 beta
Posted: Thursday 25 June 2020 19:27
by Jimster
Lokonli wrote: ↑Wednesday 24 June 2020 23:48
Jimster wrote:I upgraded to the latest beta and since then buienradar doesn't work anymore.
Any idea what I have to change to get it work again?
Code: Select all
var frames = {}
frames.buienradar = {
frameurl:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.81&lng=4.67361&overname=2&zoom=8&naam=Dordrecht&size=2b&voor=1',
refreshiframe: 600000,
width: 12,
height: 330,
scrollbars: true,
forcerefresh: 2,
key: 'buienradar'
}
Can you try with forcerefresh:0?
Sent from my SM-A320FL using Tapatalk
Yes, this did the trick! Thanks!
Re: Buienradar not working in 3.5.1 beta
Posted: Thursday 25 June 2020 21:42
by Lokonli
Reason:
forcerefresh contained a bug, and was not applied to frames. I fixed this some time ago.
So after the bug fix forcerefresh:2 was applied to your buienradar frame, meaning the CORS proxy will be used.
However, buienradar.nl cannot be loaded via the CORS proxy ..., so that created your issue.
Anyway, good that it's solved
