Dashticz moon pics and trashcan problems
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 4
- Joined: Tuesday 11 December 2018 21:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Dashticz moon pics and trashcan problems
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: 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!
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: 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!
-
- Posts: 13
- Joined: Wednesday 25 March 2020 19:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz moon pics and trashcan problems
+1 on this
I just setup my dashticz and ran into the same issue:
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)
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz moon pics and trashcan problems
Please check that the files and folders are accessible for root.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)
Can you post here how you defined your button for the moon image in CONFIG.js?
-
- Posts: 4
- Joined: Tuesday 11 December 2018 21:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz moon pics and trashcan problems
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.
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.
-
- Posts: 13
- Joined: Wednesday 25 March 2020 19:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz moon pics and trashcan problems
Permission on my pi:
config.jsdrwxr-xr-x 5 pi pi 4096 Apr 4 22:55 img
Code: Select all
buttons = {}
buttons.moon = {
width:12,
isimage:true,
refreshimage:60000,
image: 'moon'
}
columns[4] = {
blocks: ['sunrise', buttons.moon],
width: 2
}
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz moon pics and trashcan problems
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.)
(the image parameter is reserved for the small image at the left of a block, instead of an icon.)
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz moon pics and trashcan problems
I see there is an error in the moon documentation. I will update the documentation.
-
- Posts: 4
- Joined: Tuesday 11 December 2018 21:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz moon pics and trashcan problems
Updated it and it works!
Thank for your support Lokonli.
Thank for your support Lokonli.
-
- Posts: 13
- Joined: Wednesday 25 March 2020 19:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz moon pics and trashcan problems
Thx! working like a charm now
Who is online
Users browsing this forum: No registered users and 0 guests