Can't get buienradar or moon phase to work

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
Energy2k8
Posts: 5
Joined: Tuesday 03 December 2019 20:04
Target OS: -
Domoticz version:
Contact:

Can't get buienradar or moon phase to work

Post 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 296 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.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
Blah blah blah
Energy2k8
Posts: 5
Joined: Tuesday 03 December 2019 20:04
Target OS: -
Domoticz version:
Contact:

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

Post 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.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 1 guest