- 积分
- 350
- 金钱
- 312
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 350
- 金钱
- 312
- HASS币
- 0
|
插件版本1.32 配置如下:
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt:
server: mqtt://core-mosquitto:1883
user: mqtt
password: mqtt
serial:
port: /dev/ttyUSB0
刚开始正常,过一会以后就会抽风,随机选择一个开关不停的发送指令,z2m log如下:
Zigbee2MQTT:info 2023-07-07 07:26:19: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:19: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:19: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:19: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:19: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:19: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:19: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:19: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:20: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:20: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:20: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:20: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:20: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:20: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:20: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:20: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:21: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:21: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:21: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:21: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:21: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:21: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:21: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:21: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:22: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:22: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:22: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:22: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:22: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:22: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:22: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:22: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:22: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:23: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:23: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:23: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:23: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:23: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:23: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:23: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:24: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:24: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:24: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:24: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:24: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:24: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:24: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:24: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:24: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:25: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
Zigbee2MQTT:info 2023-07-07 07:26:25: MQTT publish: topic 'zigbee2mqtt/餐厅开关', payload '{"linkquality":43,"power_on_behavior_l1":null,"power_on_behavior_l2":null,"power_on_behavior_l3":null,"power_on_behavior_l4":null,"state_l1":"OFF","state_l2":"ON","state_l3":"OFF","state_l4":null}'
看提示是mqtt publish消息导致 mqtt配置如下:
logins:
- username: mqtt
password: mqtt
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
不知是哪里的问题,请教各位给判断判断
|
|