Page 177 of 184
Re: Dashticz - General Discussions
Posted: Sunday 11 November 2018 18:48
by EdwinK

- Screen Shot 2018-11-11 at 18.45.24.png (137.08 KiB) Viewed 5990 times
Found this, little, problem with my dashboard. As you can see, two of the tiles are a bit lower than the first one. At first I thought it was because the data was too much to handle in the box, but that isn't the case. Any clue's on this?
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 10:18
by Minglarn
Hi...
2 questions....
1. What/witch function handles the popup window? Need to change the size of the popup..
2. How do I change the font for the whole layout?
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 13:26
by gielie
Can someone help me out, I can't get 1 of my agendas back online.
I started from scratch, reinstalled raspbian stretch, reinstalled domoticz and reinstalled dashticz folowing the latest tutorial (
https://www.domoticz.com/wiki/Dashticz_ ... stallation)
this is the error I get
Code: Select all
jquery.min.js:4 GET http://192.168.1.16/dashticz/vendor/dashticz/ical/?time=1542198234423&url=https://mijn.digiduif.nl/ical/[email protected]/*******.ics 500 (Internal Server Error)
My other iCloud agenda/garbage works fine and this agenda worked fine before, what is going wrong? Is the .ics a problem?
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 13:28
by Lokonli
Minglarn wrote: ↑Wednesday 14 November 2018 10:18
Hi...
1. What/witch function handles the popup window? Need to change the size of the popup..
I assume you mean the popup window of a button?
See js/main.js, function loadImage, line 861
Code: Select all
html += '<iframe data-popup="' + image.url + '" width="100%" height="570" frameborder="0" allowtransparency="true"></iframe> ';
Here you can fill in the width and the height of the popup iframe. If needed you can make it dependent on image.url.
Maybe we should create a feature request for this so that it becomes configurable via CONFIG.js for each button.
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 13:36
by Lokonli
gielie wrote: ↑Wednesday 14 November 2018 13:26
Can someone help me out, I can't get 1 of my agendas back online.
I started from scratch, reinstalled raspbian stretch, reinstalled domoticz and reinstalled dashticz folowing the latest tutorial (
https://www.domoticz.com/wiki/Dashticz_ ... stallation)
this is the error I get
Code: Select all
jquery.min.js:4 GET http://192.168.1.16/dashticz/vendor/dashticz/ical/?time=1542198234423&url=https://mijn.digiduif.nl/ical/[email protected]/*******.ics 500 (Internal Server Error)
My other iCloud agenda/garbage works fine and this agenda works fine before, what is going wrong? Is the .ics a problem?
Probably ...
Did you already check the url itself by opening it in a browser:
https://mijn.digiduif.nl/ical/machielja ... ******.ics
Maybe also the apache error log provides additional info. You can find it in:
It might be a cross-origin problem, but I would expect that was solved with the latest beta.
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 15:39
by gielie
Lokonli wrote: ↑Wednesday 14 November 2018 13:36
gielie wrote: ↑Wednesday 14 November 2018 13:26
Can someone help me out, I can't get 1 of my agendas back online.
I started from scratch, reinstalled raspbian stretch, reinstalled domoticz and reinstalled dashticz folowing the latest tutorial (
https://www.domoticz.com/wiki/Dashticz_ ... stallation)
this is the error I get
Code: Select all
jquery.min.js:4 GET http://192.168.1.16/dashticz/vendor/dashticz/ical/?time=1542198234423&url=https://mijn.digiduif.nl/ical/[email protected]/*******.ics 500 (Internal Server Error)
My other iCloud agenda/garbage works fine and this agenda works fine before, what is going wrong? Is the .ics a problem?
Probably ...
Did you already check the url itself by opening it in a browser:
https://mijn.digiduif.nl/ical/machielja ... ******.ics
Maybe also the apache error log provides additional info. You can find it in:
It might be a cross-origin problem, but I would expect that was solved with the latest beta.
Url works fine in browser, in the apache2 log i get this error
Code: Select all
[Wed Nov 14 16:41:32.720954 2018] [:error] [pid 9089] [client 192.168.1.30:61984] PHP Fatal error: Uncaught Error: Call to undefined function utf8_encode() in /home/pi/dashticz/vendor/dashticz/ical/helpers/SG_iCal_Parser.php:64\nStack trace:\n#0 /home/pi/dashticz/vendor/dashticz/ical/helpers/SG_iCal_Parser.php(10): SG_iCal_Parser::Fetch('https://mijn.di...')\n#1 /home/pi/dashticz/vendor/dashticz/ical/SG_iCal.php(57): SG_iCal_Parser::Parse('https://mijn.di...', Object(SG_iCalReader))\n#2 /home/pi/dashticz/vendor/dashticz/ical/SG_iCal.php(48): SG_iCal->setUrl('https://mijn.di...')\n#3 /home/pi/dashticz/vendor/dashticz/ical/index.php(7): SG_iCal->__construct('https://mijn.di...')\n#4 {main}\n thrown in /home/pi/dashticz/vendor/dashticz/ical/helpers/SG_iCal_Parser.php on line 64, referer: http://192.168.1.16/dashticz/
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 19:53
by Lokonli
gielie wrote: ↑Wednesday 14 November 2018 15:39
Lokonli wrote: ↑Wednesday 14 November 2018 13:36
gielie wrote: ↑Wednesday 14 November 2018 13:26
Can someone help me out, I can't get 1 of my agendas back online.
I started from scratch, reinstalled raspbian stretch, reinstalled domoticz and reinstalled dashticz folowing the latest tutorial (
https://www.domoticz.com/wiki/Dashticz_ ... stallation)
this is the error I get
Code: Select all
jquery.min.js:4 GET http://192.168.1.16/dashticz/vendor/dashticz/ical/?time=1542198234423&url=https://mijn.digiduif.nl/ical/[email protected]/*******.ics 500 (Internal Server Error)
My other iCloud agenda/garbage works fine and this agenda works fine before, what is going wrong? Is the .ics a problem?
Probably ...
Did you already check the url itself by opening it in a browser:
https://mijn.digiduif.nl/ical/machielja ... ******.ics
Maybe also the apache error log provides additional info. You can find it in:
It might be a cross-origin problem, but I would expect that was solved with the latest beta.
Url works fine in browser, in the apache2 log i get this error
Code: Select all
[Wed Nov 14 16:41:32.720954 2018] [:error] [pid 9089] [client 192.168.1.30:61984] PHP Fatal error: Uncaught Error: Call to undefined function utf8_encode() in /home/pi/dashticz/vendor/dashticz/ical/helpers/SG_iCal_Parser.php:64\nStack trace:\n#0 /home/pi/dashticz/vendor/dashticz/ical/helpers/SG_iCal_Parser.php(10): SG_iCal_Parser::Fetch('https://mijn.di...')\n#1 /home/pi/dashticz/vendor/dashticz/ical/SG_iCal.php(57): SG_iCal_Parser::Parse('https://mijn.di...', Object(SG_iCalReader))\n#2 /home/pi/dashticz/vendor/dashticz/ical/SG_iCal.php(48): SG_iCal->setUrl('https://mijn.di...')\n#3 /home/pi/dashticz/vendor/dashticz/ical/index.php(7): SG_iCal->__construct('https://mijn.di...')\n#4 {main}\n thrown in /home/pi/dashticz/vendor/dashticz/ical/helpers/SG_iCal_Parser.php on line 64, referer: http://192.168.1.16/dashticz/
I missed a dependency in the installation instructions. Please install
and restart apache:
It should work after that ...
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 20:56
by Lokonli
EdwinK wrote: ↑Sunday 11 November 2018 18:48
Screen Shot 2018-11-11 at 18.45.24.pngFound this, little, problem with my dashboard. As you can see, two of the tiles are a bit lower than the first one. At first I thought it was because the data was too much to handle in the box, but that isn't the case. Any clue's on this?
I would expect it's something in your custom.css.
If you create an empty custom.css does the problem then disappear?
And with your own custom.css:
If you remove the 'regenkans' block from your CONFIG.js do you then still see the problem?
And if you remove the SLK-block? or the HSK-block?
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 21:39
by Minglarn
Lokonli wrote: ↑Wednesday 14 November 2018 13:28
Minglarn wrote: ↑Wednesday 14 November 2018 10:18
Hi...
1. What/witch function handles the popup window? Need to change the size of the popup..
I assume you mean the popup window of a button?
See js/main.js, function loadImage, line 861
Code: Select all
html += '<iframe data-popup="' + image.url + '" width="100%" height="570" frameborder="0" allowtransparency="true"></iframe> ';
Here you can fill in the width and the height of the popup iframe. If needed you can make it dependent on image.url.
Maybe we should create a feature request for this so that it becomes configurable via CONFIG.js for each button.
Sorry but that didn't work... I'll do a feature request for it...

Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 22:27
by Lokonli
Minglarn wrote: ↑Wednesday 14 November 2018 21:39
Lokonli wrote: ↑Wednesday 14 November 2018 13:28
Minglarn wrote: ↑Wednesday 14 November 2018 10:18
Hi...
1. What/witch function handles the popup window? Need to change the size of the popup..
I assume you mean the popup window of a button?
See js/main.js, function loadImage, line 861
Code: Select all
html += '<iframe data-popup="' + image.url + '" width="100%" height="570" frameborder="0" allowtransparency="true"></iframe> ';
Here you can fill in the width and the height of the popup iframe. If needed you can make it dependent on image.url.
Maybe we should create a feature request for this so that it becomes configurable via CONFIG.js for each button.
Sorry but that didn't work... I'll do a feature request for it...
Yes, I tested it and indeed some additional changes need to be made. I've the patch ready, and I'll create the PR for it.
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 22:44
by gielie
Lokonli wrote: ↑Wednesday 14 November 2018 19:53
gielie wrote: ↑Wednesday 14 November 2018 15:39
Lokonli wrote: ↑Wednesday 14 November 2018 13:36
Probably ...
Did you already check the url itself by opening it in a browser:
https://mijn.digiduif.nl/ical/machielja ... ******.ics
Maybe also the apache error log provides additional info. You can find it in:
It might be a cross-origin problem, but I would expect that was solved with the latest beta.
Url works fine in browser, in the apache2 log i get this error
Code: Select all
[Wed Nov 14 16:41:32.720954 2018] [:error] [pid 9089] [client 192.168.1.30:61984] PHP Fatal error: Uncaught Error: Call to undefined function utf8_encode() in /home/pi/dashticz/vendor/dashticz/ical/helpers/SG_iCal_Parser.php:64\nStack trace:\n#0 /home/pi/dashticz/vendor/dashticz/ical/helpers/SG_iCal_Parser.php(10): SG_iCal_Parser::Fetch('https://mijn.di...')\n#1 /home/pi/dashticz/vendor/dashticz/ical/SG_iCal.php(57): SG_iCal_Parser::Parse('https://mijn.di...', Object(SG_iCalReader))\n#2 /home/pi/dashticz/vendor/dashticz/ical/SG_iCal.php(48): SG_iCal->setUrl('https://mijn.di...')\n#3 /home/pi/dashticz/vendor/dashticz/ical/index.php(7): SG_iCal->__construct('https://mijn.di...')\n#4 {main}\n thrown in /home/pi/dashticz/vendor/dashticz/ical/helpers/SG_iCal_Parser.php on line 64, referer: http://192.168.1.16/dashticz/
I missed a dependency in the installation instructions. Please install
and restart apache:
It should work after that ...
You're my hero, its finally working again, thanks a lot sir. (making a solute gesture)
Re: Dashticz - General Discussions
Posted: Wednesday 14 November 2018 22:55
by EdwinK
Lokonli wrote: ↑Wednesday 14 November 2018 20:56
EdwinK wrote: ↑Sunday 11 November 2018 18:48
Screen Shot 2018-11-11 at 18.45.24.pngFound this, little, problem with my dashboard. As you can see, two of the tiles are a bit lower than the first one. At first I thought it was because the data was too much to handle in the box, but that isn't the case. Any clue's on this?
I would expect it's something in your custom.css.
If you create an empty custom.css does the problem then disappear?
And with your own custom.css:
If you remove the 'regenkans' block from your CONFIG.js do you then still see the problem?
And if you remove the SLK-block? or the HSK-block?
I have it fixed by changing the size of some of those tiles.
Re: Dashticz - General Discussions
Posted: Monday 19 November 2018 22:15
by Minglarn
A small question...
How many columns is max?
Trying to:
But it recognizes as column 1 ... ?
Re: Dashticz - General Discussions
Posted: Monday 19 November 2018 22:26
by mvveelen
After updating my RPi3
(sudo apt-get update
sudo apt-get upgrade)
I get the following error message and the Apache HTTP server won't start anymore, ruining my Dashticz garbage and calendar.
Does anyone know what I can try to fix this? Tried reinstalling, removing and installing, rebooting the RPi, but nothing worked.
Code: Select all
pi@pidomoticz:~ $ sudo apt-get install apache2 apache2-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom
The following NEW packages will be installed:
apache2 apache2-utils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/454 kB of archives.
After this operation, 977 kB of additional disk space will be used.
Selecting previously unselected package apache2-utils.
(Reading database ... 39984 files and directories currently installed.)
Preparing to unpack .../apache2-utils_2.4.25-3+deb9u6_armhf.deb ...
Unpacking apache2-utils (2.4.25-3+deb9u6) ...
Selecting previously unselected package apache2.
Preparing to unpack .../apache2_2.4.25-3+deb9u6_armhf.deb ...
Unpacking apache2 (2.4.25-3+deb9u6) ...
Setting up apache2-utils (2.4.25-3+deb9u6) ...
Processing triggers for systemd (232-25+deb9u6) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up apache2 (2.4.25-3+deb9u6) ...
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript apache2, action "start" failed.
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-11-19 22:18:49 CET; 31ms ago
Process: 1731 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Nov 19 22:18:49 pidomoticz apachectl[1731]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Nov 19 22:18:49 pidomoticz apachectl[1731]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Nov 19 22:18:49 pidomoticz apachectl[1731]: no listening sockets available, shutting down
Nov 19 22:18:49 pidomoticz apachectl[1731]: AH00015: Unable to open logs
Nov 19 22:18:49 pidomoticz apachectl[1731]: Action 'start' failed.
Nov 19 22:18:49 pidomoticz apachectl[1731]: The Apache error log may have more information.
Nov 19 22:18:49 pidomoticz systemd[1]: apache2.service: Control process exited, code=exited status=1
Nov 19 22:18:49 pidomoticz systemd[1]: Failed to start The Apache HTTP Server.
Nov 19 22:18:49 pidomoticz systemd[1]: apache2.service: Unit entered failed state.
Nov 19 22:18:49 pidomoticz systemd[1]: apache2.service: Failed with result 'exit-code'.
Edit:
Well, because nginx was suddenly running on the same port (80), I had to uninstall nginx and all related programs from the RPi. After that, the apache server is up again. Seems weird, because I only did the updates and never used nginx on the RPi before.
Re: Dashticz - General Discussions
Posted: Thursday 22 November 2018 18:01
by renerene
Hello,
How do I let my temperature pop-out? This looks like sh$%$
CONFIG.js;
Code: Select all
blocks[919] = {}
blocks[919]['width'] = 12; //1 to 12, remove this line if you want to use the default (4)
blocks[919]['title'] = '' //if you want change the name of switch different then domoticz
blocks[919]['switch'] = true;
custom.css;
Code: Select all
.block_919 {
font-size:60px !important;
}
Re: Dashticz - General Discussions
Posted: Sunday 02 December 2018 20:34
by Minglarn
A little question...
How "safe" is it to expose the Dasthticz webpage to internet?
I mean... I I only show the temperatures and a couple of sensors... Is it safe or should I reconsider it unsafe?
Btw...
Still trying to see if I can get Dashtics to work when reached from outside my lan.
If I browse to my page on my Synology server, it complains about that domoticz does not respond.
I've tried local IP and my external IP but always get the error as below:
Re: Dashticz - General Discussions
Posted: Thursday 06 December 2018 13:47
by Oktopus
It's unsafe to expose to internet. Because if you can see the temperature and other sensors you can also access Domoticz from the internet. And then you can change a lot of things and gain access to the host.
Re: Dashticz - General Discussions
Posted: Thursday 06 December 2018 14:58
by Minglarn
I did some research and understand that it sure is unsafe..
Therefore I did a login request in php to access the domoticz page.
However...
I still get the same error..
ERR_CONNECTION_TIMED_OUT ... I still cant figure it out.
Any kind of help is appreciated..
Re: Dashticz - General Discussions
Posted: Thursday 06 December 2018 19:44
by Lokonli
What do you mean with
Therefore I did a login request in php to access the domoticz page.
If you want to access Dashticz from outside your LAN then it would be safe by using a VPN connection.
You can install the VPN server on your Synology.
Re: Dashticz - General Discussions
Posted: Thursday 20 December 2018 7:05
by tileiran
o you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a