-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Error while starting zigbee-herdsman: Not a tty, cannot set #24782
Comments
You need to connect to a real serial port like /dev/ttyUSB1, you should import as-is into your docker. |
Thank you for your quick response. Names shouldn't matter in docker compose. devices:
- - /dev/ttyUSB1:/dev/zigbee
+ - /dev/ttyUSB1:/dev/ttyUSB1 Same result. Sadly I couldn't find a way to determine whether a device is a real serial port. But |
When we see an error like "Not a tty" means there is something that is opening a device expecting a tty device and finding something not a tty. |
Setting the adapter to The new configuration.yml looks like this: homeassistant: false
frontend: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://mosquitto
serial:
port: /dev/zigbee
disable_led: false
adapter: ember
baudrate: 115200
rtscts: false
advanced:
log_level: info I created a PR #3226 which would resolve the issue for me. |
What happened?
Zigbee2MQTT fails to start due to an error "Not a tty, cannot set".
How to reproduce it (minimal and precise)
docker-compose.yml
The serial device is available and writable
Z-Station firmware is up-to-date afaik
configuration.yaml
Zigbee2MQTT version
1.41.0
Adapter firmware version
2024-04-15T19:28:38
Adapter
Z-Station
Setup
docker compose on a Lenovo ThinkCentre
Debug log
The text was updated successfully, but these errors were encountered: