deconz-community / zshark-docker

The zshark docker repository.
2 stars 2 forks source link

Default option --auto-connect=1 causes QIODevice::write (QSerialPort): device not open errors on start #1

Open deviantintegral opened 1 year ago

deviantintegral commented 1 year ago

I switched over from my hand-built image to this one. I noticed that when starting, zshark doesn't show and the logs are spammed with QIODevice::write (QSerialPort): device not open.

At first, I thought my ConBee II wasn't being exposed to the container. However, I tracked this down to the --auto-connect=1 option. If I turn that off, and manually connect with the UI, it works fine.

I thought perhaps it was because we also needed to add --com-port=X to the startup options, but its the same error.

I'd like to make it so ZSHARK_OPTS is an environment variable (I have this locally), but before filing a PR it'd be good to know how to fix this issue with autoconnect.

phdelodder commented 1 year ago

You can do a PR no issues, also for the autoconnect you can do a PR. Help is appreciated.