Boas,
Venho pedir-vos a vossa ajuda sobre o que se poderá passar com o meu CC2531.
Coloquei-o a trabalhar no HASS.IO com zigbee2mqtt sem problemas num RPi4. Adicionei uns quantos devices zigbee (Ikea e alguns outros) e tudo funcionava bem. No map também se via bem a rede mesh que conseguiam criar para chegar a pontos mais distantes da casa.
Um certo dia a pen deixou de trabalhar. Não fiz nenhum update nesse dia nem mexi na configuração.
Qd arranca o zigbee-herdsman a luz verde da pena apaga-se e só tirando e voltando a colocar a pen volta a acender.
> zigbee2mqtt@1.16.1 start /zigbee2mqtt-1.16.1
> node index.js
Zigbee2MQTT:debug 2020-12-03 09:39:12: Loaded state from file /share/zigbee2mqtt/state.json
Zigbee2MQTT:info 2020-12-03 09:39:12: Logging to console and directory: '/share/zigbee2mqtt/log/2020-12-03.09-39-11' filename: log.txt
Zigbee2MQTT:debug 2020-12-03 09:39:12: Removing old log directory '/share/zigbee2mqtt/log/2020-12-02.19-00-53'
Zigbee2MQTT:info 2020-12-03 09:39:12: Starting Zigbee2MQTT version 1.16.1 (commit #1.16.1)
Zigbee2MQTT:info 2020-12-03 09:39:12: Starting zigbee-herdsman...
Zigbee2MQTT:debug 2020-12-03 09:39:12: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null},"backupPath":"/share/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/share/zigbee2mqtt/database.db.backup","databasePath":"/share/zigbee2mqtt/database.db","network":{"channelList":[25],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/ttyACM0"}}'
Zigbee2MQTT:error 2020-12-03 09:39:52: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2020-12-03 09:39:52: Failed to start zigbee
Zigbee2MQTT:error 2020-12-03 09:39:52: Exiting...
**Zigbee2MQTT:error 2020-12-03 09:39:52: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)**
at ZStackAdapter.<anonymous> (/zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31)
at Generator.throw (<anonymous>)
at rejected (/zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
Claro que mudei as portas USB, desliguei o RPI4 completamente e entretanto liguei um hub alimentado e liguei-o ao RPI4, até um pouco afastado do RPI4 e tudo na mesma.
A configuração do add-on é praticamente a standard, tirando as credenciais do broker MQTT e o canal que está adequado à rede wireless cá de casa.
data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://<ip>:1883'
user: <user>
password: <password>
serial:
port: /dev/ttyACM0
advanced:
log_level: info
pan_id: 6754
channel: 25
network_key:
- 1
- 3
- 5
- 7
- 9
- 11
- 13
- 15
- 0
- 2
- 4
- 6
- 8
- 10
- 12
- 13
availability_blocklist: []
availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
port: 8099
experimental:
new_api: true
socat:
enabled: false
master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
restartdelay: 1
initialdelay: 1
options: '-d -d'
log: false
Alguem tem alguma ideia?
Não tenho o programador para voltar a fazer o flash à pen.
Pedro.