Page 1 of 1

Dashboard not shown on different computer

Posted: Saturday 09 January 2021 10:46
by JuanUil
Hi all,

Been using Domoticz for about 7 years now and was allready long time impressed by Dashticz.
Had no time to implement it but since the beginning of this year I have a lot of time.
So I implemented it on my pi4 and started to learn the basics.
All is working well on my laptop in Chrome browser.
But when I want to show the dashboard on my home computer the start screen ends up with "error for more help ..."
I tried chrome browser, firefox and edge all with the same result.
I reduced my config to:

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://***.***.*.**:8080';
config['app_title'] = Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['language'] = 'nl-NL'
config['login_timeout'] = '60';
config['domoticz_timeout'] = '2000';
config['room_plan'] = 0;

on my laptop all devices appear on my home computer still error.

What could be wrong?

Jan

Re: Dashboard not shown on different computer

Posted: Saturday 09 January 2021 11:54
by Lokonli
Probably an authentication issue.

Did you whitelist your LAN in Domoticz Settings -> Local networks?

Re: Dashboard not shown on different computer

Posted: Saturday 09 January 2021 12:21
by JuanUil
Hi Lokonli,

Yes I did

Code: Select all

127.0.0.*;192.168.2.*;127.0.0.*;192.162.1.*
strange is that on my laptop everything is oke and on tablet and home computer not.

Re: Dashboard not shown on different computer

Posted: Saturday 09 January 2021 12:41
by waaren
JuanUil wrote: Saturday 09 January 2021 12:21

Code: Select all

127.0.0.*;192.168.2.*;127.0.0.*;192.162.1.*
Can you try below line? This to make sure also IPv6 type of network traffic can acces domoticz from the LAN without user/password

Code: Select all

127.0.0.*;192.168.2.*;192.162.1.*;::1
[EDIT] Not sure this works on your version if that is indeed still 4.11083

Re: Dashboard not shown on different computer

Posted: Saturday 09 January 2021 13:08
by JuanUil
Hi Waaren,

no succes.
On laptop oke, on homecomputer and android tablet nok
I am on version 12833 of domoticz and version 3.7.2 beta of dashticz

Re: Dashboard not shown on different computer

Posted: Saturday 09 January 2021 13:30
by Lokonli
On your homecomputer can you open devtools (f12), refresh Dashticz, and report here the errors and user messages you see on the console tab?
Probably you also see some failed network requests on the network tab.

Re: Dashboard not shown on different computer

Posted: Saturday 09 January 2021 13:38
by JuanUil
This is what I get

Code: Select all

TSS: content-tss.js loaded:  http://192.168.2.16:8082/ content-tss.js:1:9
INS: content-ads.js loaded:  http://192.168.2.16:8082/ content-ads.js:1:9
TSS: Excluding content tss (trigger: send-message) content-tss.js:50:13
Deze pagina gebruikt de niet-standaard property ‘zoom’. Overweeg het gebruik van calc() in de relevante propertywaarden of gebruik ‘transform’ samen met ‘transform-origin: 0 0’. bundle.js:3:6720
Object { readyState: 4, getResponseHeader: getResponseHeader(f), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(f, p), overrideMimeType: overrideMimeType(f), statusCode: statusCode(f), abort: abort(f), state: state(), always: always(), catch: catch(f), … }
js/main.js:299:15

Re: Dashboard not shown on different computer

Posted: Saturday 09 January 2021 14:01
by Lokonli
The files content-tss.js and content-ads.js are not from Dashticz.
Do you have some browser plugins active? or network proxy?

What kind of homecomputer do you have? Which browser? versions?
What is the IP adress of you Domoticz server?

In DevTools->network tab do you see a network request with an error return code?

Re: Dashboard not shown on different computer

Posted: Saturday 09 January 2021 15:54
by JuanUil
Hi Lokonli

This is shown in the network tab after refresch

Image

and this when i refresh thepage in the console

Image
Do you have some browser plugins active? or network proxy?
I have no proxy and no other plugins on my homecomputer then on my laptop
What is the IP adress of you Domoticz server?
192.168.2.16
What kind of homecomputer do you have? Which browser? versions?
a tower with amd processor.
tried firefox latest version. tried both normal and private mode
tried Chrome latest version both normal and private mode
on my laptop with Chrome latest version no problems

also tried on 2 tablets (android) same problem.

thanx for your help!!!

Re: Dashboard not shown on different computer

Posted: Sunday 10 January 2021 14:05
by JuanUil
anybody any idea what could be the problem causing this strange behaviour?

Re: Dashboard not shown on different computer

Posted: Sunday 10 January 2021 15:34
by Lokonli
On the network tab you see the language file gives a 404 error.

Language should be 'nl_NL' instead of 'nl-NL' ...

Re: Dashboard not shown on different computer

Posted: Sunday 10 January 2021 16:40
by JuanUil
Hi Lokonli,

That did the trick!!!
Tanx for the help.
but I don't understand that it was loading on my laptop but not on homecomputer and tablets.
Anyway it is working that is the most important!

again thank you
jan