Closed WesNz closed 3 years ago
same issue here! I'm new to this - but if you need any information - i'd like to help
I've tried a whole lot more, a couple of times.
Set up: RaspberryPi 4 B, Conbee 2 ; Hass.io, Mosquitto, Zigbee2mqtt (individual add-on by danielwelch) Problem: After setup and configuration the frontend shows: 502 Bad Gateway / Problem to connect to USB-Serial Port?!
Zigbee2mqtt keeps on telling me (LOG):
Zigbee2MQTT:info 2021-01-09 00:53:52: Starting zigbee-herdsman (0.13.46)
Zigbee2MQTT:error 2021-01-09 00:54:12: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-01-09 00:54:12: Failed to start zigbee
Zigbee2MQTT:error 2021-01-09 00:54:12: Exiting...
Zigbee2MQTT:error 2021-01-09 00:54:12: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.
@&#&#%@&@. figured out i needed adapter: deconz
in the config file @benwedel-snabble
@&#&#%@&@. figured out i needed
adapter: deconz
is the config file @benwedel-snabble
Sorry, what do you mean?
See https://www.zigbee2mqtt.io/information/supported_adapters.html and scroll down to Conbee II for more information regarding this issue and how to solve it.
Wow!!!! Thanks a lot - it‘s actually working with that! ✌🏽🙌🏽
Can this issue be closed?
I have the right serial: port & adapter, but still getting these errors... very annoying...
I have the same isssue :(
@JaCoLJcL @kvmgz can you post logs for your errors? You might have different problems than the missing settings for adapter as the poster above.
Same issue here too unfortunately. Posted my logs here @ciotlosm: https://github.com/danielwelch/hassio-zigbee2mqtt/issues/494#issuecomment-791962197
Same issue here too unfortunately. Posted my logs here @ciotlosm: #494 (comment)
Your error is different : Error: Error while opening serialport 'Error: Error: Resource busy, cannot open /dev/ttyACM1
Paste your config file for the addon
I have the same problem, I found out that I have to turn off DeConz and then run zigbee2mqtt.
@WesNz Here's my config file:
data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://core-mosquitto'
user: [REDACTED]
password: [REDACTED]
serial:
port: /dev/ttyACM1
adapter: deconz
advanced:
log_level: warn
pan_id: 6754
channel: 11
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: {}
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
@kraton77 That's interesting—I have ZHA running on a completely different stick entirely (that's incompatible with Z2MQTT). Still, I've never configured ZHA with the Conbee I'm trying to run z2m on.
@mg0716
here's my config file below ...i see your Port: is different? the main thing that strikes me with your error message is its saying that your device is busy...which means a) some app or something is using the device.. or b) you are pointing to the wrong device?
maybe easiest to test without the usb first and see if u getting the same error?
data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://192.168.178.17:1883'
user: meh
password: meh
serial:
adapter: deconz
port: >-
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2253437-if00
advanced:
log_level: info
pan_id: 6754
channel: 11
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:
new_api: true
socat:
enabled: false
master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
restartdelay: 1
initialdelay: 1
options: '-d -d'
log: false
Thanks @WesNz. Now I feel like an absolute idiot. It turns out that I never turned off Deconz 😑🙄🤦🏼♂️. Safe to say, it's running now lol.
@ciotlosm @WesNz @mg0716 how does one turn off deconz? I removed all the devices from there but it still autodiscovers stuff.
I have a feeling this is why I am getting the same error in zigbee2mqtt.
I have the exact same issue and error message, I used to run my Conbee through Deconz but I don't know how to turn it off
I had to add serial: deconz to my zigbeemqtt yank configuration file. It’s sort of hidden away in the docs, but it’s on the zigbeemqtt website.
Already have that, here is my config :
data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
serial:
port: >-
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2467521-if00
adapter: deconz
advanced:
log_level: warn
pan_id: 6754
channel: 11
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
I use this: serial: port: /dev/ttyACM0 adapter: deconz
Maybe try that. You can try resetting the usb by doing a reboot but really what did it for me was that serial statement.
Zigbee2mqtt refuses to recognize the the Conbee II usb
Deconz can see and connect to the conbee II no issues. Zigbeemqtt wont see /connect to the conbee II But....if i have deconz running....and then start zigbeemqtt....zigbeemqttt reports "device busy"
Operating environment : HassOS vm on qnap.
Description of problem: I can see the conbee II in /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE*****-if00 and /devttyACM0
I have tried both paths above for the configuration, no luck
Your logs from Home Assistant
** Config