Closed wickedshrapnel closed 1 year ago
Using Nest Doorbell. Can only get the video stream to work if I use "ffmpegCodec": "libx264rgb", and it looks like crap.
Here is the log when I use libx264. I just get the spinning wheel until it says No Response.
[11/4/2022, 12:54:38 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 12:54:38 AM] [homebridge-nest-cam] [NexusStreamer] Redirecting... [11/4/2022, 12:54:38 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected [11/4/2022, 12:54:38 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 12:55:01 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected [11/4/2022, 12:55:04 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 12:55:05 AM] [homebridge-nest-cam] [NexusStreamer] Redirecting... [11/4/2022, 12:55:05 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected [11/4/2022, 12:55:05 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 12:55:26 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected
Here is my config file with some random characters thrown in there to make the token and cookies invalid. This is the one that works with rgb the only thing I change is the codec from libx264 to libx264rgb
{ "platform": "Nest-cam", "googleAuth": { "issueToken": "https://accounts.google.com/o/oauth2/iframerpc?action=issueToken&response_type=token%20id_token&login_hint=AJDLj6LQu-SMCQLMJfOUepUqAx31lV8Jvnu-yrtxGlUj0fbVYl-msYSOHogmg71ROJka5zo_IwvMc9RM5jz7Eg&client_id=733249279899-44tv9ov7jbuojfr9lrq.apps.googleusercontent.com&origin=https%3A%2F%2Fhome.nest.com&scope=openid%20profile%20email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fnest-account&ss_domain=https%3A%2F%2Fhome.nest.com&include_granted_scopes=true", "cookies": "Secure-3PSID=QQiX6Dq7MDOEPeFT0uxhd24xgdK7E0AzfZzJ7KSWzaSrL1sJftlxTnSNlVA.; Secure-3PAPISID=WiRPKsU_frEagzga/AGaC12OIPgnkK7jmg1; NID=511=ZmlNSQi5sDBLFkvzIePN4L6rnb5ArvFklQzBgPbOUWCccojNHK2GyDu9ZkaKANhgRXr4GVywWAogJuL6ET-mA5-iUwm_e3xbsGzXLImq4kc0s87fsqGWGRm60R_9c5BOhWorkxenBc9I3ArINmwpqHbbawui-5r9HpY7d7_k_Z6iethPzstLLzbR4wxBcpCgcMLzgESjoMry6jNUI4X4BP; Host-3PLSID=s.youtube:QQiX6DtfHIO4oi27lsmlF--ZQfx4JXma3_uRdqNH9CPQ.; Secure-3PSIDCC=AIKkIs3KY75xU7QOj1wJlAAzt_JhQ5A3Kv1_BLaTi0DlJHw" }, "_bridge": { "username": "0A:3C", "port": 55341 }, "options": { "ffmpegCodec": "libx264rgb", "streamQuality": 3, "alertCheckRate": 10, "alertCooldownRate": 180, "alertTypes": [ "Motion", "Sound", "Person", "Package Delivered", "Package Retrieved", "Face", "Zone" ], "importantOnly": true, "motionDetection": false, "streamingSwitch": true, "chimeSwitch": false, "announcementsSwitch": false, "doorbellAlerts": false, "doorbellSwitch": false, "audioSwitch": true, "platform": "Nest-cam" } } Expected behavior
Up To Date [v1.5.1] homebridge-nest-cam v7.5.3
Here is the log in rgb when it works. [11/4/2022, 1:07:07 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 1:07:08 AM] [homebridge-nest-cam] [NexusStreamer] Redirecting... [11/4/2022, 1:07:08 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected [11/4/2022, 1:07:08 AM] [homebridge-nest-cam] [NexusStreamer] Connected 2022-11-04T06:07:10.404Z HAP-NodeJS:EventedHTTPServer [::ffff:192.168.1.125] Muting event '2.23' notification for this connection since it originated here. 2022-11-04T06:07:10.404Z HAP-NodeJS:Accessory [homebridge-nest-cam A71B] Setting Characteristic "Selected RTP Stream Configuration" to value ARUCAQEBEOvSu0A4NE76rtT6XPE0z5wCNAEBAAIJAQECAgECAwEAAwsBAgAFAgLQAgMBHgQXAQFjAgQGihXvAwIrAQQEAAAAPwUCYgUDLAEBAgIMAQEBAgEAAwEBBAEeAxYBAW4CBGgXg+8DAhgABAQAAKBABgENBAEA 2022-11-04T06:07:10.405Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:07:15.317Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP request: /characteristics?id=2.10,2.9 2022-11-04T06:07:15.317Z HAP-NodeJS:HAPServer [0E:14:AB:D5:CF:6C] HAP Request: GET /characteristics?id=2.10,2.9 2022-11-04T06:07:15.318Z HAP-NodeJS:Accessory [homebridge-nest-cam A71B] Got Characteristic "Volume" value: "100" 2022-11-04T06:07:15.318Z HAP-NodeJS:Accessory [homebridge-nest-cam A71B] Got Characteristic "Mute" value: "0" 2022-11-04T06:07:15.318Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP Response is finished 2022-11-04T06:07:19.458Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] Client connection closed 2022-11-04T06:07:19.460Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP connection was closed 2022-11-04T06:07:19.460Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP server was closed 2022-11-04T06:07:22.083Z HAP-NodeJS:EventedHTTPServer Currently 0 hap connections open: 2022-11-04T06:07:23.515Z HAP-NodeJS:EventedHTTPServer Currently 2 hap connections open: ::ffff:192.168.1.123:49474, ::ffff:192.168.1.125:57593 2022-11-04T06:07:23.582Z HAP-NodeJS:EventedHTTPServer Currently 1 hap connections open: ::ffff:192.168.1.123:49475 2022-11-04T06:07:24.518Z HAP-NodeJS:EventedHTTPServer Currently 1 hap connections open: ::ffff:192.168.1.123:49476 2022-11-04T06:07:29.990Z HAP-NodeJS:EventedHTTPServer Currently 0 hap connections open: 2022-11-04T06:07:31.778Z HAP-NodeJS:EventEmitter [::ffff:192.168.1.125] Registered event 'REQUEST' (total: 1) at EventedHTTPServer.onConnection (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:204:16) 2022-11-04T06:07:31.778Z HAP-NodeJS:EventEmitter [::ffff:192.168.1.125] Registered event 'AUTHENTICATED' (total: 1) at EventedHTTPServer.onConnection (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:207:16) 2022-11-04T06:07:31.778Z HAP-NodeJS:EventEmitter [::ffff:192.168.1.125] Registered event 'CLOSED' (total: 1) at EventedHTTPServer.onConnection (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:208:16) 2022-11-04T06:07:31.778Z HAP-NodeJS:EventedHTTPServer [::ffff:192.168.1.125] New connection from client on interface shim-br0 (::ffff:192.168.1.11) 2022-11-04T06:07:31.779Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] Internal HTTP server listening on 127.0.0.1:33497 2022-11-04T06:07:31.780Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] Internal HTTP socket connected. HAPConnection now fully set up! 2022-11-04T06:07:31.781Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /pair-verify 2022-11-04T06:07:31.781Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: POST /pair-verify 2022-11-04T06:07:31.781Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] Pair verify step 1/2 2022-11-04T06:07:31.791Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:07:31.805Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /pair-verify 2022-11-04T06:07:31.805Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: POST /pair-verify 2022-11-04T06:07:31.806Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] Pair verify step 2/2 2022-11-04T06:07:31.815Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] Client 2EF59A58-C2DB-408A-A75D-6FB88B60B621 verification complete 2022-11-04T06:07:31.816Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:07:31.820Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /accessories 2022-11-04T06:07:31.820Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: GET /accessories 2022-11-04T06:07:31.826Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:07:31.839Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /characteristics 2022-11-04T06:07:31.839Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: PUT /characteristics 2022-11-04T06:07:31.840Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Processing characteristic set: {"characteristics":[{"aid":2,"iid":15,"ev":true},{"aid":2,"iid":14,"ev":true},{"aid":2,"iid":22,"ev":true},{"aid":2,"iid":17,"ev":true},{"aid":2,"iid":25,"ev":true},{"aid":2,"iid":24,"ev":true},{"aid":2,"iid":26,"ev":true},{"aid":2,"iid":12,"ev":true},{"aid":2,"iid":11,"ev":true}]} 2022-11-04T06:07:31.840Z HAP-NodeJS:Accessory [::ffff:192.168.1.125] Registered Characteristic "Volume" on "homebridge-unifi-protect 744F" for events 2022-11-04T06:07:31.840Z HAP-NodeJS:Accessory [::ffff:192.168.1.125] Registered Characteristic "Mute" on "homebridge-unifi-protect 744F" for events 2022-11-04T06:07:31.840Z HAP-NodeJS:Accessory [::ffff:192.168.1.125] Registered Characteristic "Recording Audio Active" on "homebridge-unifi-protect 744F" for events 2022-11-04T06:07:31.840Z HAP-NodeJS:Accessory [::ffff:192.168.1.125] Registered Characteristic "Active" on "homebridge-unifi-protect 744F" for events 2022-11-04T06:07:31.840Z HAP-NodeJS:Accessory [::ffff:192.168.1.125] Registered Characteristic "HomeKit Camera Active" on "homebridge-unifi-protect 744F" for events 2022-11-04T06:07:31.841Z HAP-NodeJS:Accessory [::ffff:192.168.1.125] Registered Characteristic "Event Snapshots Active" on "homebridge-unifi-protect 744F" for events 2022-11-04T06:07:31.841Z HAP-NodeJS:Accessory [::ffff:192.168.1.125] Registered Characteristic "Periodic Snapshots Active" on "homebridge-unifi-protect 744F" for events 2022-11-04T06:07:31.841Z HAP-NodeJS:Accessory [::ffff:192.168.1.125] Registered Characteristic "Status Active" on "homebridge-unifi-protect 744F" for events 2022-11-04T06:07:31.841Z HAP-NodeJS:Accessory [::ffff:192.168.1.125] Registered Characteristic "Motion Detected" on "homebridge-unifi-protect 744F" for events 2022-11-04T06:07:31.841Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:07:31.845Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /resource 2022-11-04T06:07:31.845Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: POST /resource 2022-11-04T06:07:32.089Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:07:32.090Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:07:32.091Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:07:32.092Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:07:32.191Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /characteristics 2022-11-04T06:07:32.191Z HAP-NodeJS:HAPServer [0E:14:AB:D5:CF:6C] HAP Request: PUT /characteristics 2022-11-04T06:07:32.192Z HAP-NodeJS:Accessory [homebridge-nest-cam A71B] Processing characteristic set: {"characteristics":[{"aid":2,"iid":23,"value":"ARUCAQABEOvSu0A4NE76rtT6XPE0z5w="}]} 2022-11-04T06:07:32.193Z HAP-NodeJS:EventEmitter [::ffff:192.168.1.125] Unregistered event 'CLOSED' (total: 1 Before: 2) here is the log in libx264 when it doesn't work. Full log was too long to post. I have a Unifi G3 camera that works fine. [11/4/2022, 1:10:30 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 1:10:30 AM] [homebridge-nest-cam] [NexusStreamer] Redirecting... [11/4/2022, 1:10:30 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected [11/4/2022, 1:10:30 AM] [homebridge-nest-cam] [NexusStreamer] Connected 2022-11-04T06:10:32.823Z HAP-NodeJS:EventedHTTPServer [::ffff:192.168.1.125] Muting event '2.23' notification for this connection since it originated here. 2022-11-04T06:10:32.823Z HAP-NodeJS:Accessory [homebridge-nest-cam A71B] Setting Characteristic "Selected RTP Stream Configuration" to value ARUCAQEBEFSoLKAmU07thtwrPXPr6iUCNAEBAAIJAQECAgECAwEAAwsBAgAFAgLQAgMBHgQXAQFjAgSymcPqAwIrAQQEAAAAPwUCYgUDLAEBAgIMAQEBAgEAAwEBBAEeAxYBAW4CBJ8Qf2kDAhgABAQAAKBABgENBAEA 2022-11-04T06:10:32.823Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:10:44.613Z HAP-NodeJS:EventedHTTPServer Currently 0 hap connections open: 2022-11-04T06:10:46.026Z HAP-NodeJS:EventedHTTPServer Currently 2 hap connections open: ::ffff:192.168.1.123:49477, ::ffff:192.168.1.125:57598 2022-11-04T06:10:46.073Z HAP-NodeJS:EventedHTTPServer Currently 1 hap connections open: ::ffff:192.168.1.123:49478 2022-11-04T06:10:47.078Z HAP-NodeJS:EventedHTTPServer Currently 2 hap connections open: ::ffff:192.168.1.123:49479, ::ffff:192.168.1.125:57597 2022-11-04T06:10:48.834Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] Client connection closed 2022-11-04T06:10:48.835Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP connection was closed 2022-11-04T06:10:48.835Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP server was closed 2022-11-04T06:10:52.474Z HAP-NodeJS:EventedHTTPServer Currently 0 hap connections open: 2022-11-04T06:11:02.906Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /characteristics 2022-11-04T06:11:02.906Z HAP-NodeJS:HAPServer [0E:14:AB:D5:CF:6C] HAP Request: PUT /characteristics 2022-11-04T06:11:02.906Z HAP-NodeJS:Accessory [homebridge-nest-cam A71B] Processing characteristic set: {"characteristics":[{"aid":2,"iid":23,"value":"ARUCAQABEFSoLKAmU07thtwrPXPr6iU="}]} 2022-11-04T06:11:02.907Z HAP-NodeJS:EventEmitter [::ffff:192.168.1.125] Unregistered event 'CLOSED' (total: 1 Before: 2) at RTPStreamManagement.handleSessionClosed (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/camera/RTPStreamManagement.ts:673:29) 2022-11-04T06:11:02.908Z HAP-NodeJS:EventedHTTPServer [::ffff:192.168.1.125] Muting event '2.23' notification for this connection since it originated here. 2022-11-04T06:11:02.908Z HAP-NodeJS:Accessory [homebridge-nest-cam A71B] Setting Characteristic "Selected RTP Stream Configuration" to value ARUCAQABEFSoLKAmU07thtwrPXPr6iU= 2022-11-04T06:11:02.909Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished [11/4/2022, 1:11:02 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected 2022-11-04T06:11:04.687Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP request: /characteristics?id=1.7 2022-11-04T06:11:04.687Z HAP-NodeJS:HAPServer [0E:CB:7E:D9:09:5D] HAP Request: GET /characteristics?id=1.7 2022-11-04T06:11:04.688Z HAP-NodeJS:Accessory [homebridge-myq 5725] Got Characteristic "Firmware Revision" value: "1.5.1" 2022-11-04T06:11:04.689Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP Response is finished 2022-11-04T06:11:04.692Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP request: /characteristics?id=1.7 2022-11-04T06:11:04.692Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: GET /characteristics?id=1.7 2022-11-04T06:11:04.694Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Firmware Revision" value: "1.5.1" 2022-11-04T06:11:04.695Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP Response is finished Here is what the G3 camera looks like in the log when it starts playing quickly and fine. 2022-11-04T06:18:07.752Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /characteristics?id=2.66,2.42,2.82,2.50,2.98,2.58,2.34,2.74,2.90,2.106 2022-11-04T06:18:07.752Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: GET /characteristics?id=2.66,2.42,2.82,2.50,2.98,2.58,2.34,2.74,2.90,2.106 2022-11-04T06:18:07.754Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.755Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.755Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.755Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.755Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.755Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.755Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.755Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.755Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.755Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Streaming Status" value: "AQEA" 2022-11-04T06:18:07.756Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:18:07.769Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /characteristics 2022-11-04T06:18:07.769Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: PUT /characteristics 2022-11-04T06:18:07.769Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Processing characteristic set: {"characteristics":[{"aid":2,"iid":65,"value":"ARBJsur+t2xBxY3DwP4PA3tbImr8S2H5aOVi/CaJGBAw4hSH74ySAtdaXZMXr/9QEBAA=="}]} 2022-11-04T06:18:07.797Z HAP-NodeJS:EventEmitter [::ffff:192.168.1.125] Registered event 'CLOSED' (total: 2) at RTPStreamManagement.handleSetupEndpoints (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/camera/RTPStreamManagement.ts:988:27) 2022-11-04T06:18:07.798Z HAP-NodeJS:Camera:RTPStreamManagement Session: 49b2e-b76c-c0fe0f950e72 ControllerAddress: 192.168.1.125 VideoPort: 60010 AudioPort: 57922 Video Crypto: 0 Video Master Key: <Buffer 62 6d 9375 d1 df 77 6e b8 38> Video Master Salt: <Buffer 9b b7 99 bc04 8f 03 c8 72 cf 52> Audio Crypto: 0 Audio Master Key: <Buffer 37 b5 b2 26 a 8e 56 2f c2 68 91 81> Audio Master Salt: <Buffer 21 48 7e f 75 a5 d9 31 7a ff f5> 2022-11-04T06:18:07.828Z pick-port called with [type:udp, ip:0.0.0.0, minPort:10000, maxPort:20000, reserveTimeout:15] 2022-11-04T06:18:07.830Z pick-port got an available port [type:udp, ip:0.0.0.0, port:16618] 2022-11-04T06:18:07.830Z pick-port called with [type:udp, ip:0.0.0.0, minPort:10000, maxPort:20000, reserveTimeout:15] 2022-11-04T06:18:07.831Z pick-port got an available port [type:udp, ip:0.0.0.0, port:11127] 2022-11-04T06:18:07.832Z HAP-NodeJS:EventedHTTPServer [::ffff:192.168.1.125] Muting event '2.65' notification for this connection since it originated here. 2022-11-04T06:18:07.833Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Setting Characteristic "Setup Endpoints" to value ARBJsur+t2xBxY3DwP4PlQ5yAxoBAQACDTE5Mi4xNjguMS4xMjUDAmrqBAJC4gQlAhBibZNynfWCwe110d93brg4Aw6bt5m8nNtWBI8DyHLPUgEBAAUlAhA3tbImr8S2H5aOVi/CaJGBAw4hSH74ySAtdaXZMXr/9QEBAA== 2022-11-04T06:18:07.833Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:18:07.840Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /characteristics?id=2.65 2022-11-04T06:18:07.841Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: GET /characteristics?id=2.65 2022-11-04T06:18:07.841Z HAP-NodeJS:EventedHTTPServer [::ffff:192.168.1.125] Muting event '2.65' notification for this connection since it originated here. 2022-11-04T06:18:07.841Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Setup Endpoints" value: "ARBJsur+t2xBxY3DwP4PlQ5yAgEAAxkBAQACDDE5MiJokYEDDiFIfvjJIC11pdkxev/1BgRM0KwABwSaVYUA" 2022-11-04T06:18:07.841Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:18:07.848Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP request: /characteristics 2022-11-04T06:18:07.848Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: PUT /characteristics 2022-11-04T06:18:07.848Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Processing characteristic set: {"characteristics":[{"aid":2,"iid":64,"value":"ARUCAQEBEEmy6v63bEHFjcPA/g+BBAEeAxYBAW4CBIFSBAQAAKBABgENBAEA"}]} [11/4/2022, 1:18:07 AM] [homebridge-unifi-protect] Cloud Key Gen2 Plus [UCK-G2-PLUS] G3 Bullet [UVC G3]: Streaming request from 192.168.1.125: 1280x720@30fps, 299 kbps. Using 1920x1080@30fps (High), 6000 kbps. 2022-11-04T06:18:08.021Z HAP-NodeJS:EventedHTTPServer [::ffff:192.168.1.125] Muting event '2.64' notification for this connection since it originated here. 2022-11-04T06:18:08.022Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Setting Characteristic "Selected RTP Stream Configuration" to value ARUCAQEBEEmy6v63bEHFjcPA/g+VDnICNAEBAAQDAhgABAQAAKBABgENBAEA 2022-11-04T06:18:08.022Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.125] HTTP Response is finished 2022-11-04T06:18:08.116Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP request: /characteristics?id=2.14,2.15 2022-11-04T06:18:08.116Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: GET /characteristics?id=2.14,2.15 2022-11-04T06:18:08.116Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Mute" value: "0" 2022-11-04T06:18:08.116Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Volume" value: "100" 2022-11-04T06:18:08.117Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP Response is finished 2022-11-04T06:18:09.399Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP request: /characteristics?id=1.7 2022-11-04T06:18:09.399Z HAP-NodeJS:HAPServer [0E:CB:7E:D9:09:5D] HAP Request: GET /characteristics?id=1.7 2022-11-04T06:18:09.400Z HAP-NodeJS:Accessory [homebridge-myq 5725] Got Characteristic "Firmware Revision" value: "1.5.1" 2022-11-04T06:18:09.400Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP Response is finished 2022-11-04T06:18:09.408Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP request: /characteristics?id=1.7 2022-11-04T06:18:09.408Z HAP-NodeJS:HAPServer [0E:62:ED:A7:81:BB] HAP Request: GET /characteristics?id=1.7 2022-11-04T06:18:09.409Z HAP-NodeJS:Accessory [homebridge-unifi-protect 744F] Got Characteristic "Firmware Revision" value: "1.5.1" 2022-11-04T06:18:09.410Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.1.123] HTTP Response is finished
Wrong plug-in.
Using Nest Doorbell. Can only get the video stream to work if I use "ffmpegCodec": "libx264rgb", and it looks like crap.
Here is the log when I use libx264. I just get the spinning wheel until it says No Response.
[11/4/2022, 12:54:38 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 12:54:38 AM] [homebridge-nest-cam] [NexusStreamer] Redirecting... [11/4/2022, 12:54:38 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected [11/4/2022, 12:54:38 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 12:55:01 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected [11/4/2022, 12:55:04 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 12:55:05 AM] [homebridge-nest-cam] [NexusStreamer] Redirecting... [11/4/2022, 12:55:05 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected [11/4/2022, 12:55:05 AM] [homebridge-nest-cam] [NexusStreamer] Connected [11/4/2022, 12:55:26 AM] [homebridge-nest-cam] [NexusStreamer] Disconnected
Here is my config file with some random characters thrown in there to make the token and cookies invalid. This is the one that works with rgb the only thing I change is the codec from libx264 to libx264rgb
{ "platform": "Nest-cam", "googleAuth": { "issueToken": "https://accounts.google.com/o/oauth2/iframerpc?action=issueToken&response_type=token%20id_token&login_hint=AJDLj6LQu-SMCQLMJfOUepUqAx31lV8Jvnu-yrtxGlUj0fbVYl-msYSOHogmg71ROJka5zo_IwvMc9RM5jz7Eg&client_id=733249279899-44tv9ov7jbuojfr9lrq.apps.googleusercontent.com&origin=https%3A%2F%2Fhome.nest.com&scope=openid%20profile%20email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fnest-account&ss_domain=https%3A%2F%2Fhome.nest.com&include_granted_scopes=true", "cookies": "Secure-3PSID=QQiX6Dq7MDOEPeFT0uxhd24xgdK7E0AzfZzJ7KSWzaSrL1sJftlxTnSNlVA.; Secure-3PAPISID=WiRPKsU_frEagzga/AGaC12OIPgnkK7jmg1; NID=511=ZmlNSQi5sDBLFkvzIePN4L6rnb5ArvFklQzBgPbOUWCccojNHK2GyDu9ZkaKANhgRXr4GVywWAogJuL6ET-mA5-iUwm_e3xbsGzXLImq4kc0s87fsqGWGRm60R_9c5BOhWorkxenBc9I3ArINmwpqHbbawui-5r9HpY7d7_k_Z6iethPzstLLzbR4wxBcpCgcMLzgESjoMry6jNUI4X4BP; Host-3PLSID=s.youtube:QQiX6DtfHIO4oi27lsmlF--ZQfx4JXma3_uRdqNH9CPQ.; Secure-3PSIDCC=AIKkIs3KY75xU7QOj1wJlAAzt_JhQ5A3Kv1_BLaTi0DlJHw" }, "_bridge": { "username": "0A:3C", "port": 55341 }, "options": { "ffmpegCodec": "libx264rgb", "streamQuality": 3, "alertCheckRate": 10, "alertCooldownRate": 180, "alertTypes": [ "Motion", "Sound", "Person", "Package Delivered", "Package Retrieved", "Face", "Zone" ], "importantOnly": true, "motionDetection": false, "streamingSwitch": true, "chimeSwitch": false, "announcementsSwitch": false, "doorbellAlerts": false, "doorbellSwitch": false, "audioSwitch": true, "platform": "Nest-cam" } } Expected behavior
Up To Date [v1.5.1] homebridge-nest-cam v7.5.3