Dashticz V2 - Installation

来自Domoticz
似懂非懂讨论 | 贡献2018年8月2日 (四) 17:15的版本 (创建页面,内容为“To install Dashticz v2.0, download the latest version from Dashticz V2 on Github (https://github.com/robgeerts/dashticz_v2). Create a map in the domoticz\www\<subfo...”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

To install Dashticz v2.0, download the latest version from Dashticz V2 on Github (https://github.com/robgeerts/dashticz_v2). Create a map in the domoticz\www\<subfolder>, for example domoticz\www\dashboard and unzip all the files in that folder.

It is also possible to install Dashticz v2 through Github with the git clone command. How is it done?

  • Logon to your system with SSH and go to the \domoticz\www folder with the command "cd domoticz/www" (without the ")
  • Enter the command:


git clone https://github.com/robgeerts/dashticz_v2 (for master branch) or

git clone https://github.com/robgeerts/dashticz_v2 --branch beta (for beta branch)

  • Dashticz v2.0 will be cloned into the \domoticz\www\dashticz_v2 folder.


If you like Dashticz v2.0 to be cloned into an other directory (example 'dashboard') enter:

git clone https://github.com/robgeerts/dashticz_v2 dashboard (for master branch) or

git clone https://github.com/robgeerts/dashticz_v2 --branch beta dashboard (for beta branch)

After the installation is finished, go to the /domoticz/www/<dashticzv2 folder>/custom/ folder, copy the CONFIG_DEFAULT.js file to CONFIG.js (mind the CAPITALS!).

cd domoticz/www/<dashticzv2 folder>/custom/
cp CONFIG_DEFAULT.js CONFIG.js

If you installed Dashticz V2 with the git clone command, than it's possible to update to the latest version:

  • Logon to your system with SSH and go to the \domoticz\www\<dashticzv2 folder> folder
  • Enter git pull and there will be looked if there is an update from the current version. WARNING! First make a backup of the custom folder otherwise some files may be overwritten.


By default, Dashticz V2 will show all your Domoticz favorites on the dashboard. You just have to edit the CONFIG.js file with the basics.
Remove the /* at the beginning and */ at the end, next fill in YOUR IP Address and Port number for YOUR Domoticz installation!

var config = {}
config['language'] = 'nl_NL'; //or: en_US, de_DE, fr_FR, hu_HU, it_IT, pt_PT, sv_SV
config['domoticz_ip'] = 'http://192.168.1.3:8084';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';


Parameter Description
config['language'] can be used to select the language, Chinese (cn_CN), Cestina (cz_CZ), Danish(dk_DK), German (de_DE), English (en_US), Spanish (es_ES), Finnish (fi_FI), French (fr_FR), Hungarian (hu_HU), Italian (it_IT), Dutch (nl_NL), Norwegian (no_NO), Polish (pl_PL) Portuguese (pt_PT), Russian (ru_RU), Slovak (sk_SK), Slovenian (si_SI), Swedish (sv_SV) or Ukrainian (ua_UA)
config['domoticz_ip'] is the URL to your Domoticz installation (with the correct PORT address)
config['domoticz_refresh'] the refresh rate of Dashticz v2.0 to get information from Domoticz
config['dashticz_refresh'] the refresh rate of the Dashticz v2.0 Dashboard


Now you can browse to the dashboard: http://192.168.1.3:8084/<dashticz v2 folder>/
Replace 192.168.1.3:8084 with YOUR IP Address and Port number for YOUR Domoticz installation!


Dashticz V2.0 Main Page Configuration