in ZigBee

Come connettere un nuovo dispositivo con zigbee2mqtt

Dovrete prima di tutto stoppare il container con:

sudo docker stop zigbee2mqtt

Poi modificate il file di configurazione:

sudo nano ~/zigbee2mqtt/data/configuration.yaml

E modificare la riga in:

permit_join: true
Come connettere un nuovo dispositivo con zigbee2mqtt
Screenshot di zigbee2mqtt.io

Per permettere l’aggiunta di nuovi dispositivi.
Poi riavviate il container con sudo docker start zigbee2mqtt e attivate l’abbinamento sul dispositivo (ogni dispositivo ha un metodo diverso di abbinamento https://www.zigbee2mqtt.io/information/supported_devices.html).

Nei log dovreste vedere qualcosa di questo genere:

  zigbee2mqtt:info 2019-1-1 19:43:06 Connecting with device...
  zigbee2mqtt:info 2019-1-1 19:43:06 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2019-1-1 19:43:06 Message without device!
  zigbee2mqtt:debug 2019-1-1 19:43:06 Received zigbee message of type 'devInterview' with data '"0x0123456789"'
  zigbee2mqtt:info 2019-1-1 19:43:06 Connecting with device...
  zigbee2mqtt:info 2019-1-1 19:43:06 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2019-1-1 19:43:06 Message without device!
  zigbee2mqtt:debug 2019-1-1 19:43:06 Received zigbee message of type 'devInterview' with data '"0x0123456789"'
  zigbee2mqtt:info 2019-1-1 19:43:06 Connecting with device...
  zigbee2mqtt:info 2019-1-1 19:43:06 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2019-1-1 19:43:06 Message without device!
  zigbee2mqtt:debug 2019-1-1 19:43:07 Received zigbee message of type 'devInterview' with data '"0x0123456789"'
  zigbee2mqtt:info 2019-1-1 19:43:07 Connecting with device...
  zigbee2mqtt:info 2019-1-1 19:43:07 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2019-1-1 19:43:07 Message without device!
  zigbee2mqtt:debug 2019-1-1 19:43:07 Received zigbee message of type 'devInterview' with data '"0x0123456789"'
  zigbee2mqtt:info 2019-1-1 19:43:07 Connecting with device...
  zigbee2mqtt:info 2019-1-1 19:43:07 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2019-1-1 19:43:07 Message without device!
  zigbee2mqtt:debug 2019-1-1 19:43:07 Received zigbee message of type 'devInterview' with data '"0x0123456789"'
  zigbee2mqtt:info 2019-1-1 19:43:07 Connecting with device...
  zigbee2mqtt:info 2019-1-1 19:43:07 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2019-1-1 19:43:07 Message without device!
  zigbee2mqtt:debug 2019-1-1 19:43:07 Received zigbee message of type 'devInterview' with data '"0x0123456789"'
  zigbee2mqtt:info 2019-1-1 19:43:07 Connecting with device...
  zigbee2mqtt:info 2019-1-1 19:43:07 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2019-1-1 19:43:07 Message without device!
  zigbee2mqtt:debug 2019-1-1 19:43:07 Received zigbee message of type 'devInterview' with data '"0x0123456789"'
  zigbee2mqtt:info 2019-1-1 19:43:07 Connecting with device...
  zigbee2mqtt:info 2019-1-1 19:43:07 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2019-1-1 19:43:07 Message without device!

Questo vuol dire che avete correttamente abbinato un nuovo dispositivo!
Mi raccomando disabilitate poi il permit_join con un false.