What is wrong in my config.js or domoticz settings

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
ronilee
Posts: 5
Joined: Sunday 03 June 2018 9:24
Target OS: Windows
Domoticz version:
Contact:

What is wrong in my config.js or domoticz settings

Post 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
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
Blah blah blah
ronilee
Posts: 5
Joined: Sunday 03 June 2018 9:24
Target OS: Windows
Domoticz version:
Contact:

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

Post by ronilee »

Hello, thanks a lot, yes you help me very much.

Yet it works. :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests