Page 1 of 1

Can't get buienradar or moon phase to work

Posted: Tuesday 03 December 2019 21:25
by Energy2k8
Hello,

New user to dashticz and loving the software so far. I am having trouble getting the buienradar button picture to show and also the moon phase is not showing. I get the following result:
2019-12-03 21_22_04-Mail.png
2019-12-03 21_22_04-Mail.png (57.79 KiB) Viewed 295 times
The garbage is showing, but both the buienradar and the moon are failing.

My button code is as follows:

//Definition of buttons
buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/Rada ... =285&h=256'}
buttons.moon = {width:12, isimage:true, refreshimage:60000, image: 'moon'}

And for the columns i have the following:

//Definition of columns
columns = {}
columns[1] = {}
columns[1]['blocks'] = ['licht','s1']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['currentweather_big_owm','weather_owm','14_1','13_1','12_1','53','14_2','13_2','12_2','1_2','1_1',5]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['garbage',buttons.buienradar,buttons.moon]
columns[3]['width'] = 2;


Am i missing something or doing something wrong? I am running dashticz on a synology nas.

Re: Can't get buienradar or moon phase to work

Posted: Wednesday 04 December 2019 0:56
by HansieNL
What version of Dashticz are you using?
For the latest beta you need to use btnimage See: https://dashticz.readthedocs.io/en/beta ... parameters

Re: Can't get buienradar or moon phase to work

Posted: Wednesday 04 December 2019 6:55
by Energy2k8
I am using the latest beta. Thanx for the tip, i totally missed the part about btnimage. I will try that once i get home this afternoon.