Files
waxgourd-addons/zigbee2mqtt/DOCS.md

29 lines
843 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Zigbee2MQTT
官方Zigbee2MQTT家庭助理插件。
## 配置说明
### mqtt
如果不使用mosquito to broker插件请填写MQTT详细信息(使用mosquito to broker插件时可不填写)。格式可参考下面的实例
```
server: mqtt://localhost:1883
user: Mqtt的账号
password: "Mqtt的密码"
```
注意:如果密码包含某些特殊字符(由yaml规范保留),则需要加上引号。所以我们建议如果日志显示密码错误时,优先考虑加上引号。
### serial
填写串行详细信息(例如USB协调器的端口)。格式可参考下面的实例
```
port: /dev/ttyUSB0
```
如果您不知道详细的端口并且只有一个USB设备连接到您的机器请尝试/dev/ ttyUSB0。否则请查看“配置 - 系统 - 硬件 - 全部硬件”在搜索上输入“tty”查看。