Mam problem z dodaniem Woox R7048 a że dopiero zaczynam zabawę z SH to nie wiem czy to wina urządzenia czy konfiguracji.
Mam zainstalowane HA supervised na RPI 4B z 64 bitowym raspberypi OS Lite. Skonfigurowałem Sonoff USB Dongle, zigbee2MQTT i Mosquito Broker na podstawie tego filmu na YT. Początkowo miałem trochę problemów ale dotarłem ostatecznie do momentu kiedy logi nie zawierały już błędów.
Kupiłem wyżej wymieniony czujnik i za żadne skarby nie mogę go dodać do swojego HA.
Trochę już kombinowałem samodzielnie dlatego pierwsze pytanie jest takie czy wystarczy że usunę daną integrację żeby nie zostawały po niej żadne śmieci w konfiguracji czy trzeba jeszcze usunąć jakieś pliki ręcznie?
Nie mam jeszcze innych urządzeń więc nie wiem czy to problem obejmujący wszystkie czy tylko R7048.
Logi i konfiguracje:
Zigbee2MQTT:
data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
base_topic: zigbee2mqtt
user: mqtt_user
password: *****
serial:
port: /dev/ttyUSB0
advanced:
log_level: warn
pan_id: 6754
channel: 26
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: {}
availability: false
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
log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing...
[10:15:25] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[10:15:26] INFO: MQTT available, fetching server detail ...
[10:15:26] INFO: MQTT server settings not configured, trying to auto-discovering ...
[10:15:27] INFO: Configuring 'mqtt://core-mosquitto:1883' mqtt server
[10:15:27] INFO: Previous config file found, checking backup
[10:15:27] INFO: Creating backup config in '/config/zigbee2mqtt/.configuration.yaml.bk'
[10:15:27] INFO: Adjusting Zigbee2mqtt core yaml config with add-on quirks ...
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:15:29] INFO: Handing over control to Zigbee2mqtt Core ...
> zigbee2mqtt@1.24.0 start
> node index.js
Mosquitto broker:
certfile: fullchain.pem
customize:
active: false
folder: mosquitto
keyfile: privkey.pem
logins: []
require_certificate: false
log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] mosquitto.sh: executing...
[10:14:31] INFO: SSL is not enabled
[cont-init.d] mosquitto.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:14:32] INFO: Starting NGINX for authentication handling...
[10:14:32] INFO: Starting mosquitto MQTT broker...
1648113272: mosquitto version 1.6.12 starting
1648113272: |-- *** auth-plug: startup
[10:14:33] INFO: Successfully send discovery information to Home Assistant.
[10:14:33] INFO: Successfully send service information to the Supervisor.
1648113272: Config loaded from /etc/mosquitto/mosquitto.conf.
1648113272: Loading plugin: /usr/share/mosquitto/auth-plug.so
1648113272: ├── Username/password checking enabled.
1648113272: ├── TLS-PSK checking enabled.
1648113272: └── Extended authentication not enabled.
1648113272: Opening ipv4 listen socket on port 1883.
1648113272: Opening ipv6 listen socket on port 1883.
1648113272: Opening websockets listen socket on port 1884.
1648113272: Warning: Mosquitto should not be run as root/administrator.
1648113272: mosquitto version 1.6.12 running
1648113272: New connection from 127.0.0.1 on port 1883.
1648113272: Socket error on client <unknown>, disconnecting.
1648113336: New connection from 172.30.33.1 on port 1883.
{"result": "ok", "data": {}}1648113336: New client connected from 172.30.33.1 as mqttjs_76a5f787 (p2, c1, k60, u'mqtt_user').
1648113357: New connection from 172.30.32.2 on port 1883.
1648113357: Socket error on client <unknown>, disconnecting.
1648113364: New connection from 172.30.32.1 on port 1883.
1648113364: New client connected from 172.30.32.1 as 6RfBPMsorVzfam8CvspoKy (p2, c1, k60, u'homeassistant').
1648113364: Client 6RfBPMsorVzfam8CvspoKy disconnected.
1648113364: New connection from 172.30.32.1 on port 1883.
1648113364: New client connected from 172.30.32.1 as 63C0VJtwbLcXhkWq02j7TH (p2, c1, k60, u'homeassistant').
1648113477: New connection from 172.30.32.2 on port 1883.
1648113477: Socket error on client <unknown>, disconnecting.
1648113597: New connection from 172.30.32.2 on port 1883.
1648113597: Socket error on client <unknown>, disconnecting.
1648113717: New connection from 172.30.32.2 on port 1883.
1648113717: Socket error on client <unknown>, disconnecting.
1648113837: New connection from 172.30.32.2 on port 1883.
1648113837: Socket error on client <unknown>, disconnecting.
1648113957: New connection from 172.30.32.2 on port 1883.
1648113957: Socket error on client <unknown>, disconnecting.
1648114071: Socket error on client 63C0VJtwbLcXhkWq02j7TH, disconnecting.
1648114077: New connection from 172.30.32.2 on port 1883.
1648114077: Socket error on client <unknown>, disconnecting.
1648114097: New connection from 172.30.32.1 on port 1883.
1648114097: New client connected from 172.30.32.1 as 4EKbEoAiRM0LBl787BxUc2 (p2, c1, k60, u'homeassistant').
1648114197: New connection from 172.30.32.2 on port 1883.
1648114197: Socket error on client <unknown>, disconnecting.
1648114275: Socket error on client 4EKbEoAiRM0LBl787BxUc2, disconnecting.
1648114296: New connection from 172.30.32.1 on port 1883.
1648114296: New client connected from 172.30.32.1 as 10JIYHH9nTxE2yZzRuDFeK (p2, c1, k60, u'homeassistant').
1648114317: New connection from 172.30.32.2 on port 1883.
1648114317: Socket error on client <unknown>, disconnecting.
1648114437: New connection from 172.30.32.2 on port 1883.
1648114437: Socket error on client <unknown>, disconnecting.
1648114557: New connection from 172.30.32.2 on port 1883.
1648114557: Socket error on client <unknown>, disconnecting.
1648114677: New connection from 172.30.32.2 on port 1883.
1648114677: Socket error on client <unknown>, disconnecting.
1648114797: New connection from 172.30.32.2 on port 1883.
1648114797: Socket error on client <unknown>, disconnecting.
1648114917: New connection from 172.30.32.2 on port 1883.
1648114917: Socket error on client <unknown>, disconnecting.
1648115037: New connection from 172.30.32.2 on port 1883.
1648115037: Socket error on client <unknown>, disconnecting.
1648115073: Saving in-memory database to /data/mosquitto.db.
1648115157: New connection from 172.30.32.2 on port 1883.
1648115157: Socket error on client <unknown>, disconnecting.
1648115277: New connection from 172.30.32.2 on port 1883.
1648115277: Socket error on client <unknown>, disconnecting.
1648115397: New connection from 172.30.32.2 on port 1883.
1648115397: Socket error on client <unknown>, disconnecting.
1648115517: New connection from 172.30.32.2 on port 1883.
1648115517: Socket error on client <unknown>, disconnecting.
1648115637: New connection from 172.30.32.2 on port 1883.
1648115637: Socket error on client <unknown>, disconnecting.