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 regularly “dies” silently #312

Open
mtjoernelund opened this issue Dec 27, 2019 · 3 comments
Open

Connection regularly “dies” silently #312

mtjoernelund opened this issue Dec 27, 2019 · 3 comments
Labels
needs info Needs more information to decide or work on this

Comments

@mtjoernelund
Copy link

I am using Node-red-contrib-ikea-home-smart node which is based off node-tradfri-client. When I set it up it works as it is supposed to, but after it have been running for a period of time (hours), the tradfri gateway stops accepting commands. As far as I can see the gateway does receive the commands, but it just seems that it does not honor the commands. I’ve set logging to trace, but still does not get any useful errors to go by. All I get is feedback on commands being send where result is false rather than true as expected.

Sorry I know this is not much to go by, but was curious if there was anybody who could propose where I could start looking for errors? If I need to post additional information let me know.

@AlCalzone
Copy link
Owner

If this is somewhat reproducible, maybe you could capture the traffic on port 5684 using Wireshark or something similar and send me the dump file and the key that is on the bottom of your gateway.

@AlCalzone AlCalzone added the needs info Needs more information to decide or work on this label Dec 27, 2019
@AlCalzone
Copy link
Owner

@AlCalzone
Copy link
Owner

Please test with v2.1.4. Apparently the gateway has started expiring the identities after a while, so the library needs to re-authenticate when it detects that. For this to work, you need to always authenticate, then connect with the new identity and PSK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Needs more information to decide or work on this
Projects
None yet
Development

No branches or pull requests

2 participants