From 23378bfb6d4d627db6813510b1c5e691bd9a9928 Mon Sep 17 00:00:00 2001 From: waxgourd Date: Wed, 8 Jan 2025 13:05:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=BA=86portainer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portainer/CHANGELOG.md | 3 ++ portainer/config.json | 2 +- zigbee2mqtt/DOCS.md | 63 ++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 64 insertions(+), 4 deletions(-) diff --git a/portainer/CHANGELOG.md b/portainer/CHANGELOG.md index f95bc6c..6e71129 100644 --- a/portainer/CHANGELOG.md +++ b/portainer/CHANGELOG.md @@ -1,3 +1,6 @@ +### 2.25.1 (08-01-2025) +- 从portainer/portainer更新到最新版本 (更改日志:https://github.com/portainer/portainer/releases) + ### 2.24.1 (07-12-2024) - 从portainer/portainer更新到最新版本 (更改日志:https://github.com/portainer/portainer/releases) diff --git a/portainer/config.json b/portainer/config.json index 1c8f535..c0445c9 100644 --- a/portainer/config.json +++ b/portainer/config.json @@ -47,5 +47,5 @@ "slug": "portainer", "udev": true, "url": "https://gitcode.com/waxgourd/addons", - "version": "2.24.1" + "version": "2.25.1" } diff --git a/zigbee2mqtt/DOCS.md b/zigbee2mqtt/DOCS.md index f05900a..1524775 100644 --- a/zigbee2mqtt/DOCS.md +++ b/zigbee2mqtt/DOCS.md @@ -15,17 +15,74 @@ password: "Mqtt的密码" 注意:如果密码包含某些特殊字符(由yaml规范保留),则需要加上引号。所以我们建议如果日志显示密码错误时,优先考虑加上引号。 ### serial +- 端口 -- 填写串口详细信息(例如USB协调器的端口)。格式可参考下面的实例 +填写串口详细信息(例如USB协调器的端口)。格式可参考下面的实例 + +**USB协调器** ``` port: /dev/ttyUSB0 ``` -如果您不知道详细的端口,并且只有一个USB设备连接到您的机器,请尝试/dev/ ttyUSB0。否则,请查看“配置 - 系统 - 硬件 - 全部硬件”,在搜索上输入“tty”查看。 + 如果您不知道详细的端口,并且只有一个USB设备连接到您的机器,请尝试/dev/ ttyUSB0。否则,请查看“配置 - 系统 - 硬件 - 全部硬件”,在搜索上输入“tty”查看。 + +**网络版协调器**(xzg固件示例) + +``` +port: tcp://xzg.local:6638 +``` + +查看适配器的ip地址 + + + +**注意!!!** + +从2.0.0开始,zigbee2mqtt引入了新的配置规则,要求必须填写适配器信息。 + + + +- 适配器 + +适配器的类型配置,常见的 + +TI的芯片(Texa Instrument):zstack + + 芯科(Silicon):ember + +还可能是deconz,zigate或者zboss。 + + + +- 示例 + +serial: + +``` + port: /dev/ttyUSB0 + adapter:zstack +``` +``` + port: tcp://xzg.local:6638 + adapter:zstack +``` + + +``` + port: /dev/ttyUSB0 + adapter:ember +``` + + + + +详细信息:可查看官网:https://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html#basic-configuration + + ## 使用方法 - 点击启动(启动时长大约一分钟),进入日志页面中点击刷新,出现“Zigbee2MQTT started!”则表示启动成功。 -- 启动完成后可在信息页中点击"打开 WEI UI",或点击“在侧边栏显示”,方便以后从左侧栏快速访问。 \ No newline at end of file +- 启动完成后可在信息页中点击"打开 网页界面",或点击“在侧边栏显示”,方便以后从左侧栏快速访问。 \ No newline at end of file