Page 1 of 1

What is wrong in my config.js or domoticz settings

Posted: Saturday 25 January 2020 8:57
by ronilee
Hello!

I have installed my domoticz on windows. Latest Beta Version (11650)
Also the latest Dahticz version (https://github.com/Dashticz/dashticz) from today
I want to use the Dashticz Dashboard but that not working.
Always comes unknown error.

I install it in this folder

\Domoticz\www\templates\dashticz

In the custom folder i configuration the CONFIG.js
At first i only changed my IP,PORT and rename to CONFIG.js, finish

var config = {}
config['domoticz_ip'] = 'http://IP:PORT';
config['app_title'] = 'Dashticz V3';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

Who is the fault? Need i special settings in domoticz?

JSON works fine also i have a other custom page (frontpage.html) this works.
http://IP:PORT/json.htm?type=devices&rid=1

Thanks a lot

Re: What is wrong in my config.js or domoticz settings

Posted: Saturday 25 January 2020 13:26
by HansieNL
Spoiler: show
ronilee wrote: Saturday 25 January 2020 8:57 Hello!

I have installed my domoticz on windows. Latest Beta Version (11650)
Also the latest Dahticz version (https://github.com/Dashticz/dashticz) from today
I want to use the Dashticz Dashboard but that not working.
Always comes unknown error.

I install it in this folder

\Domoticz\www\templates\dashticz

In the custom folder i configuration the CONFIG.js
At first i only changed my IP,PORT and rename to CONFIG.js, finish

var config = {}
config['domoticz_ip'] = 'http://IP:PORT';
config['app_title'] = 'Dashticz V3';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

Who is the fault? Need i special settings in domoticz?

JSON works fine also i have a other custom page (frontpage.html) this works.
http://IP:PORT/json.htm?type=devices&rid=1

Thanks a lot
Dashticz is not a Domoticz template, but a Dashboard on it's own using Domoticz info.
On https://dashticz.readthedocs.io/en/master/ you can find the manual what is needed and how to install Dashticz. There are two options: Automatic install and Manual Setup. You don't have to change anything in Domoticz.
If manual installed you have to run your own webserver with PHP to use Dashticz.
Hope this info will help you.

Re: What is wrong in my config.js or domoticz settings

Posted: Sunday 26 January 2020 17:33
by ronilee
Hello, thanks a lot, yes you help me very much.

Yet it works. :)