dasticz show several errors

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

Post Reply
retetiba
Posts: 15
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

dasticz show several errors

Post by retetiba » Saturday 06 October 2018 22:54

Hi,

I hope someone can help me with a couple of issues...
1. Dashticz remains showing domoticz path errors.

In my CONFIG.js I have the following text:

config['domoticz_ip'] = 'http://192.168.1.xxx:8080';
config['user_name'] = 'retetiba';
config['pass_word'] = 'yyy';

I checked these settings several times with the real domoticz path... and I can not find the error.

Swithes do work after loading the page... for some time, after that it says that it has a connection error. Only reloading the page solves the issue.

2. Is it correct that dashticz can only show items which are in the "dashboard" tab of domoticz?

I hope someone can help

regards

Rene

User avatar
HansieNL
Posts: 436
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: dasticz show several errors

Post by HansieNL » Sunday 07 October 2018 1:08

What's the full Dashticz path? Did you install in Domoticz subfolder or are you running an other webserver?
Blah blah blah

retetiba
Posts: 15
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: dasticz show several errors

Post by retetiba » Sunday 07 October 2018 21:33

Hi

I have installed dashticz in the standard folder (I think). The files are located in ~/domoticz/www/dashticz_v2.

I assume this is correct.

ArthurNL
Posts: 13
Joined: Friday 05 October 2018 14:36
Target OS: Windows
Domoticz version: 4.9700
Location: The Netherlands
Contact:

Re: dasticz show several errors

Post by ArthurNL » Monday 08 October 2018 12:00

retetiba wrote:
Sunday 07 October 2018 21:33
Hi

I have installed dashticz in the standard folder (I think). The files are located in ~/domoticz/www/dashticz_v2.

I assume this is correct.
So you access Dashticz by: http://192.168.1.xxx:8080/dasticz_v2/index.html

Also attach your CONFIG.js and a screenshot of the actual error messages.
Dashticz V2.4.0 Beta

retetiba
Posts: 15
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: dasticz show several errors

Post by retetiba » Wednesday 10 October 2018 19:26

Hello,

Thank you for the reply. I have attached my config.js.

The error starts at the moment that dashtics is loading. with the "moving moons"loading it already states there is an error of my config.js and refers to wiki.

the dash starts normally, but after some (??) time it stops responding.

Hope anyone can help.

R
Attachments
CONFIG - kopie.js
(5.54 KiB) Downloaded 6 times

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

Re: dasticz show several errors

Post by Lokonli » Wednesday 10 October 2018 20:59

If you press F12 (in Chrome) look for errors in the console view. That might give an indication of the source of the problems.

Probably it's best to test it step by step: Test without the buttons and frames. They might give issues, especially when refreshing.

retetiba
Posts: 15
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: dasticz show several errors

Post by retetiba » Wednesday 10 October 2018 22:15

Hi,

thank you.

When doing this, I get the following errors in console:

Fout bij brontoewijzing: request failed with status 404
Bron-URL: http://192.168.1.190:8080/dashticz_v2/vendor/head.js
Brontoewijzings-URL: head.load.min.js.map[Meer info]

Synchrone XMLHttpRequest op de hoofdthread wordt niet meer ondersteund vanwege de nadelige effecten op de eindgebruikerservaring. Zie http://xhr.spec.whatwg.org/ voor meer informatie jquery.min.js:4:15141
Fout bij brontoewijzing: TypeError: NetworkError when attempting to fetch resource.

I am not an expert enough to understand.... anyone?

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

Re: dasticz show several errors

Post by Lokonli » Thursday 11 October 2018 7:51

You can ignore the XMLHttpRequest error. It should be a warning by the way.

The first error is a problem. The last sentence as well.

Try to find out which call is causing this. If you click on [Meer info] you probably will get more info.

If you reload dashticz and you look in the 'network' tab of the Chrome Developer Window (the one that appeared after pressing F12) you see all the resources that are being loaded. Can you make a screendump and post is here?

retetiba
Posts: 15
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: dasticz show several errors

Post by retetiba » Friday 12 October 2018 21:30

Hi,

I use firefox, so checking was a little different.

I found 3 items:
1. Error in de link of weather. Buienradar was ok, but the deeper link appeared to have an error --> fixed.
2. missing link on: http://192.168.1.190:8080/dashticz_v2/vendor/head.js
3.Fout bij brontoewijzing: TypeError: NetworkError when attempting to fetch resource.
Bron-URL: null
Brontoewijzings-URL: maps/swiper.min.js.map

Hope this gives more info.

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

Re: dasticz show several errors

Post by Lokonli » Saturday 13 October 2018 10:12

Probably it's best to start with a completely fresh install of dashticz (preferably latest beta), and then start adding screens and blocks to your config.js to see what introduces the error.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests