Dashticz moon pics and trashcan problems

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
cencen
Posts: 4
Joined: Tuesday 11 December 2018 21:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Dashticz moon pics and trashcan problems

Post by cencen »

Hi,

Can somebody help me.
I had to reinstall dashticz after a crash of domoticz.
After installation of version 3.3.3.1 everything works except:
Dashboard.png
Dashboard.png (276.23 KiB) Viewed 560 times
My trashcan picture is deformed (slimmer than the actual size)
and the moon phase pictures are not showing.

I did some checking on the moon phases and html inspect says that
"You don't have permission to access this resource. Apache/2.4.38 (Debian) Server at 192.168.178.150 Port 8082"

The moon library and pictures have the right permissions so I think someting is not right with Apache permission right but I dont know how to fix it.
Can somebody help me or give me a hint, also on the garbage picture.

Thanks!
schwuppdiwupp
Posts: 13
Joined: Wednesday 25 March 2020 19:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz moon pics and trashcan problems

Post by schwuppdiwupp »

+1 on this
I just setup my dashticz and ran into the same issue:
192.168.178.56/:1 GET http://192.168.178.56:8082/img/moon/ 403 (Forbidden)
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz moon pics and trashcan problems

Post by Lokonli »

schwuppdiwupp wrote: Sunday 05 April 2020 14:29 +1 on this
I just setup my dashticz and ran into the same issue:
192.168.178.56/:1 GET http://192.168.178.56:8082/img/moon/ 403 (Forbidden)
Please check that the files and folders are accessible for root.

Can you post here how you defined your button for the moon image in CONFIG.js?
cencen
Posts: 4
Joined: Tuesday 11 December 2018 21:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz moon pics and trashcan problems

Post by cencen »

Hi Lokonli,

folder moon has permission: drwxr-xr-x
and the png files have: -rw-r--r--

My config.js:

buttons.moon = {
width:2,
isimage:true,
refreshimage:60000,
image: 'moon'
}

//Definition of columns
columns = {}
columns[1] = {
// blocks : ['clock', 'sunrise', buttons.moon],
blocks : [
'clock',
// '192_1',buttons.moon,
'570_1',buttons.moon,
'875_1','869_1',
's3','s4',
// 'currentweather_big_owm',
'weather_owm',
'garbage',
'sunrise'],
width: 4
}

Thanks.
schwuppdiwupp
Posts: 13
Joined: Wednesday 25 March 2020 19:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz moon pics and trashcan problems

Post by schwuppdiwupp »

Permission on my pi:
drwxr-xr-x 5 pi pi 4096 Apr 4 22:55 img
config.js

Code: Select all

buttons = {}
buttons.moon = {
  width:12,
  isimage:true,
  refreshimage:60000,
  image: 'moon'
}

columns[4] = {
  blocks: ['sunrise', buttons.moon],
  width: 2
}

Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz moon pics and trashcan problems

Post by Lokonli »

the 'image' parameter has been renamed to 'btnimage'

(the image parameter is reserved for the small image at the left of a block, instead of an icon.)
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz moon pics and trashcan problems

Post by Lokonli »

I see there is an error in the moon documentation. I will update the documentation.
cencen
Posts: 4
Joined: Tuesday 11 December 2018 21:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz moon pics and trashcan problems

Post by cencen »

Updated it and it works!

Thank for your support Lokonli.
schwuppdiwupp
Posts: 13
Joined: Wednesday 25 March 2020 19:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz moon pics and trashcan problems

Post by schwuppdiwupp »

Thx! working like a charm now
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests