Giter VIP home page Giter VIP logo

Comments (8)

thenewwazoo avatar thenewwazoo commented on August 19, 2024

I think is happening because SmartBridge.setBlindsTilt doesn't await the call to this.client.request.

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

Added the tag to timeout err output in lutron-leap 1.1.0 and bumped ver to try and track. I've got it running at home w/ debug logging enabled.

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

This hasn't popped up in a while since I fixed the stale connection bug, so I'm going to close it up and reopen if it recurs.

from homebridge-lutron-caseta-leap.

JonDror avatar JonDror commented on August 19, 2024

@thenewwazoo
Happening again with v2.1.0-beta.6 while working with Pico remotes. After a few days, the remotes are unresponsive.

Last few DEBUG lines before socket is closed (some data redacted)

2022-01-11T19:38:04.078Z leap:responseparser parsing line {"CommuniqueType":"ReadResponse","Header":{"MessageBodyType":"OnePingResponse","StatusCode":"200 OK","Url":"/server/1/status/ping","ClientTag":"xxxxxx-xxxxxx-xxxxxx"},"Body":{"PingResponse":{"LEAPVersion":1.114}}}
2022-01-11T19:38:04.078Z leap:message:bodytype parsing body type OnePingResponse with data: { PingResponse: { LEAPVersion: 1.114 } }
2022-01-11T19:38:04.078Z leap:protocol got response to tag xxxxxx-xxxxxx-xxxxxx
2022-01-11T19:38:04.078Z leap:protocol tag xxxxxx-xxxxxx-xxxxxx  recognized as in-flight
2022-01-11T19:39:04.076Z leap:protocol added promise to inFlightRequests with tag key xxxxxx-xxxxxx-xxxxxx
2022-01-11T19:39:04.076Z leap:protocol request handler about to write: {"CommuniqueType":"ReadRequest","Header":{"ClientTag":"xxxxxx-xxxxxx-xxxxxx","Url":"/server/1/status/ping"}}
2022-01-11T19:39:04.076Z leap:protocol sent request tag xxxxxx-xxxxxx-xxxxxx  successfully
2022-01-11T19:39:05.076Z leap:bridge Ping timeout
2022-01-11T19:39:05.080Z leap:protocol client socket has closed.

Last Plug-ing logs:

[1/11/2022, 1:32:38 PM] [LutronCasetaLeap] button  /button/111  was released
[1/11/2022, 1:32:52 PM] [LutronCasetaLeap] handling event from button  /button/113
[1/11/2022, 1:32:52 PM] [LutronCasetaLeap] button  /button/113  was  Press
[1/11/2022, 1:32:52 PM] [LutronCasetaLeap] handling event from button  /button/113
[1/11/2022, 1:32:52 PM] [LutronCasetaLeap] button  /button/113  was released

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

Hm, I think you've found a separate issue. It looks like it got a ping response at 19:38:04 but the ping timeout expired at 19:39:05, one minute later. I'm not quite sure why that would happen. If you still have more logs, I wouldn't mind seeing the prior few minutes to include another ping. Would you mind opening another issue to track it?

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

Hey @JonDror, has this recurred? I haven't been able to reproduce (or, rather, it hasn't happened to me). I'd like to get some logs that include everything between 3 or so ping cycles.

from homebridge-lutron-caseta-leap.

JonDror avatar JonDror commented on August 19, 2024

@thenewwazoo Yes! But the debug was off 🤦‍♂️
I should have more logs from the first occurrence.. just haven’t had the time to gather them for the new issue I want to open. Hoping to get to it this weekend

from homebridge-lutron-caseta-leap.

JonDror avatar JonDror commented on August 19, 2024

Just saw the new release! I’ll open a new issue if this happens again. Thank you so much this is amazing!

from homebridge-lutron-caseta-leap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.