Are the recurring events visible in a single calendar?Derik wrote: ↑Wednesday 23 January 2019 21:43Lokonli wrote: ↑Wednesday 23 January 2019 21:34Add the following to custom.css:
Code: Select all
.items { font-size: 150%; color: red; }
THANKS!!!!
Perhaps also a solution for the missing of returning events?
I used a combined calendar.
And in these calendars are returning events...
Only these events are missing in the dash?
They are visible in the calendar...
Dashticz - Module - Calendar
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Dashticz - Module - Calendar
nope also not vissable in the single version..Lokonli wrote: ↑Wednesday 23 January 2019 21:46Are the recurring events visible in a single calendar?Derik wrote: ↑Wednesday 23 January 2019 21:43Lokonli wrote: ↑Wednesday 23 January 2019 21:34
Add the following to custom.css:
Code: Select all
.items { font-size: 150%; color: red; }
THANKS!!!!
Perhaps also a solution for the missing of returning events?
I used a combined calendar.
And in these calendars are returning events...
Only these events are missing in the dash?
They are visible in the calendar...
i did try a new "api" url etc..
Did try to use the calendar option private / free etc also no luck
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
For me Dashticz shows the recurring events from my Google-calendar. I've defined it as follows:
Code: Select all
calendars.me = { maxitems: 10, icalurl: 'https://calendar.google.com/calendar/ical/myemail%40gmail.com/private-5046b31db7a73abcfeac887b93c7f1ba/basic.ics' }
-
- Posts: 38
- Joined: Saturday 15 April 2017 13:05
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
Hi there dashticz users,
I'm a happy user of dashticz but I'm running into problems with the calendar.
The system is running on W10 with WAMP installed. Under settings I see PHP 5.6.31 running.
In config.js there is the following code regarding the calendar:
config['dashticz_php_path']='./vendor/dashticz/'
var calendars = {}
calendars.business = { maxitems: 5, url: 'https://calendar.google.com/calendar/ic ... /basic.ics', icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
(email address partly replaced with xxx)
columns[10] = {}
columns[10]['blocks'] = ['graph_8',calendars.private]
columns[10]['width'] = 4;
columns[11] = {}
columns[11]['blocks'] = ['graph_9',calendars.business]
columns[11]['width'] = 4;
In notepad++ the "private" is in blue but the "business" is in black, don't know why...
Dashticz is just showing 2 black lines, not even a title...
Any suggestions to get this to work would be apprciated.
Thnx,
Pascal
I'm a happy user of dashticz but I'm running into problems with the calendar.
The system is running on W10 with WAMP installed. Under settings I see PHP 5.6.31 running.
In config.js there is the following code regarding the calendar:
config['dashticz_php_path']='./vendor/dashticz/'
var calendars = {}
calendars.business = { maxitems: 5, url: 'https://calendar.google.com/calendar/ic ... /basic.ics', icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
(email address partly replaced with xxx)
columns[10] = {}
columns[10]['blocks'] = ['graph_8',calendars.private]
columns[10]['width'] = 4;
columns[11] = {}
columns[11]['blocks'] = ['graph_9',calendars.business]
columns[11]['width'] = 4;
In notepad++ the "private" is in blue but the "business" is in black, don't know why...
Dashticz is just showing 2 black lines, not even a title...
Any suggestions to get this to work would be apprciated.
Thnx,
Pascal
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
A few steps:repoman wrote: ↑Tuesday 29 January 2019 18:51 Hi there dashticz users,
I'm a happy user of dashticz but I'm running into problems with the calendar.
The system is running on W10 with WAMP installed. Under settings I see PHP 5.6.31 running.
In config.js there is the following code regarding the calendar:
config['dashticz_php_path']='./vendor/dashticz/'
var calendars = {}
calendars.business = { maxitems: 5, url: 'https://calendar.google.com/calendar/ic ... /basic.ics', icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
(email address partly replaced with xxx)
columns[10] = {}
columns[10]['blocks'] = ['graph_8',calendars.private]
columns[10]['width'] = 4;
columns[11] = {}
columns[11]['blocks'] = ['graph_9',calendars.business]
columns[11]['width'] = 4;
In notepad++ the "private" is in blue but the "business" is in black, don't know why...
Dashticz is just showing 2 black lines, not even a title...
Any suggestions to get this to work would be apprciated.
Thnx,
Pascal
Is the PHP version reported by Dashticz or by WIndows? It should be reported by Dashticz (settings button upper right, and then the info tab)
Are the icalurl's working? You can test by opening them in your browser. You should receive an ics file.
Some PHP modules need to be installed: php-xml and php-curl
Look for the error-log as reported by your webserver, especially PHP related errors.
Open Dashticz in Chrome, press F12, and look for errors in the console-tab of the developer window. Also check the network request to Google on the network tab. Check the reply. Look for user messages in console-tab.
-
- Posts: 38
- Joined: Saturday 15 April 2017 13:05
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
Hello Lokonli,Lokonli wrote: ↑Tuesday 29 January 2019 19:34A few steps:repoman wrote: ↑Tuesday 29 January 2019 18:51 Hi there dashticz users,
I'm a happy user of dashticz but I'm running into problems with the calendar.
The system is running on W10 with WAMP installed. Under settings I see PHP 5.6.31 running.
In config.js there is the following code regarding the calendar:
config['dashticz_php_path']='./vendor/dashticz/'
var calendars = {}
calendars.business = { maxitems: 5, url: 'https://calendar.google.com/calendar/ic ... /basic.ics', icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
(email address partly replaced with xxx)
columns[10] = {}
columns[10]['blocks'] = ['graph_8',calendars.private]
columns[10]['width'] = 4;
columns[11] = {}
columns[11]['blocks'] = ['graph_9',calendars.business]
columns[11]['width'] = 4;
In notepad++ the "private" is in blue but the "business" is in black, don't know why...
Dashticz is just showing 2 black lines, not even a title...
Any suggestions to get this to work would be apprciated.
Thnx,
Pascal
Is the PHP version reported by Dashticz or by WIndows? It should be reported by Dashticz (settings button upper right, and then the info tab)
Are the icalurl's working? You can test by opening them in your browser. You should receive an ics file.
Some PHP modules need to be installed: php-xml and php-curl
Look for the error-log as reported by your webserver, especially PHP related errors.
Open Dashticz in Chrome, press F12, and look for errors in the console-tab of the developer window. Also check the network request to Google on the network tab. Check the reply. Look for user messages in console-tab.
Thanks for the quick reply but I still couldn't get this solved.
The PHP version is reported by Dashticz under settings.
According to php-info XML and CURL are loaded.
The ical url was incorrect but I've found the correct URL.
I downloaded the .ics and imported it in Thunderbird, which works.
In the developer window I don't see communication with google calendar…
The php error log might provide some insight but I don't know what it means.
I see a lot of errors in cors.php, line 3 but that might not be related. (maybe bacause of a crappy internet connection):
[30-Jan-2019 17:42:01 UTC] PHP Warning: file_get_contents(undefined): failed to open stream: No such file or directory in C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\cors.php on line 3
[30-Jan-2019 17:42:01 UTC] PHP Stack trace:
[30-Jan-2019 17:42:01 UTC] PHP 1. {main}() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\cors.php:0
[30-Jan-2019 17:42:01 UTC] PHP 2. file_get_contents() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\cors.php:3
The last php error regarding the calendar is from a few hours ago (before I changed the ical url):
[30-Jan-2019 11:30:03 UTC] PHP Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\helpers\SG_iCal_Parser.php on line 50
[30-Jan-2019 11:30:03 UTC] PHP Stack trace:
[30-Jan-2019 11:30:03 UTC] PHP 1. {main}() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\index.php:0
[30-Jan-2019 11:30:03 UTC] PHP 2. SG_iCal->__construct() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\index.php:7
[30-Jan-2019 11:30:03 UTC] PHP 3. SG_iCal->setUrl() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\SG_iCal.php:48
[30-Jan-2019 11:30:03 UTC] PHP 4. SG_iCal_Parser::Parse() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\SG_iCal.php:57
[30-Jan-2019 11:30:03 UTC] PHP 5. SG_iCal_Parser::Fetch() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\helpers\SG_iCal_Parser.php:10
On januari 8 I downloaded and installed the beta version.
Any ideas?
Thnx,
Pascal
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
I indeed expect that the cors errors are not related to the calendar issue. To be sure you could temporarily add the following to your CONFIG.js:repoman wrote: ↑Wednesday 30 January 2019 18:56Hello Lokonli,Lokonli wrote: ↑Tuesday 29 January 2019 19:34A few steps:repoman wrote: ↑Tuesday 29 January 2019 18:51 Hi there dashticz users,
I'm a happy user of dashticz but I'm running into problems with the calendar.
The system is running on W10 with WAMP installed. Under settings I see PHP 5.6.31 running.
In config.js there is the following code regarding the calendar:
config['dashticz_php_path']='./vendor/dashticz/'
var calendars = {}
calendars.business = { maxitems: 5, url: 'https://calendar.google.com/calendar/ic ... /basic.ics', icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
(email address partly replaced with xxx)
columns[10] = {}
columns[10]['blocks'] = ['graph_8',calendars.private]
columns[10]['width'] = 4;
columns[11] = {}
columns[11]['blocks'] = ['graph_9',calendars.business]
columns[11]['width'] = 4;
In notepad++ the "private" is in blue but the "business" is in black, don't know why...
Dashticz is just showing 2 black lines, not even a title...
Any suggestions to get this to work would be apprciated.
Thnx,
Pascal
Is the PHP version reported by Dashticz or by WIndows? It should be reported by Dashticz (settings button upper right, and then the info tab)
Are the icalurl's working? You can test by opening them in your browser. You should receive an ics file.
Some PHP modules need to be installed: php-xml and php-curl
Look for the error-log as reported by your webserver, especially PHP related errors.
Open Dashticz in Chrome, press F12, and look for errors in the console-tab of the developer window. Also check the network request to Google on the network tab. Check the reply. Look for user messages in console-tab.
Thanks for the quick reply but I still couldn't get this solved.
The PHP version is reported by Dashticz under settings.
According to php-info XML and CURL are loaded.
The ical url was incorrect but I've found the correct URL.
I downloaded the .ics and imported it in Thunderbird, which works.
In the developer window I don't see communication with google calendar…
The php error log might provide some insight but I don't know what it means.
I see a lot of errors in cors.php, line 3 but that might not be related. (maybe bacause of a crappy internet connection):
[30-Jan-2019 17:42:01 UTC] PHP Warning: file_get_contents(undefined): failed to open stream: No such file or directory in C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\cors.php on line 3
[30-Jan-2019 17:42:01 UTC] PHP Stack trace:
[30-Jan-2019 17:42:01 UTC] PHP 1. {main}() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\cors.php:0
[30-Jan-2019 17:42:01 UTC] PHP 2. file_get_contents() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\cors.php:3
The last php error regarding the calendar is from a few hours ago (before I changed the ical url):
[30-Jan-2019 11:30:03 UTC] PHP Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\helpers\SG_iCal_Parser.php on line 50
[30-Jan-2019 11:30:03 UTC] PHP Stack trace:
[30-Jan-2019 11:30:03 UTC] PHP 1. {main}() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\index.php:0
[30-Jan-2019 11:30:03 UTC] PHP 2. SG_iCal->__construct() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\index.php:7
[30-Jan-2019 11:30:03 UTC] PHP 3. SG_iCal->setUrl() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\SG_iCal.php:48
[30-Jan-2019 11:30:03 UTC] PHP 4. SG_iCal_Parser::Parse() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\SG_iCal.php:57
[30-Jan-2019 11:30:03 UTC] PHP 5. SG_iCal_Parser::Fetch() C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\helpers\SG_iCal_Parser.php:10
On januari 8 I downloaded and installed the beta version.
Any ideas?
Thnx,
Pascal
config['default_cors_url'] = 'http://cors-anywhere.herokuapp.com/';
Further, try with only a simple non-google calendar, like:
calendars.afval = {maxitems:4, icalurl:'https://inzamelschema.rmn.nl/ical/0356200000014977'}
(temporarily remove your other calendars)
-
- Posts: 38
- Joined: Saturday 15 April 2017 13:05
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
I indeed expect that the cors errors are not related to the calendar issue. To be sure you could temporarily add the following to your CONFIG.js:
config['default_cors_url'] = 'http://cors-anywhere.herokuapp.com/';
Further, try with only a simple non-google calendar, like:
calendars.afval = {maxitems:4, icalurl:'https://inzamelschema.rmn.nl/ical/0356200000014977'}
(temporarily remove your other calendars)
---
Ok,added the default_cors_url to config. We'll see what happens. I'm guessing it has to do with bad internet connection.
I disable my normal calendars and added the calendars.afval. The result is the same..
Also added the tvguide but only a black line in dashticz..
No errors in php.error.log but there is a error in apache.error.log:
[Thu Jan 31 16:01:22.616436 2019] [authz_host:error] [pid 8028:tid 1192] [client 192.168.90.178:64492] AH01753: access check of 'localhost' to /repochalet/dashticz_v2/vendor/dashticz/ical/ failed, reason: unable to get the remote host name, referer: http://192.168.90.10/repochalet/dashticz_v2/index.html
Don't know what the problem is. Everything else from Dashticz is working on that laptop.
What does that error mean?
Thnx!
config['default_cors_url'] = 'http://cors-anywhere.herokuapp.com/';
Further, try with only a simple non-google calendar, like:
calendars.afval = {maxitems:4, icalurl:'https://inzamelschema.rmn.nl/ical/0356200000014977'}
(temporarily remove your other calendars)
---
Ok,added the default_cors_url to config. We'll see what happens. I'm guessing it has to do with bad internet connection.
I disable my normal calendars and added the calendars.afval. The result is the same..
Also added the tvguide but only a black line in dashticz..
No errors in php.error.log but there is a error in apache.error.log:
[Thu Jan 31 16:01:22.616436 2019] [authz_host:error] [pid 8028:tid 1192] [client 192.168.90.178:64492] AH01753: access check of 'localhost' to /repochalet/dashticz_v2/vendor/dashticz/ical/ failed, reason: unable to get the remote host name, referer: http://192.168.90.10/repochalet/dashticz_v2/index.html
Don't know what the problem is. Everything else from Dashticz is working on that laptop.
What does that error mean?
Thnx!
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
I don't have experience with WAMP, so I'm just guessing: Might be a permissions issue: In Linux the root user must have read access to the files, and permissions to browse the folder hierarchy. chmod -R a+rX does the trick.repoman wrote: ↑Thursday 31 January 2019 16:13 I indeed expect that the cors errors are not related to the calendar issue. To be sure you could temporarily add the following to your CONFIG.js:
config['default_cors_url'] = 'http://cors-anywhere.herokuapp.com/';
Further, try with only a simple non-google calendar, like:
calendars.afval = {maxitems:4, icalurl:'https://inzamelschema.rmn.nl/ical/0356200000014977'}
(temporarily remove your other calendars)
---
Ok,added the default_cors_url to config. We'll see what happens. I'm guessing it has to do with bad internet connection.
I disable my normal calendars and added the calendars.afval. The result is the same..
Also added the tvguide but only a black line in dashticz..
No errors in php.error.log but there is a error in apache.error.log:
[Thu Jan 31 16:01:22.616436 2019] [authz_host:error] [pid 8028:tid 1192] [client 192.168.90.178:64492] AH01753: access check of 'localhost' to /repochalet/dashticz_v2/vendor/dashticz/ical/ failed, reason: unable to get the remote host name, referer: http://192.168.90.10/repochalet/dashticz_v2/index.html
Don't know what the problem is. Everything else from Dashticz is working on that laptop.
What does that error mean?
Thnx!
The error mentions localhost. Maybe that causes the problem (cross-origin issues). You can try to force the php-location via:
Code: Select all
config['dashticz_php_path'] = 'http://192.168.90.10/repochalet/dashticz_v2/vendor/dashticz/'
-
- Posts: 38
- Joined: Saturday 15 April 2017 13:05
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
I've other php scripts that can read and write but I don't think browsing the folder is enabled. Could try enabling this but I would rather not.Lokonli wrote: ↑Thursday 31 January 2019 16:36I don't have experience with WAMP, so I'm just guessing: Might be a permissions issue: In Linux the root user must have read access to the files, and permissions to browse the folder hierarchy. chmod -R a+rX does the trick.repoman wrote: ↑Thursday 31 January 2019 16:13 I indeed expect that the cors errors are not related to the calendar issue. To be sure you could temporarily add the following to your CONFIG.js:
config['default_cors_url'] = 'http://cors-anywhere.herokuapp.com/';
Further, try with only a simple non-google calendar, like:
calendars.afval = {maxitems:4, icalurl:'https://inzamelschema.rmn.nl/ical/0356200000014977'}
(temporarily remove your other calendars)
---
Ok,added the default_cors_url to config. We'll see what happens. I'm guessing it has to do with bad internet connection.
I disable my normal calendars and added the calendars.afval. The result is the same..
Also added the tvguide but only a black line in dashticz..
No errors in php.error.log but there is a error in apache.error.log:
[Thu Jan 31 16:01:22.616436 2019] [authz_host:error] [pid 8028:tid 1192] [client 192.168.90.178:64492] AH01753: access check of 'localhost' to /repochalet/dashticz_v2/vendor/dashticz/ical/ failed, reason: unable to get the remote host name, referer: http://192.168.90.10/repochalet/dashticz_v2/index.html
Don't know what the problem is. Everything else from Dashticz is working on that laptop.
What does that error mean?
Thnx!
The error mentions localhost. Maybe that causes the problem (cross-origin issues). You can try to force the php-location via:A complete alternative solution maybe is to add a Raspberry PI and run Apache+PHP on that one. You don't have to move Domoticz.Code: Select all
config['dashticz_php_path'] = 'http://192.168.90.10/repochalet/dashticz_v2/vendor/dashticz/'
Schould the dashticz_php_path be absolute? Now I have this in my config: config['dashticz_php_path']='./vendor/dashticz/'
Found something about the error message. It might have to do with apache 2.4.x
AH01753: access check of ‘127.0.0.1’ to /xxx/ failed, reason: unable to get the remote host name
This error message can be caused by placing an IP instead of a hostname in a Require host statement in Apache 2.4+. After porting some old access rules to Apache 2.4 I had used Require host 127.0.0.1 instead of the correct Require ip 127.0.0.1
If that is the problem then where is the "require host" so I can change it to "require ip" ?
(or should I add my server ip to the hosts file?)
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
Normally the relative dashticz_php_path (./vendor/dashticz/) just works. It's the default setting.repoman wrote: ↑Friday 01 February 2019 9:18I've other php scripts that can read and write but I don't think browsing the folder is enabled. Could try enabling this but I would rather not.Lokonli wrote: ↑Thursday 31 January 2019 16:36I don't have experience with WAMP, so I'm just guessing: Might be a permissions issue: In Linux the root user must have read access to the files, and permissions to browse the folder hierarchy. chmod -R a+rX does the trick.repoman wrote: ↑Thursday 31 January 2019 16:13 I indeed expect that the cors errors are not related to the calendar issue. To be sure you could temporarily add the following to your CONFIG.js:
config['default_cors_url'] = 'http://cors-anywhere.herokuapp.com/';
Further, try with only a simple non-google calendar, like:
calendars.afval = {maxitems:4, icalurl:'https://inzamelschema.rmn.nl/ical/0356200000014977'}
(temporarily remove your other calendars)
---
Ok,added the default_cors_url to config. We'll see what happens. I'm guessing it has to do with bad internet connection.
I disable my normal calendars and added the calendars.afval. The result is the same..
Also added the tvguide but only a black line in dashticz..
No errors in php.error.log but there is a error in apache.error.log:
[Thu Jan 31 16:01:22.616436 2019] [authz_host:error] [pid 8028:tid 1192] [client 192.168.90.178:64492] AH01753: access check of 'localhost' to /repochalet/dashticz_v2/vendor/dashticz/ical/ failed, reason: unable to get the remote host name, referer: http://192.168.90.10/repochalet/dashticz_v2/index.html
Don't know what the problem is. Everything else from Dashticz is working on that laptop.
What does that error mean?
Thnx!
The error mentions localhost. Maybe that causes the problem (cross-origin issues). You can try to force the php-location via:A complete alternative solution maybe is to add a Raspberry PI and run Apache+PHP on that one. You don't have to move Domoticz.Code: Select all
config['dashticz_php_path'] = 'http://192.168.90.10/repochalet/dashticz_v2/vendor/dashticz/'
Schould the dashticz_php_path be absolute? Now I have this in my config: config['dashticz_php_path']='./vendor/dashticz/'
Found something about the error message. It might have to do with apache 2.4.x
AH01753: access check of ‘127.0.0.1’ to /xxx/ failed, reason: unable to get the remote host name
This error message can be caused by placing an IP instead of a hostname in a Require host statement in Apache 2.4+. After porting some old access rules to Apache 2.4 I had used Require host 127.0.0.1 instead of the correct Require ip 127.0.0.1
If that is the problem then where is the "require host" so I can change it to "require ip" ?
(or should I add my server ip to the hosts file?)
I've no experience with your setup, so it's difficult for me to help.
-
- Posts: 38
- Joined: Saturday 15 April 2017 13:05
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
Hello Lokonli (and others),Lokonli wrote: ↑Friday 01 February 2019 21:57Normally the relative dashticz_php_path (./vendor/dashticz/) just works. It's the default setting.repoman wrote: ↑Friday 01 February 2019 9:18I've other php scripts that can read and write but I don't think browsing the folder is enabled. Could try enabling this but I would rather not.Lokonli wrote: ↑Thursday 31 January 2019 16:36
I don't have experience with WAMP, so I'm just guessing: Might be a permissions issue: In Linux the root user must have read access to the files, and permissions to browse the folder hierarchy. chmod -R a+rX does the trick.
The error mentions localhost. Maybe that causes the problem (cross-origin issues). You can try to force the php-location via:A complete alternative solution maybe is to add a Raspberry PI and run Apache+PHP on that one. You don't have to move Domoticz.Code: Select all
config['dashticz_php_path'] = 'http://192.168.90.10/repochalet/dashticz_v2/vendor/dashticz/'
Schould the dashticz_php_path be absolute? Now I have this in my config: config['dashticz_php_path']='./vendor/dashticz/'
Found something about the error message. It might have to do with apache 2.4.x
AH01753: access check of ‘127.0.0.1’ to /xxx/ failed, reason: unable to get the remote host name
This error message can be caused by placing an IP instead of a hostname in a Require host statement in Apache 2.4+. After porting some old access rules to Apache 2.4 I had used Require host 127.0.0.1 instead of the correct Require ip 127.0.0.1
If that is the problem then where is the "require host" so I can change it to "require ip" ?
(or should I add my server ip to the hosts file?)
I've no experience with your setup, so it's difficult for me to help.
Thank you for trying to help anyways but I've been trying to fix it and thought to give an update. (no, it still doesn't work)
In the access log I can see the calendar is downloaded correctly (code 200)
desktop-lof6kk7 - - [11/Feb/2019:19:35:49 +0100] "GET /repochalet/dashticz_v2/vendor/dashticz/ical/?time=1549910147897&url=https://inzamelschema.rmn.nl/ical/0356200000014977 HTTP/1.1" 200 2
I get no errors in the apache or php error log
BTW: The tvguide is working now (tvguide.dutch in stead of tvguide in the config...)
Is the tvguide also using php/xml/curl?
So the ics is downloaded correctly but what happens then?
I cant' find the downloaded .ics so what happens after downloading it?
Shouldn't there be a new file containing the data or is it handled otherwise and deleted?
When I open "http://192.168.90.10/repochalet/dashtic ... ndex.php"I get this warning:
Notice: Undefined index: url in C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\index.php on line 5
Do you happen to know the sequence of scripts called for amd where to lookfor so I could try to find where it goes wrong?
(I guess the undefined url must be passed from another php script.. or something goes wrong with constructing the url)
I know most users prefer linux (for good reasons...) so I would like to know if any windows user has the calendar running...
Thank you all in advance,
Pascal
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
The warning is issued because the link should have a url parameter.repoman wrote: ↑Monday 11 February 2019 20:24
Hello Lokonli (and others),
Thank you for trying to help anyways but I've been trying to fix it and thought to give an update. (no, it still doesn't work)
In the access log I can see the calendar is downloaded correctly (code 200)
desktop-lof6kk7 - - [11/Feb/2019:19:35:49 +0100] "GET /repochalet/dashticz_v2/vendor/dashticz/ical/?time=1549910147897&url=https://inzamelschema.rmn.nl/ical/0356200000014977 HTTP/1.1" 200 2
I get no errors in the apache or php error log
BTW: The tvguide is working now (tvguide.dutch in stead of tvguide in the config...)
Is the tvguide also using php/xml/curl?
So the ics is downloaded correctly but what happens then?
I cant' find the downloaded .ics so what happens after downloading it?
Shouldn't there be a new file containing the data or is it handled otherwise and deleted?
When I open "http://192.168.90.10/repochalet/dashtic ... ndex.php"I get this warning:
Notice: Undefined index: url in C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\index.php on line 5
Do you happen to know the sequence of scripts called for amd where to lookfor so I could try to find where it goes wrong?
(I guess the undefined url must be passed from another php script.. or something goes wrong with constructing the url)
I know most users prefer linux (for good reasons...) so I would like to know if any windows user has the calendar running...
Thank you all in advance,
Pascal
You can try to open the following:
http://192.168.90.10/repochalet/dashtic ... 0000014977
That should show the calendar data in json format. (it works for me ...)
-
- Posts: 38
- Joined: Saturday 15 April 2017 13:05
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
Hmm, strange. When I openLokonli wrote: ↑Monday 11 February 2019 20:35The warning is issued because the link should have a url parameter.repoman wrote: ↑Monday 11 February 2019 20:24
Hello Lokonli (and others),
Thank you for trying to help anyways but I've been trying to fix it and thought to give an update. (no, it still doesn't work)
In the access log I can see the calendar is downloaded correctly (code 200)
desktop-lof6kk7 - - [11/Feb/2019:19:35:49 +0100] "GET /repochalet/dashticz_v2/vendor/dashticz/ical/?time=1549910147897&url=https://inzamelschema.rmn.nl/ical/0356200000014977 HTTP/1.1" 200 2
I get no errors in the apache or php error log
BTW: The tvguide is working now (tvguide.dutch in stead of tvguide in the config...)
Is the tvguide also using php/xml/curl?
So the ics is downloaded correctly but what happens then?
I cant' find the downloaded .ics so what happens after downloading it?
Shouldn't there be a new file containing the data or is it handled otherwise and deleted?
When I open "http://192.168.90.10/repochalet/dashtic ... ndex.php"I get this warning:
Notice: Undefined index: url in C:\wamp\www\repochalet\dashticz_v2\vendor\dashticz\ical\index.php on line 5
Do you happen to know the sequence of scripts called for amd where to lookfor so I could try to find where it goes wrong?
(I guess the undefined url must be passed from another php script.. or something goes wrong with constructing the url)
I know most users prefer linux (for good reasons...) so I would like to know if any windows user has the calendar running...
Thank you all in advance,
Pascal
You can try to open the following:
http://192.168.90.10/repochalet/dashtic ... 0000014977
Thttp://192.168.90.10/repochalet/dashticz_v2/vendor/dashticz/ical/index.php?time=1549910147897&url=https://inzamelschema.rmn.nl/ical/0356200000014977hat should show the calendar data in json format. (it works for me ...)
http://192.168.90.10/repochalet/dashtic ... 0000014977
I see only
[ ]
http://192.168.90.10/repochalet/dashtic ... 0000014977
also gives
[ ]
(included index.php in url)
Looks like the array is empty...
-
- Posts: 38
- Joined: Saturday 15 April 2017 13:05
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
Ok, I did some more testing by trying to use another (basic) icalendar script which actually happens to work…
Downloaded it from https://github.com/Frimkron/PHPCalFeed and used the "remote file" option.
This shows my google calendar!
So I'm guessing curl/xml/permissions to read and write/etc must be ok.
I can add a button to pop up this calendar but I would prefer a working calendar in the dashboard.
I'm out of ideas to track down the problem.
Some windows users any suggestions?
Thnx,
Pascal
Downloaded it from https://github.com/Frimkron/PHPCalFeed and used the "remote file" option.
This shows my google calendar!
So I'm guessing curl/xml/permissions to read and write/etc must be ok.
I can add a button to pop up this calendar but I would prefer a working calendar in the dashboard.
I'm out of ideas to track down the problem.
Some windows users any suggestions?
Thnx,
Pascal
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
Please check your PM for some debugging attempts.repoman wrote: ↑Wednesday 13 February 2019 18:57 Ok, I did some more testing by trying to use another (basic) icalendar script which actually happens to work…
Downloaded it from https://github.com/Frimkron/PHPCalFeed and used the "remote file" option.
This shows my google calendar!
So I'm guessing curl/xml/permissions to read and write/etc must be ok.
I can add a button to pop up this calendar but I would prefer a working calendar in the dashboard.
I'm out of ideas to track down the problem.
Some windows users any suggestions?
Thnx,
Pascal
-
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: Dashticz - Module - Calendar
Hi, i also have some problems with the google calender on my rpi with dashticz (latest beta)
i installed php, the libs libapache2-mod.php, php.xml, php-curl
i only get a brown empty block, when i click on it, i do get my google calender!
but is does not show data in the brown block by default.
when i disable my google calander and use the garbage calender i do get calender data
and when i cut and paste both google url in my browser everything works!
i am reading and searching for days .. cant find it...
i installed php, the libs libapache2-mod.php, php.xml, php-curl
i only get a brown empty block, when i click on it, i do get my google calender!
but is does not show data in the brown block by default.
when i disable my google calander and use the garbage calender i do get calender data
and when i cut and paste both google url in my browser everything works!
i am reading and searching for days .. cant find it...
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://x.x.x.x:82';
config['user_name'] = 'xxx';
config['pass_word'] = 'xxx';
config['app_title'] = 'Domotica familie ';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '30';
config['theme'] = 'default';
config['background_image'] = 'img/bg2.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = '';
config['auto_swipe_back_after'] = '';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 'https://calendar.google.com/calendar/ical/user%40gmail.com/public/basic.ics';
//config['calendar_parse_localy']=true;
config['default_cors_url'] = 'http://cors-anywhere.herokuapp.com/';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'nl-NL';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = '';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '';
config['garbage_width'] = '';
config['loginEnabled'] = '1';
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['selector_instead_of_buttons'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = '0';
config['hide_topbar'] = '0';
config['edit_mode'] = '0';
config['hide_seconds'] = '0';
config['hide_seconds_stationclock'] = '0';
config['use_fahrenheit'] = '0';
config['use_beaufort'] = '0';
config['translate_windspeed'] = '1';
config['static_weathericons'] = '0';
config['hide_mediaplayer'] = '0';
config['garbage_hideicon'] = '0';
config['garbage_icon_use_colors'] = '1';
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = '1';
var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"3fm","file":"http://icecast.omroep.nl/3fm-bb-mp3"},
{"track":2,"name":"538","file":"http://18973.live.streamtheworld.com/RADIO538.mp3"},
{"track":3,"name":"Q-Music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp33"},
{"track":4,"name":"Radio10","file":"http://stream.radio10.nl/radio10"},
{"track":5,"name":"Veronica","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/VERONICA.mp3"},
{"track":6,"name":"Skyradio","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/SKYRADIO.mp3"},
]
var calendars = {}
//calendars.peter = { maxitems: 10, url: 'https://calendar.google.com/calendar/embed?src=myusern%40gmail.com&ctz=Europe%2FAmsterdam',icalurl: 'https://calendar.google.com/calendar/ical/myuser%40gmail.com/public/basic.ics' }
calendars.peter = {maxitems:4, icalurl:'https://inzamelschema.rmn.nl/ical/0356200000014977'}
var publictransport = {}
publictransport.ovinfotrain = { show_via: true, station: 'station-den-haag-centraal', title:'NS-DH centraal', provider: '9292-train', show_lastupdate:true, icon: 'train', width: 6, results: 8 };
publictransport.ovinfotram = { show_via: false, station: 'xxxxxxx'', title:'HTM',provider: '9292-tram-bus', show_lastupdate:true, icon: '9292-bus', width:6, results: 8 };
var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fas fa-tv', width:12, channels: [1,2,3,4,31,36,37,34,466,420], maxitems: 10 }
var buttons = {}
buttons.radio = {width:8, image: 'radio', title: '/img/radio_on.png', url: 'http://nederland.fm'}
buttons.buienradar = {width:8, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=296', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.webcam = {width:12, isimage:true, refresh:2000, image: 'http://192.168.20.50/cgi-bin/snapshot.cgi?user=xxxx&pwd=xxx', url: 'http://192.168.20.50/cgi-bin/snapshot.cgi?user=xxxx&pwd=xxxxxxx'}
var blocks = {}
//
// TITELBLOKKEN
//
blocks['1'] = {}
blocks['1']['type'] = 'blocktitle';
blocks['1']['title'] = 'Scenes';
blocks['1a'] = {}
blocks['1a']['type'] = 'blocktitle';
blocks['1a']['title'] = 'Schakelaars';
blocks['1b'] = {}
blocks['1b']['type'] = 'blocktitle';
blocks['1b']['title'] = 'Tuin';
blocks['2a'] = {}
blocks['2a']['type'] = 'blocktitle';
blocks['2a']['title'] = 'Amusement';
blocks['2b'] = {}
blocks['2b']['type'] = 'blocktitle';
blocks['2b']['title'] = 'Netwerk';
blocks['3'] = {}
blocks['3']['type'] = 'blocktitle';
blocks['3']['title'] = 'Klimaat';
blocks['3b'] = {}
blocks['3b']['type'] = 'blocktitle';
blocks['3b']['title'] = 'Security';
blocks['4'] = {}
blocks['4']['type'] = 'blocktitle';
blocks['4']['title'] = 'Thuis';
blocks['4a'] = {}
blocks['4a']['type'] = 'blocktitle';
blocks['4a']['title'] = 'Tv';
blocks['4b'] = {}
blocks['4b']['type'] = 'blocktitle';
blocks['4b']['title'] = 'Pc en tablet';
//
// WEER
//
blocks[1163] = {}
blocks[1163]['title'] = 'Vorstalarm 4c';
blocks[1163]['icon'] = 'fas fa-bell';
blocks[1163]['hide_data'] = true;
blocks[457] = {}
blocks[457]['title'] = 'Temperatuur tuin';
blocks[457]['hide_data'] = true;
blocks[457]['last_update'] = false;
blocks[948] = {}
blocks[948]['title'] = 'Zuiderpark';
blocks[948]['hide_data'] = true;
blocks[948]['last_update'] = false;
blocks[455] = {}
blocks[455]['title'] = 'Zolder';
blocks[455]['hide_data'] = true;
blocks[455]['last_update'] = false;
blocks[1025] = {}
blocks[1025]['title'] = 'Zolder radiator';
blocks[1025]['hide_data'] = true;
//
// NEWS FEED https://crossorigin.me/ niet meer gebruiken
//
blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://www.nu.nl/rss/algemeen';
blocks['news_3'] = {}
blocks['news_3']['feed'] = 'http://www.nu.nl/rss/sport';
blocks['news_4'] = {}
blocks['news_4']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';
blocks['news_5'] = {}
blocks['news_5']['feed'] = 'http://www.nu.nl/rss';
//
//SCENES
//
blocks['s13'] = {}
blocks['s13']['title'] = 'Sfeerverlichting binnen';
blocks['s13']['hide_data'] = true;
blocks['s13']['icon'] = 'fas fa-tasks';
blocks['s14'] = {}
blocks['s14']['title'] = 'Nachtverlichting';
blocks['s14']['hide_data'] = true;
blocks['s14']['icon'] = 'fas fa-tasks';
blocks['s15'] = {}
blocks['s15']['title'] = 'Sfeerverlichting buiten';
blocks['s15']['hide_data'] = true;
blocks['s15']['icon'] = 'fas fa-tasks';
blocks['s16'] = {}
blocks['s16']['title'] = 'Opstaan';
blocks['s16']['hide_data'] = true;
blocks['s16']['icon'] = 'fas fa-tasks';
blocks['s18'] = {}
blocks['s18']['title'] = 'Beneden/weg';
blocks['s18']['hide_data'] = true;
blocks['s18']['icon'] = 'fas fa-tasks';
blocks['s19'] = {}
blocks['s19']['title'] = 'Aanwezigheid';
blocks['s19']['hide_data'] = true;
blocks['s19']['icon'] = 'fas fa-tasks';
blocks[969] = {}
blocks[969]['title'] = 'Sproei grasveld';
blocks[969]['hide_data'] = true;
blocks[969]['icon'] = 'fas fa-tree';
blocks[972] = {}
blocks[972]['title'] = 'Sproei borders 1';
blocks[972]['hide_data'] = true;
blocks[972]['icon'] = 'fas fa-tree';
blocks[973] = {}
blocks[973]['title'] = 'Sproei borders 2';
blocks[973]['hide_data'] = true;
blocks[973]['icon'] = 'fas fa-tree';
//
// SCHAKELAARS
//
blocks[1049] = {}
blocks[1049]['title'] = 'Zolder default heating';
blocks[1049]['hide_data'] = true;
blocks[1049]['icon'] = 'fas fa-fire';
blocks[1049]['width'] = 6;
blocks[985] = {}
blocks[985]['title'] = 'Visite';
blocks[985]['hide_data'] = true;
blocks[985]['icon'] = 'fas fa-users';
blocks[985]['width'] = 6;
blocks[985]['speak'] = 'Visitemodus wordt aangepast';
blocks[1012] = {}
blocks[1012]['title'] = 'Maak een foto';
blocks[1012]['icon'] = 'fas fa-camera';
blocks[1012]['hide_data'] = true;
blocks[1012]['width'] = 6;
blocks[1012]['speak'] = 'Er wordt een foto gemaakt';
blocks[86] = {}
blocks[86]['title'] = 'Rolluik';
blocks[86]['hide_data'] = true;
blocks[86]['width'] = 6;
blocks[86]['speak'] = 'Rolluik is gewijzigd';
blocks[1002] = {}
blocks[1002]['title'] = 'Lantaarn';
blocks[1002]['hide_data'] = true;
blocks[1002]['width'] = 3;
blocks[1002]['speak'] = 'Lantaarn is gewijzigd';
blocks[991] = {}
blocks[991]['title'] = 'Border';
blocks[991]['hide_data'] = true;
blocks[991]['width'] = 3;
blocks[145] = {}
blocks[145]['title'] = 'Printer';
blocks[145]['icon'] = 'fas fa-print';
blocks[145]['hide_data'] = true;
blocks[145]['width'] = 3;
blocks[262] = {}
blocks[262]['title'] = 'Boiler';
blocks[262]['icon'] = 'fas fa-tint';
blocks[262]['hide_data'] = true;
blocks[262]['width'] = 3;
blocks[260] = {}
blocks[260]['title'] = 'Edge router';
blocks[260]['icon'] = 'fas fa-hdd';
blocks[260]['hide_data'] = true;
blocks[260]['width'] = 3;
blocks[263] = {}
blocks[263]['title'] = 'Accu';
blocks[263]['icon'] = 'fas fa-battery-full';
blocks[263]['hide_data'] = true;
blocks[263]['width'] = 3;
blocks[263]['speak'] = 'Accu is gewijzigd';
blocks[1005] = {}
blocks[1005]['title'] = 'Wii en Tv';
blocks[1005]['icon'] = 'fas fa-gamepad';
blocks[1005]['hide_data'] = true;
blocks[1005]['width'] = 3;
//
// ENTERTAINMENT
//
blocks[354] = {}
blocks[354]['title'] = 'Denon volume';
blocks[354]['icon'] = 'fas fa-music';
blocks[354]['width'] = 12;
blocks[353] = {}
blocks[353]['title'] = 'Denon source';
blocks[353]['icon'] = 'fas fa-music';
blocks[353]['width'] = 12;
blocks[134] = {}
blocks[134]['title'] = 'Denon zenders';
blocks[134]['icon'] = 'fas fa-music';
blocks[134]['width'] = 12;
blocks[139] = {}
blocks[139]['title'] = 'Denon mixer';
blocks[139]['icon'] = 'fas fa-music';
blocks[139]['width'] = 12;
blocks[277] = {}
blocks[277]['title'] = 'TV Woon kamer';
blocks[277]['icon'] = 'fas fa-tv';
blocks[277]['hide_data'] = true;
blocks[277]['width'] = 3;
blocks[827] = {}
blocks[827]['title'] = 'TV Werk kamer';
blocks[827]['icon'] = 'fas fa-tv';
blocks[827]['hide_data'] = true;
blocks[827]['width'] = 3;
blocks[805] = {}
blocks[805]['title'] = 'TV Niels';
blocks[805]['icon'] = 'fas fa-tv';
blocks[805]['hide_data'] = true;
blocks[805]['width'] = 3;
blocks[805]['speak'] = 'TV niels is veranderd';
blocks[675] = {}
blocks[675]['title'] = 'TV Sonia';
blocks[675]['icon'] = 'fas fa-tv';
blocks[675]['hide_data'] = true;
blocks[675]['width'] = 3;
blocks[675]['speak'] = 'TV sonia is veranderd';
//
// NETWORK
//
blocks[287] = {}
blocks[287]['title'] = 'Zyxel';
blocks[287]['width'] = 4;
blocks[287]['icon'] = 'fas fa-hdd';
blocks[287]['hide_data'] = true;
blocks[286] = {}
blocks[286]['title'] = 'Unify';
blocks[286]['width'] = 4;
blocks[286]['icon'] = 'fas fa-hdd';
blocks[286]['hide_data'] = true;
blocks[289] = {}
blocks[289]['title'] = 'Qnap';
blocks[289]['width'] = 4;
blocks[289]['icon'] = 'fas fa-hdd';
blocks[289]['hide_data'] = true;
blocks[283] = {}
blocks[283]['title'] = 'Edge router';
blocks[283]['width'] = 4;
blocks[283]['icon'] = 'fas fa-hdd';
blocks[283]['hide_data'] = true;
blocks[284] = {}
blocks[284]['title'] = 'Ziggo lan';
blocks[284]['width'] = 4;
blocks[284]['icon'] = 'fas fa-hdd';
blocks[284]['hide_data'] = true;
blocks[285] = {}
blocks[285]['title'] = 'Ziggo wan';
blocks[285]['width'] = 4;
blocks[285]['icon'] = 'fas fa-hdd';
blocks[285]['hide_data'] = true;
//
// SECURITY
//
blocks[273] = {}
blocks[273]['title'] = 'Monique 06';
blocks[273]['icon'] = 'fas fa-phone-volume';
blocks[273]['hide_data'] = true;
blocks[274] = {}
blocks[274]['title'] = 'Peter 06';
blocks[274]['icon'] = 'fas fa-phone-volume';
blocks[274]['hide_data'] = true;
blocks[275] = {}
blocks[275]['title'] = 'Sonia 06';
blocks[275]['icon'] = 'fas fa-phone-volume';
blocks[275]['hide_data'] = true;
blocks[276] = {}
blocks[276]['title'] = 'Niels 06';
blocks[276]['icon'] = 'fas fa-phone-volume';
blocks[276]['hide_data'] = true;
//
// ALARMEN
//
blocks[207] = {}
blocks[207]['title'] = 'Alarm';
blocks[207]['hide_data'] = true;
blocks[207]['icon'] = 'fas fa-exclamation-triangle';
blocks[210] = {}
blocks[210]['title'] = 'Huisdeur';
blocks[210]['icon'] = 'fas fa-door-open';
blocks[210]['hide_data'] = true;
blocks[968] = {}
blocks[968]['title'] = 'Rook hal';
blocks[968]['icon'] = 'fas fa-smoking';
blocks[968]['hide_data'] = true;
blocks[968]['speak'] = 'Er is rook in de hal';
blocks[966] = {}
blocks[966]['title'] = 'Rook trap';
blocks[966]['icon'] = 'fas fa-smoking';
blocks[966]['hide_data'] = true;
blocks[966]['speak'] = 'Er is rook op de trap';
blocks[272] = {}
blocks[272]['title'] = 'Alarm knop';
blocks[272]['icon'] = 'fas fa-exclamation-triangle';
blocks[1180] = {}
blocks[1180]['title'] = 'Bel tuin';
blocks[1180]['icon'] = 'fas fa-bell';
blocks[1180]['hide_data'] = true;
blocks[1182] = {}
blocks[1182]['title'] = 'Bel voordeur';
blocks[1182]['icon'] = 'fas fa-bell';
blocks[1182]['hide_data'] = true;
blocks[1149] = {}
blocks[1149]['title'] = 'Wasmachine';
blocks[1149]['icon'] = 'fas fa-bell';
blocks[1149]['hide_data'] = true;
//
// pc en tablet
//
blocks[786] = {}
blocks[786]['title'] = 'Niels pc ziggo';
blocks[786]['hide_data'] = true;
blocks[786]['icon'] = 'fas fa-desktop';
blocks[786]['speak'] = 'Pc niels is veranderd';
blocks[278] = {}
blocks[278]['title'] = 'Niels pc vlan';
blocks[278]['hide_data'] = true;
blocks[278]['icon'] = 'fas fa-desktop';
blocks[278]['speak'] = 'Pc niels is veranderd';
blocks[279] = {}
blocks[279]['title'] = 'Niels ptb';
blocks[279]['hide_data'] = true;
blocks[279]['icon'] = 'fas fa-laptop';
blocks[279]['speak'] = 'Pc niels is veranderd';
blocks[676] = {}
blocks[676]['title'] = 'Niels pc vlan wifi';
blocks[676]['hide_data'] = true;
blocks[676]['icon'] = 'fas fa-desktop';
blocks[676]['speak'] = 'Pc niels is veranderd';
blocks[280] = {}
blocks[280]['title'] = 'Sonia ptb';
blocks[280]['hide_data'] = true;
blocks[280]['icon'] = 'fas fa-laptop';
blocks[282] = {}
blocks[282]['title'] = 'Peter pc vlan';
blocks[282]['hide_data'] = true;
blocks[282]['icon'] = 'fas fa-desktop';
blocks[281] = {}
blocks[281]['title'] = 'Peter ptb';
blocks[281]['hide_data'] = true;
blocks[281]['icon'] = 'fas fa-laptop';
blocks[678] = {}
blocks[678]['title'] = 'Peter tablet';
blocks[678]['hide_data'] = true;
blocks[678]['icon'] = 'fas fa-tablet-alt';
blocks[291] = {}
blocks[291]['title'] = 'Monique tablet';
blocks[291]['hide_data'] = true;
blocks[291]['icon'] = 'fas fa-tablet-alt';
blocks[677] = {}
blocks[677]['title'] = 'Sonia tablet';
blocks[677]['hide_data'] = true;
blocks[677]['icon'] = 'fas fa-tablet-alt';
blocks[677]['speak'] = 'Pc sonia is veranderd';
blocks[498] = {}
blocks[498]['title'] = 'PS4';
blocks[498]['hide_data'] = true;
blocks[498]['icon'] = 'fas fa-gamepad';
//
// KOLOMMEN
//
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['clock','sunrise', buttons.buienradar,1163,457,455,1025,'news_2','news_3']
columns[1]['width'] = 3;
columns[2] = {}
columns[2]['blocks'] = ['1','s16','s18','s19','s13','s15','s14',969,972,973,'1a',1049,985,1012,86,1002,991,145,262,260,1005,263,publictransport.ovinfotrain,publictransport.ovinfotram]
columns[2]['width'] = 3;
columns[3] = {}
columns[3]['blocks'] = ['2a','streamplayer',tvguide.dutch,354,353,134,139,277,827,805,675,'2b',287,286,289,283,285,284]
columns[3]['width'] = 3;
columns[4] = {}
columns[4]['blocks'] = [buttons.webcam,274,273,276,275,282,281,678,291,786,278,676,279,280,677,498,'3b',210,207,272,968,966,1180,1182,1149]
columns[4]['width'] = 3;
columns[5] = {}
columns[5]['blocks'] = ['clock','sunrise', calendars.peter]
columns[5]['width'] = 6;
columns[6] = {}
columns[6]['blocks'] = ['clock']
columns[6]['width'] = 6;
//
// SCHERMEN
//
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg1.jpg';
screens[1]['columns'] = [1,2,3,4];
screens[2] = {}
screens[2]['background'] = 'bg1.jpg';
screens[2]['columns'] = [5,6];
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
- Posts: 19
- Joined: Monday 12 November 2018 19:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Belgium
- Contact:
Re: Dashticz - Module - Calendar
Hi,
I am trying just to display the google calendar as it shows in the "integrate calendar". So no tricks or formatting, just as it comes because i like that. Also my garbage calendar is included, the holidays etc.
I was able to show it in Dashticz, but after 1 minute or so, it is replace by the month view of a google calendar.
I have seen some posts on it and tried to put it together, but I am stuck.
How can i do that?
I tried to add a screenshot as attachement to this post but it keeps complaining that it is too large
Marcel
I am trying just to display the google calendar as it shows in the "integrate calendar". So no tricks or formatting, just as it comes because i like that. Also my garbage calendar is included, the holidays etc.
I was able to show it in Dashticz, but after 1 minute or so, it is replace by the month view of a google calendar.
I have seen some posts on it and tried to put it together, but I am stuck.
How can i do that?
I tried to add a screenshot as attachement to this post but it keeps complaining that it is too large
Marcel
Raspberry Pi, RFXCOM - RFXtrx433 USB 433.92MHz Transceiver, OpenZWave USB
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
If it works with the garbage calendar (from inzamelschema) then I would expect you've setup your system correctly.pvklink wrote: ↑Friday 15 February 2019 22:29 Hi, i also have some problems with the google calender on my rpi with dashticz (latest beta)
i installed php, the libs libapache2-mod.php, php.xml, php-curl
i only get a brown empty block, when i click on it, i do get my google calender!
but is does not show data in the brown block by default.
when i disable my google calander and use the garbage calender i do get calender data
and when i cut and paste both google url in my browser everything works!
i am reading and searching for days .. cant find it...
To check:
If you open Dashticz in Chrome, and you press F12, do you then see any error reported in the Developers console tab?
Which webserver do you use for Dashticz?
If it is Apache, what is reported in /var/log/apache2/error.log ?
and to be sure: You have meetings in your agenda in the coming month?
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
How did you add your calendar to Dashticz? Via a frame, or via a calendar block?mvdheide01 wrote: ↑Sunday 17 February 2019 16:54 Hi,
I am trying just to display the google calendar as it shows in the "integrate calendar". So no tricks or formatting, just as it comes because i like that. Also my garbage calendar is included, the holidays etc.
I was able to show it in Dashticz, but after 1 minute or so, it is replace by the month view of a google calendar.
I have seen some posts on it and tried to put it together, but I am stuck.
How can i do that?
I tried to add a screenshot as attachement to this post but it keeps complaining that it is too large
Marcel
Can you post your calendar definition from your CONFIG.js here?
Who is online
Users browsing this forum: No registered users and 1 guest