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

Error: Connection closed. Comelit client disconnected #32

Open
optiluca opened this issue May 7, 2022 · 1 comment
Open

Error: Connection closed. Comelit client disconnected #32

optiluca opened this issue May 7, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@optiluca
Copy link

optiluca commented May 7, 2022

Hi. I've installed version 2.4.2 on node.js 16.15.0 LTS, but:

[luca@archlinux ~]$ npx comelit lights --list

Executing command lights
Searching for Comelit HUB on LAN...
Server listening 0.0.0.0:35254
Found Comelit HUB at 192.168.1.231 (..)
Connecting to Comelit HUB at (..)
Error: Connection closed
    at /home/luca/node_modules/mqtt/lib/client.js:124:29
    at Array.forEach (<anonymous>)
    at flushVolatile (/home/luca/node_modules/mqtt/lib/client.js:122:24)
    at Socket.<anonymous> (/home/luca/node_modules/mqtt/lib/client.js:358:5)
    at Socket.emit (node:events:527:28)
    at TCP.<anonymous> (node:net:709:12)
Comelit client disconnected
Exiting

EDIT: [2.3.5] works, anything newer throws the aforementioned error.

Any ideas?

Thanks!

@madchicken madchicken added the bug Something isn't working label Oct 21, 2022
@madchicken madchicken self-assigned this Oct 21, 2022
@madchicken
Copy link
Owner

I need to check what could cause the problem between the two versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants