Zigbee2MQTT z SONOFF Zigbee 3.0 Dongle Plus problem z uruchomieniem

po wpisaniu portu do konfiguracji pojawia się błąd:
Nie udało się zapisać konfiguracji dodatku, Invalid dict for option ‘serial’ in Zigbee2MQTT (45df7312_zigbee2mqtt). Got {‘data_path’: ‘/config/zigbee2mqtt’, ‘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}, ‘mqtt’: {}, ‘serial’: ‘/dev/ttyUSB0’}

urządzenie działało z domyślnym zigbee, chciałem przejść na Z2M, instalację nowego robiłem po wyłączeniu zgigbee, potem usunięciu i dalej nie mogę uruchomić Z2M

Masz jakieś błędy w konfiguracji więc wrzuć w trybie YAML do kolejnego posta swoją konfigurację, która nie może zostać zapisana, to może ktoś znajdzie co w niej jest nie halo.

wyjątkowo dodatkowy screenshot będzie też na miejscu, ale kod wklej jako kod…

Nie da się usunąć ZHA, bo to jest wbudowana integracja, możesz ją wyłączyć lub zignorować…


tu się uruchamia tryb YAML, wtedy cała konfiguracja staje się jednym kawałkiem kodu YAML zdatnym do wklejenia na forum

moja konfiguracja Zigbee2MQTT

data_path: /config/zigbee2mqtt
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
mqtt: {}
serial: >-
  /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_b6587b6d8345ed118581cc8f0a86e0b4-if00-port0

Przeczytaj to
https://forum.arturhome.pl/t/jak-prawidlowo-zamieszczac-yaml-inny-kod-lub-logi-w-postach-na-forum/11455

i popraw posta

nie zdefiniowałeś ścieżki do koordynatora, czyli kod jest inny niż ten z którego masz błąd
czułem w kościach że będzie taki problem, a gdzie screenshot?

Podejrzewam, że w trybie GUI próbowałeś wkleić gotową konfigurację dla trybu YAML lub w trybie YAML wklejałeś coś dedykowanego dla GUI.

robiłem dokładnie tak jak na poradnikach z youtube wszystko w trybie GUI

/dev/ttyUSB0 jest do bani
nawet w trybie GUI to musi być
port: /dev/ttyUSB0

ALE
sprawdź sobie w sprzęcie pełną ścieżkę by-id i taką użyj
tam masz więcej info
https://forum.arturhome.pl/search?q=by-id

PS ten “dongle plus” to jest na chipsecie TI czy Silabs?


edit - pisałem

i jak widać NIE CZYTAŁEŚ, bo podmieniłeś źle sformatowany kod na obrazek…
zmienię tamtego posta, ale zajrzyj do niego (edycją), zobacz na czym polega poprawne formatowanie i się zastanów co było nie tak…
Musisz się tego nauczyć, bo będziesz korzystał z forów, a na większości z nich nie da się zamieścić poprawnie YAMLa nie używając właściwego formatowania
(markdown jest stosowany też na githubie!).

Dziękuję za pomoc, port udało się wpisać
próbowałem z samym portem i ze ścieżką:

data_path: /config/zigbee2mqtt
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
mqtt: {}
serial:
  port: >-
    /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_b6587b6d8345ed118581cc8f0a86e0b4-if00-port0

daje się wpisać ale, dodatek się nie uruchamia, wprowadzam wszystko w trybie GUI, za mało znam Yamla. Nie wiem na jakim chipsecie jest dongle.

data_path: /config/zigbee2mqtt
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
mqtt: {}
serial:
  port: /dev/ttyACM0
  adapter: deconz
zigbee_herdsman_debug: true

niestety nie pomogło

A jakie masz błędy ?

Sonoff ZBDongle-P

serial:
  port: /dev/ttyXXX

Sonoff ZBDongle-E con firmware NCP

serial:
  port: /dev/ttyXXX
  adapter: ezsp

błędów nie ma, po prostu się nie uruchamia, logi nie pojawiają się nowe

data_path: /config/zigbee2mqtt
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
mqtt: {}
serial:
  port: /dev/ttyUSB0
  adapter: ezsp
zigbee_herdsman_debug: true

próbowałem z adapterem deconz i ezsp, z podanym samym portem i całą ścieżką

Ale czemu robisz to na pałę
Po pierwsze masz dongle E czy dongle P, na moje oko masz P

To otwórz obudowę i zrób zdjęcie makro, tak żeby były czytelne napisy na scalakach, ale najpierw obfotografuj go z zewnątrz.

Po drugie pokaż logi. (wklej tekst)

Po trzecie

Może nie napisałem tego dość dobitnie, ale MUSISZ to zrobić.

Po czwarte - jaki masz broker MQTT i jak zainstalowany?

Po piąte pochwal się podsumowaniem swojej instalacji

1 jakie mam dongle ? Z opisu widać, że ZBDongle-P.



jeden chip jest SL

drugi TI
image

  1. zainstalowałem dodatek jeszcze raz
    moje logi:
[16:09:37] INFO: Preparing to start...
[16:09:38] INFO: Socat not enabled
[16:09:39] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-04-28 16:09:45: Logging to console and directory: '/config/zigbee2mqtt/log/2024-04-28.16-09-45' filename: log.txt
Zigbee2MQTT:info  2024-04-28 16:09:45: Starting Zigbee2MQTT version 1.36.1 (commit #unknown)
Zigbee2MQTT:info  2024-04-28 16:09:45: Starting zigbee-herdsman (0.40.3)
Zigbee2MQTT:error 2024-04-28 16:10:05: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-04-28 16:10:05: Failed to start zigbee
Zigbee2MQTT:error 2024-04-28 16:10:05: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-04-28 16:10:05: Exiting...
Zigbee2MQTT:error 2024-04-28 16:10:05: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)
  1. ZHA wyłączam
  2. zainstalowany mam
    An Open Source MQTT broker. v 6.4.0 i działa
  3. HA mam na proxmoxie i działa dobrze
    “Obecnie nie ma nic do naprawy”
  4. jeszcze raz próbowałem uruchomić, po restarcie HA, zmieniły się logi:
[16:38:30] INFO: Preparing to start...
[16:38:30] INFO: Socat not enabled
[16:38:32] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-04-28 16:38:37: Logging to console and directory: '/config/zigbee2mqtt/log/2024-04-28.16-38-36' filename: log.txt
Zigbee2MQTT:info  2024-04-28 16:38:37: Starting Zigbee2MQTT version 1.36.1 (commit #unknown)
Zigbee2MQTT:info  2024-04-28 16:38:37: Starting zigbee-herdsman (0.40.3)
Zigbee2MQTT:info  2024-04-28 16:39:15: zigbee-herdsman started (restored)
Zigbee2MQTT:info  2024-04-28 16:39:15: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210708,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:info  2024-04-28 16:39:15: Currently 0 devices are joined:
Zigbee2MQTT:info  2024-04-28 16:39:15: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2024-04-28 16:39:16: Connecting to MQTT server at mqtt://core-mosquitto:1883
Zigbee2MQTT:info  2024-04-28 16:39:16: Connected to MQTT server
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: Started frontend on port 8099
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x00124b002a2eb530/connection_state/config', payload '{"device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"device_class":"connectivity","entity_category":"diagnostic","name":"Connection state","object_id":"zigbee2mqtt_bridge_connection_state","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"payload_off":"offline","payload_on":"online","state_topic":"zigbee2mqtt/bridge/state","unique_id":"bridge_0x00124b002a2eb530_connection_state_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x00124b002a2eb530/restart_required/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"device_class":"problem","enabled_by_default":false,"entity_category":"diagnostic","name":"Restart required","object_id":"zigbee2mqtt_bridge_restart_required","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_restart_required_zigbee2mqtt","value_template":"{{ value_json.restart_required }}"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'homeassistant/button/1221051039810110150109113116116_0x00124b002a2eb530/restart/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/restart","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"device_class":"restart","name":"Restart","object_id":"zigbee2mqtt_bridge_restart","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"payload_press":"","unique_id":"bridge_0x00124b002a2eb530_restart_zigbee2mqtt"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'homeassistant/select/1221051039810110150109113116116_0x00124b002a2eb530/log_level/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_template":"{\"options\": {\"advanced\": {\"log_level\": \"{{ value }}\" } } }","command_topic":"zigbee2mqtt/bridge/request/options","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"entity_category":"config","name":"Log level","object_id":"zigbee2mqtt_bridge_log_level","options":["info","warn","error","debug"],"origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_log_level_zigbee2mqtt","value_template":"{{ value_json.log_level | lower }}"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x00124b002a2eb530/version/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"entity_category":"diagnostic","icon":"mdi:zigbee","name":"Version","object_id":"zigbee2mqtt_bridge_version","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_version_zigbee2mqtt","value_template":"{{ value_json.version }}"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x00124b002a2eb530/coordinator_version/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:chip","name":"Coordinator version","object_id":"zigbee2mqtt_bridge_coordinator_version","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_coordinator_version_zigbee2mqtt","value_template":"{{ value_json.coordinator.meta.revision }}"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x00124b002a2eb530/network_map/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"enabled_by_default":false,"entity_category":"diagnostic","json_attributes_template":"{{ value_json.data.value | tojson }}","json_attributes_topic":"zigbee2mqtt/bridge/response/networkmap","name":"Network map","object_id":"zigbee2mqtt_bridge_network_map","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/response/networkmap","unique_id":"bridge_0x00124b002a2eb530_network_map_zigbee2mqtt","value_template":"{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x00124b002a2eb530/permit_join_timeout/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"device_class":"duration","entity_category":"diagnostic","name":"Permit join timeout","object_id":"zigbee2mqtt_bridge_permit_join_timeout","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_permit_join_timeout_zigbee2mqtt","unit_of_measurement":"s","value_template":"{{ iif(value_json.permit_join_timeout is defined, value_json.permit_join_timeout, None) }}"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'homeassistant/switch/1221051039810110150109113116116_0x00124b002a2eb530/permit_join/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/permit_join","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"icon":"mdi:human-greeting-proximity","name":"Permit join","object_id":"zigbee2mqtt_bridge_permit_join","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"payload_off":"false","payload_on":"true","state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_permit_join_zigbee2mqtt","value_template":"{{ value_json.permit_join | lower }}"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
Zigbee2MQTT:info  2024-04-28 16:39:16: Zigbee2MQTT started!

na końcu jest napisane, że wystartował co nie jest prawdą ;( nie wiem co dalej robić, próbuję wszystkiego co wyczytam (głównie na tym forum)

Dlaczego twierdzisz, że nie działa? To pokaż dalsze logi z Z2M.

ikonka w dodatkach jest na szaro, ma czerwoną a nie zieloną kropkę w prawym górnym rogu, nie uruchamia się z bocznego paska, cały czas w dodatku mam polecenie uruchom a w innych uruchomionych zatrzymaj, czyli nie działa.

image
a w logach:

[20:28:48] INFO: Preparing to start...
[20:28:48] INFO: Socat not enabled
[20:28:49] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-04-28 20:28:54: Logging to console and directory: '/config/zigbee2mqtt/log/2024-04-28.20-28-54' filename: log.txt
Zigbee2MQTT:info  2024-04-28 20:28:54: Starting Zigbee2MQTT version 1.36.1 (commit #unknown)
Zigbee2MQTT:info  2024-04-28 20:28:54: Starting zigbee-herdsman (0.40.3)
Zigbee2MQTT:info  2024-04-28 20:29:33: zigbee-herdsman started (restored)
Zigbee2MQTT:info  2024-04-28 20:29:33: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210708,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: Currently 0 devices are joined:
Zigbee2MQTT:info  2024-04-28 20:29:33: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2024-04-28 20:29:33: Connecting to MQTT server at mqtt://core-mosquitto:1883
Zigbee2MQTT:info  2024-04-28 20:29:33: Connected to MQTT server
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2024-04-28 20:29:33: Started frontend on port 8099
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"unknown","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210708,"transportrev":2},"type":"zStack3x0"},"log_level":"info","network":{"channel":11,"extendedPanID":"0x7560059adb8211de","panID":23818},"permit_join":false,"version":"1.36.1"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x00124b002a2eb530/connection_state/config', payload '{"device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"device_class":"connectivity","entity_category":"diagnostic","name":"Connection state","object_id":"zigbee2mqtt_bridge_connection_state","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"payload_off":"offline","payload_on":"online","state_topic":"zigbee2mqtt/bridge/state","unique_id":"bridge_0x00124b002a2eb530_connection_state_zigbee2mqtt","value_template":"{{ value }}"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x00124b002a2eb530/restart_required/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"device_class":"problem","enabled_by_default":false,"entity_category":"diagnostic","name":"Restart required","object_id":"zigbee2mqtt_bridge_restart_required","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_restart_required_zigbee2mqtt","value_template":"{{ value_json.restart_required }}"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'homeassistant/button/1221051039810110150109113116116_0x00124b002a2eb530/restart/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/restart","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"device_class":"restart","name":"Restart","object_id":"zigbee2mqtt_bridge_restart","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"payload_press":"","unique_id":"bridge_0x00124b002a2eb530_restart_zigbee2mqtt"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'homeassistant/select/1221051039810110150109113116116_0x00124b002a2eb530/log_level/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","command_template":"{\"options\": {\"advanced\": {\"log_level\": \"{{ value }}\" } } }","command_topic":"zigbee2mqtt/bridge/request/options","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"entity_category":"config","name":"Log level","object_id":"zigbee2mqtt_bridge_log_level","options":["info","warn","error","debug"],"origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_log_level_zigbee2mqtt","value_template":"{{ value_json.log_level | lower }}"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x00124b002a2eb530/version/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"entity_category":"diagnostic","icon":"mdi:zigbee","name":"Version","object_id":"zigbee2mqtt_bridge_version","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_version_zigbee2mqtt","value_template":"{{ value_json.version }}"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x00124b002a2eb530/coordinator_version/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:chip","name":"Coordinator version","object_id":"zigbee2mqtt_bridge_coordinator_version","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_coordinator_version_zigbee2mqtt","value_template":"{{ value_json.coordinator.meta.revision }}"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x00124b002a2eb530/network_map/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"enabled_by_default":false,"entity_category":"diagnostic","json_attributes_template":"{{ value_json.data.value | tojson }}","json_attributes_topic":"zigbee2mqtt/bridge/response/networkmap","name":"Network map","object_id":"zigbee2mqtt_bridge_network_map","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/response/networkmap","unique_id":"bridge_0x00124b002a2eb530_network_map_zigbee2mqtt","value_template":"{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x00124b002a2eb530/permit_join_timeout/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"device_class":"duration","entity_category":"diagnostic","name":"Permit join timeout","object_id":"zigbee2mqtt_bridge_permit_join_timeout","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_permit_join_timeout_zigbee2mqtt","unit_of_measurement":"s","value_template":"{{ iif(value_json.permit_join_timeout is defined, value_json.permit_join_timeout, None) }}"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'homeassistant/switch/1221051039810110150109113116116_0x00124b002a2eb530/permit_join/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/permit_join","device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002a2eb530"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.36.1"},"icon":"mdi:human-greeting-proximity","name":"Permit join","object_id":"zigbee2mqtt_bridge_permit_join","origin":{"name":"Zigbee2MQTT","sw":"1.36.1","url":"https://www.zigbee2mqtt.io"},"payload_off":"false","payload_on":"true","state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x00124b002a2eb530_permit_join_zigbee2mqtt","value_template":"{{ value_json.permit_join | lower }}"}'
Zigbee2MQTT:info  2024-04-28 20:29:33: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2024-04-28 20:29:33: Zigbee2MQTT started!

konfiguracja:

data_path: /config/zigbee2mqtt
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
mqtt: {}
serial:
  port: /dev/ttyUSB1
zigbee_herdsman_debug: true

nie wiem co dalej, wygląda jakby wystartował i przestał działać, dalsze logi się już nie pojawiają po odświerzeniu i restartach.

Otwórz MQTT wejdź w logi, przejdź do Z2M daj na start wróć do MQTT i sprawdź czy Z2M pojawia się w logach.

Więc na 100% to jest wersja P
więc nie podajesz ani sterownika ezsp ani tym bardziej conbee

gdybyś się uparł na ręczne wskazanie sterownika, to on pracuje na zstack (ale to jest generalnie domyślny sterownik w Z2M, więc trzeba go wyspecyfikować jedynie w ekstremalnie rzadkich przypadkach, a zbdongle P wpięty w USB nie jest takim przypadkiem)

chciałem się upewnić bo Sonoff/eWelink stosuje niejednoznaczne oznaczenia i wersja E się też nazywa Zigbee 3.0 Dongle Plus tylko ma jeszcze dopisek v2 (i ta wersja istotnie działa na sterowniku ezsp lub ember)


  1. z tego loga niestety nie wynika nic konkretnego

  1. liczę na to że skutecznie

to nie jest odpowiedź na moje pytanie, chcę znać konkrety, co mam po wersji zgadywać co masz? jaki to broker (jego nazwa choćby np. EMQX albo Mosquitto, bo brokery bywają różne!!!) i w jaki sposób zainstalowany


i ostatnie zrób ten raport o instalacji, o który prosiłem, to sobie z niego może wykopię jakieś informacje, to jest w ogóle podstawowa informacja, która powinna się znaleźć gdy prosisz o rozwiązanie jakiegokolwiek problemu bo to jest podsumowanie które zastępuje zadawanie kilkunastu pytań


w ostatnim logu widać, że jednak działa…
a nie jednak twierdzisz, że nie działa, więc daj więcej info

odświeżeniu czego i restarcie czego, bądź bardziej wylewny, mu nie widzimy w co klikasz…

Włączyłeś sobie GUI Z2M ? Jeśli dodatek wystartował to można korzystać z jego GUI.

tak poza konkurencją

to masz w nim dość zabytkowe firmware…

w końcu załapałem jak znaleźć informację o systemie:

System Information

version core-2024.4.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.25-haos
arch x86_64
timezone Europe/Warsaw
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1399
Downloaded Repositories 3
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.2
update_channel stable
supervisor_version supervisor-2024.04.0
agent_version 1.6.0
docker_version 25.0.5
disk_total 30.8 GB
disk_used 7.7 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Samba share (12.3.1), File editor (5.8.0), ESPHome (2024.4.1), Advanced SSH & Web Terminal (17.2.0), Node-RED (17.0.12), Mosquitto broker (6.4.0), Zigbee2MQTT (1.36.1-1)
Dashboards
dashboards 2
resources 0
views 2
mode storage
Recorder
oldest_recorder_run 25 kwietnia 2024 15:50
current_recorder_run 28 kwietnia 2024 20:47
estimated_db_size 47.29 MiB
database_engine sqlite
database_version 3.44.2

Nie wiem skąd wziąć info o Mosquito, może to:

You can use this add-on to install Eclipse Mosquitto, which is an open-source (EPL/EDL licensed) message broker that implements the MQTT protocol. Mosquitto is lightweight and is suitable for use on all devices from low power single board comp

logi z Mosquito Broker:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[13:30:04] INFO: SSL is not enabled
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[13:30:05] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[13:30:06] INFO: Starting mosquitto MQTT broker...
2024-04-29 13:30:06: Warning: Mosquitto should not be run as root/administrator.
2024-04-29 13:30:06: mosquitto version 2.0.18 starting
2024-04-29 13:30:06: Config loaded from /etc/mosquitto/mosquitto.conf.
2024-04-29 13:30:06: Loading plugin: /usr/share/mosquitto/go-auth.so
2024-04-29 13:30:06:  ├── Username/password checking enabled.
2024-04-29 13:30:06:  ├── TLS-PSK checking enabled.
2024-04-29 13:30:06:  └── Extended authentication not enabled.
2024-04-29 13:30:06: Opening ipv4 listen socket on port 1883.
2024-04-29 13:30:06: Opening ipv6 listen socket on port 1883.
2024-04-29 13:30:06: Opening websockets listen socket on port 1884.
2024-04-29 13:30:06: mosquitto version 2.0.18 running
2024-04-29 13:30:06: New connection from 127.0.0.1:50126 on port 1883.
2024-04-29 13:30:06: Client <unknown> disconnected due to protocol error.
[13:30:08] INFO: Successfully send discovery information to Home Assistant.
[13:30:08] INFO: Successfully send service information to the Supervisor.
2024-04-29 13:32:10: New connection from 172.30.32.1:33599 on port 1883.
2024-04-29 13:32:10: New client connected from 172.30.32.1:33599 as 2tTiWjhMcZdd4jd80FmbYS (p2, c1, k60, u'homeassistant').
2024-04-29 13:33:59: New connection from 172.30.32.2:51134 on port 1883.
2024-04-29 13:33:59: Client <unknown> closed its connection.

Wcześniej w ogóle nie pisałeś, że twój broker to Mosquitto tylko podałeś wersję nieokreślonego brokera MQTT, ale tą informację już uskładaliśmy z kawałków
(a to co jest istotne jest w informacjach o systemie - jest to Mosquitto w postaci Dodatku, czyli jest opcja automatycznej konfiguracji wszystkiego byleby nie grzebać zanadto podczas konfiguracji…, na systemie HAOS-ova, czyli w wirtualizacji, więc tu pojawia się tylko kwestia tego byś prawidłowo udostępnił sprzęt z hypervisora do VM, ale skoro wcześniej działało ZHA to jest udostępniony OK).

Wygląda na to, że wszystko działa.

Pozostaje więc uruchomić interfejs Z2M

  1. prawidłowo działający Dodatek - jest zielone kółko, i używa jakieś zasoby, mogą być zerowe jeśli nie ma co robić
  2. można uruchamiać GUI (to jest osobny serwer od HA! i ma własne GUI) z menu Dodatku “kółko 3”, ale to jest niepraktyczne
  3. więc lepiej dorobić sobie pozycję w sidebarze “kółko 2”
  4. powyższe opcje dotyczą wyświetlania GUI Z2M w sesji ingress w GUI HA, ale generalnie w opcjach Z2M umożliwia włączenie własnego interfejsu niezależnego od HA standardowo na porcie 8099 (to jest ostatnia opcja konfiguracji tego dodatku, może być ukryta)