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
140 stars 17 forks source link

Google Nest Doorbell (Battery) #43

Closed mlavio829 closed 1 year ago

mlavio829 commented 1 year ago

Hi, I'm still experiencing trouble with my Google Nest Doorbell (Battery) seeing video. I get the following error:

[11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [verbose] 1 dup! Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [info] frame= 153 fps= 37 q=12.0 size= 695kB time=00:00:10.31 bitrate= 552.1kbits/s dup=77 drop=0 speed=2.51x
Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [sdp @ 0x55ba61ef5400] [error] Empty H.264 RTP packet Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] Outdoor Porch Doorbell [11/22/2022, 10:55:00 PM] [homebridge-google-nest-sdm] [verbose]
1 dup! Outdoor Porch Doorbell

Any ideas?

I'm running this on Unraid Docker. Thanks

potmat commented 1 year ago

Hi @mlavio829, I know these look like errors but they're actually fine, just verbose information from ffmpeg. I'm afraid I cannot tell what the problem is from here.

Try running homebridge on a computer connected directly to your network rather than unraid docker and see if that makes any difference, it's the only thing I can think of at this time.

mlavio829 commented 1 year ago

Hi @potmat, I will give that a try. For what it’s worth I do get the notification of someone pressing the doorbell, just no video at all.

mlavio829 commented 1 year ago

I got a different error today when someone pressed the doorbell.

[homebridge-google-nest-sdm] Failed to start stream: input to ffmpeg was provides as stdin, but the process does not support stdin.

mlavio829 commented 1 year ago

I can confirm that installing homebridge on a Ubuntu Server VM on Unraid solved this issue. Not sure why it doesn't work using the Docker on Unraid.

potmat commented 1 year ago

@mlavio829 : Glad to hear this got it working. The second generation cameras use WebRTC for video data, the Javascript implementation available at this time is still not mature. Likely there was some issue with packet routing... but that's just a guess.