IMPORTANT REQUEST!!!

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

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

Re: IMPORTANT REQUEST!!!

Post by Lokonli » Thursday 01 November 2018 19:45

JoshDinsdale wrote:
Thursday 01 November 2018 18:20
Is there anyway to get dashticz to create a debug or log or something? I have some odd issues but dont know how to get any useful debug information...
In Chrome you can press F12. You then see the developer window, in which you can see errors, monitor network traffic, etc.

If you want to see the errors from your web server, then you can find log files in /var/log/apache2/ if you are using Apache on Linux.

tred
Posts: 14
Joined: Wednesday 26 September 2018 19:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: IMPORTANT REQUEST!!!

Post by tred » Friday 09 November 2018 18:23

Hi guys,

My beatiful dashboard also ran into issues regarding the calendars...
And they worked so wel...

As a Linux Noob I have read this thread a couple of times and made the adjustments that were suggested.
Unfortunately I cannot get it to work. If I try to debug it this is what I get:

The first error seems to be a bit odd - I have PHP 70 running... What does the 501 Error mean?

I hope that I did not something stupid but sometimes the replies to this thread are contradictionairy so it's hard to find the truth.
But it is out there!

Thanks for al your efforts helping people out :-)

Theo.
Attachments
dash.png
dash.png (46.19 KiB) Viewed 288 times

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

Re: IMPORTANT REQUEST!!!

Post by Lokonli » Friday 09 November 2018 18:55

tred wrote:
Friday 09 November 2018 18:23
Hi guys,

My beatiful dashboard also ran into issues regarding the calendars...
And they worked so wel...

As a Linux Noob I have read this thread a couple of times and made the adjustments that were suggested.
Unfortunately I cannot get it to work. If I try to debug it this is what I get:

The first error seems to be a bit odd - I have PHP 70 running... What does the 501 Error mean?

I hope that I did not something stupid but sometimes the replies to this thread are contradictionairy so it's hard to find the truth.
But it is out there!

Thanks for al your efforts helping people out :-)

Theo.
The first error shows that php is not running. Are the IP and port address correct? Is 192.168.1.222:8099 your Domoticz server or your web server with PHP support?

The other three lines show a reference to dashticz.nl, which will not work, because dashticz.nl is down, and is not used anymore in the latest beta. Did you enter this somewhere manually in your CONFIG.js? You can remove the herokuapp part and the dashticz.nl part.

tred
Posts: 14
Joined: Wednesday 26 September 2018 19:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: IMPORTANT REQUEST!!!

Post by tred » Friday 09 November 2018 19:26

Hi!

Euhh.. I have only one server....
Domoticz runs indeed on: 192.168,1.222:8099,
Dashticz is available via http://192.168.1.222:8099/dash/index.html

and based on this thread I also have this one available 192.168.1.222:82
This one shows the "It Works!" screen from the Apach Debian page.

The last three did work but I did not know they are down now.
Somewhere in this thread it was mentioned to use the Dashticz...

I have also made some adjustments to the calendar.js script.

however... what needs to be done to get it working again?
Thanks again....

Theo.

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

Re: IMPORTANT REQUEST!!!

Post by Lokonli » Friday 09 November 2018 20:43

ok, good start :)

Two solutions.

1) (my preference)
Create a fresh install of dashticz in /var/www/html (assuming you run Apache on 192.168.1.222:82). I assume it will be /var/www/html/dashticz_v2.
Copy your current CONFIG.js to /var/www/html/dashticz_v2/custom

Then open dashticz via 192.168.1.222:82/dashticz_v2/

2)
First try 1)

Probably it's better to first try the most recent beta, without changing calendar.js

tred
Posts: 14
Joined: Wednesday 26 September 2018 19:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: IMPORTANT REQUEST!!!

Post by tred » Friday 09 November 2018 22:03

Fantastic! It's back in business :-)

The only thing missing is the calendar icon. I created one myself but where do I need to put it?

Many thanks, you really helped me out!

Theo

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

Re: IMPORTANT REQUEST!!!

Post by Lokonli » Friday 09 November 2018 22:54

/var/www/html/dashticz_v2/img

tred
Posts: 14
Joined: Wednesday 26 September 2018 19:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: IMPORTANT REQUEST!!!

Post by tred » Saturday 10 November 2018 11:58

Really appreciate your quick and helpful replies!

There is just 1 of the 4 calendars failing now. Three of them are webcalls and the one that does not work is a http:\\ call? Could that be the cause?
It's the soccer calendar of my son :-)

This is the entry of CONFIG.sys:

calendars.sliedrecht = { maxitems: 5, icalurl: 'https://data.sportlink.com/data/ical-pe ... q0o6rilxxx'}

and this is the result:

GET http://192.168.1.222:82/dashticz_v2/ven ... 41sq0o6ril*** 500 (Internal Server Error)

I have tried to replace https:\\ with http:\\ and also tried "webcal://" instead of https...
Can't seem to find the issue, hope you now what this is?

Thanks again...

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

Re: IMPORTANT REQUEST!!!

Post by Lokonli » Saturday 10 November 2018 19:18

tred wrote:
Saturday 10 November 2018 11:58
Really appreciate your quick and helpful replies!

There is just 1 of the 4 calendars failing now. Three of them are webcalls and the one that does not work is a http:\\ call? Could that be the cause?
It's the soccer calendar of my son :-)

This is the entry of CONFIG.sys:

calendars.sliedrecht = { maxitems: 5, icalurl: 'https://data.sportlink.com/data/ical-pe ... q0o6rilxxx'}

and this is the result:

GET http://192.168.1.222:82/dashticz_v2/ven ... 41sq0o6ril*** 500 (Internal Server Error)

I have tried to replace https:\\ with http:\\ and also tried "webcal://" instead of https...
Can't seem to find the issue, hope you now what this is?

Thanks again...
The sportlink calendar requires you to login first. Then a token is stored, and the calendar can be retrieved via this token. The token in the link you provided expired already, and as a result the loading of the calendar gives an error.

It's not so easy to solve this. I'll give it a try ...

tred
Posts: 14
Joined: Wednesday 26 September 2018 19:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: IMPORTANT REQUEST!!!

Post by tred » Saturday 10 November 2018 19:52

Thanks....

tred
Posts: 14
Joined: Wednesday 26 September 2018 19:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: IMPORTANT REQUEST!!!

Post by tred » Thursday 15 November 2018 14:12

Hi,

Is there a workaround you know of?
Like manually exporting the calendar entries and them import them via Google calendar?
If it's complex and I am the only one with this request.... just let it be...

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

Re: IMPORTANT REQUEST!!!

Post by Lokonli » Thursday 15 November 2018 21:32

tred wrote:
Thursday 15 November 2018 14:12
Hi,

Is there a workaround you know of?
Like manually exporting the calendar entries and them import them via Google calendar?
If it's complex and I am the only one with this request.... just let it be...
That's a good idea.
If you can save the ical file manually to for instance /home/pi/ical.ics then you can load the file in dashticz via:

Code: Select all

calendars.sliedrecht = { maxitems: 5, icalurl: '/home/pi/ical.ics' }

poudenes
Posts: 598
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: IMPORTANT REQUEST!!!

Post by poudenes » Sunday 18 November 2018 12:16

Hi All,

i see that the:

config['longfonds_zipcode'] = '1000 aa';
config['longfonds_housenumber'] = '1';

not work. Where can i find the script to this? Maybe i have to change that as well to my own server....
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

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

Re: IMPORTANT REQUEST!!!

Post by Lokonli » Sunday 18 November 2018 21:59

poudenes wrote:
Sunday 18 November 2018 12:16
Hi All,

i see that the:

config['longfonds_zipcode'] = '1000 aa';
config['longfonds_housenumber'] = '1';

not work. Where can i find the script to this? Maybe i have to change that as well to my own server....
Probably because this zipcode is no real address. Also the space in the zip-code should be removed.

poudenes
Posts: 598
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: IMPORTANT REQUEST!!!

Post by poudenes » Sunday 18 November 2018 22:03

Zip code is OK but changed it to cover my address. I will remove the space and see what happen :)

SOLVED: Working again. after removing the space

Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests