Comments (8)
I think is happening because SmartBridge.setBlindsTilt
doesn't await the call to this.client.request
.
from homebridge-lutron-caseta-leap.
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.
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.
@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.
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.
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.
@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.
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)
- Connects to RadioRA3 but fails to run HOT 1
- Question: Support for 4 button -P01 Pico? HOT 6
- Homebridge stops working when LEAP plugin enabled HOT 5
- Devices not showing up in HomeKit HOT 4
- Just a question before a purchase... or maybe more. HOT 4
- Accessories not appearing in Homekit HOT 1
- Pico Paddle PJ2-P2B incorrectly appears as PJ2-1P-GXX HOT 1
- Pico not adding to home app HOT 2
- Lutron 4 Button LS21 HOT 3
- Hide long/double press action in Home app when disabled in this plugin
- Infinite spinning gear HOT 5
- Pico Remotes not showing in homekit HOT 2
- support for aquaria shade driver e1
- Can't control picos from Homebridge
- Cannot discover Smart Hub 2 HOT 1
- infinite Spinning in Config! HOT 2
- Pico to trigger brightness? HOT 1
- UI NOT WORKING HOT 1
- Leap has been broke. For me for weeks now since Homebridge update
- Can't seem to get the plugin to detect my lutron hub
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-lutron-caseta-leap.