-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RESOLVED: adapter discovery OK but Error ‘cannot open /dev/ttyUSB1’, test -w = success #706
Comments
Same here with a Sonoff Stick 😔 |
Finally I managed to fixed this problem by re-flashing the Slaesh coordinator stick. Before that I checked carefully the yaml files including indents. |
Please don't share your network key with the public! Did you read this part of the Z2M 2.0 announcement when it came out on USB adapters? Koenkk/zigbee2mqtt#24364 Breaking changes: Koenkk/zigbee2mqtt#24198 |
Description of the issue
see title
Addon version
v.2.0.0
Platform
hass.core; io.hass.version: 2025.1.1; docker.compose.version 2.32.1; io.hass.base.version (python): 2024.12.1.
Docker containter on rp 4b 2g
docker-compose.yaml:
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
volumes:
- /opt/zigbee2mqtt/data:/app/data
- /run/udev:/run/udev:ro
ports:
# Frontend port
- 8080:8080
environment:
- TZ=Europe/Amsterdam
devices:
# Make sure this matched your adapter location
- /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_25_9B_CC_9F-if00-port0:/dev/ttyACM0
Configuration zigbee2mqtt:
version: 4
homeassistant:
enabled: true
frontend:
enabled: true
port: 8099
mqtt:
base_topic: zigbee2mqtt
server: mqtt://192.168.#.#
advanced:
homeassistant_legacy_entity_attributes: false
homeassistant_legacy_triggers: false
legacy_api: false
legacy_availability_payload: false
device_options:
network_key:
- 111
- 160
- 41
- 218
- 86
- 13
- 120
- 0
- 208
- 119
- 32
- 148
- 35
- 237
- 133
- 182
pan_id: 8806
ext_pan_id:
- 44
- 235
- 138
- 11
- 41
- 202
- 74
- 120
Logs of the issue (if applicable)
Starting Zigbee2MQTT without watchdog.
[2025-01-10 13:53:18] info: z2m: Logging to console, file (filename: log.log)
[2025-01-10 13:53:18] info: z2m: Starting Zigbee2MQTT version 2.0.0 (commit #060ae99cff715cc9ef6a0cfa7cae0cdcb17f0c8a)
[2025-01-10 13:53:18] info: z2m: Starting zigbee-herdsman (3.2.1)
[2025-01-10 13:53:18] info: zh:adapter:discovery: Matched adapter: {"path":"/dev/ttyUSB1","manufacturer":"Silicon Labs","serialNumber":"00_12_4B_00_25_9B_CC_9F","pnpId":"usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_25_9B_CC_9F-if00-port0","vendorId":"10c4","productId":"ea60"} => zstack: path=/dev/ttyUSB1, score=4
[2025-01-10 13:53:18] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB1","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-01-10 13:53:18] error: z2m: Error while starting zigbee-herdsman
[2025-01-10 13:53:18] error: z2m: Failed to start zigbee-herdsman
[2025-01-10 13:53:18] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-01-10 13:53:18] error: z2m: Exiting...
[2025-01-10 13:53:18] error: z2m: Error: Error: No such file or directory, cannot open /dev/ttyUSB1
Using '/app/data' as data directory
The text was updated successfully, but these errors were encountered: