@rafkan na hejdom. Widzę że przed instalacją Zigbee2Mqtt nie działa mi Mosquitto broker.
Mam takie logi:
[22:35:31] INFO: Setup mosquitto configuration
[22:35:31] WARNING: SSL not enabled - No valid certs found!
[22:35:31] INFO: No local user available
[22:35:32] INFO: Initialize Hass.io Add-on services
[22:35:32] INFO: Initialize Home Assistant discovery
[22:35:32] INFO: Start Mosquitto daemon
1612906532: mosquitto version 1.6.3 starting
1612906532: Config loaded from /etc/mosquitto.conf.
1612906532: Loading plugin: /usr/share/mosquitto/auth-plug.so
1612906532: |-- *** auth-plug: startup
1612906532: ├── Username/password checking enabled.
1612906532: ├── TLS-PSK checking enabled.
1612906532: └── Extended authentication not enabled.
1612906532: Opening ipv4 listen socket on port 1883.
1612906532: Opening ipv6 listen socket on port 1883.
1612906532: Opening websockets listen socket on port 1884.
1612906532: Warning: Mosquitto should not be run as root/administrator.
1612906546: New connection from 172.30.32.1 on port 1883.
[INFO] found homeassistant on local database
1612906547: New client connected from 172.30.32.1 as 4xaftMzpNA9pwR3ZVy9QY8 (p2, c1, k60, u’homeassistant’).
1612907130: Socket error on client 4xaftMzpNA9pwR3ZVy9QY8, disconnecting.
1612907146: New connection from 172.30.32.1 on port 1883.
[INFO] found homeassistant on local database
1612907146: New client connected from 172.30.32.1 as 296jgkijWvshSx16mEqFX1 (p2, c1, k60, u’homeassistant’).
1612907719: Socket error on client 296jgkijWvshSx16mEqFX1, disconnecting.
1612907734: New connection from 172.30.32.1 on port 1883.
[INFO] found homeassistant on local database
1612907735: New client connected from 172.30.32.1 as 12N2OlW8VhBfm6rDesQvwf (p2, c1, k60, u’homeassistant’).
1612908333: Saving in-memory database to /data/mosquitto.db.
1612910000: New connection from 172.30.33.3 on port 1883.
[INFO] found homeassistant on local database
1612910000: New client connected from 172.30.33.3 as mqttjs_d6e97f03 (p2, c1, k60, u’homeassistant’).
1612910134: Saving in-memory database to /data/mosquitto.db.
1612910871: Socket error on client mqttjs_d6e97f03, disconnecting.
1612910938: Socket error on client 12N2OlW8VhBfm6rDesQvwf, disconnecting.
1612910955: New connection from 172.30.32.1 on port 1883.
[INFO] found homeassistant on local database
1612910956: New client connected from 172.30.32.1 as 1CZnN0AcloRYmqo5ox9ify (p2, c1, k60, u’homeassistant’).
1612911935: Saving in-memory database to /data/mosquitto.db.
1612913736: Saving in-memory database to /data/mosquitto.db.
1612915537: Saving in-memory database to /data/mosquitto.db.
1612917338: Saving in-memory database to /data/mosquitto.db.
1612919139: Saving in-memory database to /data/mosquitto.db.
1612920940: Saving in-memory database to /data/mosquitto.db.
1612922741: Saving in-memory database to /data/mosquitto.db.
1612924542: Saving in-memory database to /data/mosquitto.db.
1612926343: Saving in-memory database to /data/mosquitto.db.
1612928144: Saving in-memory database to /data/mosquitto.db.
1612929945: Saving in-memory database to /data/mosquitto.db.
1612931746: Saving in-memory database to /data/mosquitto.db.
1612933547: Saving in-memory database to /data/mosquitto.db.
1612935348: Saving in-memory database to /data/mosquitto.db.
1612937149: Saving in-memory database to /data/mosquitto.db.
1612938950: Saving in-memory database to /data/mosquitto.db.
1612940751: Saving in-memory database to /data/mosquitto.db.
1612942552: Saving in-memory database to /data/mosquitto.db.
1612944353: Saving in-memory database to /data/mosquitto.db.
1612945805: New connection from 172.30.32.1 on port 1883.
[ERROR] Auth error with mqtt
1612945806: Socket error on client , disconnecting.
1612945854: New connection from 172.30.32.1 on port 1883.
1612945854: Socket error on client , disconnecting.
1612946137: New connection from 172.30.32.1 on port 1883.
[INFO] found mqtt on Home Assistant
1612946138: New client connected from 172.30.32.1 as 1dq4nTrwlLOIrQzT5pQPLn (p1, c1, k60, u’mqtt’).
1612946138: Client 1dq4nTrwlLOIrQzT5pQPLn disconnected.
1612946154: Saving in-memory database to /data/mosquitto.db.
1612946191: Socket error on client 1CZnN0AcloRYmqo5ox9ify, disconnecting.
1612946191: New connection from 172.30.32.1 on port 1883.
1612946191: New client connected from 172.30.32.1 as 3D2Q5yJsa1mHn8BTeKX0RU (p2, c1, k60, u’mqtt’).
1612946487: New connection from 172.30.33.3 on port 1883.
[INFO] found mqtt on Home Assistant
1612946487: New client connected from 172.30.33.3 as mqttjs_6e3076ec (p2, c1, k60, u’mqtt’).
1612946965: Socket error on client mqttjs_6e3076ec, disconnecting.
1612946977: New connection from 172.30.33.3 on port 1883.
[INFO] found mqtt on Home Assistant
1612946978: New client connected from 172.30.33.3 as mqttjs_2de9fa4f (p2, c1, k60, u’mqtt’).
1612947955: Saving in-memory database to /data/mosquitto.db.
1612948846: New connection from 172.30.32.1 on port 1883.
1612948846: Socket error on client , disconnecting.
1612949001: New connection from 172.30.32.1 on port 1883.
1612949001: Socket error on client , disconnecting.
1612949147: Socket error on client 3D2Q5yJsa1mHn8BTeKX0RU, disconnecting.
1612949161: New connection from 172.30.32.1 on port 1883.
[INFO] found mqtt on Home Assistant
1612949163: New client connected from 172.30.32.1 as 2cbXZFez5Nf90jgvM0dfmJ (p2, c1, k60, u’mqtt’).
1612949220: New connection from 172.30.32.1 on port 1883.
1612949220: Socket error on client , disconnecting.
1612949266: Socket error on client mqttjs_2de9fa4f, disconnecting.
1612949301: New connection from 172.30.32.1 on port 1883.
1612949301: Socket error on client , disconnecting.
1612949756: Saving in-memory database to /data/mosquitto.db.
A tak mam skonfigurowane:
logins: []
anonymous: false
customize:
active: false
folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false