跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
Wiki首页
Domoticz 中文站
Domoticz 论坛
Domoticz Github
随机页面
特殊页面
特殊页面
所有页面
分类
最近更改
Domoticz
搜索
搜索
登录
个人工具
登录
查看“Dashticz V2 - Installation”的源代码
页面
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
特殊页面
页面信息
←
Dashticz V2 - Installation
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
安装 Dashticz v2.0,从 Github 上下载 Dashticz V2 的最新版本(https://github.com/robgeerts/dashticz_v2). 在 domoticz\www\<subfolder> 创建一个目录,例如 domoticz\www\dashboard,然后解压所有文件到这个文件夹中。 也可以使用 git clone 命令通过 Github 来安装 Dashticz v2。如何做呢? * 通过 SSH 登陆到你的系统,通过 "cd domoticz/www" (没有") 命令进入到 \domoticz\www 文件夹 * 输入如下命令: <br> <code>git clone <span class="plainlinks">[https://github.com/robgeerts/dashticz_v2 https://github.com/robgeerts/dashticz_v2]</span></code> (for master branch) 或者<br> <br> <code>git clone <span class="plainlinks">[https://github.com/robgeerts/dashticz_v2 https://github.com/robgeerts/dashticz_v2]</span> --branch beta </code> (for beta branch)<br> <br> * Dashticz v2.0 将被克隆到 \domoticz\www\dashticz_v2 文件夹. <br> 如果你想将 Dashticz v2.0 克隆到其他目录(例如'dashboard') 输入:<br> <br> <code>git clone <span class="plainlinks">[https://github.com/robgeerts/dashticz_v2 https://github.com/robgeerts/dashticz_v2 dashboard]</span></code> (for master branch) or<br> <br> <code>git clone <span class="plainlinks">[https://github.com/robgeerts/dashticz_v2 https://github.com/robgeerts/dashticz_v2 --branch beta dashboard]</span></code> (for beta branch)<br> <br> 安装完成后, 进入到 '''/domoticz/www/<dashticzv2 folder>/custom/''' 文件夹, 复制 CONFIG_DEFAULT.js 文件到 CONFIG.js (mind the CAPITALS!).<br> <br> <code>cd domoticz/www/<dashticzv2 folder>/custom/</code><br> <code>cp CONFIG_DEFAULT.js CONFIG.js</code><br> <br> 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 <code>git pull</code> 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. <br> 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. <br> Remove the '''/*''' at the beginning and '''*/''' at the end, next fill in YOUR IP Address and Port number for YOUR Domoticz installation! <syntaxhighlight lang="java"> 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'; </syntaxhighlight> <br> {| class="wikitable" ! style="font-weight: bold; color: white; background-color: orange; text-align: left;" | Parameter ! style="font-weight: bold; color: white; background-color: orange; text-align: left;" | 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 |- |} <br> Now you can browse to the dashboard: <span class="plainlinks">[http://192.168.1.3:8084/dashticzv2folder/ http://192.168.1.3:8084/<dashticz v2 folder>/]</span><br> Replace 192.168.1.3:8084 with YOUR IP Address and Port number for YOUR Domoticz installation! <br><br> ---- {| width="40%" |- valign="top" | width="16.6%" align="center" | [[file:dv2-home.png|link=Dashticz_V2]] | width="16.6%" align="center" | [[file:dv2-config.png|link=Dashticz V2 - Configuration]] |} {| width="40%" |- valign="top" | width="16.6%" align="center" | '''Dashticz V2.0 Main Page''' | width="16.6%" align="center" | '''Configuration''' |} [[Category:Domoticz]] [[Category:Customization]]
返回
Dashticz V2 - Installation
。
开关有限宽度模式