-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
Stateless Programmable Switch no longer works on node v8.x #464
Comments
Might be related to this?
homebridge/homebridge#1353 (comment)
…Sent from my iPhone
On Jun 30, 2017, at 9:40 AM, Erik Baauw ***@***.***> wrote:
I looks like the triggering of the Stateful Programmable Switch through it's Input Event is broken under node v8.x, see ebaauw/homebridge-hue#125. One of my users experienced this on his Raspberry. Reinstalling node v7.x solved it.
I reproduced the issue under macOS 10.12.5, using node v8.1.2 and v8.1.3. Installing node v8 over a working installation/configuration and re-installing home bridge (to force the compilation of dsn-sd agains the new node version) breaks the programmable switch. After re-installing node v6.11.0 (and npm and homebridge to re-compile the dns-sd stuff), the switch works again.
I have no idea what could be causing this, or even where to start looking. Any help is greatly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks, Tian. It might be, I'll try the HomeKit debug profile this weekend. |
I got the debug profile working, but homed is generating dozens of messages per second. I think I better setup a test Home with just one or two accessories. |
You can filter those messages to only leave what you care. Normally I
filter those by category, choose "doesn't contain"
…On Sat, Jul 1, 2017, 4:49 AM Erik Baauw ***@***.***> wrote:
I got the debug profile working, but homed is generating dozens of
messages per second. I think I better setup a test Home with just one or
two accessories.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/KhaosT/HAP-NodeJS/issues/464#issuecomment-312425132>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABpU4Bqi0VudHF3J3sWS_R-sE15i6TNBks5sJiRTgaJpZM4OKvkT>
.
|
Yes, it's the same issue, not limited to the
When I refresh the screen in Eve, the connection is re-estabished, and a press on the Hue dimmer switch is actually registered by HomeKit, but after a few seconds, the same messages appear and the connection is lost again. I'll close this issue in favour of homebridge/homebridge#1353. |
This should be addressed with 0.4.27 I don't know why but Node.js introduced a different property that will close inactive connections. See here |
Thanks once again, Tian! Guess I will need to use keepAliveTimeout in my homebridge-zp plugin as well. It uses |
I looks like the triggering of the
Stateful Programmable Switch
through it'sInput Event
is broken under node v8.x, see ebaauw/homebridge-hue#125. One of my users experienced this on his Raspberry. Reinstalling node v7.x solved it.I reproduced the issue under macOS 10.12.5, using node v8.1.2 and v8.1.3. Installing node v8 over a working installation/configuration and re-installing home bridge (to force the compilation of dsn-sd agains the new node version) breaks the programmable switch. After re-installing node v6.11.0 (and npm and homebridge to re-compile the dns-sd stuff), the switch works again.
I have no idea what could be causing this, or even where to start looking. Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: