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

Connection closed. Please open Connection first #21

Open
MarkResting opened this issue Jun 13, 2023 · 2 comments
Open

Connection closed. Please open Connection first #21

MarkResting opened this issue Jun 13, 2023 · 2 comments

Comments

@MarkResting
Copy link

Hi all and thanks a lot for this nice node to connect the comfoair system!!

Since a while i'm getting this error while usinge it in Node Red:

"comfoair [/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_D-if00-port0] runCommand(getTemperatures): Connection closed. Please open Connection first."

I have no idea why this happen and how i can fix it.
Hope someone can help me on this.

If you need something else, please let me know!

@VincentSC
Copy link
Contributor

This sounds like a Linux or hardware problem, not related to this library. Check dmesg after you plugged in the USB-device

@coolchip
Copy link
Owner

coolchip commented Nov 4, 2023

I've had a similar problem. Linux sets the USB-Serial Converter to standby.
https://unix.stackexchange.com/questions/91027/how-to-disable-usb-autosuspend-on-kernel-3-7-10-or-above

adding "usbcore.autosuspend=-1" to grub cmdline solves this for me.

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

3 participants