Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.79k stars 1.64k forks source link

Unable to start Sonoff Dongle . #21765

Open mikey6283 opened 6 months ago

mikey6283 commented 6 months ago

Is your feature request related to a problem? Please describe

Install new Zigbee 3.0 Dongle plus to replace Conbee due to issue . Install as a new install created new config new pan id and nework_key. Loads ok but have error Error while starting zigbee-herdsman

Describe the solution you'd like

To use the Sonoff usb Zigbee Dongle Plus instead of the Conbee11 please see the log error message.

Zigbee2MQTT:info 2024-03-11 17:21:41: Starting Zigbee2MQTT version 1.36.0 (commit #86ed71c) Zigbee2MQTT:info 2024-03-11 17:21:41: Starting zigbee-herdsman (0.35.1) Zigbee2MQTT:error 2024-03-11 17:21:51: Error while starting zigbee-herdsman Zigbee2MQTT:error 2024-03-11 17:21:51: Failed to start zigbee Zigbee2MQTT:error 2024-03-11 17:21:51: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2024-03-11 17:21:51: Exiting... Zigbee2MQTT:error 2024-03-11 17:21:51: undefined

Describe alternatives you've considered

I followed the Didblur video and the fault finding section

Additional context

Here is a copy of my config: homeassistant: true frontend: port: 9442 permit_join: false mqtt: base_topic: zigbee2mqtt server: mqtt://192.168.xx.xx:1883 user: mqtt6283 password: mikey version: 4 keepalive: 60 reject_unauthorized: true serial: port: >- /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_7098e1ad86d8ed11bad86b> adapter: advanced: log_level: info pan_id: 15439 network_key:

The config loads docker in Unraid``

chris-1243 commented 6 months ago

Could you sent a full debug log ? Just change log_level: info by log_level: debug in your configuration.yaml.

mikey6283 commented 6 months ago

H

Could you sent a full debug log ? Just change log_level: info by log_level: debug in your configuration.yaml.

Hi Thanks for reply,

I changed the log level to debug i have attached my basic Config. & error message.

What i cannot understand is why the errors for the adapter as i i don't have a problem installing the Conbee!! but this adapter is causing be numerous command issues hence i am trying this Sonoff.

Any advice would be grateful.

""""""""""""" root@Pine:~# ls -1 /dev/serial/by-id usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_7098e1ad86d8ed11bad86b6162c613ac-if00-port0@

Note that the serial id showa @ signe at the end should this be include or not? "" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! READ THIS CAREFULLY

Refusing to start because configuration is not valid, found the following errors:

If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration """"""""" homeassistant: true fontend: port: 9442 permit_join: false mqtt: base_topic: zigbee2mqtt server: mqtt://192.168.55.51:1883 user: mqtt6283 password: mikey version: 4 keepalive: 60 reject_unauthorized: true serial: port: >- /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_7098e1ad86d8ed11bad86b6162c613ac-if00-port0 adapter: null advanced: log_level: debug pan_id: GENERATE network_key: GENERATE CHANNEL: 25

chris-1243 commented 6 months ago

If I understand correctly, you are trying to connect the Dongle-P based on TI CC2652P.

In configuration.yaml

serial:
  port: path of your adapter without special character @
  adapter: zstack # or you may completely remove this line without issue as on `zstack`

or

  adapter: null

https://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html#configuration-of-the-zigbee-adapter

If Dongle-E:

serial:
  adapter: ezsp
mikey6283 commented 6 months ago

If I understand correctly, you are trying to connect the Dongle-P based on TI CC2652P.

In configuration.yaml

serial:
  port: path of your adapter without special character @
  adapter: zstack # or you may completely remove this line without issue as on `zstack`

or

  adapter: null

https://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html#configuration-of-the-zigbee-adapter

If Dongle-E:

serial:
  adapter: ezsp

I finally installed the Sonoff Dongle by deleting my Z2M database and creating a new config and devices . Seems to be working fine e only a few aall sonoff switch which are not connecting, however i cn live without these for the moment.

Thanks again for point in the right direction.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days