potmat / homebridge-google-nest-sdm

A Homebridge plugin for Google Nest devices that uses the Google Smart Device Management API. Supports Cameras, Doorbells, Displays, and Thermostats. Includes support for HomeKit Secure Video.
ISC License
148 stars 17 forks source link

Weird errors happening #134

Closed remirr closed 7 months ago

remirr commented 9 months ago

I have installed the plugin and got as fast as getting the video stream to show up in HomeKit from my Nest Gen 1 Doorbell which could still be used with a Nest account but I migrated to Google.

The stream works but then after about 10 minutes it stops and never comes back. All I see is the nest logo and then in the plugin I get a huge string of errors. Anyone got any ideas?

IMG_0158

potmat commented 9 months ago

As noted in the FAQ the camera streams only last for a few minutes. It's supposed to be possible to "extend" them but I haven't figured out how to make that work.

remirr commented 9 months ago

So what is the error above related to?

So when I added the doorbell to HomeAssistant I was getting live streams all day long from the dashboard. I changed to Homebridge because my parents found HA to hard to use. So there must be a way to snapshot and stream as it works in Home Assistant

tunju commented 9 months ago

I'm getting the same error constantly as well as this one:

TypeError: Cannot read properties of undefined (reading 'mediaSessionId')
    at WebRtcNestStreamer.initialize (/var/lib/homebridge/node_modules/homebridge-google-nest-sdm/src/NestStreamer.ts:109:33)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at CameraStreamingDelegate.startStream (/var/lib/homebridge/node_modules/homebridge-google-nest-sdm/src/StreamingDelegate.ts:300:20)
potmat commented 7 months ago

Duplicate of https://github.com/potmat/homebridge-google-nest-sdm/issues/136