dasticz show several errors

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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

dasticz show several errors

Post by retetiba »

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: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dasticz show several errors

Post by HansieNL »

What's the full Dashticz path? Did you install in Domoticz subfolder or are you running an other webserver?
Blah blah blah
retetiba
Posts: 18
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dasticz show several errors

Post by retetiba »

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: 15
Joined: Friday 05 October 2018 14:36
Target OS: Windows
Domoticz version: 4.10717
Location: The Netherlands
Contact:

Re: dasticz show several errors

Post by ArthurNL »

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: 18
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dasticz show several errors

Post by retetiba »

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 60 times
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dasticz show several errors

Post by Lokonli »

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: 18
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dasticz show several errors

Post by retetiba »

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: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dasticz show several errors

Post by Lokonli »

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: 18
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dasticz show several errors

Post by retetiba »

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: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dasticz show several errors

Post by Lokonli »

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.
DarkG
Posts: 89
Joined: Friday 15 September 2017 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10076
Location: Germany
Contact:

Re: dasticz show several errors

Post by DarkG »

I got the same Problem with a fresh install. By the way, settings get not stored else.

edit: Changed the IP directly in CONFIG.js
But on webserver the config will not stored. What can it be?

edit2: its because I use the Domoticz Webserver. I need a Webserver with PHP to save.
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest