Skip to content
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

Open
Ren656 opened this issue Jan 10, 2025 · 2 comments

Comments

@Ren656
Copy link

Ren656 commented Jan 10, 2025

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

@PlayerSite3
Copy link

Same here with a Sonoff Stick 😔

@Ren656
Copy link
Author

Ren656 commented Jan 15, 2025

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.

@Ren656 Ren656 changed the title adapter discovery OK but Error ‘cannot open /dev/ttyUSB1’, test -w = success RESOLVED: adapter discovery OK but Error ‘cannot open /dev/ttyUSB1’, test -w = success Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants