@usname

Как разобраться с подключением mqtt zigbee sls?

Не могу подключить нормально шлюз, есть может инструкция нормальная, я новинький...

sls log:
[19:38:19.303] [NA] Connection failed...
[19:38:19.308] [Zigbee] Initialization on RX: 22, TX: 23
[19:38:19.313] [D] -- SendCmd 0x2102 SREQ_SYS_VERSION, DataLen: 0, Data:
[19:38:19.333] [D] -- SendCmd 0x2108 SREQ_SYS_OSAL_NV_READ, DataLen: 3, Data: 830000
[19:38:19.334] [D] -- ReceiveCmd: 0x6102 SRSP_SYS_VERSION, Len: 14, Data: 0202020702323E340102FFFFFFFF
[19:38:19.342] Coordinator Revision: 20201010
[19:38:19.356] Current PanId: 0x19EE
[19:38:19.357] [D] -- ReceiveCmd: 0x6108 SRSP_SYS_OSAL_NV_READ, Len: 4, Data: 0002EE19
[19:38:19.361] [D] -- SendCmd 0x2108 SREQ_SYS_OSAL_NV_READ, DataLen: 3, Data: 840000
[19:38:19.381] Current Channel: 15
[19:38:19.382] [D] -- ReceiveCmd: 0x6108 SRSP_SYS_OSAL_NV_READ, Len: 6, Data: 000400800000
[19:38:19.386] [D] -- SendCmd 0x2700 SREQ_UTIL_GET_DEVICE_INFO, DataLen: 0, Data:
[19:38:19.407] [D] -- ReceiveCmd: 0x6700 SRSP_UTIL_GET_DEVICE_INFO, Len: 14, Data: 00DA47E418004B12000000070900
[19:38:19.418] [NA] Connecting to 's1.slsys.io', port: 26732...
[19:38:19.407] [D] -- SendCmd 0x2536 SREQ_ZDO_MGMT_PERMIT_JOIN_REQ, DataLen: 5, Data: 0FFCFF0000
[19:38:19.456] SRSP_UTIL_GET_DEVICE_INFO Status: 0x00, CoordinatorIEEEAddr: 0x00124B0018E447DA, ShortAddr: 0x0000, DeviceType: 0x07, DeviceState: 0x09, NumAssocDevices: 0
[19:38:19.482] [D] -- ReceiveCmd: 0x6536 SRSP_ZDO_MGMT_PERMIT_JOIN_REQ, Len: 1, Data: 00
[19:38:19.481] Coordinator started!
[19:38:19.537] [Zigbee] StartCoordinator time: 224
[19:38:19.537] [D] -- ReceiveCmd: 0x45B6 AREQ_ZDO_MGMT_PERMIT_JOIN_RSP, Len: 3, Data: 000000
[19:38:19.540] [Scripts] Starting engine...
[19:38:19.542] Joining disable
[19:38:19.551] [MQTT] Send HB (177) {"Uptime":20,"UptimeStr":"00:00:20","IP":"192.168.88.20","RSSI":"-7","Version":"2020.12.16d1","FreeMem":174108,"LastRxTS":0,"LastTxTS":0,"log_level":"debug","permit_join":false}
[19:38:19.564] [OTA] Check latest firmware version, current: 2020.12.16d1
[19:38:19.185] [OTA] Found latest firmware version: 2023.12.31d7
[19:38:37.810] [NA] Connection failed...
[19:38:37.816] [D] [MQTT] Not connected Server: 192.168.88.14, Time: 00:00:38, State: -1
[19:38:37.922] [MQTT] Connecting to server... 3 1 Server: 192.168.88.14:1883, User: mqtt
[19:38:37.987] [MQTT] Connected! ClientId: SLS-ZigbeeSLS
[19:38:37.116] [NA] Connecting to 's1.slsys.io', port: 26732...
[19:38:56.319] [NA] Connection failed...
[19:38:56.436] [NA] Connecting to 's1.slsys.io', port: 26732...
[19:39:14.827] [NA] Connection failed...
[19:39:14.044] [MQTT] Connecting to server... 3 1 Server: 192.168.88.14:1883, User: mqtt
[19:39:14.132] [MQTT] Connected! ClientId: SLS-ZigbeeSLS
[19:39:15.478] [D] [MQTT] Received [bridge : state] online
[19:39:16.584] [D] [MQTT] Received [bridge : state] online
[19:39:19.561] [MQTT] Send HB (179) {"Uptime":80,"UptimeStr":"00:01:20","IP":"192.168.88.20","RSSI":"-9","Version":"2020.12.16d1","FreeMem":184404,"LastRxTS":60,"LastTxTS":60,"log_level":"debug","permit_join":false}
[19:40:14.918] [NA] Connecting to 's1.slsys.io', port: 26732...
[19:40:33.341] [NA] Connection failed...
[19:40:33.348] [MQTT] Send HB (183) {"Uptime":154,"UptimeStr":"00:02:34","IP":"192.168.88.20","RSSI":"-10","Version":"2020.12.16d1","FreeMem":182720,"LastRxTS":134,"LastTxTS":134,"log_level":"debug","permit_join":false}
[19:40:33.368] [D] [MQTT] Received [bridge : state] offline
[19:40:33.383] [MQTT] Publish failed!
[19:40:33.586] [MQTT] Connecting to server... 3 1 Server: 192.168.88.14:1883, User: mqtt
[19:40:40.047] [MQTT] Connected! ClientId: SLS-ZigbeeSLS
[19:40:41.505] [D] [MQTT] Received [bridge : state] online
[19:40:42.832] [D] [MQTT] Received [bridge : state] online
[19:41:33.448] [NA] Connecting to 's1.slsys.io', port: 26732...
[19:41:51.859] [NA] Connection failed...
[19:41:51.868] [MQTT] Send HB (182) {"Uptime":232,"UptimeStr":"00:03:52","IP":"192.168.88.20","RSSI":"-9","Version":"2020.12.16d1","FreeMem":182768,"LastRxTS":212,"LastTxTS":212,"log_level":"debug","permit_join":false}
[19:42:51.956] [NA] Connecting to 's1.slsys.io', port: 26732...
[19:43:10.371] [NA] Connection failed...
[19:43:10.378] [MQTT] Send HB (183) {"Uptime":311,"UptimeStr":"00:05:11","IP":"192.168.88.20","RSSI":"-11","Version":"2020.12.16d1","FreeMem":181032,"LastRxTS":291,"LastTxTS":291,"log_level":"debug","permit_join":false}
[19:43:10.398] [D] [MQTT] Received [bridge : state] offline
[19:43:10.414] [MQTT] Publish failed!
[19:43:10.617] [MQTT] Connecting to server... 3 1 Server: 192.168.88.14:1883, User: mqtt
[19:43:11.831] [MQTT] Connected! ClientId: SLS-ZigbeeSLS
[19:43:11.179] [D] [MQTT] Received [bridge : state] online
[19:43:13.285] [D] [MQTT] Received [bridge : state] online
[19:44:10.390] [NA] Connecting to 's1.slsys.io', port: 26732...
[19:44:28.887] [NA] Connection failed...
[19:44:28.893] [MQTT] Send HB (182) {"Uptime":389,"UptimeStr":"00:06:29","IP":"192.168.88.20","RSSI":"-8","Version":"2020.12.16d1","FreeMem":181040,"LastRxTS":369,"LastTxTS":369,"log_level":"debug","permit_join":false}
[19:44:28.913] [D] [MQTT] Received [bridge : state] offline
[19:44:28.928] [MQTT] Publish failed!
[19:44:28.131] [MQTT] Connecting to server... 3 1 Server: 192.168.88.14:1883, User: mqtt
[19:44:29.403] [MQTT] Connected! ClientId: SLS-ZigbeeSLS
[19:44:29.640] [D] [MQTT] Received [bridge : state] online
[19:44:30.856] [D] [MQTT] Received [bridge : state] online




zigbee2mqtt log :
[18:44:01] INFO: Preparing to start...
[18:44:02] INFO: Socat not enabled
[18:44:03] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2024-01-26 18:44:09: Logging to console and directory: '/config/zigbee2mqtt/log/2024-01-26.18-44-09' filename: log.txt
Zigbee2MQTT:info 2024-01-26 18:44:09: Starting Zigbee2MQTT version 1.35.1 (commit #unknown)
Zigbee2MQTT:info 2024-01-26 18:44:09: Starting zigbee-herdsman (0.30.0)
Zigbee2MQTT:error 2024-01-26 18:44:10: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-01-26 18:44:10: Failed to start zigbee
Zigbee2MQTT:error 2024-01-26 18:44:10: Check https://www.zigbee2mqtt.io/guide/installation/20_z... for possible solutions
Zigbee2MQTT:error 2024-01-26 18:44:10: Exiting...
Zigbee2MQTT:error 2024-01-26 18:44:10: Error: Error while opening socket
at Socket. (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:198:24)
at Socket.emit (node:events:529:35)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)



zigbee2mqtt/configuration.yaml:
mqtt:
server: mqtt://core-mosquitto:1883
base_topic: zigbee2mqtt_1
version: 5
user: mqtt
password: passwd
serial:
port: tcp://192.168.88.20:6638
baudrate: 115200
disable_led: false
advanced:
transmit_power: 20
channel: 15
pan_id: 33446
network_key:
- 251
- 250
- 86
- 91
- 140
- 229
- 44
- 33
- 114
- 254
- 147
- 70
- 6
- 229
- 79
- 193
availability_blocklist: []
availability_passlist: []
last_seen: ISO_8601
log_level: info
homeassistant: true
permit_join: false
frontend:
port: 8099
  • Вопрос задан
  • 176 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы