Closed chris-aslett closed 1 year ago
That's a strange one, somewhat similar to: https://github.com/potmat/homebridge-google-nest-sdm/issues/68
Maybe try what he did...
Thanks for the quick reply! I created a child bridge and added the new bridge to the Home app but the result is the same. Gen 2 cameras throw the RangeError and Gen 1 cameras stream fine.
I'm running:
What happens if you try Node 16?
@potmat a very similar error popped up on the homebridge-ring
plugin in the last week or so, we haven't found a solution yet, but I'm guessing we're both facing the same bug, whatever it may be 😄.
@dgreif: That's very helpful, thanks for sharing! Definitely a transitive dependency that is not version locked, looks like related to certificate parsing.
Yep. One idea on the Ring side is that it could be related to iOS 17 beta. @chris-aslett which version of iOS are you currently using?
@dgreif: I don't think that's the case. The error is happening when Homebridge is trying to connect to the WebRTC stream provided by Google. iOS is not even involved at that stage.
Yep. One idea on the Ring side is that it could be related to iOS 17 beta. @chris-aslett which version of iOS are you currently using?
@dgreif: I’m accessing from iPhone running 16.6, an iPad running 16.6, and a ATV running 17 beta.
What happens if you try Node 16?
@potmat, same error with 16.20.2!
Looks like this is likely caused by pvtsutils v1.3.3, which was pushed 8 days ago. There is already a similar issue reported at https://github.com/PeculiarVentures/pvtsutils/issues/12.
We see the same issue in homebridge-ring/ring-client-api, which uses werift 0.18.5, and thus has the same dependency. I have verified that updating my pvtsutils to 1.3.3 breaks with the same error and reverting to 1.3.2 fixes is.
Thank you @tsightler!
@chris-aslett, try version 1.1.15, you may need to uninstall and reinstall the plugin
Sorry - just clarifying here - does this plugin work with Nest app only supported doorbells or also the new Gen2 Battery?
@adamneveu: It should work with the Gen2 battery just fine.
@chris-aslett, try version 1.1.15, you may need to uninstall and reinstall the plugin
@potmat: v1.1.15 worked great, thank you!
When I try to view the video stream of a second gen camera in the Home app I get a "No Response" error and the Homebridge console displays
RangeError: offset is out of bounds
(first gen cameras are able to stream just fine):