{"_id":"homebridge-nest-cam","_rev":"222-002fd977fc5edf396ee5d60e2c26d22c","time":{"0.0.1":"2020-05-17T01:39:23.858Z","0.0.10":"2020-05-17T01:39:23.858Z","0.0.11":"2020-05-17T01:39:23.858Z","0.0.12":"2020-05-17T01:39:23.858Z","0.0.13":"2020-05-17T01:39:23.858Z","0.0.14":"2020-05-17T01:39:23.858Z","0.0.15":"2020-05-17T01:39:23.858Z","0.0.16":"2020-05-17T01:39:23.858Z","0.0.17":"2020-05-17T01:39:23.858Z","0.0.2":"2020-05-17T01:39:23.858Z","0.0.3":"2020-05-17T01:39:23.858Z","0.0.4":"2020-05-17T01:39:23.858Z","0.0.5":"2020-05-17T01:39:23.858Z","0.0.6":"2020-05-17T01:39:23.858Z","0.0.7":"2020-05-17T01:39:23.858Z","0.0.8":"2020-05-17T01:39:23.858Z","0.0.9":"2020-05-17T01:39:23.858Z","created":"2020-05-18T01:40:03.669Z","1.1.12":"2020-05-18T01:40:03.899Z","modified":"2022-12-09T18:32:07.227Z","2.1.0":"2020-05-18T01:54:41.038Z","2.2.0":"2020-05-19T16:03:53.527Z","2.3.0":"2020-05-21T15:37:20.001Z","2.3.1":"2020-05-21T15:53:09.013Z","2.3.2":"2020-05-22T21:37:15.040Z","2.3.3-test.0":"2020-05-23T14:33:27.165Z","2.3.3":"2020-05-24T11:39:37.702Z","2.3.4-test.0":"2020-05-24T23:52:25.586Z","2.3.4-test.1":"2020-05-25T00:45:53.563Z","2.3.4-test.2":"2020-05-25T02:10:52.581Z","2.3.4-test.3":"2020-05-25T19:34:16.795Z","2.3.4":"2020-05-25T20:10:57.585Z","2.4.0-test.0":"2020-05-26T14:19:22.603Z","2.4.0-test.1":"2020-06-05T21:12:39.434Z","2.4.0-test.2":"2020-06-05T22:49:08.871Z","2.4.0-test.3":"2020-06-05T23:07:23.473Z","2.4.0-test.4":"2020-06-06T12:05:04.821Z","2.4.0-test.5":"2020-06-06T18:38:14.937Z","2.4.0":"2020-06-07T13:16:00.470Z","2.4.1":"2020-06-07T15:55:26.415Z","2.5.0-test.0":"2020-06-07T19:45:59.920Z","0.0.17-old.0":"2020-06-07T22:30:27.296Z","2.5.0-test.1":"2020-06-07T23:03:05.660Z","2.5.0":"2020-06-08T12:27:42.662Z","2.6.0-test.0":"2020-06-11T20:58:28.081Z","2.6.0-test.1":"2020-06-12T12:45:08.452Z","2.6.0":"2020-06-12T13:04:16.972Z","3.0.0-test.0":"2020-06-16T23:38:06.536Z","3.0.0":"2020-06-18T15:11:46.572Z","3.0.1-test.0":"2020-06-18T17:11:12.496Z","3.0.1-test.1":"2020-06-18T17:32:28.530Z","3.0.1-test.2":"2020-06-18T17:39:21.312Z","3.0.1":"2020-06-18T19:20:38.644Z","3.1.0-test.1":"2020-06-18T23:54:37.002Z","3.1.0-test.2":"2020-06-19T18:38:35.898Z","3.1.0-test.3":"2020-06-19T20:08:11.533Z","3.1.0-test.4":"2020-06-19T20:40:29.521Z","3.1.0":"2020-06-22T13:26:34.087Z","3.2.0":"2020-06-23T12:48:09.755Z","3.2.1-test.0":"2020-06-23T13:23:44.434Z","3.2.1-test.1":"2020-06-23T13:48:09.081Z","3.2.1-test.2":"2020-06-23T15:05:34.138Z","3.2.1-test.3":"2020-06-23T17:03:11.741Z","3.2.1":"2020-06-24T16:10:14.504Z","3.2.2-test.0":"2020-06-24T22:01:48.721Z","3.2.2":"2020-06-24T22:58:12.822Z","3.3.0-test.0":"2020-06-26T14:13:46.820Z","3.3.0":"2020-06-26T14:24:58.048Z","3.3.1-test.0":"2020-06-27T01:03:29.910Z","3.3.1-test.1":"2020-06-27T01:17:43.410Z","3.3.1-test.2":"2020-06-30T15:00:58.379Z","3.3.1-test.3":"2020-06-30T15:32:40.246Z","3.3.1-test.4":"2020-06-30T16:18:14.918Z","3.4.0":"2020-06-30T17:02:16.965Z","3.4.1":"2020-07-08T13:39:22.909Z","3.4.2-test.0":"2020-07-09T11:24:38.694Z","3.4.2":"2020-07-10T17:52:04.663Z","3.4.3":"2020-07-13T19:29:41.961Z","3.5.0-test.0":"2020-07-17T20:06:48.568Z","3.5.0":"2020-07-18T17:44:35.395Z","3.5.1-test.0":"2020-07-26T21:59:22.009Z","4.0.0-test.0":"2020-07-27T18:16:23.983Z","4.0.0-test.1":"2020-07-27T21:28:33.985Z","4.0.0-test.2":"2020-07-27T21:36:02.576Z","4.0.0-test.3":"2020-07-28T01:39:04.508Z","4.0.0-test.4":"2020-07-28T12:36:59.569Z","4.0.0-test.5":"2020-07-28T14:01:05.348Z","4.0.0-test.6":"2020-07-28T17:23:25.942Z","4.0.0-test.7":"2020-07-28T18:13:10.965Z","4.0.0":"2020-07-29T16:55:32.213Z","4.0.1-test.0":"2020-08-01T16:39:11.758Z","4.0.1":"2020-08-01T21:33:48.081Z","4.1.0":"2020-08-02T23:37:00.252Z","4.1.1-test.0":"2020-08-02T23:50:37.945Z","4.1.1-test.1":"2020-08-02T23:53:57.399Z","4.1.1-test.2":"2020-08-03T13:42:15.485Z","4.1.1-test.3":"2020-08-03T14:39:52.147Z","4.2.0":"2020-08-03T18:45:20.844Z","4.2.1-test.0":"2020-08-04T11:33:18.149Z","4.2.1-test.1":"2020-08-04T17:56:18.112Z","4.2.1-test.2":"2020-08-04T18:43:07.867Z","4.2.1-test.3":"2020-08-05T00:29:23.363Z","4.3.0":"2020-08-05T13:10:47.471Z","4.4.0":"2020-08-07T15:39:42.180Z","4.4.1":"2020-08-07T23:38:30.619Z","4.4.2":"2020-08-10T02:43:48.883Z","4.4.3-test.0":"2020-08-11T12:10:23.087Z","4.4.3-test.1":"2020-08-11T23:06:52.165Z","4.4.3-test.2":"2020-08-12T11:06:35.427Z","4.4.3-test.3":"2020-08-12T11:22:35.254Z","4.4.3-test.4":"2020-08-12T16:01:35.465Z","4.4.3-test.5":"2020-08-12T16:26:22.421Z","4.4.3-test.6":"2020-08-12T17:16:32.588Z","4.4.3-test.7":"2020-08-12T17:57:21.686Z","4.4.3-test.8":"2020-08-12T19:30:46.343Z","4.5.0":"2020-08-12T23:05:32.292Z","4.6.0":"2020-08-15T00:54:11.834Z","4.6.1":"2020-08-15T16:27:02.780Z","4.6.2-test.0":"2020-08-19T00:54:13.675Z","4.6.2-test.1":"2020-08-19T02:33:59.829Z","4.6.2-test.2":"2020-08-19T12:51:27.181Z","4.6.2-test.3":"2020-08-19T15:43:11.818Z","4.7.0-test.0":"2020-08-19T18:51:11.651Z","4.7.0":"2020-08-19T19:04:48.325Z","4.8.0":"2020-08-20T20:43:58.429Z","5.0.0-test.0":"2020-08-21T11:47:04.621Z","5.0.0-test.1":"2020-08-21T14:02:39.854Z","5.0.0-test.2":"2020-08-21T20:42:59.732Z","5.0.0":"2020-08-24T15:56:02.233Z","5.0.1-test.0":"2020-08-25T18:51:10.447Z","5.0.1-test.1":"2020-08-26T13:45:39.814Z","5.0.1-test.2":"2020-08-26T14:47:47.373Z","5.0.1-test.3":"2020-08-26T14:56:26.017Z","5.0.1-test.4":"2020-08-26T15:15:38.609Z","5.0.1":"2020-08-26T17:41:17.380Z","5.0.2-test.0":"2020-08-26T21:46:56.098Z","5.0.2-test.1":"2020-08-26T23:13:48.337Z","5.0.2":"2020-08-26T23:58:48.249Z","5.0.3":"2020-08-31T23:01:22.756Z","5.1.0":"2020-09-02T13:21:26.038Z","5.2.0":"2020-09-04T17:51:38.850Z","5.2.1":"2020-09-09T14:19:10.179Z","5.2.2-test.0":"2020-09-09T15:32:30.763Z","5.2.2-test.1":"2020-09-09T18:35:43.816Z","5.2.2":"2020-09-09T21:19:08.393Z","5.2.3-test.0":"2020-09-10T15:15:12.037Z","5.2.3":"2020-09-13T17:41:03.895Z","5.2.4-test.0":"2020-09-13T19:25:32.121Z","5.2.4-test.1":"2020-09-13T21:54:55.979Z","5.2.4":"2020-09-14T12:56:12.160Z","5.2.5-test.0":"2020-09-17T15:45:42.463Z","5.2.5":"2020-09-17T18:53:59.420Z","5.2.6-test.0":"2020-09-17T23:59:08.569Z","5.2.6-test.1":"2020-09-18T00:49:22.423Z","5.2.6-test.2":"2020-09-18T14:07:23.620Z","5.2.6":"2020-09-18T14:44:30.654Z","5.3.0":"2020-09-30T00:58:07.211Z","5.4.0":"2020-10-01T16:18:39.485Z","5.4.1-test.0":"2020-10-02T15:21:32.250Z","5.4.1-test.1":"2020-10-05T18:38:38.691Z","5.4.1":"2020-10-06T20:22:27.313Z","5.4.2-test.0":"2020-10-07T17:31:56.780Z","5.4.2":"2020-10-18T17:09:19.429Z","5.5.0":"2020-10-21T12:36:29.285Z","5.5.1":"2020-10-24T04:06:43.485Z","5.5.2-test.0":"2020-10-25T02:33:39.167Z","5.5.2":"2020-10-25T16:16:34.019Z","6.0.0-test.0":"2020-12-07T00:41:26.557Z","6.0.0-test.1":"2020-12-07T00:53:48.736Z","6.0.0-test.2":"2020-12-07T00:58:11.460Z","6.0.0-test.3":"2020-12-07T02:32:29.522Z","6.0.0-test.4":"2020-12-07T02:57:24.433Z","6.0.0-test.5":"2020-12-07T22:21:44.015Z","6.0.0-test.6":"2020-12-07T22:39:29.004Z","6.0.0-test.7":"2020-12-07T22:59:50.115Z","6.0.0":"2020-12-08T00:45:51.999Z","6.0.1":"2020-12-08T01:31:42.686Z","6.0.2-test.0":"2020-12-08T12:27:25.131Z","6.0.2":"2020-12-08T12:39:02.994Z","6.0.3":"2020-12-12T22:10:47.006Z","6.1.0":"2020-12-17T21:17:21.154Z","6.1.1":"2020-12-27T21:12:33.564Z","6.1.2":"2020-12-28T14:07:00.291Z","7.0.0-test.0":"2021-01-13T17:07:21.528Z","7.0.0-test.1":"2021-01-13T22:04:08.734Z","7.0.0-test.2":"2021-01-14T00:16:43.266Z","7.0.0-test.3":"2021-01-14T02:17:37.624Z","7.0.0-test.4":"2021-01-15T00:25:45.382Z","7.0.0-test.5":"2021-01-15T20:23:56.965Z","7.0.0":"2021-01-29T00:58:43.431Z","7.0.1":"2021-01-29T13:51:12.029Z","7.0.2":"2021-01-30T00:19:04.259Z","7.1.0-test.0":"2021-01-31T19:00:23.288Z","7.1.0":"2021-01-31T19:21:51.027Z","7.1.1-test.0":"2021-02-28T22:28:14.146Z","7.1.1-test.1":"2021-03-01T14:32:33.375Z","7.1.1":"2021-03-01T19:07:49.716Z","7.1.2":"2021-03-03T18:48:34.192Z","7.2.0-test.0":"2021-04-06T21:26:25.960Z","7.2.0":"2021-04-07T13:04:49.151Z","7.3.0-test.0":"2021-05-11T16:23:16.503Z","7.3.0":"2021-05-18T13:27:04.168Z","7.4.0-test.0":"2021-06-10T01:39:26.155Z","7.4.0":"2021-06-10T12:24:13.995Z","7.4.1":"2021-09-29T22:40:39.810Z","7.5.0-test.0":"2021-10-11T20:52:44.303Z","7.5.0":"2021-10-14T21:18:42.289Z","7.5.1-test.0":"2022-01-05T17:56:01.179Z","7.5.1-test.1":"2022-01-05T18:04:03.336Z","7.5.1-test.2":"2022-05-28T19:26:57.689Z","7.5.1-test.3":"2022-05-28T21:39:17.526Z","7.5.1-test.4":"2022-06-09T19:03:41.395Z","7.5.1":"2022-06-17T00:08:46.551Z","7.5.2-test.0":"2022-07-18T20:16:22.497Z","7.5.2":"2022-07-20T22:30:33.335Z","7.5.3":"2022-09-24T23:23:49.249Z","7.5.4":"2022-12-09T18:32:07.126Z"},"name":"homebridge-nest-cam","dist-tags":{"latest":"7.5.4","test":"7.5.2-test.0","old":"0.0.17-old.0"},"versions":{"1.1.12":{"name":"homebridge-nest-cam","version":"1.1.12","description":"Nest cam plugin for homebridge: https://homebridge.io/","license":"ISC","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=8.0.0","homebridge":">=0.4.5"},"dependencies":{"ip":"^1.1.3","pbf":"^3.1.0","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.4"},"devDependencies":{"eslint":"^6.8.0"},"gitHead":"076ca79691fe2d1c8ed9e0f7f9b6b7d1c4fbe81e","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@1.1.12","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-WFNi1ZzIzT2Lf45v3YSkZh703LOkJFhm+PeSK3jrMR69icG9Wrh16fvWmuj8MDKliGIsIT4i09kaC7x+jvmFXw==","shasum":"90793db44e4cff85521cd681200ef64862ec306c","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-1.1.12.tgz","fileCount":18,"unpackedSize":130464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewed0CRA9TVsSAnZWagAACMsP/1cge9DeMa+lTMEpkBX2\nwi05Ex7NzUkCy6wwWoIPvmCuAyaJG1CLPT+j1VRfGnTH7+nVNFkR2xD0vQ2o\nQKANx/01evVQu0mAyGWlmHGi9EHZRGM1tOgqKoNbud7w4iqmoF97UL0dPOKl\nDV1gwufjjQ349KWi5GV3+4JXU2mtYTGMN+5GDYNxoy8wZTyhMtDMSNz+rigF\nxM2vLFKD36kOezxAzf4pGQEeY8A87xoA+rDKF5hwS7gX3MDI+aiEAGx6Zwcl\ntPJP+7nveTTFQCeKtYxeDovhMHUy6MQD9eCM6d0Yy4OrEVp+eDtjmBiwGA7C\nN+LOD7jQwVcPG8dYiXDe7cwEKM5asu36bQqG26LOphJXYL4zdCbuDzy3b8K3\nnqwWwXiHu+CK/rIhREZW3ktwRZZjlrSmvjfwPH4PmB/I/d5qVIOf/EGi5I2i\nqRE26wntltxbauO1I8mfhkNuNiCxU+wTMDhF6VlF9vQhhyjim1A0i9fA0U/8\nMVsjVjIuQMhhO6RCakupZTrYl3yYqb963vu8QRM/rqJ4ykdfKKTM5W9ed7ao\nloWa41T3JzN3OucAgrVva146JDP4EaaZzxTuaF53yjV1hIMUSj1kA/huEmfr\nQGS2XFBaS1PPcpZgm2Vfnfd9vIezoNPokt3nGniLqjWKimeOwU3rs8C7B2xB\n5OHx\r\n=z7Ch\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA3eQeMBwlo5d5S7w8ineE62qAwJm2ggHdLNLgmsG/uEAiArKZo/WjWzppBv/Zd9Ihy9TkO1M5Myn+b9JYA35gpV3Q=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_1.1.12_1589766003670_0.17213457019686906"},"_hasShrinkwrap":false},"2.1.0":{"name":"homebridge-nest-cam","version":"2.1.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.4"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.1","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^25.5.1","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"gitHead":"0293e5e24fdecaa32d3e8cfadc4b6f1407774804","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.1.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-IPIwmOd43JczCfCbwbaOfpkxWSpQN23o0xlezXFHeBg9Yfwl9noAZ97bq2qd7R/Bpnas2Rnsl2/I2tcmn50mtw==","shasum":"cc0f0ce8417b8ede4f2aa3662a3cd2992a32e292","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.1.0.tgz","fileCount":29,"unpackedSize":198998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewerhCRA9TVsSAnZWagAAdC0P/1lv+iH/OA+GoDr2iSrG\n8RE0maV6MonQDHF4LYRAOKKSwbJAjr5/roS4zQ+sxcCcKrMqI8YtaKynWk7H\nXy12dxvUzxLpb1//LUpYPchiOynBREisKG9Z4LakH3qfdQdVB2YGbNjovrbg\nEJ7n8S/lNvzkoBktsqd+iJOmCpjTZYf5j95tJjYQqr+WQnVX/S7ti149sPKe\nS+Ca1+ncQLhz7HlU/KN+cFyxTyxiD4RI4geEBE5qn5lzJmLoC3e/hSIoguGh\n9CrQuqnNMnnpnOuSLjQCGumWduqqE2xhu55rWxWtXSpZjtE4pJu7xjNuIURd\npzkT5W3k+/8T0IPQ8Uxx7rp13RaQcKq/RHJgLdgFUfyFdTrBRmi7+apbfQ1V\nROUpCZ/M21vW/HTs/0jOBC2InYU2S2wQh/VJt+yH1o6XTiee4VFVMbaV1zUU\nICLE48eebdk+j2i3n+p9ScwqueEPrG926Pdg7jJHM1nkDGzoLOrt2lwvAfQa\n9cxxmK3jQWcDNRTW1nRhFQ22mtdjuj9+VZh6/TFBPcoBgi7sdjNnhN0fL0OY\npArH3Wt5AZk75yc9H0f9n9RZYbaD3mwkU85ZJkjCcipvfD3Z/Zw+QWr3qVZ8\nu9SwG4vJLsGwhq5hrSoFOZHzJY25jJiIlM8GsvM+MRllNzu0KEn7AA8bmIdq\nTAXj\r\n=4wKz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIArWPKt9NcGRV2b6iVT6k9S9xvbFrgBy7N2DDp+AxA1RAiB6EzmV1nSpgMjDONRPhxJsdHD3bcH4OC+QDyg1J+31wg=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.1.0_1589766880860_0.6584659240118349"},"_hasShrinkwrap":false},"2.2.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.2.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.4"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.1","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"gitHead":"5bf35d82bd835a98ce16389acb10b8f7254294fc","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.2.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-AdwLoYrwbbIP0gALXrLX7pItEH6/sl3FankSaIqYZ02DMiaGn9MO+wnBINqJ2cloQqoACLlHZ1mcLHBl8BIbRw==","shasum":"934ea450d49d1094800f94afff9fa8be5fc6360c","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.2.0.tgz","fileCount":29,"unpackedSize":201479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexANpCRA9TVsSAnZWagAA9/AQAI5nlcfwzzFsxYPPFRy3\nivKMbpOTT/tk/NSS0jmpMP8SOEFuT14i7TQlBH1V2jcdUH+lOsrSGiwQoDfn\n8GyrVVGlqVmh0wv8WAIcwI1rdqiYPeUIMQx/G/Bz+mZv2G/2IO7PndmLTt2+\nrZWrfc7sjq4HFjvT1Kr64xNJARBcedC2O7ly4Y0j5cboERwo1jZ4gpKvc8Wm\nj1XW0CnueWehGJmsAdbzupEYUEkieexAS+dK5u6q1yYfef2x5wXCsbfewFBU\nPB1cuMVMQjcNkdmOb6Ee0oXeXPYCX+KCT3atIk+qjZT1ZXbNi/RY6RIIYnpV\nG2/bHnFgB0B+3WplpLmpfIyxJv7zVn7w+4a2ohMs1vdrdAsASUd3cBoVbqL1\nLw/3V5Jy4KbePIG+n5LdW7GronTVc9J0OvT1S8QNeNOj7zWvwmmfc8nCnj0p\niiGrd66HDx3v9UplcPbr61/N5KkJBch+pa3xtdTcI1OYtt5ZtkWLvGdPEHSb\n3r1F9coPVF4Iq18MTg+i21MPgRsqeGrbHbnKq7/TLNdcXhIj01qIfuy1DYdP\nJ2lyke9gIqUb55wh3JPwMzdu0Cw9XBxtOKjFUM1+blrFrpTFNhikfVenP+Uk\nmjctz+yF/aPQtYUk0bq+m09hkR3oA1mKTNJPFp9MPUo5StvQLu3ymHDCu2hg\n8n3u\r\n=bLZf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN06XL9O+sluidoSqPHjT4WzUqtdbENY/W9uAjVqAEFgIhAJuP90IKZ3TLRBj5gBN7B3amjqd4W55/48qM6+Wn85jQ"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.2.0_1589904233394_0.9059820369798763"},"_hasShrinkwrap":false},"2.3.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.4"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.4","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"gitHead":"fb8c2b7e6e099dc2ce38d7b23fe54b3af0532714","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-EGulDV70Tgd95SBzkIof2U7VxR8R7oCHGx0kKc09jPXidwHEHTFqTYOw2cFPho8Sc6Q5lZ9+9s6dSnMlThnPuA==","shasum":"3f3dc733c6da6e503ccd09b3413f4316a1f04f70","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.0.tgz","fileCount":49,"unpackedSize":227755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexqAwCRA9TVsSAnZWagAACCEP/ioHB2DqXeuw0qg7XNU/\nN4d2LzZG5XHogkyTIWtJ/OtpcBEFFv6JmQddLvOt2bTeCDLVjb3LT3/zRsvU\nUweI+dhSPvop+nbJhAmJoIpDHw02FSB78I524xGow+iQ+9bD2e5yzkNAtcpz\ngewUc67mWKQcLGLcmGnyiF1kkli0WLAljrm1+a1mzfElLYBy7cIIQfYAJ2uG\n/u3wDr6wxNlEsme24wnFFSuKusBg2SLnPCmHCt3sBWZZvBbI3IaCdFYYCdM6\nT3u5a2pz44/NnGC2XXy8m6b8f52vEucTKHXhFiyG8Oowb+5PRwKcbliRgcxl\nt1VztJuenqRdv5aU30wqa3nx7atZS6wdJag5gZd8ZC1Vbt2fEwFVB84nACUM\nAUWVW9ro6Bbee7153n9BZstNDvXDjbOSGJZUgJDXTC4D0Sot6D1OIZkKoVe/\nFF8bAVQG/pwLXAw7picUf+KrM3krk+6N2XXBUbNtP7xRqOdiUi+RvINA6XpV\nCmR6F65WK2+VMLC2lbjlQu74JQdsx+Bu9F59e2XQ5dgXjvx3VnaD6YfO+57/\n+VtSXLC0nsMeFQSLYbwDUQvLJ8Gp77iN6Gnujd76WIInkoWBL30+BmHsih3m\n/U+yxma79f4tpO696ISj09h9Mj+HC+FSNPKEJJxqt+mO+bKIHMxKC7gyWCCi\nzHIr\r\n=dMBj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCR8CflKp78CSkdjvs0G2t1Do8ztzv+eBTqe0UfVi14JgIgQ/tdDmmRhEAJtazbK/GXpLydgQzC8Bmt9Gz2sQN1dUM="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.0_1590075439849_0.8710655041882276"},"_hasShrinkwrap":false},"2.3.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.4"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.4","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"gitHead":"ab34ad79d85932b91f28a70f0d84a54ef90d3c27","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-XJcT3wo0boyQTvPlJnbjBVxoSWtE7PyI/a2E/nV6e0xUrZ69Mex9X40kFV35X33EIaQIv84VDuEkMoXkxjjNfg==","shasum":"c3e2dae96c4880c9b2dd4ba8ff1466756fd97ea1","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.1.tgz","fileCount":49,"unpackedSize":228074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexqPlCRA9TVsSAnZWagAA63AP/1Om31YIofgEtQA/Am/F\n/i8NfE1qNEICC5vLWbL0I+1LvuRYgXl9JIrLZ/7xLeymj7T5A/3IJtTN5pDz\nb71yMlV2ImlZtTV1auhKmNGhCDa3w7arW4tddwXtt1JR7R4MDzuie3u305y3\nhNJOUFxCYtV2Vg3f3pmgHXdMoNJmnE9DP2JVf2ASVn1njVpNGFKvT2WfjbMh\nkDxZVSnylaO+3kaK98WDr0SqVf8m0qGUgcfBar0jBkyFqOAvsk6CbYp4xG+n\nt/yW9DQzBTZgLEzhJ32v6Y9bC8JCw4TcsxGQmIYBIjpZviTFdModEs8fNIVC\nMNc6kykJXAbNB1qryJjYMJ6hf16WGNDc+JAA4KO1U/+t/S2jAXg5oPu5Sf7k\ncIoenffFKbNxW8tZWHbDvy8i+7mg4si9FiWy/v6MGGLpyQ9c0hdsHOOI5jNt\nRFjvQvB1y5qt5HF34f020I3b55B/bgZQCeXUw0m6wptvGtvIsaSk3TEc9j5/\n9lteSvp5kBYMXYSoX6Nxmjpk+vdv9T0CC7TS7aF4lMxNUWK4c+P1mimN6Fp3\nAu3fRZyP6EVAoPhImLY6ugtWu5E4zQYIhp0uZWnYHwyF6fZOoyhoHfhN9Usk\nyQCfnv/zOj/eLGA4setwvMX6pjdqLVkeg7lOQ1CgaRMNsqGAlJwwerOoO5kp\ntyMA\r\n=TvXi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcm6wfv4KlNR3X/3+fzajGJrb8bHkDL3J+cMKst7PH0AIhAIOa286cDTU3jAt+tH2IwaECXpGQGtvNccMwmhKd9X1j"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.1_1590076388908_0.10647511992299208"},"_hasShrinkwrap":false},"2.3.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.4"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.4","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"gitHead":"bba7405643f1a5362d86a5db42f21374acdda3be","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-y+XgHKJpnKxWR/U46VAvo2erg4//TPzL5LtThS9YfV1/uJn7rTkf0LAaQ1fX94kVA1dBOTG2WW6YdOcAJtMPXA==","shasum":"bc2fcc680d3be8f7c2eeaa2838f4cf3286447fd1","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.2.tgz","fileCount":49,"unpackedSize":228425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyEYLCRA9TVsSAnZWagAAudQQAKCovyB0nYOlWbneObYz\nwp6KED+eeRSrh8loVPdOr9qnN/vP77DvGWycBuh9IZB9yP50T7KN0KsnGLeH\nmpHrzFqVDaxjxOAPoUvBaN/X+k9Dc5Sq4qpu6/YtzWddhwBGIbYs/O7dhg/X\nifrC2r0gSkFVq9+oGjq/CGqDzI0I3ZvYVqKLardmenyJcu7rsbAy6jSOBr5U\niyku9c4OBY32yxqBf7mzmuoTOinUyVFot6QadJVN4iTF9qlFPlwLz7gsdtG2\ni9y5CrQ4Z4QXx8A0xjSSNjKHp3ivmsg8Dn2YImgHdV4EMrHHG+0FF4oiiZym\nnBCdj4naJSKwMunfxx0bT5LIjRjd0a+HsLBZMFAHYWnS7k+uPdvjBUMghcuH\nh48r8FCgHIluZmD+LNTMhKJOD+BQLJtBA7zb4pHArrL4y4pkKSkqXogYDUVC\n5IeoqtAAN1ZOQYKxcK3XgK9wRwJEUsTC+SKvft0dPcERdFpHdpBtmGeTNbKc\nxA2ix/QqDtMsK9jZfsXz9aaebJUX7bOiHZXBWeW3C0LNMpdOQdO/0/qJ5Wh+\nobBNAqd1w6B+1b62pj69NOYA2tZFQmI8ZgYXNwVSqkOHXLxFlKHF4aP+98H8\nPavnbTpW3uyKYlEIdcVzqXyZVH/3WNn0A3PGAoADZj4riHuE6S9ovdxKP3N9\nV0kZ\r\n=Rc6C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0HO8nZcInV3PApBQdTKzM8UB/hbClg9xxvzIFUZP3+AiEA/37YvAartC/ZPUo9C6oqpvOngViWGf2R/6eGNn/oZic="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.2_1590183434931_0.33994819253429887"},"_hasShrinkwrap":false},"2.3.3-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.3-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.4"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.5","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# IMPORTANT: PLEASE READ\nThe **homebridge-nest-cam2** plugin has been migrated to **homebridge-nest-cam**. The old plugin will remain active but deprecated. All future updates will be to **homebridge-nest-cam**. You can install the new plugin via `npm -g uninstall homebridge-nest-cam2 && npm -g install homebridge-nest-cam`.\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as it is no longer supported.\n- This plugin was developed with [Homebridge](https://github.com/nfarina/homebridge) and therefore has not been tested with HOOBS. If you use HOOBS, use this plugin at your own risk, or [migrate to homebridge](https://github.com/homebridge/homebridge-raspbian-image/wiki/How-to-migrate-from-HOOBS-to-Homebridge).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n- motionDetection: enable/disable the motion sensor\n- doorbellAlerts: enable/disable doorbell ring notifications\n- doorbellSwitch: enable/disable doorbell automation switch\n- streamingSwitch: enable/disable the ability to turn the camera on or off\n- disableAudio: enable/disable the audio stream\n- pathToFfmpeg: specify the path to a custom ffmpeg binary\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you'd like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"8820c4e165a6104e98273f3857ead63aea34547b","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.3-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-JbYmWRp+vtF7gV+owgeYMg1kKLP60UWVtPXs1mFJ0Q1QKnq0npU9rVmNzubuLwHOTkpLHAUocSSkeAMRHJRYcA==","shasum":"b405b3d2678b821aa03b1b513587ecadfb70f7fa","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.3-test.0.tgz","fileCount":49,"unpackedSize":228461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyTQ3CRA9TVsSAnZWagAAubcP/33uY9blcFED99FASE0v\nBusaF2530b09QsOwE4kmHkiqLzrES3caZ2FDqthxgOq4DLh1j07TGFzuU27h\nucoqCxOx6OLt+xOE0G6G7XQvlL5GOe7p0RjXJVrma8W2E1JUx6xNoIUQT8D1\nNQ0VGUnl/ZWqAiYkZC8TmzcGk0lU2P7p8V0jxvZOGi8nNcfu9lbMyBlKmugy\nNlgLNmj0cMcN/whN6Ij32QYOfrg84bTwq6Kf9tVpEgnyD6kzlIQHk8j1129h\nY9HsZiH93fqPu+W4PTiIs13cUq0r9Lw2v55I/sCYR2EzPLDVgtoOZQN4ZtSU\nRLeNDB3FazXb9CQGVp41BP2C/gqMLJXUP3iXVNZ9aYMNCMq8Fax6lsDCf1te\ntSfRGawypfzlJbkVDFUV6Wv8XUq+guwkUiT6HQasYj2X5UnlOZIFhtB1mmvR\ntp7BZjbSFs4DY5cFj1K0mtIDlOK/7gBF6OJ79DjFL3vLDg11UGHdx7BFG3gs\nm7mmz7ySpJKYZ73BJx/UTUVhARYGAwM20HEs2DJ9auaq6NPXhuPZc64ZYk4V\nHmm5Dd7o9WiNXhaBzelXvHe12m9NXWn0DXn/r9RjYfnQHPyn+DCrxQQ3Gai2\nNh/AZd9QunZJfVkmkfqJoeK8XHEINx1o9A7GoPUPow71vs1swihzf3W3LNxH\n4Lpv\r\n=C01f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrQJEHwdRwsDw6k3v/xkNca6s3iu0fwYolngbeWyrDVAIgBFZPZhKl6wMjfuytpgV/I/5tAXTUo9qvBdMCuy3A5Co="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.3-test.0_1590244406980_0.08340648699807085"},"_hasShrinkwrap":false},"2.3.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.4"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.5","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"gitHead":"abda0d99907686d4c1404947d60385aa2454bdeb","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.3","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-VADkc1Dk4cFypmdfeFQ81fMFBnoydbVMfVaJMnTwdM7OOayK26PRzDpaFd0MpB2zWQoXQeZYbRLWhrMDb9RZhg==","shasum":"1487bb4b3c895a681bb61b783f8f82a54c2abb1b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.3.tgz","fileCount":49,"unpackedSize":228617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeylz6CRA9TVsSAnZWagAA6ogP/A3ZtttzSe4TOdqEVSOJ\nELh2IgIzYCHg7OGwUGEE2KOGe1xjBgqHVj9tYwW1wsWG0mv4ShL9gvhbO/MV\n8KK4IvRoyeRhlfIO8OpKwrPnzNOEurOK3it0OwnaE5CM7oRVb0tc5vJ4Bh2D\npxHLp1W6FNaifkdEOd3Rp0a+yhFdDaE0ecNjTx7qvlJzSnjk1tB6yL3eF6HL\nRPn3KqPsSJIPg+0YCeXhZlKmgKcnuDtjW/SBvHoLNAMR4z8TJrk0BPukpcsQ\nBlKatP9dJV7kDeyTuFLe8DerNY/rB5KinbAvaoayU5IQFzidKtNn4qfwk6f3\n1WJzVrFzj9l9zCcAYalNKv3gbjuyJu3OegWECEgsTi4I9hBqxXaDCga+dpWq\nvClq4Fb+R0rB5yUL/wj7PNk7dOC9higro1rpY52p2Zf5C617iuKAG/ROYedw\nk3DTOHo7KzE87S7+20k3yW6ZephVS+l80t4C0rXUsu8dVl2FUfJvtjcan8L5\nffpYxtbxbWjMBa+nuw+klbwPFeG/7VkdqcRC1zF3ku1eN9l5oqmL2Mx3dnEQ\nj7Xu0P5NoMLH7Qy0ollY2beVgxqQcRbU4D+ByOC/yO1f0BF4ECqxrGjv+wNG\nrSDyfWUKxWgaC7MyhmanqmiFLmzbPuVZ1SIHh4it57VfUjRR1sUSXet5bb0i\nsDEL\r\n=YvMr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVu1lJNgwnvYNyL2Tq3CA8ZJUPEmzy5hPCA6NNx430hwIhAOQB4xgSg7xIk0Ah61yw6usJSbEMTKXe8ABC25auvSrK"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.3_1590320377479_0.019685109826947045"},"_hasShrinkwrap":false},"2.3.4-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.4-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.5","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# IMPORTANT: PLEASE READ\nThe **homebridge-nest-cam2** plugin has been migrated to **homebridge-nest-cam**. The old plugin will remain active but deprecated. All future updates will be to **homebridge-nest-cam**. You can install the new plugin via `npm -g uninstall homebridge-nest-cam2 && npm -g install homebridge-nest-cam`.\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as it is no longer supported.\n- This plugin was developed with [Homebridge](https://github.com/nfarina/homebridge) and therefore has not been tested with HOOBS. If you use HOOBS, use this plugin at your own risk, or [migrate to homebridge](https://github.com/homebridge/homebridge-raspbian-image/wiki/How-to-migrate-from-HOOBS-to-Homebridge).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n- motionDetection: enable/disable the motion sensor\n- doorbellAlerts: enable/disable doorbell ring notifications\n- doorbellSwitch: enable/disable doorbell automation switch\n- streamingSwitch: enable/disable the ability to turn the camera on or off\n- disableAudio: enable/disable the audio stream\n- pathToFfmpeg: specify the path to a custom ffmpeg binary\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you'd like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"abda0d99907686d4c1404947d60385aa2454bdeb","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.4-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-kd8Bw/bRyCIJ38Izd1rnPv9jc8+zt5nZ218UUpvQt354b4cf5O66iyOB2I/8fQFh9yFndbwFaSJyGi6AYlVZgg==","shasum":"a111028efa6c5b39c9fe2271f30457b17e4125e8","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.4-test.0.tgz","fileCount":49,"unpackedSize":230825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeywi5CRA9TVsSAnZWagAAaRwP/2FIwPj/JY+sl4zDUKRs\nawC1XmTVkNdaX67oPQRb/f+okJCfZL+pQHm7L9+QELHm+1eeke8erdmhxp/u\nty8QqoLO6XTXHKIO3K23JLvL2CnJ+n3S4j4YrqfktpqqwOVNJul9EUuubWJP\nilWHIox7A0VuGlbPPzVscwIzQiX8SJWB+mMezTJJW7vLNRVLEVTCXjoiKVj+\nab/aC+GaZx6H1kymKscR1T/0f88+VOxq4qzehPihSRqEjtrp25t+URvZywFh\npkx+Bvv2TKqfcVbWU2m8STWYPGuouwQQ5CVzfv1GLvnNNaEDcHuAUM+rIaUb\nunltn66TlPwrsPzsFZoMOHJINWZOey8vFH+NWaL+ESQt9vVkvl60OBd3er3E\n2uD7i/0KJaSqofFtzid5sJB4by3HebGHb9kVIuRkjGaTe7Jn8RS0W1W3bEuf\nqghKBDn8biDQKo/4eQaoM9naVFIv2zyaM6J4zQIFpM4m33qLteR4oCgjBuaF\ni+7pysmmmk3ozlxhvMou7Fqcf8tfonWC6hK4uX7jmvYbLVwgT4POOH59sNrd\nfGWJdX61w7w0tpmoqe5SopcTY3DeDXa/DRpgZy4p2qFKLoDy7GRwXAf544YQ\nnmkAM/vv5LEBMLLSXkwQ/JjMmhkmmynsYAOvnoHYSL0rkiP5C8NK64FDbkbf\niYJD\r\n=/Q7W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWfiIn3c0o9bADWA7h7Pt0EDhRvMSzDGr81zMwlub8TAiAFvvdQG6j6FjVlNb7zGrmztxTKMG6dcqar2kX5ujOXig=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.4-test.0_1590364345476_0.2858077061696145"},"_hasShrinkwrap":false},"2.3.4-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.4-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.5","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# IMPORTANT: PLEASE READ\nThe **homebridge-nest-cam2** plugin has been migrated to **homebridge-nest-cam**. The old plugin will remain active but deprecated. All future updates will be to **homebridge-nest-cam**. You can install the new plugin via `npm -g uninstall homebridge-nest-cam2 && npm -g install homebridge-nest-cam`.\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as it is no longer supported.\n- This plugin was developed with [Homebridge](https://github.com/nfarina/homebridge) and therefore has not been tested with HOOBS. If you use HOOBS, use this plugin at your own risk, or [migrate to homebridge](https://github.com/homebridge/homebridge-raspbian-image/wiki/How-to-migrate-from-HOOBS-to-Homebridge).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n- motionDetection: enable/disable the motion sensor\n- doorbellAlerts: enable/disable doorbell ring notifications\n- doorbellSwitch: enable/disable doorbell automation switch\n- streamingSwitch: enable/disable the ability to turn the camera on or off\n- disableAudio: enable/disable the audio stream\n- pathToFfmpeg: specify the path to a custom ffmpeg binary\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you'd like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"bf98d251885a45d286bd1cf24a69931687f2ddaf","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.4-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-PqGDr6widIVOp0c9+BXJxdolK4/MMWsq9/FRdCTLJbzqxGie9rYyKYAhAunyKzFYyH1lNIW2lfVXZPZlmAfIDw==","shasum":"b35f04154055dfcc64e3765db91127f8c7684325","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.4-test.1.tgz","fileCount":49,"unpackedSize":230903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyxVCCRA9TVsSAnZWagAAZzQP/1A+ziJfz2svhL17Rt8R\n48gX1+28Tw+q5ziLeDWAWZ1MFEJJzKDtRHKLV5/4CeTQmR9xYP433vDURTEm\n1X9hq9dtJvfg1DXJaecM9ii8yqD5zop/e9WG29HI4gDdDcITOCNuMFJY84UU\n05SnEMgZ4sDceyhGlInyMeryawfzzlKBzH3XN6aBKkdgWRzSBbYGGtHQ4G0a\nmJAsadybtlSWyqErANuWKyiMATPASaoYULtOh4n+IHQ7a/3Vt9rUbPo7vN8k\nqUPSToIBme482fm16esGcLpTpmJYbuDHVG4PIP+yrDAo6Buc+UAXXBoGIqB5\nzbeX05MVn3BvgssRyqutwBjbagJWtmcEpsHgM8fZZOinuinW0k6SVfizePt7\n5osflV5NBszg0tOF3uLtkJt7vBwF4lhwqEpqrqxBvf5kh/OM4HcNSRbpk24q\nqdHw9xXceJBI2N8hMTuXD8L4GELaYLIKtx75n1h5AWTqVXIqO8u7JfZlEbpN\noEqu0K3B+8grkiynCckH2s4iyRgJebHih/+ePOsvWzioULkhtfPt2hDjzPip\nFlOdHy3qCHD/ZNCOEDevE7TNsRNMYPfszM5SXDc9thADbKnpCw5BTgLskgml\nBQ0zkQ56kMgSZEA0Anz7Ici/0i42tv2hYtTRWfuk+WTGCFF8cwFL89f9YkHo\nENNI\r\n=nI0N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuZb10xvpyXmQjZzY9vvPanojSPR5DhrS+C2C1F8RGRwIgdx5OwgrCcKDNbtB/7owieK7t/StWYU7tEe7HbXNfR24="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.4-test.1_1590367553423_0.540794748446314"},"_hasShrinkwrap":false},"2.3.4-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.4-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.5","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# IMPORTANT: PLEASE READ\nThe **homebridge-nest-cam2** plugin has been migrated to **homebridge-nest-cam**. The old plugin will remain active but deprecated. All future updates will be to **homebridge-nest-cam**. You can install the new plugin via `npm -g uninstall homebridge-nest-cam2 && npm -g install homebridge-nest-cam`.\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as it is no longer supported.\n- This plugin was developed with [Homebridge](https://github.com/nfarina/homebridge) and therefore has not been tested with HOOBS. If you use HOOBS, use this plugin at your own risk, or [migrate to homebridge](https://github.com/homebridge/homebridge-raspbian-image/wiki/How-to-migrate-from-HOOBS-to-Homebridge).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n- motionDetection: enable/disable the motion sensor\n- doorbellAlerts: enable/disable doorbell ring notifications\n- doorbellSwitch: enable/disable doorbell automation switch\n- streamingSwitch: enable/disable the ability to turn the camera on or off\n- disableAudio: enable/disable the audio stream\n- pathToFfmpeg: specify the path to a custom ffmpeg binary\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you'd like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"2479d1e63e761f336a89a8fd7a2245f4016ab116","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.4-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-mrRveV3tjbMBGz5uRYKI0sTLKwbS3em6mdLMZLxNCONtvqMooGxVKCVoY8doBv3EcupV+J8p0R+Iw936fHxGOg==","shasum":"334edb967a9d661a3d1cc3187670045312283c25","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.4-test.2.tgz","fileCount":49,"unpackedSize":230704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyyksCRA9TVsSAnZWagAAtSoP/Rov1Xf/FeX+cr+pptrH\nhDeQEpL7XrYi70FcV8Uca3q5GewnPqQHnQ7up2gT76h8pNERvuxfE8Od5eV5\nA9k4OlvXp4xsSBVPmJ3XoQvuEpG69cTXuPYjoXVqMBxk/yE6UwpATNKgvVSl\noTgbqHFP/+SOcdRHBv7X88dN8Fy8/zWH33ZS/dqa9wqU04T7snGpIUxDL2Q5\nwlE6J7xVT/MFEzOZ66++y0/ao2Oe5qLwXkGPgVH8PIQsjQBUC2j6jUDXzOkS\nKdHW+W/YF/ppSzYDOkevYAH9NnSjHR1zEVQEToLn/w8A3zFfxlX1e1u0lUR6\nVnGslr8S6fhf0194BbpAoY1lFE8FwFqpIA/TP40AgzG3WcOGlpr28qxXiapF\nzvbPr7pmfvjXFsy1NklX9Wv21L+r7v0Kzq4Ph00vg86X6ZQiB2EBBGeVZUrB\nm3Jqknea6LJMRevwV2AqGDOIbc4q2P7QP6XYRkc6oxr7bxDgf61/0EKgs1Su\nuEF9VQ01WdY/k5bxzixeBsSPKXZUfZG4ubYo+F9bkPnN6F9m5pAAsKVXVU+U\n8RvSUCWe/N7s333JKv9cE1RRJiM9PWeKrU8Ce/vovCOPTkgU/yr0SAua+8o0\nj2+2WGJ1Fz416SFa9UxjlMLtHIjBy/WtMcXgVpMHN06LpOQKuxjXhVUBI7nO\nzntx\r\n=JgH+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGP9gEncc6MgVfiXu9HxSlUn8nP5i+QKuV6X5/lLJ6APAiAHNe0cosG3407jAbF804ntMlK8G0EA6nGS6u9bZ5cfEA=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.4-test.2_1590372652450_0.1506409325953928"},"_hasShrinkwrap":false},"2.3.4-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.4-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.5","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# IMPORTANT: PLEASE READ\nThe **homebridge-nest-cam2** plugin has been migrated to **homebridge-nest-cam**. The old plugin will remain active but deprecated. All future updates will be to **homebridge-nest-cam**. You can install the new plugin via `npm -g uninstall homebridge-nest-cam2 && npm -g install homebridge-nest-cam`.\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as it is no longer supported.\n- This plugin was developed with [Homebridge](https://github.com/nfarina/homebridge) and therefore has not been tested with HOOBS. If you use HOOBS, use this plugin at your own risk, or [migrate to homebridge](https://github.com/homebridge/homebridge-raspbian-image/wiki/How-to-migrate-from-HOOBS-to-Homebridge).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n- motionDetection: enable/disable the motion sensor\n- doorbellAlerts: enable/disable doorbell ring notifications\n- doorbellSwitch: enable/disable doorbell automation switch\n- streamingSwitch: enable/disable the ability to turn the camera on or off\n- disableAudio: enable/disable the audio stream\n- pathToFfmpeg: specify the path to a custom ffmpeg binary\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you'd like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"bb09312409ede404fe6e26af107ec52c3381acff","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.4-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/UTWm4bdgIhh9WhcXjtROnSvUBxSWmzXe7iTildEqY4IEwTjXVCTNA5U4bU6iVq8p8bF2wu62SZH2iCw8sUM2Q==","shasum":"db86338f8d9848e0c90815e79c1e1a6ffc147b64","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.4-test.3.tgz","fileCount":49,"unpackedSize":229326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezB25CRA9TVsSAnZWagAAqNgP/2TEruk2Y0i4MHu0OTIp\nIZgQHAyL0su1zw2WaVIVWzX4WURaZndhvC8RxmQoTWO9uTfIEzAHoRtcRjZg\nzGRaCn4J6rhrAHKS6h9KJejmY9YHRO+vFMb3rEBKdCZgQPjchZKObyGD7Rjm\nLa+mFX+cnl9F+7sPsvZOh7KNp354nGyxMkPVly0rbWcmmEB8SOw6BmGRnSvo\ngf1z8oGt5m/ud9s7LE0vwE+nKAdoddr7mxDQGZoXzlfyahhOUB3wZOw7V+j0\n2LNCVggHBbzgCvjDvdsZunu4e0nUPdaZSMUdLKmrY8bXmyR2mf3fKLA2MpnS\n2451WJOECFFUj+DeInLYdMK+MjCxaGAqrpp8F/15lIZWwqDaufEWI5QbF0xL\nQjLoIumnxZA44doiTOMJMN63VRlmA59ifKjR0QdY80omszUF0zY9IHuy79o7\n0PyAgIEyh/OilaMtMWsLC+o0hoH97RfSXMzQwJhtHKe4Rg9iekdN35WjqLm0\nvl8g6NzULT1N8H0otw8HBNJ7ViW5Qoga/85MQcXYhNJyutt6/ULRms5TIHzg\n6QE45Mf6w1KdxzwVHxUSBROvgnb6uqq23JHJZmCmUKpoXLEirHDb+jCTWpk0\n1+DSNhIWi7k/yquvCUAwvqkMnuAnF+V0eu7n7M6wj+dxszwFQED/0x14RUth\nr/F0\r\n=wl16\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAv7D08DgQGVHUPxeTwmTpYh6o6B4eeYVp3iY0ZvM+fgAiEAvsGShMT0TNQXfelDols8iAxoghGVPXxLLxMz01M8I1g="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.4-test.3_1590435256674_0.48121519848647853"},"_hasShrinkwrap":false},"2.3.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.3.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.5","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"gitHead":"700c9007287f9f9ed5ca4509ec402e1125c8e384","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.3.4","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-gUw3DxZ3rfQkdVmTGRMjzyUb/HqRR6yzrJa+Vf/gXM72XcG2F6GWTuADCvvqHb2zFWS4TJGpbzqdQjr/DKJWMw==","shasum":"94a8739f7475c2c444570b537e1530019f0e8a75","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.3.4.tgz","fileCount":49,"unpackedSize":230764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezCZRCRA9TVsSAnZWagAArHkP/3Gxkcp/blIx0MeaMxSn\nbjr/svWy62DiLBE6DnouOGlntx166wT/JHe46C8SNvZJfNPgiT7hvCuBhLyj\n85Kr+3ll/+ONLVzf8JiObM0ff/Y5jFWc1/ghBDsUVxhCE74p5oVF4F6NPxyt\nYHtntQ4HrvM1Z2Zy7pkFes72pt4Prv1f9GCRSU0jl8uxuN8ACvqJbitxsLmh\nvdJ91hag8TfYHE3UaDDHdVpjaSGg3tkUs6eTLsoUUnMkIb4dtarqHUJavmMI\n1ZNkR7a/fpeR7tZuXTcIaxfpRMCT1zbXjKh0QsFs5boqlSmijfgh5n5mVJin\nexqMM76IA1+5Z8eAr3Y03jhIeFmBkg1UJeQsPo1NMDPP/7jEcNt6ZWIE71FL\nwS+VIDZQHgsQCttncXElyhz9R5ju+ak1fCNXnRzWsfUJ1ulRZ7QbWvnUR9lF\nBYnTNTxLRaAiWQYuwaIlF71hTX1EYopMHNKyByX9vSAz9AUWK+XgQysrYFhc\ns/lrmRqrmp8riWKTYUOEmawUTyEfU9BhneHM0WQPPhKWu6RwU/hfgkoSqVk0\n64OO0dEwa5cyy26TDb8Sr5caLXNENWCR2t8x7XLxGFsdm4B8tPpkceIoC3Zi\noN1jUf/Iljf66DKzFaJqdctydNdZ0LtVrJyKQRImZ43tMTuOTQkxKjgTiVie\n3+Vx\r\n=BlHb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6ONDc5HjEZFLk3+jG+tWHswyYQaozqnVpQ1ZaZ+pzwAiBUBVWcYiCPm37m8QfZ9IjFEDEVF8734AE2nkAuJI4vQQ=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.3.4_1590437457432_0.8321757223160795"},"_hasShrinkwrap":false},"2.4.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.4.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ip":"^1.1.5","pbf":"^3.2.1","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.5","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# IMPORTANT: PLEASE READ\nThe **homebridge-nest-cam2** plugin has been migrated to **homebridge-nest-cam**. The old plugin will remain active but deprecated. All future updates will be to **homebridge-nest-cam**. You can install the new plugin via `npm -g uninstall homebridge-nest-cam2 && npm -g install homebridge-nest-cam`.\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as it is no longer supported.\n- This plugin was developed with [Homebridge](https://github.com/nfarina/homebridge) and therefore has not been tested with HOOBS. If you use HOOBS, use this plugin at your own risk, or [migrate to homebridge](https://github.com/homebridge/homebridge-raspbian-image/wiki/How-to-migrate-from-HOOBS-to-Homebridge).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n- motionDetection: enable/disable the motion sensor\n- doorbellAlerts: enable/disable doorbell ring notifications\n- doorbellSwitch: enable/disable doorbell automation switch\n- streamingSwitch: enable/disable the ability to turn the camera on or off\n- disableAudio: enable/disable the audio stream\n- pathToFfmpeg: specify the path to a custom ffmpeg binary\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you'd like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"700c9007287f9f9ed5ca4509ec402e1125c8e384","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.4.0-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-scdSkey8HAKOWFSja295C7hJaqMRrH0mYDqnDK9rZasqExNmU/xljGSVubk8l/VnpBGhWBeXBilHlS8nVXbd4w==","shasum":"7032306dcbe2d42865f91d763a82a33f2eba27f7","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.4.0-test.0.tgz","fileCount":49,"unpackedSize":231501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezSVrCRA9TVsSAnZWagAABGEP/RQrsW7gpZEWA+C501+Z\nWgOleGZ2L2vY5gseNJLLBYiY2CDNbrfzJte988n1rlvXE/X9DzuwSpTR/uBX\nqJq2Hgpe2BL0EUUNDJyKcc3Mez0TmwyacT7PIGdRiL6dloZYlK+Prbwe0Yzp\n8/doVK3z0vfP/EIzr8uZL3vVhGwsDFU1Z7O50XwOuakxTaQ5Fb8C35qAHE0I\nY3fUvX2+tV+ntWKrf5LKB2gxpL0cYslPPSIwElK1eqbvaJLBYIPi/9N+MDbG\nAz5dZ3PADPQEqCmWWocBw+hdrqd2rgfJZZ2FuelAu1HwHFdl8o8Q5Onp1ZMW\nBGrgUBtqghaxGop68NX257e7JkRobhc8WFHxb2tZ5R4dy5yYojYLTpSCcKVO\njy/10R2g3WuXbNsoviFrTg0UbAw49/zD6edl4lJMaGMO3DEEhpsFbiLEmkCU\n+I3QVHJfp2Ytf0jtuucrr4Z++MdCk8DEBrIWzMkbuo54LvX+s8pGnSw5lUvd\n1D3GIouUp3tuzuMZ8E0juPAwuJHARzvbiQCGR7paTFI8DePI1p7ebVm6Ca3E\nDc1ZFwM++2ldKepfAR6NeYaAUj21dNemKsyISoIxOVuDFtqgG3paxm1qvqWu\nQw8Q1SNt+JqiiL3vB9NWTUQ/wa1XTOtaUiiXV0EnLmVm5EykJBYu9Cak5n44\nQN4o\r\n=rVAR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZRA4DVQgy11bmTO3qvOF5h7v8j1rqkirgy+VUK4REtAiEA0Bofm0ZoCR9BLqgSY6LJehhcnfvMLb1V9/wL7hgUVRM="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.4.0-test.0_1590502762403_0.1877829057378857"},"_hasShrinkwrap":false},"2.4.0-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.4.0-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","login":"node dist/login.js","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.6","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3","@types/puppeteer":"^3.0.0"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                             | Type             |\n|-------------------|---------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                           | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications        | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                        | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications              | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch               | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off | boolean          |\n| disableAudio      | enable/disable the audio stream                         | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary              | string           |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"101ae2a5ac33fcc6ab14e5f2740a711222110e22","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.4.0-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-UXgV7vTwozgjy1CcrVbMAGI6N7jArAuEQbaoBe7PTGIc+h9OatpbqU02RE6L5KpUMCB1NqAH1irUbdHZrOApEA==","shasum":"2369483a5049bfac1c1d873509e02f9af65574d3","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.4.0-test.1.tgz","fileCount":51,"unpackedSize":236391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2rVHCRA9TVsSAnZWagAAoxEQAJEbr43ladtFNixT4J2A\n93swlHV5ID34T83KBajZ+L5FJbhvCNRWYPM5tWP+1hcBVS2NjH3YkgSS26fW\nwLMJxPKbbUjnLcu7VQnDbh2SJoHtvNDcwkwXnsbkP5IX1grAdLBfOvvBnsOk\nD08PmHcJw1enP3/n9Biz5aCCAlGgaseIPXWcMcTySA+Ytpp02N0OQ5qUzub0\nyUyuDlNQftOyD/s6IqEOqnZZY1TZcA7YK+3O3PcrcijQjTwn3yqpFtc0styD\nazYdJsYICDeZYWMd3RdgogzSGw4HocbIjqej2/UcbBzBnVnnELoIv+h4LG4e\n/8z0qEZ6GMkaNefijRVOqG824ZMNWyXYNJK6mtb1d3caPLWEidbUlbxI7Dqv\nLJ5P6XcjTmanKnRKsAiUfv4zvdSsM6NoWv66boFw7GR8zf+qSCZvSZqXh/1C\nPc+n12LBM0FoSv1YBA2OFiwqVYYfwRpZXkIYlSzTkKU50lbcgG0BW2i2JQxB\n77WpYa6nasgEmmkhzkUmOV+eTzM3XdYgxz8elcTbcwPhpNLrn2otZXfg+4Z0\nXw9XwUC2Lc2Ry7e+YWkesUVkpV6zVQ1CsAzMZ5ODXapTDlNtewZZqkzBE90q\nCybeX0yb0V+5vh32JhqqYCpGriZg7r3HrVNrl0rSFVsiOhbegkw66SYqhU7X\nJ/TJ\r\n=+tPk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHjvZNvumJPLmME2t0YgYYgs6ts+TZJojKAy9fhHHAPAiEAkSyQyaibyA3s6iGPM2mfTzOlIoFngFPvLZ0oAQM+y3Y="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.4.0-test.1_1591391559323_0.22762752327858315"},"_hasShrinkwrap":false},"2.4.0-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.4.0-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","login":"npm install && node dist/login.js","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.6","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3","@types/puppeteer":"^3.0.0","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                             | Type             |\n|-------------------|---------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                           | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications        | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                        | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications              | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch               | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off | boolean          |\n| disableAudio      | enable/disable the audio stream                         | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary              | string           |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"aa82bf665c623cf1237b5bb841a22bd77c116fdb","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.4.0-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-jOeLUMAQeSB/s2UZVRhawXq6c3Be2VZBJ2Ea9pY/Uf/liQkNbpo1QkC+uSNtvMMcw05pBXHl4tVHVJjG1hfFKQ==","shasum":"31fbc6b84452cce93e7fe15cf90498de1d6fc7f8","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.4.0-test.2.tgz","fileCount":51,"unpackedSize":236405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2svlCRA9TVsSAnZWagAA57UP/1I+Qh7CndBXD09ebaSI\nsYmm/kZYU7V/yFqKpwpBu3oBkcJP2/eS6QKHbEJFe8sR1NaCl9zNORTWnwE7\nEhjYjPhjlMHefga8vhcotHuKPkn0LlWr+DB45oE4whoLfsUZFHoKOJl/m3Rc\ndgGmsLmyf5WEvZi5OeW10cDtDJAVaY6iJ+XNmhwUVehbrhfsg2em/IAPWA9F\nIql7oBssAdIJ3Bxs6TbOycQBPioMZzgRIaP72dQzExJk0f4P3g5Gg+lsutNP\nwJYKVSoyL1JRq0mNyvBvWuf3R0XjKdVar2e8w/5X1eFU/NNgTHZqkaI83qX2\ng74MVYWKhsrae4S2F6osY7g24S1MjjH7h2sSKDduGHhlwiG+s7s7GIupKYBe\nnjBSjedOgjtVAhi5PUSAljPdqL6XyIAo6fCcZSNaF15noJTd53YJ9b63NRWr\nKrsZOATnOJvTKYf3OmcruoGWhA+lK3qa0noV2mxnuCXbPMOSVGqCnwNPOUJU\n8hYT1pmLozc/q+ZVar5SX5cVvwNQemWLD7f0Yb1TbcgNr+ThAiF9S7jXW95m\nIDUYSawzsWGQ3Q/tG0M7yVErVNrUUlNoMm+P+98tuhGcG45AWzp/cP1L8fiJ\n4D2yv5ioTsySlAUwhx4WItoi1Rj150HEdscB/TtD08728vF7+fZ45sTTfFjp\nVz3R\r\n=7XZE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsEsvunv8tJMgukz/ha/Urz9Wlfv6sIqeWuaobgj1VMAiEA7TpdyKLg+1FLFdV9A9DiVe46Ydq70sdYiAtee9/fLbU="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.4.0-test.2_1591397348698_0.3755582518804772"},"_hasShrinkwrap":false},"2.4.0-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.4.0-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","login":"npm install --ignore-scripts && node dist/login.js","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.6","@types/pbf":"^3.0.2","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","ts-jest":"^26.0.0","prettier":"^2.0.5","rimraf":"^3.0.2","typescript":"^3.8.3","@types/puppeteer":"^3.0.0","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                             | Type             |\n|-------------------|---------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                           | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications        | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                        | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications              | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch               | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off | boolean          |\n| disableAudio      | enable/disable the audio stream                         | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary              | string           |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"fb4845162516f1efbc50cb6f488ac198d140304d","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.4.0-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Z8zJyCcqiCXJbOf2bP9IeCr49of2SvfjTB1NCUPm3Yu/Pe85FNHQgqNbo7b3WBcjhWJt9KVyGubnsgKcU9sQ8Q==","shasum":"bb65f506df8abcc08f981686919ee03283cbbf0d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.4.0-test.3.tgz","fileCount":51,"unpackedSize":236832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2tArCRA9TVsSAnZWagAAwKsP/0Ny3Otps/XXYkoWixWb\n+oLYZeVLxJhlCJ/Tw784cxyID+0UKkXBZmZlveuc1j6s+hbyF0IF+1CUXMIM\naP5mf2Qmix/n4KYj26rym6pM3sZC+K0LWjmXkvY+AQF+k/kx+1hDXtpkLJT5\n/iNX3nGsdNsrCqV16VorSwdIUHBruk/EqVRXte8i18lzZpNCr1Ef/an6vpb1\nLcLfLNMt4TlfcipVtY+sfOaU5hnUC1dvMurGISaayUnlYiCqNWanydXNVAyV\nnT6yWWQBJqYv0/aiFFPyJHLS5sOtLmYjex9s7d5XItaJtITGdf57UNVJ3e+A\nootcgYVqd+7oUp9dPTPBjlCwetKMAEXr41qXryihZWwoxtNdIJQgMKDYq7Xl\nZWNFFiNL3aGKTF9xYAeyM8BLZ8pgmrc5qKKyEy4uv5gkk+ho2e1YwYNFkly8\n8xwxZZsozfRXq6oxl2Qe4X5xzk75VH4uN4mL4u/z9zRYlSQKQWj7Hbt6+sHD\nESzHeAZez6Coga0haTqJjChpJDFBBKBG6nINPntqsNX3OA6EnppPVKjb+a6q\nHJymVWUotLLBPm2M3KQNHAoPIU3Ikccnxz9QiDbPlVAaRLsfXFLg+qKk/IOL\n6UhXMdqQ6uL/JFPlBEejrucg5f4hsxd8tz8fWnChttZLScP5r2uquISLqWib\n8F6r\r\n=L+H5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfL9P1DDl2aVtshS87hqWklWp0eXJXvFhM/YN4IHS3BQIhAI9BgV/f0n7xxxPB0ltxr+Md1QUu5BuJ22qNHNNyOZ7u"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.4.0-test.3_1591398443376_0.40005964492539925"},"_hasShrinkwrap":false},"2.4.0-test.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.4.0-test.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.6","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\nSetting up a Google Account with homebridge-nest is a pain, but only needs to be done once, as long as you do not log out of your Google Account.\n\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\nThe values of `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"` are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).\n\n1. Open a Chrome browser tab in Incognito Mode (or clear your cache).\n2. Open Developer Tools (View/Developer/Developer Tools).\n3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.\n4. In the 'Filter' box, enter `issue`.\n5. Go to `home.nest.com`, and click 'Sign in with Google'. Log into your account.\n6. Click on the last `iframerpc` call.\n7. In the Headers tab, under General, copy the entire `Request URL` (beginning with `https://accounts.google.com`, ending with `nest.com`). This is your `\"issueToken\"` in `config.json`.\n8. In the Headers tab, under Request Headers, copy the entire `cookie` (**include the whole string which is several lines long and has many field/value pairs**). This is your `\"cookies\"` in `config.json`.\n9. Click on the last `issue_jwt` call.\n10. In the Headers tab, under Request Headers, copy the entire `x-goog-api-key`. This is your `\"apiKey\"` in `config.json`.\n11. Do not log out of `home.nest.com`, as this will invalidate your credentials. Just close the browser tab.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                             | Type             |\n|-------------------|---------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                           | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications        | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                        | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications              | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch               | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off | boolean          |\n| disableAudio      | enable/disable the audio stream                         | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary              | string           |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"971e8e585d84f5d612c6829cfb8a40737a1b89b8","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.4.0-test.4","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-jilziNS4YI8ZRDfp4Qnt/bjkFKLBoX7MJTroUyunAUVrgyYGJsu3pj2QLlIqKLA0xuZJzaxAmsr8TVUOg9NGgw==","shasum":"6c43668973d37a203c383cf288a6fbdf580efe36","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.4.0-test.4.tgz","fileCount":52,"unpackedSize":237703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe24ZxCRA9TVsSAnZWagAA3m0P+gLRxyWw6iGYyPmmdMaH\nqvXP0zn4cgY5jnXVhJLodnWgMtX4PklDIVeSHSzaS5nICxqprezdgnEb+LIb\n6+qIzdudFxzOnBRpYAMUhc6MMzmBrmaKFJBBvuN1BzbC5nZ3ANxahm1pgzpy\n7M/KEOfCs69TJGXhecjClqX6ihCYc/SSNkDM15jf7T2LW8Zh7NJQlWBWfPVh\ncKkAQ3tDZQDxRdddS+dcZV6odCPXRb68KNAo5SZinYOcKlLFAkLkSyroeJ8q\nWoaemAHKCaPB+hf93c2EdNcJ93HT5m+4s+kRhgOE6JLTMU9lDYtXR4BoEJYH\nN76OxHiR/X1wjf5W/PO3Fu0FLpjgHf30QSlQm9VHMive1gqMtx7z207DT/w4\nmxj8D3RR3NysSWCEjG2ZCBf4is7AhpspRkwJVxtBzZo4wYvx/Av96GlYPTl+\nzR/I0z7nyePTlLoBezFfv1Ae5y4AqbzJOFM6jEx+BsGfS/dg2g68wsdmO3wE\nXEHIafVy5cTXW58FLPtiGCweOi/YpwRADmF1Yyq2R1P9eAkbrQZx5auICpPI\nhG8+lawrM/UhB+J1eTE6PTt4j3eloHG8xQGhfmDhGBVuJ2PKR8AZVv4+zFiO\n4cJLu5sMyRpVN9+5ozp/9NY+sX5fXoI6CGJSAD5oftPh+W8Ze1bn+abreBjN\nSgUU\r\n=AMuw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFJqu/8/Uh/IOkzliisl2ul2m1/Bbj9uk3WxbvQOh1BTAiEAzJMufEwmD68EuEKHRtcjESfiyvIV8+1knvO1uRW9dQg="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.4.0-test.4_1591445104633_0.20543052363088377"},"_hasShrinkwrap":false},"2.4.0-test.5":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.4.0-test.5","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.6","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. Run `homebridge-nest-cam login`. If your account has 2 factor authentication, run `homebridge-nest-cam login -h` instead.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                             | Type             |\n|-------------------|---------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                           | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications        | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                        | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications              | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch               | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off | boolean          |\n| disableAudio      | enable/disable the audio stream                         | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary              | string           |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"1d972bb7a5bad51f3138fe6deafa5add7341b8af","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.4.0-test.5","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-baXmnQvjWH/EEw9FPJENHiMv82KxcruqxJOJhE8sprQwty4vkah2cXd1Z7ryFvdA+YlXEE4IRWl2eGooD/8DzQ==","shasum":"c75a7994980691d66abb356ab777a62b3327d9c1","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.4.0-test.5.tgz","fileCount":52,"unpackedSize":241632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2+KXCRA9TVsSAnZWagAAnPoP/0PHKOgSSTy4qhVAGb0o\nGFsOBqATo5VienrqYc6kE4cKl8uk50byj6eEz0vP7MmoenRnRiVuNFlrns4H\nByfPLQz4KX0WQ5Ev0/d/99ytAn37TZNPWY/Z+gqGyfuM4LbqfDr87s0ysFuw\njCuY/fC7G+OseHsO/ZjasX0p8LMWnBZlUbqsIa1WwJhG+KZxGIK+T0TsJw7d\nc+uFdLv1VPcKoXB673BfF0on13EsKbrEi25QAGVsE7ymPUVItcu4HTmmrmfY\n/ZJHcMdBIb88MKbNq067mKNIP7U7LucSmTyoZ/iKD0n6Sc4rGNq0s8gfTOKP\nJNOFGIyW/5uVU1x3rp4b0pGhM2bUwpQw7PnvH80RpYp2kpzMgmCCWtgnQRTn\nhMj/c4tiAUnl10tdfLhmzvgcFory5S0ROPV8aQM4oU5aQH/QbgNxz963YlZU\nDDSH5kSW151jsajD4pBWCaBSQ0h4H3jwswPv8pp4+/2mA9KJUaFj/UlZBUfi\nkBbaii9IyD3LwbnQ0amDxq6w98cJLiVbHEAjJdMj+E4wqrsYSOtjutf4FINo\nWSeYBjeYRSvp1V5bTTy9svk1Cb7bdI0bMDkyteosTDOXxbdZPaWrfFIFdNUc\nP2mILcR1Fsov0tVYSar1+GtWrvh1154CahTEDBdzMUIMSzqYR1W8Imn5uUlZ\n0VfJ\r\n=+yCS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDacLy0HqTicBpfVDai564u2o9UjkjC08eNOpHV8CFUNAIhAOc2rLVRuBnPnhr74XFTx2Ja7RxI3Yqi/04UC99+aaL8"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.4.0-test.5_1591468694830_0.7490731053647979"},"_hasShrinkwrap":false},"2.4.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.4.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.6","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"3632e12c1378094ff48ef81abffca8ce7d1ba80d","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.4.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-IJ3yNbUF+wSgz9MEFgxf1fi1dZabDf7Swe5jwzz89yjmqStAmvGQd1q+b1ifH7u6K7tAVj9z2Eln09F9eUrHdg==","shasum":"3edc84fcd4fb85a3c3dfc0fba943d7a9f2b7e162","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.4.0.tgz","fileCount":52,"unpackedSize":241349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3OiQCRA9TVsSAnZWagAANhIP/1sdnFAjdG4fOPHiD81F\nmY0jFjJeI8B4lVpnBLuiiWmSnUtqH1xsZhQlrG253F7uVg0ohd9wk3sp6BzB\nn/97Z3vTU8g+TDztdeqxNrAiAXPv2eALSsiaz9zic7UOr1GIUz6Hfe0WdskQ\ntzF5aB/ktJXhmp1AB4LAjXFS5QjyR5A1HSJnMzDJTHszNv+Cg3VP6KCqhdTb\nv+U5d/jtIykA3/3qOlO/PujJVYG1gOYG4Vyhm59eXrwDMTOC4M4aBe4gBBN6\nCHgbkmNtP+7Lwo95pPqDDo7iugo3gf8oWsvxijOp8+X/J5CdkXpDJ0zgY5NK\nYxDpE2xufeBdDV9jPMQZYNLgAhA6DW0eikxKWWTTWCXYK9wtBk6j2V9gIaqo\nAhLxKIPtHEJVx+/w5iAub9/Fx4nI1szrx5cemZt2jqTX4WXXIz+KxEubjCLN\n1G21zfxVJmgv3YwhMf6dTn32qGpw9QhXRP6d3ZuRvNVUskYpZapa9Ggrdnn6\nFdpNlV7AaJPgvSnLr5WcqBVWKWfRE1IBmMHKC3eoo/gLvZ3x1n0MR9SzpZV1\n8lPkjdf/lChSFTSb9G3z7evNQhZct6dffqUcf5Lmy9ZLyUjmEjsG9BORjz3S\nOMtHBGIteYR7jQtLHStT4LLU5GGKy9ciY7oSaiu6AMNvKArSzxf/Qxy+3hZL\nMgjv\r\n=gnAv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFgZsOCf2H73o+ac/mq92uhNgg1wWnFKdoL2UEduA0ulAiBHazwKbPvtRicTLS5P1GL4E1mMxTets4Fv3GEq3aiR0A=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.4.0_1591535760330_0.5611201084974935"},"_hasShrinkwrap":false},"2.4.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.4.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.6","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"39215bb2aaebcc9524a794d2212c8c4acef45f25","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.4.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-RyFl4Y3E6Yr0ICEPTfCcze/pDphZvMhcA8rdwN/YDWIqKWAtysfbbT9m4rhRpJ27jtIPjt4Kvq+2fJcdbrQsUw==","shasum":"d90fea34f55fd9cbb47bbc2ed8c69d00ab88b360","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.4.1.tgz","fileCount":52,"unpackedSize":240965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3Q3uCRA9TVsSAnZWagAA0VwP/18MUrrfV2VAtKG+cqgC\nm4mFdkTK9+bVWszXW0koLa993+KXQ3TXEgDNA6+CeKTY+MTlsMFoRuY2wR05\nbYXLABrGtQsC3g/BBXV0uvPsZxSv3B01kZVL9SyJbAT8iWOM6YTAYzjVXpfd\ntwnNWCTq8FFnDY2BA58Y97XkC8kFNqdalnwF/l+EzBlXCc2n5iqcDiHqjJ0Q\nB+6KhGSj2m67bSHqjaTd7oISce4Xd5ImJfW12wXcN1yc1+jXrpSMLiN4gGQO\nJe8xNMyfF9B0gzfrPPc9M58NDytwslgrtIMhYLqGqmjus5Au2U4KgxsOizV4\nlPcggGgMg595nD4Flt+bQl3+Im2pv950NdGRn234XjylPIuZgrILdVqb9krg\nRNa6sEMTyIN9b1W9Y2f3uFToOFkVJthMRzMFiQYqCn18OZef6m0TTgmO8fzG\nD0ok3V8rVUXz3FxImGUd/l9aRIkd08TDSE72V8NcH7Z+fDx59GoROj2wZkye\nUz7oXc8R+YdPPnkuV8buHWKB1SgylyWETQHygLTKDZj0N/uJCcR+TKf+d85Z\n0/gI6aAU+5QZEnH914cKnxEdFn1Yj9A73s1TkUyAjf3QKJajp2qGDhv1LJFF\nctLq2cgLe9O4rbq+LTTT7RktUlzWxJWppaCSVXL5xuAlHC6AmPt6noW105rf\nrb5X\r\n=PH1R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmdx/MU9K9sD2UKjYBQ1Bv7rDYDGm9aDmRJNSm22536AiEAy3gFTrXzLJxiDaaI8ZsdDIE0lBnFz6783oDcXKizezg="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.4.1_1591545326308_0.4422454379263747"},"_hasShrinkwrap":false},"2.5.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.5.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.6","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, run `npx -p homebridge-nest-cam homebridge-nest-cam login` within the plugin folder. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                             | Type             |\n|-------------------|---------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                           | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications        | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                        | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications              | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch               | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off | boolean          |\n| disableAudio      | enable/disable the audio stream                         | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary              | string           |\n| structures        | specify which structures' cameras to use                | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"97e001357d59c2c27d0513533c0b3518ae21f507","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.5.0-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-CFKZxd7javPbTKkFws08Gmqsf+ZJroQXIF9TS7e0HnaEG2UfhroqNGQB3LxKaEdftVHgCSaKcdILwefZv1k6NQ==","shasum":"bedbd493895ae1436723d09fd1ec682d0afcc8fb","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.5.0-test.0.tgz","fileCount":52,"unpackedSize":242026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3UP4CRA9TVsSAnZWagAA0voP/RL7K+HC0yYmaK97h7O+\nxwxanJssxKLtQykF9LHzbwYZTaxrAxA00CwyBuzVcbIpYC7VqScIfge9gR4a\nyO2E9H7LytDhP+CzMw5EW+sLGfO3KqzvaO/8bj09XKWQwSVE+xp7kCDpKNIP\nmSp4ireSaz69cBSmFeUd5mBdH4sMQmHbyfTvTSftHdTrepD2F8P+uiTbDtn7\naLy/zeWgviUugUajsk6+uT/pYlMpqCODj2ySxm7IbMRTNQRbFHAVu4KcQ56j\nnVT60CCm7LnLCRqw9XtgVyGUSVZaHtqeVVXuCyoBxytmMJ49gQlvMgtoEpUJ\nteeW7VSjy2Kj/0/E4p9yyUwjnRUmgieVdCT2pDs/43CVoBgjHto/KBbFszZT\n+j/O+6U7K7Ibj+dCpKAVkbkxeD+xvbL5WRH4dLTYnXA+S7J+nANI4C2CC0Hg\n/ht3RnGsoOFu99lbBP5G3cn96bukFDunnRb7uXuOsP5S/kHx5qnbl8Obbxmq\nfGmd7p29FMCutS1UW3NJf1ZLPQcOCJc3cdTqJI9Xwsf8NZKgbPHgcyY+sg6b\nu0huV4+drsixU3aKkznFjvCnuMk7ujhWL6L7l+5djZzfFLqv7gmvh8T3giAz\n2pc1OOv7Z2PsW9YUYtxTxqGGqhhx+rOUiP+5ObpVg7b4Z8fqBWs0kULBKeWz\n2Efb\r\n=HDq3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmDpNx0tdsHA7YoeCoRuJKSIFnMo/wjriZvbUOhjy0RgIgOrPytj00gF//nSed0VPjII2zg8NdBwlETGPre/ItufQ="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.5.0-test.0_1591559159764_0.708883053490559"},"_hasShrinkwrap":false},"0.0.17-old.0":{"name":"homebridge-nest-cam","version":"0.0.17-old.0","description":"Nest cam plugin for homebridge: https://github.com/nfarina/homebridge","license":"ISC","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=8.0.0","homebridge":">=0.4.5"},"dependencies":{"ip":"^1.1.3","pbf":"^3.1.0"},"readme":"## IMPORTANT\nThis project has been archived. You can find the latest homebridge-nest-cam plugin [here](https://github.com/Brandawg93/homebridge-nest-cam).\n\n# homebridge-nest-cam\n\nUse your Nest Cam as IP camera in HomeKit with [Homebridge](https://github.com/nfarina/homebridge).\n\n## Installation\n\n1. Install ffmpeg\n2. Install this plugin using: npm install -g homebridge-nest-cam\n3. Edit ``config.json`` and add the camera.\n3. Run Homebridge\n4. Add extra camera accessories in Home app. The setup code is the same as homebridge.\n\n### Config.json Example\n\n    {\n      \"platform\": \"Nest-cam\",\n      \"access_token\": \"\",\n      \"ffmpegCodec\": \"libx264\"\n    }\n\nOn Raspberry Pi you might want to use OMX for transcoding as CPU on the board is too slow. In that case, make sure the ffmpeg you installed has `h264_omx` support and set `ffmpegCodec` above to `h264_omx`. There are [pre-compiled deb](https://github.com/legotheboss/homebridge-camera-ffmpeg-omx) online if you don't want to compile one yourself.\n\nOn MacOS you might want to use VideoToolbox hardware acceleration for transcoding. In that case, make sure the ffmpeg you installed has `videotoolbox` support and set `ffmpegCodec` to `h264_videotoolbox`.\n\n### How to get Access Token?\n\nYou can get access token from your Nest account by running the following command in terminal. If your account does not have 2FA enabled, you should be able to see `access_token` in the response.\n\n```\ncurl -X \"POST\" \"https://home.nest.com/session\" \\\n     -H 'User-Agent: iPhone iPhone OS 11.0 Dropcam/5.14.0 com.nestlabs.jasper.release Darwin' \\\n     -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \\\n     --data-urlencode \"email=YOUR_NEST_EMAIL\" \\\n     --data-urlencode \"password=YOUR_PASSWORD\"\n```\n\nIf your account has 2FA enabled, after running the command above, you should see a `2fa_token` in the response, use that and the code you received from SMS to make the second request. If success, you should see `access_token` in the response.\n\n```\ncurl -X \"POST\" \"https://home.nest.com/api/0.1/2fa/verify_pin\" \\\n     -H 'User-Agent: iPhone iPhone OS 11.0 Dropcam/5.14.0 com.nestlabs.jasper.release Darwin' \\\n     -H 'Content-Type: application/json; charset=utf-8' \\\n     -d $'{\"pin\": \"CODE_FROM_SMS\",\"2fa_token\": \"TOKEN_FROM_PRIOR_REQUEST\"}'\n```\n","readmeFilename":"README.md","gitHead":"d8d4425bd27e7c10ace95d542e0179cd4fdb31aa","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@0.0.17-old.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-nKHYHhDKfJUBAuv+V0EdW8zPttJLavd1/MGAbZ/fktm0wXaMdfb9desmxlmp9TvmAa5HHjpoe7bZHA2jZYrjUw==","shasum":"be002aa7cec695424d5e2d8f2921cf0769f786c4","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-0.0.17-old.0.tgz","fileCount":13,"unpackedSize":45838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3WqDCRA9TVsSAnZWagAAC4cQAIpj7uzez4yWm2DxP0ks\nnR7KnZdXK8jJjlh4dimGiI//1jNHmNd5eK3fG4tBez4klpCAiDULe1krLSxr\nI9ro8enfq4aJc3VcY39o9xBUJSB5iu6uu/Ba4pmui3f8JYBb5r6PZz/kTw8V\nHxlmffuPOgUO/k9fQvh3YeGmz5hnS01OWa8j1JgKN50uVxY1DCSKYt4Pyh4y\nDdCa8yMY0BbxP4bWNLaEse7ocOo6nFMj63puhF/1822qBlGvsFovc5uu5+UL\nJjp2mFXlY+YNyAX9nVYsHi9x2GshkPRh0OsqGTloameG1WSnuFblk1eg1h0Y\nD+AktUmIOK6lLKKWowxX6CoZeIimFaUy0/AmUTJ61M7g+zSjFaTrSyuLVF5D\nTQq7aN1jPcnszWpWWHJKos7XRWV/uk1sMFu+0vIeTMsVKeB8iYB5FFKEYwvf\nUx6hhBOexJwxDS4EzWFVxjjXXORomggydpL7uwVBA3dbTc7ZhFbJwnj+6ish\n6tGVD6CyEGyfMKitDNPOYZpSJKbPUtE6u6BDJAh4y4qRR8gEJojGqxSWICI0\njR+J6LC1twvF8DmtNZ+vC3OAq9h+0OgzKZVpCoJWwwV0kwNYnlyskiNNf+kn\nSbKuV+9Dukly96LHKSnXr1RDW9k3JEIYeXMRILFNnRiC0wjxjtiIA5Z9ouji\nbVRi\r\n=ZZnG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOPC03UcdqY137gO3q1c65/5TPLw9og4+0rworw/BF8AiEAss5gz5r8pBeMdYnARgyKL++Snqw8nWXlM+2h3DaWrt8="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_0.0.17-old.0_1591569027118_0.4888543918951107"},"_hasShrinkwrap":false},"2.5.0-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.5.0-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.6","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, run `npx -p homebridge-nest-cam homebridge-nest-cam login` within the plugin folder. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                             | Type             |\n|-------------------|---------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                           | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications        | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                        | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications              | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch               | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off | boolean          |\n| disableAudio      | enable/disable the audio stream                         | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary              | string           |\n| structures        | specify which structures' cameras to use                | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"97e001357d59c2c27d0513533c0b3518ae21f507","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.5.0-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-TJJKN8CyI7mWqKdh7nkT6awFKxR5rbbaiCHzKGmVMkSBwTx6xM0Zt+aPidT0MuZ6SBg3KFbMT6bFzCx3kgkkFw==","shasum":"7a7c5fec66450a8494ee51b300bebbfe2a553f9e","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.5.0-test.1.tgz","fileCount":52,"unpackedSize":242326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3XIpCRA9TVsSAnZWagAAW6sP/Ry989lhsq6sc31oRBYc\nUvfv9AybATaq1XfgJGT58sQn+jE5mby/KfWgwEGs+46CNW2UOKVLk0zG4TBe\nljAXgKLaV0bjkDQkzvm8Vf+DbI/pUPhQRqyKIqiVo780FQGUi4PoV/KFeinC\nKfg/ilNZv4aVZJL7EQ78xcjoMgeUctjsjRfWicmyHRCLgN9savKDudDrB57L\nZqF6z+0anj1k/yWXSWmLWfdS8VbrJL4PJIIF9hqMGKdETPRbnIrfM5HflE6C\nMQurtx8C6VDO3QloGRa317RHGL1dmBtwYl6uD3UroXxCAhHZcj1xd3uS0j79\njxG/8M/YXp+sDyKtmJphYAtgw37g1EC5GOgwzHMrix+mDjbqUTivZj9KyLPp\nnFcjO0g2BkMbJ3zCnt4Hi7GidW0H8noZWMqh7bjZ3Ie5d03chk6Q8nF0juWT\nAOMw47NCe04d7oTXVJUHim4ZiYzg8V84TCOBK595sfiPp4nWYd/oABxvpKYL\nMTUUSx9th0YCvPCVgB4n9Rlbsx0/cOmqKCZrQ8gViEvns8qy7MIFomZ7jV1e\narAqC2sZAu0SiB48z+Pq/CGz29OO6CU2McgAmfARIvIzJ2Ai+fWQC4dME4Cl\nM/BmaDYt+aAnRfpaTIFmtah38ZQNEc+p3zw2n7NIDatAiZNlVQ7kPtTKgA29\n/kvi\r\n=QUiF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICKdyoE/jIl/vhRhsgLUBvAaV4VyLHzZ6hY0bzsjwor6AiBWRMf8QF/+juEg6UoKb0e7xKB57ci5BZTMZ7R0l0EHKg=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.5.0-test.1_1591570985569_0.7070171685898634"},"_hasShrinkwrap":false},"2.5.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.5.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.11","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"bba5ba120f3e15afcb4d8277ff145003c07c1e4c","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.5.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-wMMkSqvyTPBKYnB1mEGNB0RQum5W4tpXR+XPgZ23MJby228CN0Z6igpc3UECq1lepqV55OOaQ3MtGZrFgWvqwQ==","shasum":"84333b4dd7a188c2ea20d39155b421213fea17fb","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.5.0.tgz","fileCount":52,"unpackedSize":240978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3i6/CRA9TVsSAnZWagAAkbsP/24GMPAPFUE3rda97z9j\nI5DMVRA7boUjB9eRtHOypdAbFjNaAvQnOBW0wZm2tpBeo6OsS7kjkrtwcStH\nKPm9bewbjFamqmUlZXIwCsuDQZj6y9shI/wmXJWO0pVgnc+vcbJwa3qLn6Yx\nPOCbJSavB2wvicQU6UvnsWL9Nq8iEMQMOOII+3tFUAejkys+3ETRLvIcuk6f\nDd9grSLLL4mE7ffxSkPpKHFLCK4eMCw0UEy/pXWIs/33qNU4Z2cOyqNTKy6I\nbP9eM/5xLxbJpgAmzYKCUTC3emH5IZZw4p5QU5GQwXUVj+mp9buHPosgoXuT\nqCvBGlujKiPD3GeMu6LinLP5hTHG6LFmQbKwRVSos/GaSxqU76PInhsFTzkG\nVo3oB306Vm4PpL4b6DbT6KyPSvknUxNOimqygLEOwhOyUlAxPD6z/vtAIZt4\n0YsqA1fk0wW4Yg49mOq1F/zSkteSFOIfI3CMoJU7waBzJf43oqHiUspxYprB\nKniTCuVk3OXFdyXFmtqa/JseP/geW5Chq+d7FlboalGm70CWIVUOGiXLDnOu\nMgUD4jveo56IEJsEOBQgKSH9JnTECxF1+6JBMMUcqbE5kKouwv+Mag+5fQVB\nBC6sU2xh9pTVuO6C7IbpTK3F4IZwK8NkYvoVrXLM028TJ/97WfJvqzGP59tg\n6LS7\r\n=Chis\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB8Gb9cscC6Ogcjjg5HiDrX9Ty9saMXwKLOYrF6J8TowIhAK12dHG+bDj3k7ZYg39k3ARyLP/3OLNI9nLNbukM3b3x"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.5.0_1591619262516_0.5115619232854032"},"_hasShrinkwrap":false},"2.6.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.6.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.12","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, run `npx -p homebridge-nest-cam homebridge-nest-cam login` within the plugin folder. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| disableAudio      | enable/disable the audio stream                                     | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"ab21788891e8d1826da6e3c46f45dc112acf2805","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.6.0-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-xl3ZlQJ3HilqWRWLKH/KL0gvDWjcG307CKsdxepHgtkERXZaAm5JTqBbEL7dpmItP3BG2+e6bHdFGc96TsvcBA==","shasum":"fecd46e9f6848fba668f5c2a009e21d1792c03b4","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.6.0-test.0.tgz","fileCount":52,"unpackedSize":245157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4pr0CRA9TVsSAnZWagAAP94P/38w1rv82XtJlDN27Azd\noT2FvRiL5ey8elZJ7DRLXOiortt9Mm/7kNW8s+RrsD1u1Fh15S9atcMDnqBB\nOygYFXLFGv1ivCuX1lTMkZ7gYUYL2AA/NCsxj8UXBeEV22g/otWbWBJWUWJ3\nfqqhHmhsG/9TdYZw/sx6onUHfVjkMsOHTsp7792PBldJgxLc+RZ2CDbiuSk+\nJQt16/hvIZu2KR0kc1Nte10tcUp01JvlWIqWOsmwyqdix8hUKEi1FjFdbgmD\nuSL0wqo/4bsq2Ly0Hf8T1LL50/d3atPB2F3QA0fLogbU/sFtCs4vmbXnob7W\nkbxnuEUxLTixM/h9afLbyqGZzo86M4L8rqxH7nR/2y2dlGIHu+kr1iMMoHh9\nyaJypbcRzYtQKjIGsQP2T3jFS2Rq2e6PPFkI3B1Eu4hOxc+thTknCo/6f4BS\n1ZbExcsLgUbV45qDkDFVVOAqJCwxSD9Kq48L8PB1zaxeG6dlIFAZ9NLmXoCv\nNhnjsBx6DYOelOh714RN7nmFxtCbjLWlOtEW7nU7MDAYM3nj4vIVWbCsfxwd\nfhkNPNMOAx2PlewDSuhgvl8g/otHzFBKskXO6AjAT+l6Zo7kP45d8Jpqt86C\nLShtE11bLpHF+Q0Uoq8Xtjfs9ltVSzvrasGEU0vGMQ3VPMGXhxivslN8TcEh\nkskK\r\n=6dGJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVtTBvwpOn2++MOq+vy2pjZ6WjkU/j6svwCv4x1JXJjwIhAJWxxTV8kfj/Sn10pyTiA2aYDL+YztUWl9TTaizl4pTz"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.6.0-test.0_1591909107922_0.683185977520806"},"_hasShrinkwrap":false},"2.6.0-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.6.0-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.12","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, run `npx -p homebridge-nest-cam homebridge-nest-cam login` within the plugin folder. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| disableAudio      | enable/disable the audio stream                                     | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"c4d5ef2287d6fdef82faab8d094000d85e6ae1e0","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.6.0-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-uLM30kJm3CHPbEfyato+pmNNoe/U64/Xnz2Hi9b4wk7EKuxkTICfF2HMJwScn/jzi0SHfrQkAKNJm7J+5t3MYw==","shasum":"b92c0cde0e1c63caf76a64da2efea0346edf56c4","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.6.0-test.1.tgz","fileCount":52,"unpackedSize":245260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe43jUCRA9TVsSAnZWagAAnaYP+wbiROPVMBOl0O6A0rKD\nwxljyNilhX+3bqajfPMmlBU5Ss0POw6neZT2jyEH+oFcCbnbWn2Kh4DVhVQP\n7j6GtbMa1de+wcXfMA2WGgCaIRVIHyw2pIbb3uNCnwRgoFGreP7eODTq+HCs\nvYgPGKyctblYHBGrJ8s/DdzxCNnLymZAdvSQXM9VLrFMIHVpGKSTFkkTgMpQ\nPlC47Dzi1EU7HdxSBl7g5lEzHfE/hJBSbprEUdNhrbz40J7AlndpipMNeaWw\nBajW98RUXRUNmkxFGhChAzOH38GWX100R4vweJAaJivewodTE2REkIHQIJpc\n5PbqMDw1b8dK3F7X7WaT6o6NR/Gf05AYGWfpR6o+wAyllrFWm04yJjOISPYF\no60gMhfOqeiauH/dCtR3AEbL5qPmNnpbv5G1Hj9GrGdVmzN/uBVOY9VcOOfl\nVW8bDBspKdic13uOVP3TPPUTvarY11D9ryZm9g/tjdR4PETPlZikx6cLe11V\ngvj+LLAj6ZBxbD4e/FoTQVSDMhQLM23XV7vM7+mdtaDxqrgGEJtAsrpssMm4\nZfVxZWeg8irEfzm0c6zWmWf84QQi41D+GRvxKZxYasx8yNSCUDEo9tz3EZUj\ne88LmCE8sFvMwSUyalZ+4h97AXcR2yCJN55NUzE8/TZ7XFPyNetrtOcPgG7v\nCDUM\r\n=nlv8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCkdqzNPJpEmOGikA5qsLthsBCqk/3GjBLHBwfRVZ99gIgIsLVbXL4q3qycJPVuWibC6/QUDIlFEKJ2eIDoLwZcxo="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.6.0-test.1_1591965908323_0.8253977548427494"},"_hasShrinkwrap":false},"2.6.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"2.6.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^25.2.1","@types/node":"14.0.12","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"c14736644d18413e5027d96d8887a84f27d1ce6e","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@2.6.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-nuADZpmZzzxl9vGda1fSDhr275u1i7X2iKFcbpt05pWQCEQB4bIM73GQahomJbxVrSfSV8SNBlvQ5ivVOYSj3Q==","shasum":"19c07e572d701d1f0713f8d8d5087bacc966b381","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-2.6.0.tgz","fileCount":52,"unpackedSize":245253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe431RCRA9TVsSAnZWagAADfIP/iGBnopFFOJf4blxPAZt\nyDHRgWcbt084cyLgVaty4jYL078ok2x7a4PQnBjc8Ovo0q8RnOg4QjYb4TfS\nBCoKcEF6suxNk8JAHsLiVnZ9kZwahGQGFmMXpFHVUYRIjvs5qom4UYy+YjVY\nFieuhtT8x4LUMTOOeCE0/8XwgP9JooWnshGvFXv3T3SXFJHu8yQ59wC5xuhB\nHemHKfc12KyPzNvjWbX0h7dlzgllh2LAhWtp/yJqsPulLAK1ugce8BgRLyvB\npgOQ/e8/mbp83jgHNXsyebBqp36BsuqzScDfW2IfxsbAaipu10WjMVoNT3zc\nUYNH4oLwSQ9LjwBNDDAFbdBHGDzL5krTi26WEWLk9H6Odh6YyHuspgQfUaa2\nQvzrhvxBKfhagqrtonjIQRW0IGjCPacyhu+J3n5bIfUQraQnGVrJ7xwai04Q\ng84og61ehLSrDKgk4zcTKQqqMFf860uAI7vpYKDesCCHtycsThJWisS1Uxui\nG5Q9EYIQrj+iZvCOGVUxhw29lC1swdj5OO8u9FDpTdGqD7GY4y4L2yRqTRLA\ngw7K0zViCO8wxjSCUv6c+mEv7J27MnmZJV1K+91c1DHMxGzKXo4lLqR/owcX\ny1+H/1nm/VeSCeE4Nq8UPFlkeJsO21RgzuNqwMKDr3wi2Q9VwssVTk71rfde\ndNPh\r\n=2q2d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqigomsh7Xn6B103NCwJymM2UW5atmC+lTNPXYXj5IvAiBGo9e5J7VEIyERPzRLjxHR6fl1IVsamLBekvMmsZatIQ=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_2.6.0_1591967056729_0.6135330880773926"},"_hasShrinkwrap":false},"3.0.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.0.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFMPEG\nIn order to use the below ffmpeg options, you must specify your custom ffmpeg path in the `pathToFfmpeg` config option.\n\n#### Raspberry Pi\nYou may want to use OMX for transcoding as the CPU on the board can be slow. If so, make sure the ffmpeg installed on your Pi has `h264_omx` support and set the `ffmpegCodec` option below to `h264_omx`. You can always compile ffmpeg from source using [these instructions](https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration).\n\n#### Mac OS\nYou may want to use VideoToolbox hardware acceleration for transcoding. If so, make sure the ffmpeg installed on your Mac has `videotoolbox` support and set `ffmpegCodec` option below to `h264_videotoolbox`.\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| disableAudio      | enable/disable the audio stream                                     | boolean          |\n| pathToFfmpeg      | specify the path to a custom ffmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"f0fd93451e5104eb4c32b7523350673fd7686d2d","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.0.0-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-0He3hYVo0vvjJpelUQsxqaNoZ/WR35h+hYc482hnlNVLk5cqh5kTB52efYsrwMT1U/m7jIfD0k5JCmG7tlxFtA==","shasum":"ce8f23998eb649715683a0f14d56ee0f59947358","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.0.0-test.0.tgz","fileCount":50,"unpackedSize":253269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6VfhCRA9TVsSAnZWagAAy1MP/RORv0TcyFPCQg9N2mP5\nlS9gUKhaX2iCkGfh3EUel2aUaBL8dsP2QwGqYxCSdAJSjMSJ2RiMyjnojYPr\ngQz5Ge4M+sv9jJRUp7qp6NY4TDJ7Q/nrR+DmxQGnugOYmom/6MBgRxcCMu6/\n9dGBpg8LzRRj++aohowlDjeJ38srBstH1f4MnPWuSFB/gXqZcCuL0m/qLUW+\niB3QWPl/epzVHMpveaHiNTycKTaRjlOcENKBktoeNiYIq4gH4JGZeAZEJfa7\n/CAixJ5yuRaaY4UgU4gAhTGQojaIzWH1wupa+mKOsPgvv3Ij+6LPO47R/Hjz\nAiAXObAb7a4QkLOMXWKXeFerccLPAuZVy9WlTv+ulCTLMx8pCXfxdwcVE0cd\nfLnyJDuRtIpadYz+Z8s71LfiYCpsq9kqDmV4Nz9Io4IEeaUbHa4fQ0Hyzo4v\nob+uV383GTRKa6mCcr3Zqo1Ljap+SAaHvFE0NtYW0tCaM2bwKd03VPvtAKe/\nD9tgMtmql7B7/4StWWDQ4IRakAeQIy5BgoPhAMJypoxpRmtxyrtZIv1VQGYA\nHIC8srVqx2zaZVo53enmBoKWhcDIIyi5qB9aGUDNBDQDBhwrok5knO6uZSgU\neQP3g77U7FLDULEMz2QiHoeQixPY7192Rs0KBUNNi12rg4B2u0MKiz1MrCaR\nK+lD\r\n=4W6F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4JKc0IGZKRU1jPanOOJ32dozeytBi6whBGCqZn6snLAiEAnb4ddsjg4z4YPrERTcQOIxodUcmaccDajfp1eCSFn3o="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.0.0-test.0_1592350686413_0.9975723085919779"},"_hasShrinkwrap":false},"3.0.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.0.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"ISC","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"6140929652e1bbf949a4723a0b6276166a3550c9","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.0.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ESk1Q4iz4aiZpy/HpDt/ucKyg6t3hL2XgKPUCmpePgsStGp6vC1vzoV1mzDlgQ6tnGPHvk8c+o3IJ6rU2eAaKA==","shasum":"8451b931140d19f36707c1bee066c390572f747b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.0.0.tgz","fileCount":50,"unpackedSize":254063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe64QzCRA9TVsSAnZWagAAQL8P/RZDlyEcjdsR/kJd0ibg\nq/5ebYXnFs8j7FooK2ibhqL9MP4bXhGst1ifnRUHNuiKyZbuj5DaJ8/ko0sy\nEq45L1BlKvx+3DcmitculkIzghiZ3tIJC+O80ciHxHrGrOJF8lUT1QoM25nY\nBM6+G/VQzEgja/vj7T7p0O8/hkTwPwVUAJlMAjXmjXMPiN9J8ZY3jfrofCpZ\nMX9xw6QVZgNfGOWT12GUcjPIy6j3LSU6HwHFtMSvsI0AXNx1ZpWkryf41nlJ\nkJ8FcIC42Kvql2L0RPmhN96Khri1gDzQYw+owSyQrDDcKgD+6vdw529UJTaB\n68QMW/SXrDuF1j7uRPTiE7IpbT+wqrCtp15mrc/tCdNfQssYsgOTk+4HYUEc\neAbA83Rl2JT7GHdzpviUIFWJxwK3F9ojHJHVMYbhSX5UNSmN13/Iaw96ma3d\n3Sv0IDV1woLyGjiXkdnjijW76xrL3Exivctl0z94JucbJKxtsPwKUTH6giTg\nla4scyJ2AxnT2pxr+iu2P20tSj4+TGmfVaR66ZBRF5zd7M8TfNmm6ubPWSty\ncPPCT4R/GLcEJ2BFFA17uQMkmpn5e8OclsfURWTwjmTq+9xaliT5TCelpYN6\nfMsyFpjT5CV3wO/Z4186BeUeVsz8NyU+ri0uDuErbBQ2YSKf82g8HeoAszL/\nje3a\r\n=k7fq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF5LCuwCsDAMOZCsNOiB66nJqxwZEBU2ykvpE500RDGkAiBJ7jd5iz5i0/4tOr9kgTcpS9Ph17zwoTFPIqa5QRrz/w=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.0.0_1592493106446_0.651317879544753"},"_hasShrinkwrap":false},"3.0.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.0.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"6140929652e1bbf949a4723a0b6276166a3550c9","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.0.1-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-5NYSX5WC+CrmkbDET4nUOh9wUIGtO5QMU0TURUBRZWrcExZI+lcx3v1hbPSWbppf3PXwTx5lDhOn/Oa07DQHgA==","shasum":"d366b5c2fe351de767f4390ba05102ed38b69da5","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.0.1-test.0.tgz","fileCount":50,"unpackedSize":254266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe66AwCRA9TVsSAnZWagAAZOsQAKPqNP0+zU8UmE2su5Ku\n9vW4yGQLSZL4YLibuQyOE0Cz3BG00uQeyddn6kX2qe4MiBlqGbPu9ywMgzqa\nP7u1PJsqhIUGCafmmeMzbVAsmPCmIAQ7Pz0UhARc451b4qt632I89htfjaUM\n0gjCQZb3IEnExzpB/9EjEijUZQ5Yf8Uu/Hssl3ajvJbcbtg3xLh8MgBdz0H4\nBDoawxzNmd1xylqkQn5bJPDdTk5GSEksro+nQeLOgsFXzOwUMK8K7FlSBPGO\nhu7XxN07/0vA+Wc5UMYZBpKIrH/K8EjEeo7wWaRZfQR+6mVSaz9Y1MdNhZ8g\nRPFNk67eiGaVsnPTb7IPHY6r5eqGLslzaI20Fp0hLLatJiwiMd2jYlNbotAK\npyccAJxExSTIV9KLqdisyASyQe6zurqyAHrBDmfZgasUHqvjRch1D06tyZ0P\nIQagkP1nwjVLr6R5JCjsJwdW77FgVAWCRl4RvZ3ZRz+72ojvid89EF5dVyS9\n1DJ31UKO+/j7bGXueXw/aVyXHlmsRWLzS29ARGq1m6/u2AnvAZ4n0QZbrS16\nSsLxlFpFykzMWtx6bptd9PCn6N4ru4fh5M3A59QvBvkV/k3Jv1Qc2xOMl1i5\nagBlyNKVi6eaCXDeeIo200Qs6KKmPb/Qyzu99XVRvoi/cL6eto2nxSFdKbj5\nUyf2\r\n=pNq9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpmXbsi3wzlfxC/YACRquzGX0LA9gEyzDE4DJxZSd4XwIhAOWFQc5gPmppOvEIGtrvYbSv/C8lLsMDlxSAXs6Sv/Ql"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.0.1-test.0_1592500272380_0.3488986308174564"},"_hasShrinkwrap":false},"3.0.1-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.0.1-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"6140929652e1bbf949a4723a0b6276166a3550c9","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.0.1-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Kk/YNLSY8kmTw+Sagl/5d3CX5YAeDzz2xFRf/Ps1NfNFnmFsw4eav30qC+2oMtA3zfs2zmV/NyZFhuF9BCKZDA==","shasum":"b4f8e225ad907b49f5b62471f4fe5cc1999accfe","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.0.1-test.1.tgz","fileCount":50,"unpackedSize":254239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe66UsCRA9TVsSAnZWagAAEHIP/ijcZ8udIBfaGhLsCG78\nRSyZP5WAO1X5V/Pn1A3iiybbVapnYf2Rd8R6sD+/4Go5K744p5IGFoDnH9sP\nkUXXXpdhU1m0VeDmBqkzzfZaYQzqd0pKhkpnZRuLvutoKjGCFNuy5zuqQqTC\n52/WZleb4TOuzKlhvPMeZ8j0Z9rQ2ObUrVnnDdqw3YfPFQqTWpmfndulrz1T\n/XDy6HZBZX2pCK2Ad7MCuuxMxBAYAtP+DAJfrBs0Nnm4oCFJK/Ntc/Z4eDxH\nAZ3eQhCejFfdSTsVLp5EjK786PVf1iP0QGeSr8VF8IiTyn7RT9r7TXrj9g8g\nD+yc2GV1W8lr12nVnxUZgi+/gImCPzZQB7HXhP78ll1Xqt2GCcjSWqhaKhc7\n4iJ5RTAXYJD26+NSnksGIQx7ZW/tT9n+3Clmp6n6S3oj7zMuQEJxm5j8TyP0\n2y5w2uSiZkbKwj+gAAToPylS9M3wH226guQ3SUImY1jR8UO5Fkf+00PkaQag\nb9IN5npRK3VSn0lYdjWq09zREcYDxGy006p9xm/54HS9ahGGjueASpCFhf/n\nRVqo3rx4k/WuGQuM8eDiRT8/evUnDo3U1qZaoI3cK32Y3d1kunjfRrDJkg2c\nZa199tcSOD6MeKtKXJtevVpsEGL+ndY7YzXDT6zmPZsDQ0RKkMvrIIMMiyVo\nMfjs\r\n=Uk7J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/aXvqlCdQaoIxZmR37zWeKZjh0P4t3K/eD9o3P6i2HAiEA4pWGLnlwHJkcaaAqdlOmKW+ru71LCwgqOAV1chi8k4E="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.0.1-test.1_1592501548349_0.5534105684996795"},"_hasShrinkwrap":false},"3.0.1-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.0.1-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"6140929652e1bbf949a4723a0b6276166a3550c9","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.0.1-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-LhmRTko1xbDOKSgfPdQTfzFJgVDQQTYJzkgSDWjgr0yaXBA6mKIZigU+sm6ijRJrR5T9MEH5FejpuR0iozCW+g==","shasum":"ca86794890dd3f73a2e92b08f8fea3b40a9591b5","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.0.1-test.2.tgz","fileCount":50,"unpackedSize":254478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe66bJCRA9TVsSAnZWagAApksP/3eav9bYZ1wud4cbnu6b\ntaCLkGEEj8ZSi8WtHYU+it+tgPNyIET2Khz78GVo1CZBVBEwxvmc1Njfv22c\nojbvPtbNqmqedc8zIu8+9dBHYUr6wLmuFOa/pfKfW6zYk+ngiyFPWFlGRqcy\nwdm7Zjp95nkB/YyTrlwBbKaPeYxhtmD0cBmbHlFbve3BY03G5JWOQNor+75f\nDcheNaDPvXINCs8o1+aXgqVsHF5J2leyQmLMuuTOlJr9s2cgKwNRCbRHkDmt\njNsjYZ1cuUYksBEJks1w0gYd4VC1DJA0BKA4ZU0NooVSXc4uRdHX8HOXs+q5\niuull+CXIF2B5lb9VDL5+6oE0P/oU4srV6yCtfKDJ/HawHZ6rOwKYE1IByJD\nKq6nf6u6+ZqTWFcgHg/xDlZ3ykToUn2IAAyD1zWNMKZFhdVZLa+enWlHRy7Y\nVI7LWrPegCaFMMZoVzVC1fdnnX7QzoMTMM6ZKAe/UeOvhG8lRinofUmgX5JH\nUWC8/bhoZHp6fW2tQ9+ySPV4PC8v+6vKsQHqa5iwbYMAucQbWcokMnK7PiSY\ncNsB3vZmkMHTL6VdDjbSeNhJHICzJqV4BnGBL3rkHrExq248eQZLKFL4mX69\nGVOFZQ/fEkPGK65KeGfsTCE0vcDTmde/qJ6lHk7ivUfSgN2r+IQuAB46N/zA\nGjD2\r\n=UfWK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVl5Ix6CEXlK+T1W25PfQMJT2gHqh3TamKZTfGrEHsYgIhAPbfH4EtkESW0rIQWfafVupKpavQPzc9Y/KP+8PlGj8k"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.0.1-test.2_1592501961185_0.2173633168007023"},"_hasShrinkwrap":false},"3.0.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.0.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"45fec3eb4f4ad7125e8fceaa31b0748cf3b92a54","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.0.1","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-lxcGVEfWVXawhdXp+65tjqLnnxW886sJRxt+d5POaZKYT6N2v5n7amzq+XVOK41n0vxTLYsNJ3QVYVZ3n4ILuw==","shasum":"1a8b98e48e3a77a3c7951f5aa4128498dd2cf26d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.0.1.tgz","fileCount":50,"unpackedSize":278070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe676HCRA9TVsSAnZWagAA4vYP/1+8ku2k8tJPXEvQUJmb\nsYV5BvoB9psX2UUF4zLgK4FPJcadRAEtPhAAILNEZraYJPyGlNOwBbt3WC+f\nMXA7UxdELJsZfhid/UtRiPB2gKSM2FFMRb81CTgK014OWFT+c38CfJmefazJ\nB+rOuQ9HWUOokkeksuiLi/B41UaUDjZyp7mmc39Kt33NUYmLv2OWh9Nth4nj\nmYX+0PvmiBIZgfvQCVcwkW12Zt9gDNeEHz1vQGGdjEgBN9+SjYlIzCmFHQHY\nhJqVRHVrwnL/8gDtlzaT3QZWU+FeU79uepgiwxqsL3M/ck/ndU1AAVIKyVnx\nEct/xxhnIfezeNeexiF8/kkrYeynQw8lREau7umHp7eK/IRBb5bRAmdlSvjh\nXYo4mVSh0itQVgRSY8B8BwiAhqRIdg7JD2w6FkY+MZKzo7t2H/eC9lwQysrS\n1s9bMW9H9obHVJL8/N7Nh1ZKM95JnyfHLGoctGDu1pTgHrOXnfbG1Uc5BDoh\nEro7c6Yd3IFiYjGrFY5z2+zaL2YG/OtYtkLCyJMDIcB/iIagx8W/xnuWmznn\nE15s5lHlvHTjZAjHqMKehkP7bZHNdhJlGBrDRXmTMhqGxjWjPMlM4v/zpptz\newljkMUUt3oRDpF2sQD+0Ubm1/ArEMT/NhGGPXp4zR2yJexw/GO+wU4ZH/1w\nJ96y\r\n=6iQL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQC65BXLF/3MCZI0QyPiZXbpQjtk56KaI+LWJpypiIToVgIfM5vSOX3NfyyrE0yuLhcRU+3Wq8oAnFLA7l0xG9obUg=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.0.1_1592508038475_0.9614942318861004"},"_hasShrinkwrap":false},"3.1.0-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.1.0-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.5","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"7be5c2e2a8f652c2841a6ef80cd628ec79a9c67a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.1.0-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-9uaekXNhZh1sXMVTGzvdkH58zykt04nBCy3f/qptUE3coYjf7JdOcCARdX9ZZ0jAsEz6w+i0CmJP0cCN863I+Q==","shasum":"fa21f97f3faa8960be0c92bf385473267bdb84cb","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.1.0-test.1.tgz","fileCount":50,"unpackedSize":279221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6/69CRA9TVsSAnZWagAAPmUP/1PnBy4NkDkX8BcwCRPF\nzgfgL3l0yOD1/VZ5ozJkAxsv0Mvz0VcxIn0bHre7Jtan4tuSHt0KNKzBkNrp\nfP76S00+9n2KQTeXzrBb89IpJ7ocRjEras0HFLjoNfDFi9h9hSIGsbYvoX63\nJDG0utcQ16rIyBZa9yiCymaUdiPuGYWhASo8ACKyMWbqAD+G3REtsAF2awab\nEie6f8oSN64K4wGGGIa84LvS2hjbwS9bGd9vZJJjW7yOSbwrlvNCGd0PdIoh\nNa9LB5JEaiw61hhXzx2Ybg4f/IY2B5UH0edo6Ud7uYd790SOh3wA5yT3Mq/G\nCbnK4QztBqcZ/SpA2kDquZp0rUa6XOBiUs+LGHlqztwf+zelm9BxAZWeVDbX\nphFl6VT7FyNLTyVnT7zC4wYvFlL8WeTC+hwiklS6dfUxZXs2cGp9PB7zLOeE\nkzpOHJaCnsSEQdlRiXVSaYEYfsgYowWNfhMe15fd38UquQkrU2SOZEVayCg0\n0844J+24+qDy7x1Vv/PkFohsESpXNXYxKgcf1Dinlq+sAHtAKAyICZ70ystJ\nXXOgWvIsbiAXgYIe+cRpGX38Ff5n7Jpj4yy5PTES/0o+b++Vy9WMxJcF4w6k\nrrviY1cnhjXHlA7ldGGG4ItbCqpKKiwZliUSmZYLkj59BmW3hmsIbqwz/peu\nbH4z\r\n=lu7T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGs6R6QN9aw1uHMmtUbkhUpp8nHuWv4HUofLtas+no3AiBYZcruCCasJcAWFNTTf+dN8NgMN/WM4KqYY3d9ePuPTA=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.1.0-test.1_1592524476893_0.8500969516457673"},"_hasShrinkwrap":false},"3.1.0-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.1.0-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"^2.4.5"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"fa1e9495ce0450665f631d31e59a0b41247dd23b","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.1.0-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ehci5PYHiiDESy0dYmza8y94yQVd3rSjfgxNHcbEgn21lEwatAf6JZlhVhS6qdv5xPuZ1sNsj2TooptTSpyMlA==","shasum":"c4f67caf78420d2b05f0e5808e0c29ae8154eef5","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.1.0-test.2.tgz","fileCount":50,"unpackedSize":279235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7QYsCRA9TVsSAnZWagAAkgUP/AmQe9x8fM2fGli5kB5P\nzGRrhv+UoOOasGedPag1vqpHOq184bYvMwhx+7FACvr3sXXONiE+jcYBUjkh\nMiYIpwHaVoVt/T7UEv3pwdlNfTVCxPx3Uj0ATpGKmPeExGBsx/dzuYPUWg4z\nf1Y2VCA9bZfqHU/lx74YHbBnxXDrLMv2i3XVPRqNL7Kmj/HR4DlIsm8Z7Pao\nWZQ2JaK/h3T8NzYLvNIRMcDQVhyRevFr8x4aiGTbLiGAqhytOaLmItnp7Tsz\nYPFrOic2UvvR1KV+NPvx0o8bS+udFAeOJEL5tE+uYRLZ0YJEm28kKlV2TzPz\nj+CjR/mzykxFVWqJsd8ntw4MZWkAvFxC6NnnuDxSSSTx+YSE2nK7XrQX7tRC\n03XnDggR/NWO21hX6omOWx+O5FEndLBWh467ZdSy2FF0rsfZBZY27QKt66Rs\nqg7s/8U4ze8Xy0ASsIwH2E8Zwq+7l1u1u2HnNMEhvglKH43jgSU3HVXt9eOH\nmfvtaoOxfUuKiCttCId2gSruC8p1hRsofwU3ByKtHr5p9mUl7CJJVFUubNd5\nKyIW0iFnz6zjVvHmhU80uuNxuCq1g4lDHOMDCpDmC4ij88EXRAcDLmdhwf68\nZEBgsYR156uIpjG4LXZMam5WSmOEXDdg4W4tquogvbc8vk/uaDFr/Txo+Sru\nJlEA\r\n=DHXg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqh+pXAb7aZiNQwFAjFeKCrr4zZoaWIkWHZ5ljo1kbMAiEAhUVR9BpRKfHQ/dwo7JAwwIiYQyLbDSgj/iXtttjyX8g="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.1.0-test.2_1592591915784_0.3802785007203795"},"_hasShrinkwrap":false},"3.1.0-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.1.0-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"fa1e9495ce0450665f631d31e59a0b41247dd23b","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.1.0-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-YLE2Tp24UT5pulxDpb+3XULt5UQ0DBSNLxvb2CarNBGH6Y8XozF3EHEIeaxJZaHRttTOgZSzOD9jkBGmyAf7JQ==","shasum":"e05aaac31de069181321df4dc94bd0932e0499c9","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.1.0-test.3.tgz","fileCount":50,"unpackedSize":279288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7RsrCRA9TVsSAnZWagAAmJMP/jKlPVpH0CNlhnfIGtuY\nDMrgFRG2s2+DHrk97WZF4zeBGG3xHyOD2t/8KDsu4TAAqlEuUQOhL2cjP5M8\nhVP9Wy+b4CcBU08/KNAD/mUyLByVrtTWbQYzECb0CoWbuB/sm6iVY8NHpv1J\nD/etoGSGx4uCYvWiB7c0rZcyxPTSigtsCoMUTGuZ1t4u0X/ElbGQC8kYcDwz\nLQX3Im0iLY6412S8nGb0e/IXkuBJZ5uaiYLhjmxi89pZO+BkEPPftb/lVJgr\nYVBi3wadtNrjATIynV6F5bUXngm4wYL5H+YHBzOt/Dz0DxSd7kpWrf10h2U4\nOETwuF7VHfl8w+USG/priHJTroOk+ff3fW2LT3b6aC8ozSWE1ZZEZPUm2Fx3\nieJdKtgGIBRvoGsIa0O69pUJWwBq2jvBjEYooCBmka0veYoKGw7ruF80zKqp\n8DIGUSzNzoB3Z8zqDKqgW0XMrHsVD1ljBYPAOExh3EvGM8JVpq6vxJu3n8kj\nT5otAWV08fkh6pc+1kKSL9B0Jyw1sVIs9QsbV59S920mySB73uGN7gHH7NGn\nSh6t4gOGKSGq/Lyn3z2np4+bRPLc4U4s4vkNRBPHr6l2IQAUuq7WXp46j+Z0\ncc3soOonyzAlIxDBzacnMyjXtOII/XK0fpBTc7oVsHcdUA+do8e74BaSQQPy\nNgNo\r\n=bsGI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfwi7ru4v6DOaSKcZV0aINHoqUYFkzFYizHiwWqNIikgIhAOOcNsvj4gHQN8izUbV3AlHKAzas+mLs3QB1FKLby5NC"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.1.0-test.3_1592597291441_0.5524278326551777"},"_hasShrinkwrap":false},"3.1.0-test.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.1.0-test.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.","readmeFilename":"README.md","gitHead":"fa1e9495ce0450665f631d31e59a0b41247dd23b","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.1.0-test.4","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Lk7+pqi69KVjhOXQwYNWBSUh7oNX39M5HclDYg0u7RZzisasGn6uv+KzTILvoEsbs4cHDKNE2jRb1DrHWsG6Sg==","shasum":"9d7d27bc916fc10709ed16bdc8d4284bda8da9b3","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.1.0-test.4.tgz","fileCount":50,"unpackedSize":279357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7SK9CRA9TVsSAnZWagAAFd4P/RxNZffeHGBRQMDGTdLK\nOFHs+qikqXj0AMlcg7DjEts5T5FOkC2ZRX9rKjoPp5leg2bH7fI+fEl10uWJ\njTt//gO7sDS+LJ6NWzMh7D7N4UsQx609t5aF85JcrL7q32H3SKzFVwU/gFTc\nD3QXgVigb9NHD+4sDBXTypWjx1uVXMGaCeg2LEGQ6P9apZe72eQ/TJ9dp1/X\n/1an4CDjkvxEkAV87fI4/H1ShfvhfvgaGHgYcJ0cLPnbVAsva3GjQrs1L6yk\nIkAMd2boo1Dt9B/6E0fhmqloTfJ4rwIqAb1rNPJ9K35jU5U8fZPj70m3oCLj\nfXoAXpazuKdgDLfi50I/yDSNl8fRVxhcyvEklZsS1sj7/OwCuTdXzMnGJTP5\nu31PEKixaPlAH2zSfP/YDaGb44E6j61s2sd7hWo6/TjM/40IM5PJ+4fon8i8\ne99h4mpMZQjeIrUn20LQeoUHZB7Nn/VXHQROZwqaT5bW6VNKis4kkO2sk9aU\nuug82tJU3MlGvpbx8MBo64Ax+XQeDco4nUrMiFr2F0tNM9+6r48J2r2n20oE\nM6lf5Bt1ztjcmcV8x53Z3E7X1cVOFUODj5+WiGP8zjmOVgG7PzFyOBKTTa9M\nkISikPzIR4a4/Pc6ZbzaePNn+0RZlnpLwfj/qj1RVwL7ehMHOKkIEuiVfzeX\n+qgb\r\n=CEfN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiETmfVT51bL13dILajP1hPnfIKsy8M1OH/SaPR47dxgIhANgCcgEbaWOV9CnQICtMwmtveG+c5pfFqHBVKNxolI4c"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.1.0-test.4_1592599229401_0.4153585883194171"},"_hasShrinkwrap":false},"3.1.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.1.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"f52f373bd90f39a326022176c9e1bfdeea01f2f4","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.1.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-EHkZfvMQTmU7mlrRYB3cOJuQc0Wbb0kmcXZqQDYd3cZ1GoSMSG4nCHs7colNNsuDO1bgYvd3ynaMcYii6oew/Q==","shasum":"e25baaa7bc93bc77bb9575b152ca6dbbf269bcba","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.1.0.tgz","fileCount":50,"unpackedSize":285372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8LGKCRA9TVsSAnZWagAAWEwP/1FPKoOqcaQkKvDt/SDl\nKW1h3pzRVf83xxp3Vy+hZw7WBhKhSNIEK/fgnoNjtdWHNr1b6oDLoeE4KQHg\ntbzhkeWFrm5WNhsoV5clJLbpWHXQ8yo9nv7D1TNBHZB5BFgHKphENJu/HBq0\nfAaCBpaaxezdF7upHnAI14XpWs4S1ZM5noSGSQ12dyHanvVcL16FZlJChEKH\nlOtWFlHXt0Za88CMznnu/Efan51G5gYfZ1pdsJfkkLvhntzPPwVDdsCq4R07\nWsL7T41d4himsAuW0alO30TutcovF1bTJM/RWsRToxP0DHC6q9SosPxr9YrM\ne7naw6fvu3cs3vVRQha3J53hCiLOZ4P7D1BQHK3ltLPA9su5ceYR7Wq2EkZ/\n3XkUjY7U93p080I/TQnTI1u6gb5uKbwBvZk9X4m4USphpavr4Xh+rxwxWa+q\nfIW3rMspfxbHHdunN02rWOU5iRE+8t2dgeEDXe7YtnYjJTVG9ZHka4gwlMA+\nUxlta/6cNoaaCMLUlvQ8zW/uF5hjWJWrEzXZEZa5qMBMwhyFAE0SrXihmDvD\nEXWGefmzxrW6d23dkxi5PZyppq7Wf3DKkCH/yMb1gydcAiRwOms+pc/q9kzh\n/kpvuV4G4wYXFnd9hE/3j4RRRk4SNHul0+qVWTaylFk9T3WmUOOqKs/Q5n4Z\nzJXp\r\n=GAIp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1pY3HEs6rNYjJMzfrxrkzxZY2fy+vhljvDx6WZP25VQIgWVGQvSWRjFgJVdVJzCdw6qpZie030+mfCwW+brlSfH0="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.1.0_1592832393982_0.480920332168584"},"_hasShrinkwrap":false},"3.2.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.2.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"8135235a02dc4183be037607e2056d4ed22aa953","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.2.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-O0W2KNl2bfm0xkrcuT1LL/GeBy/w5qlXLQzAvJV6IKiaxfPQ04eI7SLPKsizkmVg4DUIJ5eS4w6YBRxBNgyKYQ==","shasum":"7633b5083ba926d212849a67e0c7cdd4f18aea81","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.2.0.tgz","fileCount":50,"unpackedSize":286470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8foKCRA9TVsSAnZWagAASP8P/RHfw0jh5LuBVG9JwL+8\n3v3mqq7CThQn/+dlHaO63XQIejPSL5r2yIgSG/9bismspG3W73X53F07nXNo\n/p2OQ7PaXcFHI8h/caMfN0BBXqg6Acz4tsXwHcXCST9BlKAfE3yzUTCXc41T\no6ziJbFiFEgAAcmXbzTCWxByfnE/gSHFO5piTiWfrdX6uF6Qx/sEUoML3KOF\nqodIwf8UIKs/LqzVuCxgxCT2YPD6hv18kPE1dyxBayomgvlSwW8YXVDT0ZE7\nFvcY1i8jpgtxj+FnMakrJ/YSjGHsvb7DPRw91zr8C5IVAC+j5XYfz5hZj5Jf\n3EAxUZFFv8p6v8cYVL7WY9NuLZLJCDcgAQkSVWZ9UNlrygqqkl6tuZcRyj9U\nNLhcQA3jOxY01L0EPx1AI4hhIp78zT6gU/0Yp65vqHfvDsSRDfR8zmHIIDu1\nRRYN7ABO/wKQgpYNRzMlYLIxCinycEi5SPOgbo/OQOExFCpsd5QpwuuxaYVC\n27veib+ljErAJA0W9DIrsPdMW46EtfDKkd/Spg9HwsqckSsV5ON77FGCdPxR\nMVKtWGmG7Q9iSiIwvepKVfKEHUaKL9a3ZQDUfueYF6zLuDEpw3GMqAQ8MqKg\n5I7JBinVWefm2Lq7v3TVw+Ku4yONUszSlO0bFE/tMpAoxN2d3kzshq5lBNkc\nRnGS\r\n=lsgz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCn+cTHKAYq+grIHkux/R/uuH5tT6x15xxGXTdh8TZ9LgIhAPTn+5b3A5PzABaEXW94A9M/nrqpdK3tRt2lK4ANJ8BN"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.2.0_1592916489600_0.34378387635964436"},"_hasShrinkwrap":false},"3.2.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.2.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"5a3f9df2481a237561eeac304790840df2d329ba","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.2.1-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-XudVhZRyFsNgUVSDcWlsSEXPVKD6n6iQEOlr2rcXqbWulWVrKVLAXzlfFCzESM0d62E4O7SJ2LIqjKAcMUwk8w==","shasum":"91f76a22459ab7e52b5ac587f1b17d678270629c","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.2.1-test.0.tgz","fileCount":50,"unpackedSize":286587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8gJgCRA9TVsSAnZWagAAspYP/A7PxOHFlE1vOeUgsfvZ\nAmibGJoJuHYfCDryqOAnivdaN5/7nGIPMw1UmE37Pb5tYDPIQyVJSjK09Bn8\nWvXio+ns5ZBV6JwthkUgW9tSXcROiaGsA0BkpNLFuO5r0+mtULOWRkBaeYv9\n6fUoqI19XS0X6sLicangHuYShVLZBm0AzL2hn3ERdEW0uRYfmEuckg0SejwL\nNtLQr0VWQryifOTeTULCXH9fdwuKhVvObyyLK4e7GQC4+Hp1biJ9ECAv09/s\nltJf8NYSxMO3lNp6NXQHGdU/LFaQiqiJU/LgMy4KLdOY9dn0jR4cCTEngojl\ndeApBTq4TParS6eT2tdx/ka2U1x+d/zyVWdIiikwmwRFhrR4/ifFng/E9pC9\n52MycJN/KXQSJOJ3I0WfLOpaeZAVXLkRpPSg/U+ezxGTBWY3abDkiEvYDuHm\nAvy3ofnVN3zfCXNrojdJiCJhupYjGzMrsDk47N01EOpI50VYQGLcFGx7BIZZ\ntpMaQG/Aw+1Vet5TH+0aY8569qHA32BVfAt5spbDC5eP5/hD+rI0+cGB+wRU\nj/3ujenTF8dd5+C5XUyyRoQ8QQRO2Xlu5Um8U4p3uGocEMISxLtN1owgBLfs\n2OYRj4wboipkFMsPZ4KjvBuvF+eYqaplWBAxVQ+YKlTwYAiF6GmzWGy3sNUK\nJ2HJ\r\n=nH6c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7oNy73p9zuOiGp1eNu6PUfZNnm6SZJSV9ZWvf8QCaxAiBBiZMKnek3mI7xdAShPRhvQIGRQRUYBfsW9w2Yfn8lhw=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.2.1-test.0_1592918624330_0.5222771373345552"},"_hasShrinkwrap":false},"3.2.1-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.2.1-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"5a3f9df2481a237561eeac304790840df2d329ba","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.2.1-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-kgOM7jn8vhAapP3ROijjg8qpdXF+ZUvkSRGnHWSEa7DIRYcuEQeyU/HYf5ZU8z4Xk1r8j3rqqlE7lcRAGlRa0Q==","shasum":"1ec004a4ed18597aef5aab55cc1ea789c00ae844","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.2.1-test.1.tgz","fileCount":50,"unpackedSize":286682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8ggZCRA9TVsSAnZWagAAaAMP/1fJ4FwoQwj1etOfzDFR\np6RX17MQmLpLyWmusRsvk+o+yBCHgZxjrbB9DFzJmgh4wDaAhK6gbIQ/1/Oi\nmmR+pQBtKlha2Ub2aflQfamajX/Ydu5lCT4tR+TNFGutfGJNyuly3TPOf0H4\nGjAfrQiKuxXqFSqv3JfiB57WoiO6l7S6fJiRmWnkzFqwFf5xQbnxPkfjuQeO\nwkalyeu39MQQ73x7dYlOh9e26oDlv/oKe9PiDeg8FL6eY2Jml4za3w+nAxZO\nHk8QOEUTvKOSyyu4pq/y95qkhYZBj9ZxjDKr2kVTfHLlLkUo/AX0Ro7hp+FS\n2A9dnT2dVock0rbFErUV0IKKBE/ZVb9U3RDGjuo/Pca+z1KKy/oypyrv/P4E\nf7+PzR7AWspHr7e8Bt6DkROPvDzd3nmUo8q+tGGyAbe51FLFnoysAO8SGXiM\n0nuMYgii1dXHejr0wwJHhwOWhJAwwfaw5021qA16LUFKG+1tlo0grXnR6d7C\nZ5AB5Jt5xRnsRF7KwfLfvkTTbc6Dq6WCA3mhRQyQnoqB8OvhPWsEL7wKPj4/\nlXw70i+AoRsnxX2qwgNJfdtb2GhuEvie6rAYiDABftP6rgd4KSCPRDwDGfvd\nhKxLhTJJz/BRHdDUPXm1hpFyiIcnJ82fXaTiioPtY1JShrWVkWoEu3/bLADz\nf0/9\r\n=6Sa1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpp64njE0fVt1rGgYk8lhJ6+liVqqVHsSVco2XfSHKUAIgJmWdgqxsg20Y8HBV+qPrBXeIs7LhSTVd861CJeXubNg="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.2.1-test.1_1592920088892_0.1274259549958039"},"_hasShrinkwrap":false},"3.2.1-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.2.1-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"5a3f9df2481a237561eeac304790840df2d329ba","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.2.1-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-9ekDHO6p+Iiat/4KLnEeIPcaePl1fVj+rAXdbWNmEg9e1Zyxcj1L6H3J9X7KlfrV6XOwow3LkLjAmm/tzHCngg==","shasum":"7f9ed5312f0442c2d425dab22d976b9b66b07b0f","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.2.1-test.2.tgz","fileCount":50,"unpackedSize":286975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8ho+CRA9TVsSAnZWagAA+9cP/jv6mqmZfEo/jkr0bc0p\nNr+Zk/S2fVmiFHt2/6I1znrgm95Du+/fsv9YSbxtKoLlb0MCWBRKSwEqr+YV\ndvnGIm0C7WtKvba2BBpoTR7LzX3zko/h3Bnvf+602hK5KZ5LdjwTgQaLh9+k\n5kKutIGpR8hJ4HPM5c0Lk7MHPan0eVbUNimxrR0FKKpxx4UBBB2chUMr3yaY\nnuCG0pbR75Qv1FIv+mHQqW1wwRdO72zAnYF0vfIXTa+vk9a8UZzzHWioa78s\n+SQYV8ECJCc5O3OL0/E9szR32t/fy1ZgfsdFIGUVBX/exIdNUXeBs+98eii8\nNzhs3HgqQsD8cmi5ahY2lufvHF9RfAuGUBtRyYu7BtWGaC2ePv06wnXGgFhp\nrE/W2F/ui07C+7stlAwn+UxftVYuyQLTqH4XUZPlrygeHj4KRrz9BIaU13Zi\nU6WOG9olPuf2e4eGQW+IsW6HxN0TJIt4bFjiix74/DaGl6yQMhu/FIgaZjq0\nmGZCWxi1EpGsT0JndfUHSUF353fLsX8BtT7wgch8rY1fDc4PnWTMmHD2hUW8\nM3K2+fY8RdsPeHDjZ2D/FpFbpYepowpL/A0eaIgyKJcyBrZphVf3CslAdrtd\n/F6zD5E+O+SvM1dojAe4voYezd5/pBlY5nWagMD/Qefie/rjxJ8lGQQ6lCMz\nloDz\r\n=HF/3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFu2ufXbXaVeecqZa/s+S9gmrQAevBTWacz/NOibx0gAIhAPHzJ8DZAJLKrPuLj878Lo6aEy5qAh3TRdJU6hFr1v46"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.2.1-test.2_1592924733965_0.32065525180603904"},"_hasShrinkwrap":false},"3.2.1-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.2.1-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.13","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"638b0f35a488c14456cf4c4322495e752f617700","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.2.1-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-eZ2PeDYoC85OE+WeEoyrInYthx2Or8LcsCdpasQwswMKxDkM3tfEyNIXrZ25SIaAWwnt/hCRuiL8zykhOiKnhg==","shasum":"13e173bb4ab321ec8ff99aa7212c7b18708f4755","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.2.1-test.3.tgz","fileCount":52,"unpackedSize":290212,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8jXQCRA9TVsSAnZWagAAqxMQAJ86NXIzuNvIiPI8Wb7g\nEO2cQ7G1qyE5Ckt141O6LZmGXLBIkBsNNDVxuCS40hz05URUi7nfP2J0y5EX\nLx9mby2WRE2By+ar4MiY0/NdkrO4eWjnAHn7boU4TpMFNR+BJxhhUjRUYF5a\nZJogiBvoL2IJse7K555C16q8ROKTdkX+bPg82zgtHiyA0hIr1CFd7lyj0uKm\nqyBdHSrqtEFLi4UY7iNk7ipmTs00GBTZ+lOGYFx7eKqBH00EF3TM14n1zLqc\nflww0OPbhryBY9xr7vBhtnln3nBdRgqfAPJRHVCLCZgEy/62rFBoy1r9ldpp\nXwL//RFisEojyPtPskGHZSDbEwQmx4BmUum0FW13BlEsVVmnhpMRjzNOOox8\ngDTLjmJ6gNYfwxfrR1crpcpmVhhgwsVj9X/VvU/xlCIwMg5NIWnC7WVcDXml\nlfV88y9CbjkRSrLJJ3uU/PWsE59fa8koe2jx1I6AyAkqXlNp5NS+9n1XQx8r\nV5e18sfDng0+fjkoZSWPaPOBCijbl6+k4LwhtHNAkYxBkkUWfgthQhPEe6ze\n8Dy6GjUe+38AU0nbNxR7vIwA69df81wcbVfg1XyzjcCI5bEYImgjzCOoAL8M\n1KSDlQc+VJRf17b5y321FffmWmk7w0sUV/8FC5uhi+QruyD3oBmyJfLeGsqA\njnkg\r\n=88vK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA89A1ycEVvTQDBGuyF4CiqcOntlE+i8wC4t62h1Y6yRAiEAlFQ0Lf0PNFpuksO87zrfv/MI6b3pGM7yYU6HjdpNEhE="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.2.1-test.3_1592931791558_0.880284790039533"},"_hasShrinkwrap":false},"3.2.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.2.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"171168b427783ac190bea973958b27f41955ad3b","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.2.1","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-h4JrwmZcuYIXLsl6GPnuWvA9Q4G8ZZMKiSe99bXRskcv+GVjfTc819UQYLzsuQxiWDC/ULfBO7aoK4SS4kHxQg==","shasum":"5c7601d3aa19b27f5cf0e1cb2065fe79a4507e52","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.2.1.tgz","fileCount":52,"unpackedSize":290217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe83rmCRA9TVsSAnZWagAAgVwP+we5L4IsuhcCCwy/pUle\nEdcJk71l1tZWZLvS8+XxkQYoMukoHlkDvR1QSUucCdFfRiiAGjnYHU/UHs4R\njuzJIdeaPETP5+e/h5jCeAohJXqjU7sHFOiJAkIbewtQQ/GnfoBL80dAh4CZ\nHZCT9kMnnnTYb3zbyANccEfS28DC4saTi+cl+upAXW+yt9IY8i7JltEs+6jt\nRgHub/YyUuSxu2e617l/LDL/KnRaWDgKwHmHGdv7CvVuPHz6USmzosrBYfKK\n7Migw3p1poVuaoucMg4p4cbJ9+hYwNpGeiyQVxiuFpTF0qKd5Jgdm0SqyJ5n\njfQeJYrsTmshoo0rd5KFK5NA0bWTR8mxPga209ZGJVhY+w5nKjbZW8MBkost\ntDC/6Z0VmS2j22Ufml4UzjfPgPXN7CXrWpP3EcV4k4uNhs6qlFzL5Wn6fkue\n0qITedZxkjpVg26ya4+lQpyiz3ms32nl8HwYMz4NemmqFxRwff4WpfqGR4PI\n+Z3nPrd2ikexgD5DOlNuGgaBzkwg6JBWnjor+ZG8IWvUyHaw13vmuEP+8B9c\n7Mob/BTUogcHcj/9rOhqJrEvQ5QD7EXOQ1ViykrhvQl3i07WQsqtvngIwz+G\n9TLHzBtFF7RSGL9b8by6R7MohooDifXePB9YnqsVjzSzFuwbZiVl5+2rYcpN\n7MYm\r\n=zowB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICOZgGp2TSAh7oitR+CRAKoyohuB0zZ1g956hGsmELlTAiEA4x0nMdK4CCsSP2RyuG3W5OE0Mu3fqq5fbaK1B36la98="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.2.1_1593015014360_0.9606368917923478"},"_hasShrinkwrap":false},"3.2.2-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.2.2-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"171168b427783ac190bea973958b27f41955ad3b","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.2.2-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Fs52CK87gqSNlx8eS4lj0kbl2Hi2R5ZLmySZr174SRZuyr6ZWyUiutISOJqRmFUYQ/GFvwjdxNbF3GgH7s7Bww==","shasum":"aca18b9400cbbc8323a1c248684e5f898e2fb12b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.2.2-test.0.tgz","fileCount":52,"unpackedSize":290287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe881NCRA9TVsSAnZWagAAbtgP/jwC+Ia/xNA7N0POYZgD\nQ3FpNG24rF+patkQ+X4c/gHQq88eSZp23FAQklp9kptBphZqIb9BYuewfeI3\np1Q3cC5hiWjsADmvahbmVWdHpgpm9WPUod9HuGaIGoE9fDrqVxV0P/vYhncI\nIk8VKXO/MsorsBIZzMiP3jpwzvIw2G+xxs0QNmR05WJ7Zr3ieG15mwrv00L4\nVvMEcaptu5FoBtGv4dcmMUpCkNaJxYw5vPlEyMrtHLWuA6/ucxcE5Nco6n2h\nO2lJlvbFFUsEF7eJLXCgcu31hY7yBJUzUvmU2XuSbN1IqTV7yb09fLcCrLqP\nujN8h0lpW93LcOluWwnVX/HLq923tamNFtGYi5lk33tv3gvFws8WPNt8TeLx\nTCBEJTSqVMVrTWdOIzHmMjuLS3M9VVWJNNRrxvMedJOmbHeKkZ0DMuIoGhxt\nBpD2ul+aTRT+edV9LMOhpCO+3lyXNmg0Hq+wyTejF+Va8/8Cbml4lZfSjkoU\nfbbAxAyNgwhjj2DLFTpIWIBhQyEG/OrCojcS9O5qGuuJTMDXc/yC2Wk/EPSe\nsg+XJTPJjytuzZHfFI9Uc0xI/NcPQAHBgOcz3tmlO3Fdi9067MRbtL0EvO9v\nahDEOw54FfqZBeRHGmXfxwUUpxWEbQeReeqnZUtPX4VRnFnEl1lR3lF+vBPs\nLKAt\r\n=OBVZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVlPB6SpBL1w0n9XuzU+AH/h4iDrSS2D3saICKdzpN3wIhAKnM2jCumBvak6tFprtuxOxu96b8fBZx7FUpbeGZtt6P"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.2.2-test.0_1593036108418_0.1581921527278325"},"_hasShrinkwrap":false},"3.2.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.2.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"c9412eeee64fb775b8443ca5ed05c8b7ab81868d","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.2.2","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-JAzlG9WRel/GtT3o9xO9awcBmzrHPseEumX1SBY5Wxg1AeBFJzV+xHOolSMyqVxI58rJK7RMNatkWVMqSI6eQg==","shasum":"ba605f28a40d6f519620bdc27d57c3caf1ae94ba","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.2.2.tgz","fileCount":52,"unpackedSize":290381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe89qFCRA9TVsSAnZWagAApf4P/jTfVjZpuELOi8d2xSCd\n93ynsxGCDb2ctIqGMV2S7gJiZ3bt4npn/O6KOX+nzggmBHyXX6SkLjDjJYlc\n7v4z4P9Er5t+xaPfVEIbGSy+SDUS8HstasHWfvMvop4w4I2gxC5nY4IVNT5K\n80WqMe/Dgbcb6ukkI0geYaZhZWJ0hSZjkZ+YKD42hNa9zLJvhPKk8/ImA8SI\nwUAkmcz0uw+MuqFhfkDjvpg/wV/h6tUPHKGNoaMlx1yz7P2KJY0ukFnHxdt2\noXjhCxoiTJsv55dWaczGdjAbJfDjermNxGk4QpVMKcM6s2ujBdiSLzgE5YCZ\nqHdty9jPre8sSLlxohG4jzV8Y1yK4dVt4AqKjXFUHXEszzBcqv78KYoIRFbM\nSXgTSEgEBHjpkQLf1c2aXIvoOWisiGmvauoZSEfXTe0pW2tDH6Qvz2+w4uX0\nxCIh1ZGbjLoCi/jfMeGKE3EpHMhAtIyx1Fm1oKJveuvDnakul6St1eXByIet\nNb0nBqt1J1GPJqldnxwXS6Ou71SsKnzbHiLRsqD2ZLfrlR06VlY9mNzXXdGn\nZxMHilXDHMax6x55o8mKLtrrIo+umd+KVidO+xwBCZOPVUhn0k4wlyyWvC+Q\nICglJQmQlHlV9Ftiv6WG++vp1bqkgpXUa2N3RJ9r2zLbwKa/KkyW4qAOfkdS\n0aSs\r\n=4OJu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPQgcKg9nl9mve0/jD9dbedJsAqByhl+iTqZ8vh4Y48AiAn+/eERmc96VT81PPlKT5TEIAyLqWd1NrN2BHDk6XZ0A=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.2.2_1593039492684_0.7673261144218277"},"_hasShrinkwrap":false},"3.3.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.3.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df36db66217e4b96bd5994b42a6e27f2)](https://www.codacy.com/manual/Brandawg93/homebridge-nest-cam?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Brandawg93/homebridge-nest-cam&amp;utm_campaign=Badge_Grade)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"70a6ce0aff2ecd9b0a52f8444d65428c27265023","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.3.0-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-N0+D5lwvrZMtb0CGaLjqKayV4KFVo+eHPdfdPBeKrgkUKRjhr0oioOgKqYdji3uS1JODLuqs2mlftTAV3ydWyg==","shasum":"f64faab056b38c248c23527a0cc82b56abe7b8d5","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.3.0-test.0.tgz","fileCount":52,"unpackedSize":274015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9gKbCRA9TVsSAnZWagAACZ4P/2rhwmtyFikYjwuzn4PQ\nzwd0XAFgQCaP/LKzazNZzrzxJB1aoKpulCEXI+zNXpdSFvcxhvLVwRM8HqvC\nY7TaECB8m1M//JUDoLL6wk1K1Q88mKCNHGxwHJV9GoQ8fzCYHHynNgL744k/\nf+VjHlmUFmhMzCeQxrPQgdgpij3ihalu2RFRTdV/jEv3JUy6zeQLGMBJW1Fs\nFaxY8riBUb7o83PxIHeDdpzXgkIb5j6g3RijvStCtiuzYi09xWjpelU6x0iG\nwalqTDscY5FlEwVhr3eujZmhA76e3k2rWO7+4tOPA8UJ+IdZPIT/cvfhNBgf\n9jECbL2POVKI1ostEM9zemTneTGOrz8SZF4/vy7ybWmVfau0644ETI58kdre\nhlGvqQtVbKVpNE4XfMieeNbVVOKhaSdtbA6wJQeb9Uaffu0nHfO8MSzL2q6/\nNy3nCwuAAP3DSB28e1PvE6H2NZcpQJ63U0QeLgXzOOa/8iZimM5dq4ltJiwp\nXbFeVB1Lb7KeX50rY3V0mDnhXngN+a5wrzQSq17hseTNZPqrgA32YUPuFKBV\nl1zRLZtGC2itw/Dk3TH/aYKJjfsqk+9IET3hE+ZXPNSttPXjxOfXWoE5Y03u\nu+VVJF4whVzm6Ebsl25QGT66PahkpBwXxmG5FSboF5OlpBKuqt0QBCMFe6M7\na3Hd\r\n=CVAf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi91uGiXCnN32PjeOU+3ZGbNdHTbGMUxDdO0ABs0nZBAIhAM0HgSWFPtsGxxRvg3/Y8YGqkEPDMSNhFC/ds4h00Wj3"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.3.0-test.0_1593180826665_0.9564060576985327"},"_hasShrinkwrap":false},"3.3.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.3.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"e82d9e1ca2361dbcafd77fdb293f8f475c9c3e2e","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.3.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-XnLVHAFlLHMg/4l7vz+3zn0pg6tF0RR7mDKQuKKYi9rUhNNk9DejI4otxXHOnYaCTVTBvPy7A+CnUv0EKM06vA==","shasum":"ef62ca6b8831e7b725c6b5dca170542f04640f86","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.3.0.tgz","fileCount":52,"unpackedSize":274005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9gU6CRA9TVsSAnZWagAA3q4P/2zz1xoKjq1ksnpfmDaV\nYwaYjhuDoWF5UzyzMnhIDe4OzZtp14wvQL4YVPZ4dKyEeYj4bF3OihuaCqDa\nzJsAiwoiJ/01SYR1YpZjzsG8q4XEFaUYCQq1wi/39FwCV/+DmZJRibb2RWQW\ny4HLlIEze+TYZpJ4UolJz2oi8CKPPD09qwNONCli9MvP01d6Ykju+UFj8Q4h\ni28X3UdWHLMbYqEdUOWHwEKA9oJJBbElOlK2BP9z41C5xeDPofZaMgYUnvkN\nNyAyvZvrem4XUZNr64dcx/x7b9U1eOolBxVkslfz1EfAijerlqx7gFeJvk40\ni3b2ryWgiKSZYPmpnhAgcNCoWdTkm45WNiDrDjyuT8Z97qt4ryJhsstC2sJB\nr1TaEosaHJeaMqezfl/HUJszRpwfAZex1Zb5UCotjW2RwMiIENnnB0AGGyvb\n64oPJgWPqK44vtB+pDxAMJaZYCgOqx2x+/GX2AOzUsIlhXjBFbV57q0NTu5X\nb/835GqsRDR+Y6gBsS00oslcyf2S0WeHhk7n7xj8G8bJKKX8kFmWk2t7LSvt\nme/UWPw++BEBXuxv5Yc7F1AN2a9prx7UKwuyTV12/J11H/nHupaDaYBDqf/u\ntS9RFS7HfDhz+HE3bskszWRRr7y8yau7g+xAQP6Z3gDf9A3bWmyQoKb77NsI\nJJMA\r\n=nYka\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFL7gnz36TqXURlg5e9g5bOJ5wPGBkNb3IOEBc+LxX+gIhAIr6rdkxiAW7oTfGNo7NUGXcVakjYq0hIfuTfWojFi0l"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.3.0_1593181497852_0.354021739796456"},"_hasShrinkwrap":false},"3.3.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.3.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"c85577c650708c895224e103fbcc74d342783208","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.3.1-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-fWXN2EKROME632HuR0nZyonkt7O/12DKTtxm4/1HxX5A+00h+3eFYkvDeGPRxw/I1dGMV2cbvlZ4VWCL0bJKOQ==","shasum":"5db0becd6852677e3d73bf9e8daa68077c070bcc","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.3.1-test.0.tgz","fileCount":52,"unpackedSize":273732,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9priCRA9TVsSAnZWagAA020P/1f+OsI4MESalyiv9qrP\nxYA1SAZLMOH23hLmwTuVgjtzQtyVlc1XGuAAgJ34Tr0/8lJZZO0hGTyJVkYd\n2fY+ufuLOAwXQ3Bs19CKTlGJlu5MO2s36NiIjo+3K7kZvyhDXeztB+BQgp4z\n0+APb2mxKU6xZPtmBkCvkQStc+H+5UsXbwNA27MRqB9ZIY4755k6rZiu9f39\nscLuPuJ/IKOqBLfmAMvjME6vm0+vsjDyG4DzKjiEfk21Uoq7ITwFpsyleoGp\nQvd2YKJ9B63Nz54MWsPZAcjMdo604a3pDcSMtdrayK73kXx4iu5z9WKZb9Iz\nUh62DinuQQMOna9sL1wtOSoplnqeqO/XGwXjq88+A98YjcwtVYuywqYbMTHr\n8Z4aH6I8uM2BMCwXxxl3NCQr56C+yd0ZKd40pX7qWGnNn8FAAW661IxtUkYS\nu8BZDb/YiLGe6qtqF8Mm6Oy0Ws5cwWFbPjcYHgTFVhusOus1l4aJBzzx39sN\nvozka+J9DbLuA81MhMHP+abejXxgVnSPWPrDe1SeHV6yobPLphI2j2Sn9vQF\nY5CIVwsa3n71ORv8KSt8hVMthm16oc6rU0U+w4jCpBNeemb+wsF8WBOD7in7\nSP1iwh8X4Ow/FwqyxQJdO+Z9N7ik8rxFuXPk0noK903EsseSsideIp7lCfAy\nYFIg\r\n=lh9J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtkEjrgoPljIwWpinL9b8NAgMwwwGJkqhqJPaqsl6R4gIhAP2GQYu5bQRie4cuZCIQsYcrE4ZG3gqqKETBfVBCpw83"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.3.1-test.0_1593219809558_0.12241201215474384"},"_hasShrinkwrap":false},"3.3.1-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.3.1-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"fb0cc5171ca75492a2b829acc6c80f3784eaa46b","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.3.1-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-utTVyVDdlmQfNRzWQcmyfg2IVDUNGKdvWUvIoFgFHYlTYVwCSxe/+cNnyY9+WPaKM2ymB1fxXPqN94XfhVENkw==","shasum":"dea619ca6694ae03f848e8246ca72b08657fb6b9","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.3.1-test.1.tgz","fileCount":52,"unpackedSize":273987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9p43CRA9TVsSAnZWagAAXDkP/i1nDjb3dsE0nquBlYGU\n+rPHlzXW7XA65t+IF9qaVZ49Y+zXSNEgQLRYQJN2Jr2cvyhlFYVCjTgFn96h\nzDqvF5kW9C57Zr9kfv4QWr17JE49yD52uoV8e5Wyh9+3M0ziOfSkNXH0P+nf\nwL3mZIMxHvT1jPIxVnnhUGWCunI/jrGLOHGU9XS9JwljXojv3LhwmrEtVSq9\nS4jzBadI46C+UPHh2a42Vw5JvrO2HGjjY49aOrk3G3asU3V0jfVWiQ2Un88L\nWSduDhbOZRRL4SydcrFwyEDKUpCN7Povi6YPynpdwFagCN+WoaL4g4IlaL0D\ntPfgA0ZkNXSwO7IZc4KIWsvMtAGM/TIciBxQLQILimur8Heu9u9f4dI39uNF\npx05Uv4ni8VuJdVNt/N9cfXUdKIFtyIx0SmouWofzuEWi/Y23QB9por+yr5+\nrWJDAxpxf1h8fGGoJwzLZHrwPPnnTBtITiK7GICN1+p6i8Xn16FLyoA8+RLo\niawsNI/yJA+kTJkWPul2+jjc39wXsclc1YZXj6SM1kUFXlFfxSYJK4rOSKW1\nPyRSfb+++aUc7yqOwetIghZ45wsh8RdMRVp7CdzEQvX9miodUcBsP/FCvKa/\nMd3OAIQcNRJASNuZdrpt4mzM3TMZ1lccLv4pf2t8EBDJRDrAgU6kVQn+OwVX\n3+m3\r\n=5ujb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoiZZZ5BgsSmJyMNXbtD/pmx0GEtzo+l5cM0L1P4kRagIgaCvamKuRyPgiqfwAbIhV8Oo3pCIKAADQmi8/K83MQbc="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.3.1-test.1_1593220663134_0.7503878869471672"},"_hasShrinkwrap":false},"3.3.1-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.3.1-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"87cead86306de92efd6ed17b508df4ca597750c6","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.3.1-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-1OvNowrwIYzt02r1X4KU8l5Qava2e+HDUfRKIjT5gGyfCVN0IAqagdvJ54UuDaNKXPyDfB6+BXu0xCxkR4edSA==","shasum":"99a04852dc67c2d4b6255cc9a4d7cba128fe6da4","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.3.1-test.2.tgz","fileCount":52,"unpackedSize":273827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+1OqCRA9TVsSAnZWagAAKS8P/RMAhz5TB5Fl1JPIsfRv\n/GWQxWf1Hpj+PXAfIpJ6rfyDufZ5M2dnGGafgy1Q/rRNNuz/hrGlXv/VDG6L\nYkEteRt1pGYzHXJKSoPygGwKhJx4sJNOt2qU5eM7rLUogTaMxKDxn+YNiSbN\neTeIeIbbOw1ocZu8xAr3JcCZgBdaCUSeZKE89hYl0tq7vfhEshSK9r7fJ26t\n9dVaN9r3kPDyJywoKInxUfxVhtWEc0nv6ZpZKT5fwh4iebT+ZylTfMBd0d0t\nJ5HmUiWdz+KVOz2NR0Dgoj+5x/cmW/5TewNlVho+z4KOaIQWdrl2vkNJgDEB\n1VxgpUnW33aqLWUYYxW1iBwXOXQU4CxF0ewefs2qSM1Ofa9YB8lHZMWCz394\nQdQJr+ACRrh/Y0lvtyWrynMSWlXmQtZpld0Kb6jrvfeoyweTEifQNxK8Utsj\nI3x1Y1/0sqS/BmtGsqOsb4GA8hUQ3g71qRB9z9qh0cPLMacUuAHTCDUwSYHC\nvcIzRRyfrBOjOeopr1QkxvEklCQmmvX4ukeXGL68SxUlW+33TYmFcERC9BHJ\nrJg8qcPo6Ryi0837zF+OpmLff78KnglkjJPauAXzDO1Hqzp7wIJ7m+yJTztl\nWZWkOZqkhieyGSJDUzHmLM8s7kSlFV1GN5hjEpnSKh3Oy0vffP1DVIwRqucN\n3bkF\r\n=Hn90\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCtBwWbhVWz2jFuhtBSQua/1h13Ij3WcT1dMUWMBIJ/AiEAl8lBzP3GiKbjU4WMOnDAd6PHa8+jKFHARuNKUg3yvBg="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.3.1-test.2_1593529258155_0.19426479620974302"},"_hasShrinkwrap":false},"3.3.1-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.3.1-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"87cead86306de92efd6ed17b508df4ca597750c6","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.3.1-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-kJEbMUpijlv+iXshqkKXQarFq7HRVJbGi7GZKGpY2106dJ5LOhsGW5sie5fQodz+1HWvdDtqxJ74ABJFaOzLXg==","shasum":"b25c179d9d39176b220ae1c064eea180bc8155dc","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.3.1-test.3.tgz","fileCount":52,"unpackedSize":274079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+1sYCRA9TVsSAnZWagAAYIYP/jktN1d6FHw+W/64uTzU\nUvIHGsMY5QVi1uWxbDFiHLt9pruy1E47wzsyrd2WCmxTxSnJFOT5rffoAzLL\n29GzNRvLyih6syh+224qjtkFmvVTz9dERoLWJAUsVrAWX1mHYGB1IVEzbLVW\nG8Sgk+249QcxI0tmscEMnzuM98K8Ac3acOiHJ1t0yBMcx/zNv+ShxKII2EGX\niJuSKAeX9hJY0MaFjChvgEgQTWRKKyCDZj4/X5/UppAtXM5uTVWRX8Xbjiq7\nhn+npt0znmw/sDj22zpq/mOhHIibl3g5GXbUgJ30fSaIuzsufxXP0aDOTSul\nvyrffDULfyOMvoR0DA8W6qfwO8N0zT0HmqFVWSlLNQRQaKhhnK+YnK3C5mDE\n49x/T2FHaDc7d9Ec9BOFhRsue9iA9M8U0zQQzCqg353eIefOctA/a6n4XM7l\nMtBATHUMoz+HzHpiZPzvT0bjqUw7MWedOan33Qp7GvN9qhB9W5McGtIZtN1f\nmHDFNzxqe5C+exCnoHG/KSfOT9V9c+So+kHXW5g+AQhqsV5QProx2Fo8IdVl\nvKRxU4ASRgxQpzj336pWm3co084b3z8wRW5h8CM/ezAi63sCso8b3o3KwROF\nLFOrDvFhdOjOh1kW3GmEx2XV+WnzzhA61F+Ukh/kew2mT35atvhdVs6AINGA\npHRT\r\n=+PT1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVgcRC2cAnW9cNPKYoM/j05XzUc90+sQaXRm+GCGw3cwIgLknDwMoR98Sy+VmMPxrJjijPGhWYm5ZssxHr1lj2k9M="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.3.1-test.3_1593531160071_0.2601402478372037"},"_hasShrinkwrap":false},"3.3.1-test.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.3.1-test.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `npx -p homebridge-nest-cam homebridge-nest-cam login`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n4. (Optional) Run `homebridge-nest-cam clean` to remove extra packages used to login.\n\n**Note:** If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"87cead86306de92efd6ed17b508df4ca597750c6","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.3.1-test.4","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ni3lTHMZiRH5CL5Y5mh8b8Tu5L/HXbOFHZiLy1mgAGBZU1fKNkqL6a6RRNVymCohp41yJVAdg/u1dhpSUFoggQ==","shasum":"15004f0ea17704e47e7f482aaef86f7ade257965","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.3.1-test.4.tgz","fileCount":52,"unpackedSize":276097,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+2XHCRA9TVsSAnZWagAAIxYP/0uJmhZ/vRohcLaNDWgS\nZa+svye+Q3G8KAUhkruQdM+5PBhWL3YwqLTPmk4AiCr/+WEENN03gTcCVtdD\n8y4QGIFydayWbZLT22yI5tLojZypTMSwlxUg+cfzPVkZ8ldwO4HqVimukjgk\nq3WzN1s4QWrD6Xnhj2GhxuDSnqZ02j0lWxnqDrrVdmnMHpo7dfn3fjKO7Vms\n6Q26FXRwH0tH+MLiL6kx+YmSb89a/5rVZLanPBqtGHHO2n7klzxoSlFz0+mn\nN4dGi4EAl8iiFIyZYuwAnWN4eeATL1bJLddYisZANs5j20VpgHfH3ZCFtH/b\nKIv/fOeUtlarB/znYZ8xEuRmCOudk4+BjSfTX/vyfCUTfPlx1lIR/cPZnTi0\nx4pS0kTP7xx1zRGNQ40nbv5PL8dnZ5Rb6bkSMI9Vsdxap3DFU1/yzB1QqMgn\nGDP1D73jBP/x8va7JfYa9FxiH98KtQ4/D3Xvarl8QUmbs78pKqFZaFO6OkRI\nJNxavjkRsHTXoIN1/N7j+IawLALwtA8iNLdUXfstfuLM/dFCSPW6yZ92nhZ/\nnVFo+BHW9Qnl8Yf9dWn/2Idoe3bNfMcxkpNg3ExS+/TG8RjM+XtYU0wiGbgq\n/54d3pVSkgeebfo0dGyVkb1NaXCHkboWC1JyuZCgmbA84SPReip/h2fioopN\nVE3Z\r\n=2XPJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH9nG7z55zBytFSXkqlKXv+pN6nGPlci/nXzjjXrcPPuAiAOAYOwXGFFXfPzk1WS7J0Y1kTYqXLuDWj6pmi72oxYzg=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.3.1-test.4_1593533894732_0.4904575645713316"},"_hasShrinkwrap":false},"3.4.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.4.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.14","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"762ea0274500400c225a8c876e380eb0a3464bfe","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.4.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-P2YtvINbVwgRY8bZEzzc0bXiDOC8h+me+y7b2R7oUjfuPabhe9mZzVbIF7xZp1gpDzPNkPh2GmvGzmJ4nOBrkA==","shasum":"e9a260ebb8c6d2eb7813a466775d61f8f73cafa6","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.4.0.tgz","fileCount":52,"unpackedSize":276206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+3AZCRA9TVsSAnZWagAAlL0P/2x3hVW/M7O9D8hGWNrl\nYkf0aYA6Ey0JyWbBseLARgKSx7gRLAxZSeswl3MH9UEZkBOmmWqIQJmVgFR0\nhl4nDu5RFIcYVsIfEcqW7bmoSx49nY6jSveJHa6pjcW1hWeKDkZTf7rckLQa\nu3VAL0ALOPj1bVloTKtG7cG0WXPEAWxQ2ON4xaV271SC0XNWxoy08pRZHa20\nbTlYke/O5dH84UP4VuhUrwxya1G8Pg9JnZZtvJlmeu8TnprrjTZdjg4E58gU\nFXV+WaWra3nch5D7Z6tcIk1aEc2qLSOeNV58wgDHrwK0bTC3N3QnylWpJO1O\nLclBmjVVVAX3lZ+QdIusBr1YxwYyEOYz5ujbm4G5zLneGXf7b9Snta1MMGmC\np5W+Qco51XowLDvvK5906r8omCf5+MDn+pzJt7ON8gHU4Mh2+/IDbzWq5U2C\nShoQXjpOHK2FOzpR8+DZQE/Q9YKWyN4oUciqmBWqsbyRXvVBB1sIhq59mwc9\nXz+Y/oY2EOkwExoqCJQYgObRvwNiHr2xQCgPbo7N87MLjT5OSI+eE9PJPewx\ngQU9/zGyxvHWI1wSabWJ4e1e4AqnjG19Rl+WWqE2gbg4USufLYgQhpIgAgII\ng6KbSZyOr3h1Kig8F78MLFpXX4H6lv5KSMe/47Hrwf03Nt4p0ljE2445lrQ7\ntMFf\r\n=76sr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYe/6SORv0OiwNSVmmj5azUbRGXTNfhX4HUzK2PL15LAiBosiQj9GB3IsDvztSlhlXpuFevr1XTA4d9qNwzGTXsxA=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.4.0_1593536536822_0.06185100528679155"},"_hasShrinkwrap":false},"3.4.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.4.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.2","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.9","puppeteer-extra-plugin-stealth":"2.4.5","puppeteer-extra-plugin-anonymize-ua":"^2.2.8"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.18","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.0","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"29eaf16cf52d6baf3a8e99fc1ae15ed977dd6457","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.4.1","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/gBXsAz844R50gbRnXBIUUWeJTUr1lR06Q9/Z9bsqoYlMzjW43NuXTBFF0OoJUevnLb8VxSjcVp4bMl98sUtsg==","shasum":"34a0e262faa9e3a3be7a6632167f4896008149e9","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.4.1.tgz","fileCount":52,"unpackedSize":276042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBcyLCRA9TVsSAnZWagAAKnUQAJ9Mqxe51nc6/Fdyu2iW\nyjtxI4pwaa00HP2a4dl5QIaLedZpDLR4bnbEujlJJ4bxwwD6WxD+W9AoRcRF\n6CBVIihTkEEzL90F2xKtT2WFaoN7jx0AktTWasu1zGQmheY26OIWvCHzvWKF\nb7icRF0Ddd7qxA0Yd+M6MSqdCu5GhBmLGE+mqX8ztW4+udr63dMKZfAqr/lY\nrNMRd0NIsBe4ECGHTCT9RKbQiNFm+vDQ34dhcUGoWyxxMytt0Nb9ZkvoIu5B\nBYe2jaqQ8DviPxR/V8mS/ZxjIvvD0ooZ2CB8uGs+W5ot2tMlJIXqxaJ8L8fj\nodKND4AVuCSx+93rXcjcpQLFYZg64xkvOX9o9OD1PTN4m3YpxzGovgeAx95g\nBW9kLc3tZMvcWbnYSZUPRR8FTOjd8kGIdb55QZXRJbmaIRDDrIKous8dsoRB\nWmFeIqoJtfsmo97fSrRecmhcr5I5WNusQ+78UAlarxMWYGjkDo5NjAqOOu7n\nSEs5BhjPCTdGt+wGUt1+0WZz84aUjlraJYlIgNL3MwSgi30tyZE0pN/lzIsS\nsbCF4joivpE9NmFFpDxdRS7NNn3OI6nLUN1skMyHCNscckzlQeWkBjUPB78M\nTPK/dWZZIOxCZXwRcxBowNXGmUYBpnxfue7i27OdxC5ygKEYRq4SfCoOAhow\ntfgq\r\n=rj0c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLdYfyywtL7QS4YCsGjwUNg3tkBmfdIGFGB96vn5m7/wIhAKKhsoANpnZWgb/Kk67lvDyAFPzfq4dlUeHpKYZW/xIK"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.4.1_1594215562712_0.6653619515015703"},"_hasShrinkwrap":false},"3.4.2-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.4.2-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.11","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.19","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n**Note:** If the steps below do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"ddabdef0a742e2f063e93a9243448c929e6afd19","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.4.2-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-e2Xq5sNhI0HYsJ31y+LuFqWTUnpwhj62zBOOuO38E0S9R2bTVmKpb18A0RR+Hxc5krw/a1Kzt/ETk/0oU7IebA==","shasum":"e0f612318521aa022f719c0314bd1c9767d7eaba","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.4.2-test.0.tgz","fileCount":52,"unpackedSize":276308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBv53CRA9TVsSAnZWagAAxpgP+wUVOybDmNvf3t0Mkmwt\nBZimBPfimX2v8aM0HJ7n0SDXkHlouZVX7dP1xEvZjzFhhcuX1Raxt/hChhrN\ndnsXsXecIcA6YltfmZ/dPdKGYk0HEjS5BsaVu2qNxlX5C4wtazUsRzNGCjTz\nCRARu0v/32sPJ5FDtMP5MW45A+alQjxLlRmwqZ+gR7RqZU+ecv23oQ3NZkQK\nev1AJ2BARudDeQeBIljXpjggZeSGlOOEhpnCMMap/bi6GFjuqtvr7WobafNr\nWatWAVFYMwDfu0yE+L3rcDHRDF5pht27ixKkZf/Fh4k77kN69BtDaRFkDKhk\nUHN4FA1Bnl/eolGFg6EZ1kP5tYZbuIIEjywj8b9NcC6zAhemy2kHC7nnZdvA\n2W24MofM8+ListGnU6tt/9L1jYmDU+dj9mOsnsr/wtasl/j0SHRWaHCirLZt\nFgVBg4WYJjuyfCY6FXLeibm7DP94c36CrosQtZLZgVP4/FEWtSRYQgcChsJU\n1fBOqXNj1RnGK+yEFr7eEiO5IHjlVJUj41Gz6A2bedlrLPqKWQPt4ZaiSPFy\nk1XWySWLDZziR3F4iCqaNVY/nrUqxPErkueoU2CE6SYuwGw73H6NoCmWcczQ\n488K2Mbtj0oWIHbfsE3VdczZLdP9eJVhtd+VHZlBong3sousaNJ41qCxD6QX\nzEjS\r\n=s7mc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe36VEzdSU1McQGeFX6yJAiQiiBGc87dfiFOlvXZd+awIgSF1pJu3y05xww4qWBa78C6ebHZ/kAgNdKnYMlDv6qgE="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.4.2-test.0_1594293878446_0.7933652223819254"},"_hasShrinkwrap":false},"3.4.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.4.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint **/*.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.11","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.0","@types/node":"14.0.20","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.3","homebridge":"^1.0.4","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.0.0","typescript":"^3.8.3"},"gitHead":"d2fafc61950764196eb4e1b8b33263088cddbb59","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.4.2","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-q+qJ8uEQKg4Ff+NAZM88ZrG4K/sPZDTAyjLRCU2R1Ql4woVZvXCRhHutNt9B18hOlr/zRmV7EQU1BddVUTsRsg==","shasum":"93723de0d1c650e7748aadb24261feb65ca16802","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.4.2.tgz","fileCount":52,"unpackedSize":276718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCKrFCRA9TVsSAnZWagAAan8P/0EowaOr010GzLkMryM7\n1pEKf+0BU7f+Z2H8r6ibConMjzkJRR62O7HXF8h3NDQgz2t9T/MAKIy2Jsg7\nQDVcB+Fhp2daRay0bvT/qPY4da3TqPHghH6vcB4qJ6wDCWNXwPQxkeQOQMxg\nHTJuNvMDrPtLNFd6MZLpWsXOKiAk1lmStSPnrD5RuH2FCQluE95qoWLM3Eyj\nqc27d5JveNspoVuVwJrQxduBLF2wliajbMlbd/C5rdDoEc3mvKL7KVnmfxti\nZoXFJd3fsvQzxaQSCVEOLj7K+GPsbde3GIsxrAYYsroV1y4KYPjbh6S8LpNG\nAoXV3q8/vuDu0pPLCLiErcgnbC05KWu9T8bhostHDflBn/AgpUduW/4LQ5d/\nkuhtVUfXYd1gQg7jIFODNXtNWjXukYlaL/X1de0qhAbSiZndyZ3vQ4lLC8nc\n3Fe3TBwA6IAbQm265sp3LhziPcEuqGPq3PCeyXOOGB68SJiByL5seOBhB3ZB\nsPzElrwzxxJi4ZKKgkx/YuA2xVVE0Xl2fhVhETBfnRCkx2ht9/J8E61HB2ZV\nj7BRWXSjupL90P9DpnavfsmPK0/NTWWGgyomro33E07dBmtgUCjwt7GTjyi/\nUpDGtNP3tF8SckNdSGSyjg+mvIFDIJNIuRpo9q4yv82SeHN1lAS4J7swofU7\nVSJy\r\n=1njz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpmcp+hLjuM4kmu3AU5OPBHLl7tlcg4gKH3rBEreONIAiBsvwb1+gINqKd127FJfX0TokJmXA3MJfG2pcsP6unaUg=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.4.2_1594403524533_0.6030840519048171"},"_hasShrinkwrap":false},"3.4.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.4.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc && npm run minify","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint ./src/**.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","ip":"^1.1.5","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/ip":"^1.1.0","@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"gitHead":"93abed0df355c2c0fe07558d7be94500aea93202","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.4.3","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-QgI9VC6Qk9VgzFJHhfbTZL6ekp/rX39fmdZ3jOMKTym4sp+XrDH3U8LniDnL4rkaK7nBS/stouXUBBJd91SlJw==","shasum":"107fa075eb4f3c53d8802c60163dd6165a02427b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.4.3.tgz","fileCount":52,"unpackedSize":227321,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDLYmCRA9TVsSAnZWagAARgoP/jUQAQv7nb6l6hxaM76f\nblwwJcYCPaaFU0uq8RIPC8hP77DcFidXJGSE9HX102UfDtFHoO7p9GSWtclX\n+rEewe6e5MICf6UoILorZl39n0FxtsPhN1zw8+s9AsdSfisHfVVLo7jJdCZu\ncMS2saB/cBuZmGWPFldeOGwFX9Voar9RHz+l2pRl8LKUQZmCJ3kDvTNdp206\nmhA80AVavI2EKJ2LTgPTl2TZMli7gq0HW3gIIVRh7mYjg25M8Uucu7G4+J6m\n+E1cSWQJIVvdPkoqQuAAumL2rN0/DXnmnpgzsAcKK2Vgg2SifZmoOE6H75Fi\nteMOuRFnp/0niK+Anq0ZMRfVEgFIZdNdOMMpkKIk8GIcgqwPoNrY3PwJJYuw\nyLWQ7RR+uhcB7rH8nrfEtO2cpq4EnWkMvm7Ic6t/a4xQ1nLjq9OtBoPhkG4K\ntHHvcaaFLxBpFUk5Fmp+XkZKvHOP/2ZhJtb6u0g2tSDgAEI4PtJWYDBdDV2M\nB/NeCUgXIWgXtP+lJzd6uAztjsRdj5bZmmfBu+ypcmsdn2kMvpfeHYJzRZ1R\n57JoZOiAOHFA1JaXKUlQZIxQ1x5yQs552tF95ZiXs+tioCevq5C0f7l6TerD\nd4AL/1bzNNioNnfk9r30MC4T2ZXsR3ficLECNgIioRLIyf8KsMpeTqmEwHTB\nvTbW\r\n=YI8M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDtBwUJ+lacXKgaIweQoaopR8vsjnQW76ghpFSdtWwB4AiEA7Piu1E/ZGyo9acx6/DACZdvASopN76uKf6BqZRGeJ+E="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.4.3_1594668581856_0.8891241812722495"},"_hasShrinkwrap":false},"3.5.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.5.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint ./src/**.ts --fix","prepare":"npm run build","prepublishOnly":"npm run lint && npm run minify","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n**Note:** If the steps below do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"92e6ace2974001831e5752cf92f066f458db3466","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.5.0-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-yDLANNElRkQRZ8Eibt6daCR7luXtNyWfOHwHKIprQBJ+HE43rH3v/wuvfc5ZXBiT/viafl9lnctkU1PXmW1diA==","shasum":"7498acaa59a2aad05005fa1400a04da6f6d3a668","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.5.0-test.0.tgz","fileCount":54,"unpackedSize":228820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEgTYCRA9TVsSAnZWagAAqBAP/17qg1zdg4LSF/rZD3v2\nkQVL3EPQWTH6L+rYbnGN2M3xAW97UJZA5loCL5KU7QmrCDFbYh8qQx/Wca31\n+I6zWD+OcDzeQ2Sgtp4ZLxaiJE2GKa0pdLIOMZsAxoUne73ethBhVNzbr0R/\nGiGyhiN5MwC7T4U8OSDfimWWDH3J5sTjj400cGMdwaTMUEQVLGf4uDK+ZD/a\nj6Puga1nEy87Q93X3WWtmQag1s0/ebptn6NmtBT2eow2nOynA9motqj2alE2\nsNX4A8YQkx2TmA+PPjVx0KeG+3d9K/NKpiI7N+ly9w5fLU8ideI4JpJrHaZz\nwJqOuGq8qPuEzr4GNsBauLFcUuC0QQ+oOlAx1AmeHPf9bOBP+iuLcS5AbdU7\n5UbrXa2naV4hCrLKCn8ZZUJruUEPxHzzKBi7phgCFk7g2ctS7gmmMFa1e2NF\nrklx/F9TlUISXhdIoxq/v0ZjqmmonH1Z3JXN2GCQAedoQpFVZsTziJMgEVxi\nd2VrKYFrNkpL5+bIDVlH2XDj6+TZdQAKS3f5bzARXnGXUKFe4mI21EhYPOva\nZz49mpoH3HFto/qDVqpCtXLvirboDk8wXxhu0WLw+RiRREFqhrxQ3fESrOhh\nv7q6leurNmxGadg3jv9qtOUD1C+ay9UvAljsmsaoY13R4dXFilw7PmrApR1v\nM189\r\n=8oD7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIVjptWB6RXObciT/mpg2fxX5gKi9eR1EDuuPUuDpMmAIhALykw+dJdZ68qUk3pFyExu8wgvi9X7k8hXMGm7/nmPyn"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.5.0-test.0_1595016408431_0.929160000739971"},"_hasShrinkwrap":false},"3.5.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.5.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.6","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"gitHead":"77b9514a8e2c930dfc5def2f8cabd914d3ba20aa","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.5.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Bxq+1WmQelI/uJXxHsCvWsbaKyHI2a224615Dt7Jv9T03IoY8kf/TGMjyIGAs4gcBb3jVS8ChBYvXjAO/S0FKg==","shasum":"ee637ec02c859a499da655e0b44d3e2096b1c973","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.5.0.tgz","fileCount":54,"unpackedSize":279470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEzUDCRA9TVsSAnZWagAAQycP/ir86Uib+ctEoDjFZeIC\nDQFh9TcxgPR8uBzNClXrwF8x88FqSrSGYYmswhcMURWROuTgj0t1i4yUSiUc\n5r98tjp6grdLr+pzyGh7zmHvJYZireuDjykSX0ntwbrmd4xgiv5PaCP1GgbH\n4JKWdFtFBkZtJ5kWKctEj1FOkpO5o/D5C0hSrQEtQD6w2JqGZP7emtq+E3To\nF7Bdz66EBZ3oqUbrCM8Q3gIemIG7AMF3awmBMWojyH8sCQQCRH9qr07VIPs/\ns76acLCxKczvDOdlZIvvnMjY6ZiczKXRD3smWIG5ZrO/24mbtYryykHaG7wc\n1OQDdg+Y33m+3B4UUFJoB3FiNT3lGCRQSzudC8DTBksgLZB2U9dnd+1nsA9P\nEQwCOVkHjrahP78rh6ZAz6f2fqda7lOsBsjMpUHeHw8Qehzc6MYV1flkKQke\nnkmNVwSbgnI4clMR92ITZQ27Jn0yDSCl513Y6ztyI2wKVS/3V5xY3AI5ASQZ\nvrFyWpflHWMsOow0LLl4nksoLayjOifo5FzUQu+yGwbL02Pst62Dt8LkIR05\n4k+9yVEU1ln22xCAiWIrX95dV81WoQlqdnWrhaJF8L2zIbQsKNznK8kIF9GH\n84wDbqLeFQLde41okrCajcdIaVykbmwGPoJ68xwlh2KQioW1XktZReW3NAiU\nY3Iv\r\n=XW5z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2yTN7L0JuCJOS4feIyvOgvyyoLQd5grdV++nRi1s+fAiEAisazyfvEM0AhaPh3VxD6ziqpgCJD2JJRDO8o1a3GJPI="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.5.0_1595094275274_0.7463748535741956"},"_hasShrinkwrap":false},"3.5.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"3.5.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n**Note:** If the steps below do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication). You may need to reauthenticate periodically due to your Google account settings.\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"b9e4ea9bc5fac7b7d1044431eae2a671967c536b","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@3.5.1-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-c1clWzWFeYpIj8rPp/tb4rcFHqvuB/GFx90nLlNE7f2dV2v3wMFU1WpqjkpWUvIaRqqQ3Ot6C+Jetq8yg+RHZA==","shasum":"cde0efc41020d78d9ef5d69dd7251d8874236eed","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-3.5.1-test.0.tgz","fileCount":54,"unpackedSize":279122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHfy6CRA9TVsSAnZWagAA4PQQAJ5XaBGMqBjejOHBPZzd\nxv8rtNnp1AdvtfEkGQm2jxH+aPCV04lCV2yWhE2U71CtzAAKUkWD19aawSZm\nSFLJs9V2V/+iSavjbyRMunVX6SchaRaL0NH1IXqeGhRUZmTO+lRTVTsTWD5j\n4MUU9sxSwVIjCYwP4odtvJ1S8wdAPAbNo5zSp9fEexmwOiIk1sa0wvOQUmGB\n9TKPJOoEfVosor2BQfgvRKbcBR41eAiAmo4A/oMguKYJyjNvDLHxIRE84DK/\nGLRUL1ZuYDjFfikIaJrbIJq/UkQuHwGs+4G2TDl5xiYnvn2JRMqr89w4zFDY\nr3K/Ngi6EqRI34G9xDAF+XcQNHjW7WvCSKmwKY2TP03qr9o6NztAM0kPk0xI\nRT2nOiobF4BYfiFGGXL8nVib8zpWAqgu4oVg0rZj57oMBi/BIIhRxc1b3syp\nrov2Vf77zSraIvPN6Srxld50wSgwsVcodb9afY8wCkC7YV2VMqd341kh1mNb\nOA2PnzPFn4xnczeoDvhyopDYxJKn7omMmYjRsFvkSh1TRDnnJXYsmjrPkz//\nYzl5THXB7UCq+Q8PH32xKCqh3A09UyvD6cM3SCvRuRa9LhsOMhxvWMWpJJoE\n9ZgrwWNifNJlfRZ4MfZo9rU32mOwgFKnWUpg5YP7/ld6faRSe7JqODKKrOfx\nVW22\r\n=F8Pr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUVAVWtplseBu/pEk9mByS88GBn/d3KIuHDXggZuNnyAiB02SVL7hmGoqurXNf7G5Oy2brg7y7G0EpQleHFUbErBQ=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_3.5.1-test.0_1595800761786_0.28588217764436497"},"_hasShrinkwrap":false},"4.0.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n**Note:** If the steps below do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication). You may need to reauthenticate periodically due to your Google account settings.\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"a5193164f89fe083dd4fe0ab66c004571c383eda","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.0-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-S6ksdYNO6wfgqRJxwCTDYeivkxdHImSZCcx79X+aumkO1imU9aXZa3bBAemWuoEFY82tXxrDZRWJpEbwrRFMgw==","shasum":"328b09c9a3c9f650286ead1510d8d5dc63bd8c96","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.0-test.0.tgz","fileCount":54,"unpackedSize":285606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHxn4CRA9TVsSAnZWagAA0h8P/2fRy00l7S1lqeEt6vJH\ngxoP0wCVrFR+cj1l3Lj5Rw27EPgGzWhkEeGgc6mG/fvwxLyxsHpIIStVR37H\neVfHdUuLtXCScdjqnmhZAiVCMucTZF6In8/7GM4zuXSQ++Er2Q4CRaLOgPoB\nHrBqGzXgeLob/cvVC7VljDsePdJB9knUq0izOhwh68pBBnXBlD02Uldxlax2\nPrtw2CDmrbHE/IA+LkckwPE8/uRAwprHmX2Qg6x1RA/ClZXdb1gugdN0+ijB\nel+Y9DND2hupW53OV3jifUdT+wpRa7C2SuDP+34NSApsBIJQ1pPdoOjOIR/D\nUzXN3wei2QEncweOZk/iL6P1ZPunuHp/UyUEEYaaNeLKqxzYprmh8Vf9L4ul\nIgAEli4Yna1Djy6R24yO4fCMOJoJp3eY1S2/H96dfGF4PSfZ2dulXFPqkirr\nz/ZDNubLd7HJnobmvYuEISON3RMvuy2daOZh8aubifktWvp8SV7GoGbM7GMT\n2EDL7PnV4Vp/pCiw8kgX5K2QB+GoEZxBU4vucylwvzSZL2/8P34+EbKPAjsm\nmxRsymgifAY6lJ9iuZ/3u/TLjtOe//5zaXKsXhH81tn7fkjn82Fay9HI7Rf2\nJVmMQ0xJwMkvZdRPBWYc51e2TGXaCaapq3WysWbkLYuNRDQEN1/fk1k+MgU/\n+aWZ\r\n=AndZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHeI2LTw0yhj90+0g4iXD7yFAfCiABnhj5ng4PtniQQAiBaYRgIghq9QuVcEi00E/LdTtjFRT4cIQjxx3+y0/oQ1Q=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.0-test.0_1595873783800_0.01590676675719016"},"_hasShrinkwrap":false},"4.0.0-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.0-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n**Note:** If the steps below do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication). You may need to reauthenticate periodically due to your Google account settings.\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"a5193164f89fe083dd4fe0ab66c004571c383eda","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.0-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Ybtu/dpQewonJ59qoauSzQ3t7t+1iwS7spOgoxZXY9fmEvHRIeFFAxBM6PpvoSz1mDmo50tE/olqMfFjqJdFZg==","shasum":"7775908ec6aa9f3287cc6a10b6ce4da7f790756d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.0-test.1.tgz","fileCount":54,"unpackedSize":285590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfH0cCCRA9TVsSAnZWagAA2SsP/Rq/gyGHfrkeye+jcEi9\nf/3meQ1mkZVv0J+G91YfIdzG2ZZ6CS0T4SvCHbJ19cucTAJTIRdYTgF0P2Mn\nh64Neuti9M/Uaja1shqZBzvwDMF57R2v1y1kmJWirgeuN4VVDSVyFZCRQaaN\nP9gXd3ShyHcW9krJu49b132nJVzgUD0ZXY5m9c7t3N2SdKFAooGjLOLLmt80\nTceTrNUNJ02sjUUuFezWIS2wg1x68URD4vPVSyJPvR+duxowvSRKLpUd0QGG\n6PjmunXdhZV2wHYIZa3jAzMAwL2CVK1ZvsF/3BvxIC/AMZMDLEgNOVZHIlpm\nFNKfyV6eWtYDcfYyFOwuseUvZpidjexDzp9XoLRKewN1AsC5Y8zpb4x9Csm3\nBJIvUOvK/Iy1ZJL5pmyTQV+C8aoZ2tJ1vHHqryUh4tS0BiuuK7ckuZ6P+eRO\nfZI+54FBvXJtFNCo0yU9SS922yfDBgGxhOF9AfiJ0DMHNr7544gjnypNOA98\n/i3SczoyG6rhe9brG5OgCwH6+gQ0zSZzOT4xYNsyyld99cV/NAKn8HLVqQIs\nZNIqNDU5I6h1ciiF2WGpYRP9dWnRdrcwyk3bt7UbydVvq4jip6q/YVXjzavm\n70kTdO3+an25PhGPWP3FA6vWvYmp96GWLziED7futKmSmoIvPh13oNMwBaWl\noPeK\r\n=4DJP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIG/Nsbzko5A5vIUMKUG0zD7J6/kIlj+vddzUsfft38/uAh8fb6wD8ivKslgxdbF6VSbpxjbcT9eGjClNvOpt/zsh"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.0-test.1_1595885313736_0.3313198384629361"},"_hasShrinkwrap":false},"4.0.0-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.0-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n**Note:** If the steps below do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication). You may need to reauthenticate periodically due to your Google account settings.\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"a5193164f89fe083dd4fe0ab66c004571c383eda","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.0-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-egP98q5NDZo1dnAl4tE/GNP1CuYW5lqUT2LoAXR4ZxnQWIkGnlo5pMar4kKNxFCg4kVzhCrVmX1pqyVwUZtlEw==","shasum":"7a572b9407a7430f8cca376f998a51c81d031c4d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.0-test.2.tgz","fileCount":54,"unpackedSize":285684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfH0jCCRA9TVsSAnZWagAA3gMP+wbJvvbgWdQjK9XVKhaB\nrxdXBgIooE2EDbAZmsOfjaPZBBa9muZ/8GlzI3JUIkbVBIwieIAyRggbYyWh\nUl9nuaxgtoaVR8iNFmv/shm6OAhdssP6veM3ZFqVmUpV6IvhFg8X0xuLU3Pq\n564qLqf81xGCIyCT7+W8feBDPUCnhl2dLqeeRSFpuzF0PjSU0Iu4zexSAlwU\n59T6YDEblWq7dU5v47M1o24+PXpKT96bCnMHQSArdoRDDJhYPzV6x06LZEx5\nF+RUhE2yaJR+iWPAkROUW/ZloxiNu3hjdWCEKJf48vpeSeGUOlIJcvHkF44m\nVqMTM4lE5MkU41vXItf0VdsRu0lXN+A/MyKo+YCh9adDKvt/eXdKcLixBVtC\nGckypZv+y7DpZ/3tFdyLwuDN89qqvwohyvAu6ohSDO1UlTf7naTq7FTgdEst\nxnxDtX6dq7oVN8fzD6bpQ3RXXW7TCVqQvHw1OTg3UKIQeu6bXHkxeBDa1nHX\nhdlmqpgh5d6EFrW2y+oRSuV5WkvT4r/tMeGrYE8BJK+JhmH8yoDh1If/2c0P\nj6qA8ZDyiQ0dvxT2nmwD+w/bKgR063Nvn5th0oY4pdLfMWvDt++tMdApvYr1\nL/QQVdkknpf/kxWKAtoO8lTVhoIWj+43+dvXYKJ+rXf3r5TQxVQsUnc2MsKe\noppw\r\n=d7Bp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6bDV9Z1WOmrUztMplxzSInn/9CmDBGa9kmF6UvB/UWAiAxoXMW0rkul7rDNHm2AddKZqQaT/YAyec4nKPI63aLGA=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.0-test.2_1595885762463_0.5647248607136051"},"_hasShrinkwrap":false},"4.0.0-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.0-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n**Note:** If the steps below do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication). You may need to reauthenticate periodically due to your Google account settings.\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`. If your account has 2 factor authentication, use the `-h` flag.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| motionDetection   | enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | specify the path to a custom FFmpeg binary                          | string           |\n| structures        | specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"a5193164f89fe083dd4fe0ab66c004571c383eda","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.0-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-m+X8lS8A6ZsHeKqTLar0r3vgmPHEpsLjGqCGqI7kVbQQzXOBIsGHHYjzBT4lQnCmFzcD5q/+qhW6kY8FoiJd4w==","shasum":"2abcab8b3c1ecf549bb74dca72763cacdaeb4cf8","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.0-test.3.tgz","fileCount":54,"unpackedSize":287010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfH4G5CRA9TVsSAnZWagAAyLoP/1ugEU42RiSQOnDzpnnY\nZZTW7Z0OEBebve1ijuz+lHxeyi20/4KThrE4pvtoBfshoHVn4FAdB213er0d\nxdvpf4JoTXn5P/d9zgFxn2Av3tlQ80rU7HOxYMffXDRR03x/4awtwOJl9Trq\nOhVUGVAM7640n7KJfn9Tz+Q5wDWsadzs6QL937+I6lboXbct9ff/GaTFSR9L\n8FjNBcPiusr+Pm2T2LX7Lf4EDTdsSUSqygVL02OqwSQvyqQvIpaG5+OZ0ZO+\nUsB1jU4zI/km9ZNA8WkygvnnHwc7xo8DsZR1MZ4Rvg1FR6j0iRC2VeUuw7y7\nvKd4kYs7sd0WcT8vNT9jmAWLZeCBEeVID2myje7DtCZ1MVQNLZOFF4J0srPH\nS8YUupW+3WtbSrp9/9uFyDbeuu/DI5TNFAKfqh4X0ljqi8HnZJYKUfOHZ2I/\n9iJ0wGaiwzG9KetDWghyo9gNX+eXT54BiumDWuuu+9DBjwtwx34SoI+theRd\neqKGeWeYjZgz5e1DjUzUST2fsjjeNc+2miEO+UHuBUVYIYFMP5yAejVRzq99\nhG0OmMo0tc0Zt5/epPZbJ7g69w/tsWSi4+tgpeDFC3ZnPY081U4Dd1vxMC3O\n48hQBF9TLiwoiUybqXntMkQwRhtY0PRgbvmeis9ocURBmkbJNz18ATI/b/Vn\n8f0z\r\n=hqHF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICZNlkA815/HQoyov1MNzLjRlFeaTaUXz27F6xZj/7mYAiBNyD9GtIqIOXmUuEynMHlDPtI8wLUA73HZq3r8NVytew=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.0-test.3_1595900344359_0.031029843735012053"},"_hasShrinkwrap":false},"4.0.0-test.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.0-test.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"58e6526c26a14b8428952618db03d2c920549630","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.0-test.4","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-sT8m7dKN8C7yuAaTKMyUbRZIJegz2Eromn7z2ZVZzKTwFep8AlQg1eFFAntPv3VdN2bBFqUnXDqRxU9SKRM/vw==","shasum":"3a0ad32a5baa49769a0ce4e65ff01d1338257a5a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.0-test.4.tgz","fileCount":54,"unpackedSize":287682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIBvrCRA9TVsSAnZWagAA8jMP/iTO2NIX8UYj4Jyv1z62\nAb+ShEmmr6p+D37njbYLRoAn+9m8O6M4aVC2cUAZ3Nd9dysSILQMrdFzoAiC\n1vqo1ar9RreOnclPVzNSa7uSnraBz1wHuNqe7vNOi42hT8Afii74N9bdImfb\nH4DlEEq3vl1r6e4bkDsX7budpfM9l5+024W/9f6wwyFDxn7kvDFdM+3dKeP3\nBZXC9Lbf7SD3YC3qINNsqeHtiwDvww1iHaqm0ITU4Qzgoq7GKRgSfKXaTyFo\nviXMwtKcqoOXdchFWGLvWUOvciV57+TROs1e0ruUtuEjilnvHCxNE6KXXnOr\nmLs5XfEDx/NkWp5JVSCbWCaMOPycI4gOBPgt21BfD3934BJyAm4c0zDVxWIT\nzTKUB/kpX38M4NN7YJrTQ8XfUfvYdyXGZHHuE1gAxObBxbCthGFsmyCmavxO\nMhigc3ZvU4RRG1tKu8E5kICzOWG5bdLsEzV3U6NQjeCKHEZu21c33d+D03MS\nOSWjn3mAEJeIev/IVmMDLiwNXizS675t188OT2jnIrHxjF1+k6qQi9oHLCgg\nEkXZMeNNznmFtlnMzpVUnbKJOwcOS33fOssCc1mWeqIdOFCPIWZXuD3eNwrU\nq12ok1YK0AaqwdcL1NTp1rNYnK1+FrxGD/vzdcEDucSv/60SiM+Sbgp9MfUd\nd+oA\r\n=uYYx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDsEf8yegNCuWRHwA4V+GU4LatGNJ3ir5O2eUJr+RJ1BAiAw+aHhLTPA3I9nCAA6ayMHTTjNkSf/4JZS9LmkfC0XNg=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.0-test.4_1595939819347_0.8640609580871066"},"_hasShrinkwrap":false},"4.0.0-test.5":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.0-test.5","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"101cbef7f910cd667247b83f03e3a9534e4c5dc7","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.0-test.5","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Nb0f+/c+4PNnOVq/jdc5JFr2cmj/Fjqy+Y7lIvZt6pDGh4+S0P39zHCzvV26SJhRwJjcbNuz/hSlLKpevE2yTw==","shasum":"1d8429a93336964f09741faafd971ccd9e0d111c","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.0-test.5.tgz","fileCount":54,"unpackedSize":288866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIC+hCRA9TVsSAnZWagAAAXAP/RrnvoqBIPjbmEA4BkFK\nM1CXgDeuX6AzPZiqAli80UpRiXbU1HMRcffz7Q9AOS558r6UnLiVL5Dl7Vpd\ntG7767Lml9XshIuxzZaZVVdU9tf5Xkj+2MPBnXc5O6N/B1bDpqIC89KCmZnl\nUAHMrAXWXQrtmRwaysc3O5Y6mloTG7HYMBlvq0aeHPG7bVio0JPZi1towHrb\nVFVxB4kV6T3iVq1LfsL9T2S0UD/vdy0wBmrt4QVwImwOT8pCgkf5tuIFnCcM\n64OcxlwdJ7/wdxW6wJ/XLDfZ34rj3RPMGt8yEi6Td7Aluxn0CX9JiiO1c/ft\nuvtnBM70X7pl6WCE3pYjX8HrMD0zE5JKmQuXxzrxS9KKAMdv9Vd5WbGLuw3f\nEs6gmq5DfFl7W3DL06YOvrEVDWrpB46BTKJW4H0+66tq26ly9nDPwieaNMwY\nh08aiKzrQ+j3pR416A5ZtdrqxbCDcrwCe/Ku6TcJLrHWvDeiAXRn7/+7aV+H\n+RP4yZs0sJW2okhW6UjX8cbPJWq2fTHbojcJvxRV/MqI1Q4E5PSTsONpP/wb\n1s9OeSEiF3lmVHJARPLTcxo0oh0UMRL4NFY11P0kaa1bSPmUWuyiKk06J+1Z\nsngPGdxiGShABNNWI+rMErjLc5y91G96xcZRuGPUn/yTAsTH+gFABtaTPvy4\nqOTs\r\n=rFkr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFGC8GED4V8sDAFn/4uDO/d4XP+NxWSUf/534suHtirwIhALaoUOeFb2/rfKl8rT46m+/u1hyTHZ/A84z3lCPpffLN"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.0-test.5_1595944865241_0.9420430646418003"},"_hasShrinkwrap":false},"4.0.0-test.6":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.0-test.6","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"138e98fbe57fb9f69507dc92f9b391e927b7dc12","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.0-test.6","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-ewac+jiuZkrAsJLggprFualYb06H9ULQjKlvMjvC8Rz9+IhJYhT/AyfHpL53mljga4Vr7zlPs6ZUH93ipTxAnA==","shasum":"010ac68a7569be88e9c2321bdfb69fa770a8b66b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.0-test.6.tgz","fileCount":54,"unpackedSize":289407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIF8OCRA9TVsSAnZWagAAM8QP/2d5z/HsT+Crn+OBspda\nnAx3aFS6NFovNx0LbP8mnARZWnYkPOPGjzXsehx5ejhgyeT2n+r5S6UbCyIp\nXDrp0iLrIHYCbB7H8pGgeBEkdSEcSM/zFScmgNu+5GktWDatvLI0qiMcazsf\n3mYCiyebZOtq/hcuUgatPfXoVOw+AZusqKY6KXPBp7UCUECbFLSXRGeFb66B\nxTp9Oj3Fyhtz/cgUiK8UfCQQwOvJFqTAkTps/I8be3j7OG9TnPRHvZfFmK3a\naGy854vQGDdRzOJclGqzE+5suzRqmRefmS5eG+qaiiR0OMsx75AJG2173Xz8\nCSexUZnuITqvD/yvQ6YllarDFa1raMBAMfunrpWTQFncKNOVCBakfF7DlUoC\nT1ZsHN8giMpbH2LmBnuQpfyhrL9Avegcl0W1s3liRX0RoA9buMVLwNDQ2XzT\nfYxuWMZXmMwLNwj54WOzwwPd3UDqtcLdXeKG9xkAi9ErnuE+nObV7lEJXsGn\nQQYXtsJNdV+B3V2BCLkBaQI3zVBJ4HTzgUHCUaBaohUj3re7gEvt0vkXKmCO\nPrFXcrjjhxppoR3YxUIwQItAsMTCKES7zkDOq3jvNmQ4VuikLgT/8ZyzsdIb\npx+0qJ/zQ611byqX2jvM7o83JErAUtEk7xtM8buefwnxc/vj7I0c0d+WSH6B\n5J/M\r\n=/DeE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEPFOLLp32PEbYxU7pNSxadNlXe81DMGQZk+VtQlo8OgIhALRWyhokli9kmVVJxLwSS9KNv1h/0CULQyWEVvY0GGsU"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.0-test.6_1595957005784_0.943587982524887"},"_hasShrinkwrap":false},"4.0.0-test.7":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.0-test.7","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"138e98fbe57fb9f69507dc92f9b391e927b7dc12","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.0-test.7","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-zcjTIm9k84gW/PhrhgVwU87G5pPzLuZ3Jmgp5fFEnSGJLaJthul5cRlkzptCtrqXUh4SmhbyhriFl3o7v8QO4A==","shasum":"bba0a0e15254651187b9b8d458603ec4c86a58c5","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.0-test.7.tgz","fileCount":54,"unpackedSize":289195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIGq3CRA9TVsSAnZWagAA/fAP/2TTxBvjS2gWn9x5vma0\nTt8SpK4xEvAOlHOB5rAZH51A7eK+eJ4dJvxduaoVYG6w/7jnyQbvj7yR/4Qu\nY2mqZdfS9a2kch73CDKQMMH0FpgUb2MR8ava7ECJe3APw6Qih0TaMLfydCZW\n0+vKOfTPx5aZYTTS3z9goPMT2Fv4hVdhZ+dTuT2WXgWmy45vm9VMtBdQahfG\nNNFszIYgfw4ZQoCUONj+tpKRp/Qa6kejtJ0hUiGL0UwqJk+W59QkE/kcwGhc\nJCYZuiBzljqNhRSRTMrSmHN6oIOzZvnM16OKxbtaBiPmG6TmQAj3c7/BADRf\nkcV9pHct5kWAHzNt1HnTZ2sZKpYpK0iIHpAW+3w0bSfJMtzNR3KasIfjVn2+\nd+MjnmGh1TVA+wXs/nymckiNYgW0JONwZgrLcEZlc8Q/z/rvb5WwEfLZ5rLr\nM6FxEL4hlsiESVl48ifg7gIx367axlscOQ6npBdq2V3MiG5gD0qISupE+4ll\nQDPHiUVySCOTBzYpcj5edSQeSmqbqS98Fqk0SBPmuOkZ1ksGq0rt3V1QkIzV\nBvtm8qjqCmntcF0J772tlkNZS4uWuZZgHQgOIsMXKOANrQ1+sq2bjCKnCDOL\nO/DE/RkvxWCs5zBVywGDnQNqPn36tP77bnRufyzO8PAb7DWq98xGAx7X9W4W\n0Yd8\r\n=ZqtK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDt457Ug2mVH8z+yQMAa9YYxLfXjgBb1NjfjILHO8GJdAIhALhruGjY4kcHrQlLoH8aZroQxOduw4/SJQwy1sn/qsGI"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.0-test.7_1595959990782_0.6095854087367856"},"_hasShrinkwrap":false},"4.0.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"gitHead":"ed55f74a8added772ecf7e031fb5fd54fdd1a542","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-2S/gYZzihIwiMPPc5NDzrRn7OIfoWkjDuZv4/w3kLqkkMe5Uhq+fURPRVhW7iUcohy63ThKle33bEOUzGKvhkA==","shasum":"3666c6b7e1a6a74acf21550649cb35090f60c5b2","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.0.tgz","fileCount":54,"unpackedSize":289188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIaoECRA9TVsSAnZWagAAxLcP/3dxgoa+VCFUxE2o0bbL\nXKUaSDcO56YK7y+POxC0IgqH2sQt979hTJgpgMYm7T0uWHg9t+zar0ud5q3D\nxGjVTVUybEyfto44m7xl2xiFOomGBiZt++07QGB0skvvCPsUOyK1quROQ2xk\nxARXvjEf3k6q4D2JkE5JT4UppGNX2EZsS+kqutBCq5NkT/QGrFG9BqaYH9v/\nW71dCEbiMmdyVKQUPTpE5euK2Gao4UquDpsi21taDTQnXbU52oNDJV2d/qZb\nAJaS5OMI6K64UYSy2WPUe4Bb7I+mV7LORQTe3C8tuP9pVWINqHC1pf0zZtM0\naX+2OqDphQSZ/YtGnxKRQ7ilB7TV+1sFaXQ9nktoLi0POiwb958xiEYiBXVy\nivo50w77zaWHn4bpXI6cmjMFzPELrfkbnTHlN/xZseTJyAfJXNcptiEQPMYt\nAHy8WawCr4R5UF68r0tBvD6Lr/n/vxJEvMSz8ucGmo9XUruFQyWHfll9OLvU\n26LlU55q+b13klKSyj2da7BCjKLFi+oR23MimpQyxnRGJMAYJIgqANpmkhQF\nhygMn5+1HOnsrDioOv2V7U+e1lQ1862EJz6BUQmDipSVOn5bhMP83AnH+XAS\nVZM/4ux5Gy1ivYOx/k9wQ1uxNSzOgeO1uzuI07Myh6MbA7uJiN3qqSEtu4oT\nG/Ow\r\n=jcEZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBsjaIAFTBDm82/CDifuDEfP/Y0VMiIeuhVWvGgpoOqgIgO+SiRsbGwr8TsGF6Sq7G0C5qIhYdPPdWrGZ4XzCUUd8="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.0_1596041732093_0.2677494857996341"},"_hasShrinkwrap":false},"4.0.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"ed55f74a8added772ecf7e031fb5fd54fdd1a542","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.1-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-PUGXwzDlht7tWev8fUVQ4/Bbc0gNH2NEcBdh0Y+S62aNIJlwkSAsTWxifldjCHmr1ZC6ArDjGikvkyIGqY9rlA==","shasum":"a8eadf44c15b9a6cce6aa9efccfcc0c85ee93256","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.1-test.0.tgz","fileCount":54,"unpackedSize":289602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJZqwCRA9TVsSAnZWagAAvdgP/R0VYZDJO76mRsEZOQWp\n1dReoIdSh0KcdbtwEwtfloa9wLqXvCMJJydDW/2NYXGjar3Nxx7ADUdU8059\n+lfvmgjHbsPcp6xqLmY3Mc0NOIaL4sJn05d/J76UVCvqoriyEtam9agmyUsN\nYnYZOMqlxZf7qOTDxv/z668PL7zl095wPclRVPRtvBiw6GhqBBwLd1GXaJdw\nJPn8nHoQVOZdj4S5AvW7AlLDQi6/0bQUfV/FlwH+Uqnn4qs96GSNjbwmiG6i\nuYFt85sotMJHct88fPUqs+WXXuy/PygQP2MEjAAuKSxUEwvJABuF8DqmUfWO\npABUqwagKHupCH99M1hjO4I+/dlKhGegjgkJs5hfTd1kZk7qvQtsKMw+tp8q\nCD0CI2hKteW2DUwq+hPb181tgwWtCHMMEMGIK+6B/ymMyEnUkGsf+x4oFUQE\naXgwlSZHE01h8r3c4MUYjBAcvzdukRG/XU4F0U23tj3nA7mJmqErvjKJGXb/\n3tBRmC1T4k8HRXObgKb8TUCa1mhN9enINWjmPaGg0X6dTOLRLhfYnkp+RY+4\nibYHxPjOgNjOpwphXL9FNk5RNY8e48ao9qfBp3WfxkdBdmsak1WZBKv1Ztj+\niAIku/bCRSLR4RVXgoTjIbbrl6XIKg0nyay7P5ae67M9i/M/aw43uTyEU4zR\nA/D8\r\n=i38C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/2RhtDkVp5vDTBlrHq1rSX8izmfyq2lruFqtgwo1JPwIgcDCCpDhwVlV7goD94x8ObKA9Bi3g6WubXhc25x8ehZI="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.1-test.0_1596299951586_0.22245190143410154"},"_hasShrinkwrap":false},"4.0.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.0.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^3.3.0","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"2.4.6"},"gitHead":"291ae63c8425628b2c61e9c8b613e82389be3044","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.0.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-uY0QBpGbPJ/X3NPUwEWQpdgZvsszCsJ4GB70fbXq7vLQfIf09bn0c9pNYs5Vtsqmin5HDGjOuetnb+kzkWxLRA==","shasum":"1a79f57513b103e8d37938d06c9a3fe8c58849f9","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.0.1.tgz","fileCount":54,"unpackedSize":289594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJd+8CRA9TVsSAnZWagAAnHwQAIZ4Tn+HyJ0yYMOLz1qR\n5L2tbpQ42cgDTTPapkLp+awjoSYErUotg5RdW17QOiE752R0znLB5gVPbNa4\nIEoscjDTwH2zYwyb7+PdIoIU6IvXcPW9fe6MxLrDlhwZ3TRNYSydTszpjeYn\ncm6kl1SOndYPJ3Zw7nTOAC7w0O4E3puGTiiwECjepaJoRMzfRczK0I11cKgw\nWQ4Kg4sJuk/+JQFRMgBXlwrfgLSKmHclr3tgX95KBxZ84YGoVWMYMVES4YGV\n+nA0CWM1ElXsVE0psIK0WtAKBFiHm1wk9H8CWqK/RJrWqXCuxSFO3NJDO1X6\ngzQLDYtwiY9b9M9vx2QVZNKJZbYPAIhiJafew5zTLpWqMNYMxOFGn1q+n1Uu\ngZD4AAsntfMNK5W1CiPkOMYKVPBFv6B9BCOtMPbzfKWgovl2Ne4DZRhCgg7i\nEz3eTtebqfUMAOi9nK+U0xteGdvEfSrXEz/SGk2tKoTFlPIhIh2H4oGwKCQX\nvkT06750G0yAgtVm1HAiEXxO0PgbLWc4kAUetxgsmFrkmsuqbZSeXwAH1Z2m\n76LNb0Lv3+NzxOhAy7oPrGQIp7x9LHrijMGn4r5rvPXrOGrmUaUepoV3G+z3\nyEB4qcPgzm1ZUgYRePG5RvewF8z4lGv+s2V2ePnObM8Pxt616DJgzOlaNrBv\nqSj5\r\n=u6o2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUStcpo9s/6Z6xAAMAzvHwCXDMFqhUKVEQanvhnxIYQQIgKZKf7iiEOt+afaYP6FQljylsuvNUJ17rTDyl5amUFtY="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.0.1_1596317627929_0.6306888954802152"},"_hasShrinkwrap":false},"4.1.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.1.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"280c8f8ea3d556a0e179fbac2f4e3d8eab69cbfc","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.1.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-fdscPA227ixuhx8FbmHT8cxBEDHJlZwtSyTJJRWQh2zY2SNGKLgkBzxiIGG4sFmUYPjA6wFVSgcjg9VjSbcHWw==","shasum":"76493b82a4537c228f51e7d2adf2959a763d9b4f","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.1.0.tgz","fileCount":54,"unpackedSize":290716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJ04cCRA9TVsSAnZWagAA58UQAJDXuUPjpr5/Z60bwtEs\nhvFEPpmXOjQOKm9EiQtSNUG8/CGh8qgpfCW+//OKKzezME3zNn6W20qAZy+J\nxh1HAH+YpW/ZtcqiEsIUvKoEjs0l7TT1NOfVS5WpvWZp7cOwO78pl/2mj8KM\nEejnu0T/ZPk9xdWH87LiF9ZizuDdrZOzyUh6H92+7hy2EUp1w1t2FeQ0G8EM\nLvSVsOCuZAd7Y1m6z8pODHnoM7AZpb8iQz+W1xgm+ii2W27cKzNG6qAAR21a\nxmrU/L+udo5nczpYZnRlYHhKNz8qhq3YZ7C5BYRFx3V09eCRmz0iet6Z+ns2\nd1cdC2cqdZp9tHAy7MszV9oiiatcKgl20WhV1o+xt4CP7UG0WjNM+tL0tma+\nweb9np+9iuJ0vWCBgY660JlKDPA26oZ3MdWCptbY60atKwTwYwe1rj1xt9d6\nXqQIbiGjgjO9IFEnvS4dMrVGWyc16e/jrmT74JNJqBSFhXmZMTfodj9TVVVM\nvVXE39vZCMZwyJFqzsnLNFnnIwIvS7+kCmX2h+NhC8B05Oja9rHIfgukrl64\n4t8uSkgF+bJwcLOmOgrDEzH2bVNHg1mdgbmSg3pAJzV24iNb0CbDXmUkghQA\neZlnnBraIl4FBP+ub6yj7hPI7pklpgekap733QROadXaRhXtbPZzDK+N4LuP\nh/lD\r\n=7POK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIe4ooQQoyoR4XjfrjIxzd1IKwMc8URKTYGZPH6+I1OAiEAwQ970qA3uzOP4AbSa2XUwnWt1pgBsu/mPwnLBM4qNh4="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.1.0_1596411420066_0.3404747609650438"},"_hasShrinkwrap":false},"4.1.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.1.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"280c8f8ea3d556a0e179fbac2f4e3d8eab69cbfc","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.1.1-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-4Un5qzLj4t3TIZgT1+knknuyMlbS+bTrVkZAAOLJu122sqRhbYII07F9zXgzckcaMT1n/n7WrH8CVYonkutyhg==","shasum":"6a386147185e2bf6372de85ff49237c1a540fc2b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.1.1-test.0.tgz","fileCount":54,"unpackedSize":291109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJ1FOCRA9TVsSAnZWagAA/VAQAIous7hBKyFeyyUGs9Ou\nxHWIEvXQWmLOMC6LGN6mZDhPcj9cLbaa/8AhSHHiiITk0KuT06Hm+Jm9Xgcj\nwMOe2YjRzAwOLxy1KVSKbbUneE2Df9V+ZbUn5iRteybxLhW+fIwU+abPo/kM\nOj2B0JN1A051BqLX06fHvbNCtty+w1B+CNxsjr4HpTXzw0EPBrSpAmQqrK9i\nqTyQh0NwrJ8rZDAw/mRB9+QNS6rGzqwsnVwDx3kq8kc5O/ESOi4obkE8vexR\nrN1YPcZmGtcvFzNPSv82YvQLlYJmTEKKLmmLWoe3/OkRhccb4VD0zWvhkdWN\nADq+SStS12hHjP4ZQ1txsgXAUaAD7Mn0uJOP3h+oGW9OXkyViDHWpsuknF5+\nsV8pELPXdEcZ+eMgNL1ifuzifhJWqFxkgHDuGqSBT1MODN8LuNu+4U6SwfY5\nU6guW36oT2EHwHzfNihqVycXxPeW0rWBqzchT9U8gFhve0G2l8Ok6mfHtIs3\nan81TNqyZnIHHHMrp9QRYsJzVimWqbwYYBTT4X6WsmteuyPIK24w4IVaLtk1\nLkJ0oGuKIClm/VLcLipUSc69VkeVQ08OTruVvnV7RK7pfyNu91zJ6yX8B0FG\nDH3ybJKy027U0ZG6HxXECeAJjcJLBqltlkF1In709XQd82rmZ3rFHS4Y5dUs\nI9Ob\r\n=WnRQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIs+XS0ytqwDNn4YjnBsc+/Mai2r+ocH2yT1e8N+PyjAiAFd6soYS9s9p7TjjPRU7hvwYpcRy0vRvKjjCc5DjYABw=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.1.1-test.0_1596412237731_0.8418462499041075"},"_hasShrinkwrap":false},"4.1.1-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.1.1-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"280c8f8ea3d556a0e179fbac2f4e3d8eab69cbfc","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.1.1-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-v+oXyx8L6s3/2IRwBdw2hE0/m05Mo0tFygeJLPntZDzxMXvp7N3OPs7jUJvveCYOxgBo2G6baj9VtmzacbCiOw==","shasum":"66c62c3332ce9c8b5fb4cd65d33f7483d61d9317","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.1.1-test.1.tgz","fileCount":54,"unpackedSize":291103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJ1IVCRA9TVsSAnZWagAAJ4MQAKJ1VZVP7ogIsACKutqO\nQtHZ+DmdLgT1SLCOQ2N/9m6+aqIZXutLBDLtJSNXSJgS5eN0OCIfZ8lF46YS\nCvJVgKQ6at+nYaLZjCW0oY9UuWhEoN7zF2ciN/mOejn3gifk0QzLIKAo8tTQ\neUAbzJX7/QtQ5AxFgbr1QFyk5MPyiYiAeZf0u164w6ObmHaXcX2mqrKetx6E\nyRl0bEuq/Z/qX11wizWuEoFWVOqnnfygVw6i0pzmq/yxz8Z2DA2g8tPKqNao\nVSe1GRlZtznKLSTkenNb2VgGjmFWDpwwHDjtczn4set0uvb+bf5nD/xwuj8h\nRhtqIWdBZEVus+vn9kT3jCDkPGesKnDAK4Q3AJZsQwsLvkA5gqXdpMkvDjg7\njhdYHV5bopcd31MyP1+guOaoo4tj0WD2Kx+YM63erDsHPEJJBXAUw9V3XVnX\n+4L4fCQF3rdDZHT/JN3j1+zpBqFbTPJHqYis7tTBvvVPNq6zrHbx/Li9K0ID\nU2NlmfX1SdBGTdqR1MG0qJji9Q/nc+beALhbTP3Iz6goLtuGNm16+dEqjB7R\n7swvNxR/VpkbcwzTFDUiHEhxe0e44I/hQF9NKURtHNBr3sKIvthkmKkRBze3\n/CbIoozF8JOrUXCdK1N5VWdXn5hXSXh++neExA3LXVWxyvjksIOp93Dwrc2z\nFEVm\r\n=LmCa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbqcQ1lF6WZWFx7fPf6S0njqBJwHU5Cuk69wDu6XWAvAiEA0fgAzgxBWDuSwtABUHATSNGWBpSH4oNSLYQHdMO++6M="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.1.1-test.1_1596412437142_0.742549994291946"},"_hasShrinkwrap":false},"4.1.1-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.1.1-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensor                                    | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"c1f70eae6f81100ffd3819818f1f4bd9b19609ec","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.1.1-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-rOYoZCuNJ6eBrsehHuYES+Sr63PWvLyGJMZ/wo/wG7uG3XXO8sk8tOmtyX2KCiRlCGPGALR8NpG0psp4mBjmrw==","shasum":"05db2530568c1f94dddc2cdc4b6e9284ddf2d518","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.1.1-test.2.tgz","fileCount":54,"unpackedSize":290602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKBQ3CRA9TVsSAnZWagAAIwQP/3/cpnSbUXrnVUpdPBBH\n5/UpyBMP7TWDH4IHamUAoKGaJ/fyff24SI30AvrsZynQoA+VbgF0GakCrJ+a\nZbwIp+nib5Y+hbqlf73MsIkqZ8UhKo4pO6cKrXAVB0IS1Ub4885RKcoiAYix\n9xaTiICLKz1hrKjA7IpP5l2WA4PVuN/jRGeMdvpOVMuO3YfnybBYMUcsj/mo\n9W6HknHdo7x1949Ufxfw24OtRyTZzOgsbR6bTip+ZvXhqVeLzFq3NzvqtzVG\nICFqQnKGmcjjR3IoJFQWgb0sTmEq8ZbOMMHxdscTLCjcwdy7Kq6LC5uhNjJi\nT7PzbMO2LCupWIxNhLf1MyH63d3WqjWCDBw/PHyWfSYlslmuiT+SgbGr1eqN\nJnULau5qqHNe26VcaoeOhmT+4TL4JBwghmggxtMQ7yHeKMSAYiPQEqOYZZX1\nb2AeXPJG3oCU+Jq3+Ue/CYKygD/+AJPbEaIhJggigcMSg7GNbqOvIFAh5dSF\nnU8QPkxJKrdy+0h1CS0g1dPofwo/Krh99/e9hMAdgrTvcoJ4J2ZNTkeJK9BE\nl/a5Xt05QpV56q/l/6hhACtmFwTVqCZ7vt6z7xUz52+Egmk1jN7SskD7HmYX\naqkw6Gjx7I3uoTn63qaevKWz+cn4JJwIqHtMCuDEDcOtGhT2+EY/w4R2Ndt1\nc8Vp\r\n=X/7v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6eQvYwf2beEa9SfkogzyG1EnNqUxzVMA4dqvhkuhY1AIhAPW9bFIHBpnkrlp2VakBTWB8OopZF0NYqMtxqgPh0izb"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.1.1-test.2_1596462135277_0.711600072998045"},"_hasShrinkwrap":false},"4.1.1-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.1.1-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"5d12867cc8d96bfdff58de79c7441692617e678d","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.1.1-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-ibEkVnVFYSOI/MHTgXUAwSvNPotdxZ4jWTHEMRMtS3pYdZua430voo2NowwRPcGGvdZQLqQXf3vD/qT/chzu9Q==","shasum":"66f643eb7ccb68bf4f007dee71bd4e60740723ab","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.1.1-test.3.tgz","fileCount":54,"unpackedSize":290923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKCG4CRA9TVsSAnZWagAAqCAP/RA9NGjERVq3xC3qXWnc\n5MsFcQQvNJRieAdT98WQWGS0+g5S6E8AE9UNPLN1CP0lQJ1t6rmwS9QtuZfH\nCAf7RKflkCYsm0wq84dR3CTQ1+XvjsgOXj5zFS4KUDyQBFmzFfuHy71QiLPl\nF9riQt+mreYpo/nmioIeI1810kzPDeNatUTNUoA3w/tGqTykfXIZ8cmDEZvU\nBv4oaU3Z4QO91HGzK2eo5SaVB1+tZ5UG9WAQFAInwopLKN/0pDtmhi8vU+uP\nTjgUuKTuTGbMKdhtJ2noqTKN4aiItshCBHVNylQL9yAUF47ZotQoy75JAXk9\nNoOzNAuct6o7Kn09WQiEoZcKJPhSoHPn8XvjdIBi5rjppiNcAX+IJUm8uRjE\ngFjciqrVa965h661m6OxfLUxMnnfpZSwyjrOT+XiVwfehjN+wXe+kFdk3o6e\nzuFjnhURaRgYYjAVgv69Y8OPrTHZwI3ylZZnHdlR5S95V7lZNVTeNSk/uTsO\nx8Pme05IpoOKNOA+CIpgwY63orP2VTVElVmHQYrCGb8Tr/MeyTvL1I/Nz4sO\n0IfB2pf8YjxUUD/+7p6EeX3YsNDYuNVb4nlZDbCQOV94oAXZwaTk3twKlrF/\nnTibDAcOp/CaNGjAx02Res9sI4j5KslRRcGbXTLXktg06TvLS6Cl0sl46qjg\noRIx\r\n=bjGV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDL5kBPK03YgjVopCQ4AIKjaO0nuHc/SHLwmSPKtCdqhgIhAKb1sp9l2C1zQoLG2sp2eZC/XU6JSL5eUDiH8gWa45J+"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.1.1-test.3_1596465592000_0.6002419756064241"},"_hasShrinkwrap":false},"4.2.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.2.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"e03b86d334c757abd739940500e47d436f725740","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.2.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-912tB2gH4Cf/WHUAkIBpGmDeN6Y0o4sRSGbE5JePRqQ6++8F8HTGJFQKcR9F/3EzlX0gpJlJZctlTqigRIooTw==","shasum":"be813eb7c92334aedf92cf64fab9b44504900d08","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.2.0.tgz","fileCount":58,"unpackedSize":293364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKFtBCRA9TVsSAnZWagAAOS0P/jXkwuoLrT0VQl1v79l7\nFSq39X5AaHqDlAgFdi7KNgrzepH6SZ57TlQ4UCeGhH246sF8EFIw8kJiaGZE\nA1VcYO/cReXVhQy5c2dd6/W8HzwQVlbSpG1L074LPrmfMNxoTzDj8KJDLgXR\nAyJ3fKh5MpnS9fqqmGrPDSiAQfVfpnL0aQPn/2ftdOmcd4xUSZJsJ4GpqWyg\nhn/AVUB32NkGAtRKy/QujCvvx7GhUr8z9bikhkYzS0SJieT2PJSMOQIq0ANd\nlK6jGjbikNphev/RtREFLRjqg5BTm/GsNfKd8WqeFCxZrpwIyg6aStoNxQ3h\n9FX0N3C2w1Kt+GIejxNMk3qwZEj4Ak6noHfgg1smncoCO6QGjIiE8SsL2pIV\nf7KrFGSozrdpjPT91s3hxakIQNY7RZxGBii5xGQI5j7J5VeOvtk2+scQ4bci\nMWawGnlDz32gTd6P5odPbUcNXDDLdCe0klfSc+iqD6RnuUVFa9IXetcW0kry\nY+mLrgsMDWi+gFKLtkgJKh/SiOoMxiPlDHZP6Qz9CIJHu4Z258ZYI3rDfXJu\nkFMJN7Qq4exAZqj/cU+cLRiByG1xcHwGLsGv4OtH/L/SeZ91SfD584EKkD2+\n2M3D5XBpRM3/s7kp3R+QWoZ50gfAIdtaTb6dMLf/3m37qxfaC8fDId3xrRcN\n8Chg\r\n=zPt5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYKl5GIANB2QUkgamHtAkf72im6/tM7ifrC22qCgr7DAiA9CrUYCQRKeNe5yj8pVQu3nfOi7beB96rzvaViHXOZMQ=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.2.0_1596480320673_0.43108262588955126"},"_hasShrinkwrap":false},"4.2.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.2.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"60a271ce372d6099f04353043d92de46fff2f60e","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.2.1-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-1EELfnJOC/J8Y2LBK3+0vrdxuS3d2LwT3rQd6frOUUoV2mBEQO55nl7eTi3+sU+6rcyXt10qeybOL3qoXCt/GQ==","shasum":"2c7d4f6cc45a07160c1f6b008d87c07cf85f9108","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.2.1-test.0.tgz","fileCount":58,"unpackedSize":294183,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKUd+CRA9TVsSAnZWagAAm6sQAI5h0LRZOC6QU8sG+h4i\nu7t/aAqZbt0nEWauIKHaM+Bilw7tj30yH2IgrWJQMf9JIDhgW54rCmChpN6t\n+UeLB2KfLqPhX4oW8QMFJoaRKJvIFKs+PDivsWfIFb0mtaS6D9TQ5Vxmftqc\nNodn4eO8iqLWafNeH2NoDwYQJbd1y0DOHEZcXlbr+TK5463MOUOWHH40qt/R\nX9B6x/Rb8qhsjQmdAQ5O0V8swhrFc3x/Ddz6eFH/DIsT6CGsGa16stra+miQ\nhXjxTI9hU1YtPVQ6OrO5GZSqQXhvEhNBm48jxfdVDc0x9zjmWF0BacUxhPzm\n4Oax5EOD+LblAP0e4efFkpWc/tAFLCKLDVOqsBwCDYjDoCnrv/Lr1kUG0FNa\n+dQZnp7OFcYQA1hBje7EwUw1UufRf+iEsCkVRhymFLlaHJKxfUVgPQdfRc/f\n/ojGBgpY7fQm9iozbd2E29UN6IhOkvkYFGtdbcqity4p8bFEbMNlVy7CyGb5\n8y3jb3D1Y9V4YReaWI2NZYqCxAcHZfI/OqeStCh4jpLGs0Nu994K1w+97kkA\nE+38tYkrvnTgwCExckprV94/jLFpfXEU0m6/WnE9inYttozHj5MDx5QN+XDg\nAv2M3LxtCJOfB8DgRdT2JZUDYSt4dlt7y+2t1rJJbDBOcuzRceJaxXDFdIMQ\nut0H\r\n=H2w8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHxviYfPHm0xOdkjKJN1DcuScD+kbx3C4zeCkKldfKYTAiAaqa6uLOWVYGLObsATrcBrRNyeckAD65mJ1mqBbMLL6Q=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.2.1-test.0_1596540798031_0.8982694156890758"},"_hasShrinkwrap":false},"4.2.1-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.2.1-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"60a271ce372d6099f04353043d92de46fff2f60e","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.2.1-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-MRvFhhODqzvltWp4vvmKPAmVxSb2xkeSz2tFipsLbAhvds6SLtuB1LAk4e6P5F+gaZ32e/89h7BgwIj/Jz3Dog==","shasum":"20fbd039c64aa6765f721093dfb31ac77f7a3e98","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.2.1-test.1.tgz","fileCount":58,"unpackedSize":295193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKaFCCRA9TVsSAnZWagAAWNMP+wV4hIKnjHKCn4JSE8LD\nJ34gcKoqdI0mCFSeDqrz3fsaV0H+qCeXzBey/gXLyQ+HgwHtTiSpROumgvO1\nIKqPBNwUrmjTPfhGSC8sGprohWKLuUtSUS43PUP+MkDdEivAWWbsB47UbG6E\n4QrGF1AoaoQXrOGFxYHuUQ8MBTfWSF6c5OXXveKSmJaEotWxqv4NTuhTAWfv\nOfHEoIgdWO2Fq4FcjTeYbnO4L+qaT5h3oiOfCwbXdqXVDjm8KeDwTeWfI+iB\nr4JDCxzj8MfbmpjDVdufNYqFaqQaAsvw+wlWqOxtamZa3etEkpP8sUWo1rrO\nKAfrJfiOi5k6c6T1xV+mh0C89JhV32O4CjJtxFcCzoO1nPr3+zz5p7E7MIeE\nsDBM21oWGrCXzDkVawJoXgV6eKbplSHO/pMSPmIQfu1icMBUyRr4pK2Dily5\nVs+FNeB9+4NBj5GiyU90ER9VrbJNZAnyjK87smPYRyy9jbNbWxn/BxhavpJh\nKEiIO3a94JI4Qa65tcbrKAtSe5CwTjeBHLlru18v1597+QBy+I5jAy8QdHed\nICsrQDnUouC7HpETy6jE03ydUzQoUOaNREsc8WoSDmn+VTPFZmJarTjl9GHj\nhFMp6ZCAhj9oV55PQFtWTqSxTpuQCFcg7rq4BaJS5PdjOv02WskzcA5udlmv\ndjSh\r\n=NQkY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcK0EQLDluuU5kIcpWFNZl4x5G7s3sDnRr3TfOOrXGIgIgfLUpQA/3OTze8lzpMMx/Nb5xGlOwegGg9WEGRGPJ0T8="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.2.1-test.1_1596563777974_0.2079934732167661"},"_hasShrinkwrap":false},"4.2.1-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.2.1-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"60a271ce372d6099f04353043d92de46fff2f60e","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.2.1-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-EbeLa+45/qT4x3K1/jqwmntixBoCzKxNzCZeJvVb053ECdRC+rDsgQkzTVTHVshQJjc9Wuk0UUWHBPaqXyxEIg==","shasum":"8924bd3036aa15e4585c1d4d05893c799512a6aa","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.2.1-test.2.tgz","fileCount":58,"unpackedSize":294835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKaw8CRA9TVsSAnZWagAAxD0P/3PmBJJ6jPADzqmOytXI\nvz1prQEgXPkRlsN/8WBPTWCqE2BBZTwj7YC/aWnrhkiqZS1sJFjt8I8Hb5S4\nJbvkdFJMTOZ5l3bITFzn64ZPCQyN7902Yt0MKN4NvQiRBHDKqLBuGiadmlB5\n65YyRO9o/lx5M5SknzLdAInYLXqn15ANFa7+CjSVWDh1K38B2grVSSC3BANI\nGZjyrKwGDOrEBb6VRaT1wahwk1zQGPxQJ5ckoWIPCSBymEKPMY3CAKV//+d1\n0/1i4eOn81Ucpwc8euIpgG4XyioPeKwB4475V6x0NKeme0rAzAzL2mXswAKg\n6/b8KYnVAojo+vVn4S37K8DcysGpB/LOhc9AvjH8ZDEfVYd80RQ8aHH7+zoy\nNujHfC8lAUpUziV4PtHt3q7LCsbkv08I5FV6FJU9QGpG9bGq4V+D2PplnHki\nMqkO7YErCiCOfPLCRjIpcG6U4pM4VLXRz3fDne7rbab0fiYw29eVP8NwNuJk\n9kHuU/V3CNeP1jHrAR8G7XeuayqHCAVCYyaCP8pCpKb+hWzccWPuN+f+f+ji\nnMZ4LXbbEHFe0JJvxB2eY/t+EgoFhSj9rpCsfP3xUtAxWcCWuySqSg50A2XF\nQuggfhHqAO9T6E2G7ZqOrh+IAtmL6KjHgV2fDnrOMFW1e0ej23dGguhrD+jo\ncE3d\r\n=uBeG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvWWwPDUtb+RcU/1sszwJM7+vtafmQpEpIi4u+UNdkBAiBh2geUx87rp5wvOiSCX+bycO0i04PV+N9mokY9ic2ouA=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.2.1-test.2_1596566587696_0.8500994220838058"},"_hasShrinkwrap":false},"4.2.1-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.2.1-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"50b8ce01c9c682693a561a882f9ecd7c316aefc3","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.2.1-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-RALWcitDOh/5gIxRWZyPhh0D/VSG5llcFUYg35/2ddJYSUV6B/0oHu2eZ5js1yrjHkv/zP4PVX4vFTNV+CJMhQ==","shasum":"beb3df5b262522a9d6a2c46b318123a8a10a9052","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.2.1-test.3.tgz","fileCount":58,"unpackedSize":294041,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKf1jCRA9TVsSAnZWagAAq9AP/0ksr+evVZ6c1kZjdyXI\n3xIgL8DMb+W7nWaItX6ebOHvRaQoKWFeQw07CuVSwn1XElRDtrj9lElcZ5lC\ndc9BQFXK00Ox7txjrgaYavdkqIGaB1UsSlqCIujkhQkmofVdPONSWv47vxBg\nz9oEqiZTws8mbPAXh3O2evVbD8wnvWPYHjag5YLWclcUjzabLJYA8NEztWPl\n8ZaVj7M5GDnIuv0mBgY4sxTISIXW4IKvtQuvUZ+tz6qztwty/xOstLzvKVut\nPhAjQa7mHcraSIcTu86QJZNvnVsdbHSuSu/JuIydqqUdqz8dFiCcknxHEZuC\n90ABOh+AFKScpyULrhoVP+Xh0je8EQQjnwhBghYl3AKsTad+cInLf8FDqqAb\nOs2aB/b8m8zH3gUPqmkXIE4DeDbRcj3cUebVDNqvsnE24oP/7sYjV6foW4bi\nWXfcr4Nu2AuWyj5VcPYHUDh0ZePlU3pRjEb7wp66bNFPs1EoEyGR7UMQNpNI\nBl4Nki9ZAX3f85RIiIgiekYK1uTiao3eeOQE7tj845ZqwLpbAPJ1b3AgZ0uf\nJiJoEzPHyt57YAsMFRE7TpWS/q3HdJSKby9LTn/Y25M/fSsJukMGaIimHxTM\n42tdsmwKatD6t+/3NA8uHGp+Lb2/Ca39bdArupaDkndy5cSOOHdN4EVU30nz\nuEia\r\n=Rc9f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSodf1SYeckl9075XgdLTVrWpqywbI/llisW7SpS0IQQIgapXjDpLGT4BGrGIy+WFJlEPIFonde/kbEhwGimgzTbQ="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.2.1-test.3_1596587363197_0.3939483471265899"},"_hasShrinkwrap":false},"4.3.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.3.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"ee4fae18693e9abc2004c60ac292daab7de5dea9","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.3.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-BQStisl5AzwpQHFXe+05NY8icKuE0eovrGXXBR/RtlZ4cJL5AV07KhYaWLin+atzAVOsT3kNuhcwu6mN3jEBTQ==","shasum":"35c0809e8c327a424581de1390eafc5072caae93","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.3.0.tgz","fileCount":58,"unpackedSize":295093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKq/XCRA9TVsSAnZWagAADjoP/1oFZclX8+b4HYvGcf5m\naTCPL5qjxku/BcIcddGnZL7bnVOvUWofY5JZD/1PQs8gN/KhsLtojHWc9sWo\nF8rGdjV0eEOXW1cI1uekAAErmRHyllhPv4IHUghsl32WMLCru2KGy2ft+vUk\nZD7G9QPa/37Eh0BR07MgQiRzjlyY0gAvfDiRxEfUNuIJPfyLzJXEKeCVC0IC\nuBZgVsYkxZ5Y3ra4pRqCntLZ00BhLbx5QuAlLqIwxWkhjLOi5agcx0jA+pAI\nKJDibO5CsoMo3jsAQ9/nXZBxEedPsVWkNQLpbuu8jEIKcoZx98HuuNZrVIjC\n4iQrMvyc8BV7Byy49TDDvlIlS7VchM4gY71A/bUWf1MoTuDvXMUzc3t4+Enw\nfD/09T1x4xEhJzv0HtsjTud1zaIHP7zYqfNzxFDktnZxLP6+cTO9/MJSBefP\nQS1+ZSEEoqxphNwiQt74VFIOJaZWyoFCjEBeKzATmunZr94d4SSYY9exlPvS\ngI8guAG7YNzxhuWJfc8CUgkpyM4A02OMfeqSJ5l3Ovr/Ay9X6lKVbvh5DrEk\nHUWx8tHCfMsAKZmmW7/spg5NiLJ3jTVdlPdItB2orDTAlr65Gw4TQCUYcR38\nXFqbTc0IIvvfcUwht4S1YMJl9oaa+HQgyY0QoeLPw9+5vwC3tlBu+WY5MxWS\nvQV/\r\n=JDvN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0D/8zCoLtvvqtou7jWXCg4h5iiVWhbhS2HYx4sm0UbAiEA138rb/e9+SNr5mfzyyh+Sf5Z6/UN6H2XvWQF8IvRKv8="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.3.0_1596633047237_0.4977602874061091"},"_hasShrinkwrap":false},"4.4.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"645964025f13d55c1d45ce1e1c992893642cc4f1","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-3iILX9OrECR9xOjPMDFVUoNCejv6RaATygVL/i+pN3qFUowwDeJaTsHFwm8MUCs8VDoa1RC+EEXE5aLxIVAdnA==","shasum":"38e653512ffc0c14162dbd53f4260bd7d3650f38","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.0.tgz","fileCount":60,"unpackedSize":296351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLXW+CRA9TVsSAnZWagAAuuQP/3SYTe65bH5WPreMb3hb\nL4mmF6/Uw2MDH9fuPiHUrwAxRA0HXIKA+5LIDbHZ93/fHfQYEOrBTuckC+lk\nbcpTqaw4dW4oWS00tBpNPyULTeiBdAtq1PeEorG9y+n1m3Duwa0Bcv01nj18\nsls/pEuAtvFP41BwpQ7nK5jcf6Yx/kWPOjOBIDzUP0To3k+RfbdLzNGGc7WS\nP5tp0k0nOV/q8ZO1x2z6CQNLSF5Slio1HYPopvApZv2liZmvdxy0tVwzVJXn\nTpOFZ1Ryun1r9vb+RQeRk9ZYTk0piV6mlh6IW9i5iwg0i4fEZR4gfnXr78I6\ncUfaJpA3AZQGxuyQ0UQyd3oo/JefEynSG7dWmWcSK2SQwD5Qh/Yf44mx/KbT\niK7Kx3ZFugknJqNa3SpjGCRnUPIws8LpgnEPow1InMokVgrFmpqEsnNHlfiV\ntAaw04gqKKjDH+33X8LGh8iNdfwF9m7Xn8n9qjJ+Qc+rTKU25NNjum1K0PJG\nteK24Ujyr663a9Xo4+JZRaYwBk1OnT8lhpCexvC/hLXrVwAdqK6QHHCxCzba\nCn4VnADdfKzkJf+xdVcXk5FaKP6ww9hiUiRokIc2ZEkXyxgsn8Aqx8/K2CLi\naLXgykv81o3vFuOnDLtY+HaV6+MbAiqRYi7g6iwK2s0cSEbxssCrCfjsIQHG\nMeRI\r\n=soyg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFzA7EUswptHtEBSh6TQJjm9GiY0otizZP84jpKY9hyaAiEA6YuyrGZscpdJX/+s7DdUTNP2mH9byzr3BMy7r+yuOwY="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.0_1596814782070_0.39162233435316995"},"_hasShrinkwrap":false},"4.4.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"c619433fdd39c5fdb7e6662a68bb7843b763c819","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-h1pZ1NL7s9ZHSEQViLPQXdYb1mZUATI99pbNWHMjB9igTA6ItIf6VyP+ar7rGU20A5VwMQ6VAvyN9+LjwhaDMw==","shasum":"189d203ad71f5969c86e20146014c97e54ce0126","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.1.tgz","fileCount":60,"unpackedSize":296761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLeX3CRA9TVsSAnZWagAAJKAP+waXT9301Dp6Dln7Stoo\nYbIzFdv2T2+zyA0d45c7JC3UPWcKBSj6i602AOxH/vRwztLth8MvLpHZ5ZsW\nQ6emni1Fn+HbgrMR9EONt8xT/oabd10jBPGqdY2tGvM83jxf3miz4a8AvwBR\nkvQpUZrdZjY5bkTAvjf2ddAq6B9thrGW+ChGU9psuAif5Q0CbQ+yTj7iREgS\n7rHkFytV7ddCPuA8hyPhrCd2vppI60VbgD63sBJHattqyhpsvapk270oJDpW\nwura+hKTeLjOA9hixDOacIDy7jAibvledT3ejvxFMEs1fJ+F0WABW1x1iMeI\nQPrfG8DQq5iw1mH5DitYAy7qn2kuXtQNJ0gNX/fM+esqrI89UeUZf4y4Q9we\nwXQ6tmjehPsjWEhMIUDMWg6iFQe4ID+rNj9HKDWGb1YZDPOS55EpKKlReIn3\npT5FucF0mMrAoWO/R/PFMt09oN4FU44rqZvoo8sRoROzJhOjD5KZztme6L3u\n58EAFA30QLh2OGfXtNIjxwE/Ry1Ur2e5yx0vkz3N0kWlUYe8CTTnDVe9pd3B\nsn0yh/EhixrT03UnmmMhtSIdBZBzITBBgjN1V5B+Le8eZbMDkdoWtMa5jwnp\n22FmDzB0cilGngopoEkJyBfXrsucGYrZlQoeD1yfUs7OIMXLWWTNS09yoFxx\njE3A\r\n=NZnK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1eBPHu5D9UPX0+cP82gmvAUSadmU37LLudoetp/a9oAiEAkEeH8Gc6BUCT7UUr4BMacafQcGY4nxkFbYxKGT15HT8="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.1_1596843510485_0.8210858431376198"},"_hasShrinkwrap":false},"4.4.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"0f25f0d059023665aed67243b397a10ba05461ea","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-lCeRHA8l2fBmND56s+rrwX3KF7uupknbOcV6M64P14JvgkYzSuuj7Shc47/VnPULQfun77cgxF8/Dm2j4VGmMw==","shasum":"b73d8cd657b3b6054d96237daa8afa6eb282156d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.2.tgz","fileCount":60,"unpackedSize":296912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMLRlCRA9TVsSAnZWagAA/6sP/325pIAHhpqDNky/UhB/\nym5FXTJ+geFQWdAEzF3h1JYNp4ihDgLq7mm+hnTTwNoMtxO7Cr8FE8GVMqW5\nQbO9H6JW6FchkPk3N7yxOmG1KFCK4H3oR8hL8NlVu2+B03YWMSYwNNqDbMSW\nGqJnMMxK7rysEgHogBW5AD0R8Xv/fg9glvrTaFgxnibqXAJfRLTedyF39z4K\nNcaRXsO+orGc0Ck/+x1PORwf+kt+WT1Ug8s3QfNrRRYlJaMudyBqpbS3PXaF\n/BovxXD/qQXHNYq/ipVfe/DL0C29L2NUUwTsF9gmrS2YnvhMAXhmlak+i134\nbuUgaq4npn69Sg3g5oWE35Nx6DijB/qaHj8o0RwWzw+rLOKcHTiCV9wrOhm0\nuYhQhXfynjLX3zbOv7500JqRfOmvhblqCbQX76HNZdeIqI3tzwBFaZ3tbxcC\nEacdg+qNtpQ7WIIbWw3EPeMzXOZn0JIlbiNwAR+q2K+6Ec4t9nCyg0wFQIOo\ni6W2gcptBxPmytntr+hgjbIisr8tY17xSS6iYSRKBrDRfT7NqLhj12p8yazN\nihNatbNcYVS57FYWZE3dc6YZ6k4pguYUAbhNZUoxioVzIi3QP1MRNSq9IP5m\niB53QjwiKg7zzrXeeO02H/+hW9ZTAGZyo7iL/bXzxKn1aQNrXc9scE5/UQDl\nmauM\r\n=3nzI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDvG3irg10kf08kFqiFg0ACawVdE0EK1hrnqQYVxvjLwIgamCNYFxOOSC9VEGioRmY0S8FDXK+WZ1D4iQEeWf404s="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.2_1597027428688_0.02918015023658227"},"_hasShrinkwrap":false},"4.4.3-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.3-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"a3d96e6bb5975b22cb456754572f165044daccbd","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.3-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-3QT7bo1L3tqAs3BvincJWXxooFl0QKj1yPZrTsDBn+LtIy2fJGl8r4euJw2ShaUNDX9qzN4WSUDFAa0sfwiH6w==","shasum":"6450629df334b2224cbe61dbc528bbefff9fdcd4","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.3-test.0.tgz","fileCount":60,"unpackedSize":296538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMoqvCRA9TVsSAnZWagAAFUIP/RIzLZqeBO4aHndPU/5K\nOP18MVy6JAlrR7IjGda52EyjwXkaYqDjedMa+zGeE3gLZHDMbtMD0hjtO6iB\nUS2JGeQWJB9e7YNqp1PCygyHgzscnvno7Y9ujY2nXyQmpGxmk5HWDYCieVj7\norP1K2b58HPKFx7a49ObQJ5PpL7xuSC9xrrUS0Jv2XQXZKAVUaJqwqqpa/8j\ncdmWKyNlG3vCT5tTlqcynKwIk0MkMeCDn5MVQ62Wcs/ZZSZNCb/hQwFMAmv2\nbOHNMNXbRzFSrFZ0Np+CNYfqQlVGQ71215rtW1etrL7tYivmkMBbZYt6bprQ\ncx5QE/flF1er0DfMMmcAl9bljnISuI4RJjiohMwVbSSzPbVz/bzeK7LgDRNh\noLJTqDls5MddLiGdgvWf1RsPZwJNMyvaO18MHBz1MfSopg8KKx9lyrKPKj+R\npTSbjTbjX8NnTFESi76z6Hx2o7ojNAZZjCeviuAnC8YW5uKks78GSQd1CLr5\nHpnDkiO/wUTfUR+D0lU99Qn5UhfwDhVTzanjV24/dnxu42/zkDbOnwObyB9n\n/ZbKAWFV/DaDOQb7GeRWtf0P3FqRQDu7TnBStNVtjtBeswF3XZmI6LKS7jew\nwAHi+/bTNl3ajGLrm0AEHcidqZDq8DryEHBarNgqlmwVaPLJmMnVWC44zawv\nNuBL\r\n=048D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA50rms2tyUmbimjAoi2L68nEUfERnDyx3PUPHRRnI1FAiEA/43MpQ88SnfLJP4YluJWhJVddAmir9E9ZtiWDARdH24="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.3-test.0_1597147822996_0.6115492590222695"},"_hasShrinkwrap":false},"4.4.3-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.3-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d0bf18adebcb11636af3264d9330a74e7532b93a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.3-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-cPAAB56ghP1XrJfhn731ll6Y7wVIdJE6dyMdAtYwUDj4NncqbCQit6ACmIfkaDFGCPg02nc136vF9JQ6IEHz/Q==","shasum":"e75b9e923da17ed8a5820bbf194d66f19a9bca98","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.3-test.1.tgz","fileCount":60,"unpackedSize":296217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMySMCRA9TVsSAnZWagAAK38P/RxO+jHRbtoth+0UBtPq\nhgfJIJX6GwKY5zk6E4OR0g8XLaDMCIF+HXz/4u7h3nOdCmXhLEMnTDygPq4v\nYypJ+rZXy1slh9F4ZLepxxd84Lpr3qzf3O+/hOebR32cg7g7G4a5jcG5JP7t\nuGvH/PYDECaDak9a8OfNqdqAn6IrOq3GJ7azc8SrOpjGtiYCwgLytY4cBGhj\n7MMN0gkvaV1irar5K64mRgZ14FlmpIh++nASwGzqpTtiI+/R2hJR40QNOhYb\nGvkpMNfv5Kbjz+GWpwC8CXIHvJfCnlat3bGoP2Opp0IPo3vaC6C4izMiIvf9\nPpsiKx641zjsqDRwSmHYvOB03h/wTKKK+MgHVE0gvHEQJEs6APWm8QT1oLkS\nxqVJlblw5S+iFvlDVhnlIHisfbPM1Q+pcqGPd9V0Q6hS9dlZMo/OAi6qkcAT\neS8PnhylsFXK8GzO8wlYpYaV12ZzQSEbG5DapIH4lIBbsEw8yyx0jeqF3Tx1\nkOvBDQfD8DFcjhgyXyUIelNfnLyzxSPcXWCIUgLcNkSNbOqIGJ9cLXaYEg/g\n6ZzOLmffuwcIJZPPYTUzWPJJfqT5NKcrt37l3VerRaSZLKberf8m7aDN2xY1\nrGpx/BFhLRwK7brlsggI5RB1byFUZLamMuRtQTuWHrX6Du6JvjBczvzoB/N0\naQQ1\r\n=JbWJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnCReGzROZUgODjgRnOS/+9T60hxyG18LpR7bJfi6M0AIhAJnKMy7ssgFM/ie6xDPZ+VVfF4TqF+P2LJaS062sqcra"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.3-test.1_1597187212010_0.0030259910170484794"},"_hasShrinkwrap":false},"4.4.3-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.3-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d0bf18adebcb11636af3264d9330a74e7532b93a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.3-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-o5jIz9UyFCx/xDJk5yGEtVOptDs6Ph1sVWY2XFSQr29VLJVeRbOtBkqsjbFh1rTN3uMZ1lvqdgMQtiL5ej8beg==","shasum":"2276c2d900bf67a47d3d5a952c159297056053e5","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.3-test.2.tgz","fileCount":60,"unpackedSize":295044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfM807CRA9TVsSAnZWagAAvJ8P/3LjPr1p+4jfqErUTnZa\n88bIXX5cqaFKOWpmZdX/EiUqJxEy37oT+WtXwn06H38kEZODmt97bcInyC9E\n22HL21uxy3LWrzORrOPB9Dw24Or19pDLLnGZte7bXjlsacExZfnnBUASsi6U\nciv14fSXJrFVSXsnagCsDHs6hfGgg7jFG2L4cqnzA8LH51FscsFkWNxiXLQ7\nnQ6JD3G8n5v1kfFFn4gZddEaGNXgVpKEbX9T8Kh0TirfaVshLGnot8TnKx2f\nXulX1arzCMFACtEbvrKTrcznBHgIIqFmMzYESZKQ2+alYq9NAYexHLM9RTFW\nb1qBiXcWixjTaveIlshOVpuvZV2kZCaPGNAJZTbyBsfO65B6lv4CbA+13yeN\nTrKPPXI/h3JlECmsB9IJOemz8UEszdtg45HbC4qxHZHXVDfqc3ArWOGPIk6R\noHZsBF9+EHMIOhv3X14f9nsZUIQzgJQchLx+DmEr8Lr6fl9DxzTbRwOmcCIt\ntSE74LBTBF/3kv3FuNahQEJouegNWbBww5fOA8jy0m5URd6EMv+p05nXGhRp\nbzf1hWBPXgytl/pnQ3sr3WxWSgG37TECqDksNSqgkhEF+8uoOxpSEMhqVASF\njFZeXYXXeef3/QHj6b/gCuiia7yEztxVJf42jfDVJYGnuNANcoDLRDKm/mNu\nGxcd\r\n=Czbj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7iZ7ZUE5xBNFXiazwJzNq3hPn3/kDdo8nACW0abZg/AiAOKhwcsKcWKm3KcqpO5yJYAWhHCkmGxEatV9ciZI/xyQ=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.3-test.2_1597230395235_0.19946281854085335"},"_hasShrinkwrap":false},"4.4.3-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.3-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d0bf18adebcb11636af3264d9330a74e7532b93a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.3-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-BXWWFsdSX3MMf+D4pqEAVkMljdNjwKfOmUHYoeTHy0tCa9TmCb1Lau0aoW+zConIgsr7l9TjqltJZdp92MqJAQ==","shasum":"07d93b7fb3a65c4b192d90256a1b042ca5ba6702","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.3-test.3.tgz","fileCount":60,"unpackedSize":295812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfM9D7CRA9TVsSAnZWagAAoOcP/2iyD1hmyUJAkR9m2avu\n3VS5c0flcZf2hnik0HfDyp5ptG9aDjnga/+QpJ23Nr4waLT0nCvb+yPfiLfw\n9fWISq5uPi5455AHG6H3ECjRoVad7YI+2+GTIJdVqJvxL5WcRD26kgXHWrHj\nuWaG3zrFH58XpW1Mz2yqAwnazRXbZWUsbUTEoYx0lPDnFRGUVo8U8okKVZ06\nDp7erOo9hZ1Uy2+AbyyEpEV7HbTwkrio6x6FZOQDcxelEJuCJ5MMS13jpoVk\nkj26ZpeM2wMaZyjwF6mQpQ81vlwyuVmVbgUvLbQkUSxKDV4plM71U6iGOg59\nnnqLOKFeI/2oZvCUUQ9CBmHFTY0trePQsSKn7AUYOL69nhpbq2rWdEtbhhAa\nNx2LOg3K5EUMP6KSk1DXzS5L2HzPvzkqyG+ZHX4ZjPS0l2rWwt3hWdXtuYki\nubDyU+NCRNA4oDJ+wWBfznIivOw04AD2iXqJd2AXoeMmQK+ZM3eua6rt7t2Z\np5DepbyCnt9qyJZSFF0cEhc+Du6r1IcLHrHsZbzaPg9weyGAD2QGbVLxLNYO\nY3Ugfdi1O/IiXKsAR059m9WIIhEJvCaoAZLgXPY3hRpesA9n/KDIU5fmfFba\nrRoZecxvHj0RDe6dFw5czp4VvbNswZngWfDDHXPYS/MKREdSIMZtOYOH7nfe\nZvJv\r\n=diUb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvHW3iPFEnjc7bUzJfoGlVkhET61ixwho4dUd1zcfVUgIhALq9rZj3BvzNZ1OIrG/1/mKJQImWz4lpZpt2lXzhzPjk"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.3-test.3_1597231355057_0.12114375750501138"},"_hasShrinkwrap":false},"4.4.3-test.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.3-test.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d0bf18adebcb11636af3264d9330a74e7532b93a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.3-test.4","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-JHRXvZHff6pkIvojp6UkxW/2hqcEWQ249J2peWK8VLOdnrlGxjw8MTNWFTjuMlhBRJlG852wBXUwPsEu3gB+/g==","shasum":"c7cdd286c15c6757d3145eab9ae0d0158dbf2501","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.3-test.4.tgz","fileCount":60,"unpackedSize":295395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNBJfCRA9TVsSAnZWagAAV0sQAIOcRzOHa2cExtvsv5dV\ncgyw/R3oS7wGm2p4g+PXkGr16KuGfiUxazo4bKU7Auf/dAbl+XxQZsl9YJWz\nuyvGBhxEoXIeQZvkX+ArWm/v25bCIEpaf1ZEE4qvB+qRIs+NTNcAPcsB6oBo\naZuYc0O/QzCngSkn+voHidA/2flOLpCTdhkMKxyIFqYOZiwMpARBWem9ND18\n8LF3ys+Da2w6c0TeUgs7uyQ5Vot6kPSuivM5zaBCpOnFfWt79pUiNRlVSGQn\nlenjy3XwrZf0ocOqTdeO5uTRpgGyHzwSNmi1mFPCTpY1jvQNh3E/z+0kwPp3\nBoTvLJ8iX0akUiZS+35HpNPNyA04lZanALeHvJbRT3bz3e4sfhPIPke18JRM\nSYWRIvqVxoIruOvxkS6fFV5koMX4j/uD5S3za+8op9cq0RQgmOhjJFygw9O2\np+AhVhjzCGXKEDlVSwurrxFNu88b0L7CAKDTiVn8drMG/mlvY0ziwLfjnLdG\n3SLPMZwOdvbnlhsO3h+0pleHclDzA8H7h/9BgwX3htfh8wEfJwdUl/R/8I8r\nJb9ctoeo19B868DaShkNXuhWcextdZE+4zsAQ3yJKFmd0MJRBGqKLHyf8deo\noxlQA06a5RfU2K2a2D7V/AUTHw4Qa749emU+P8HaAuovGiHhUAZr3XZCgYsA\nduap\r\n=UwLh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxR3i/k51zNomQyDYjZzm6zkotNXEtRV1887K1w0oOXQIgMh7AOkhEKrZy2y7p6B9+uMMSUoiLpV6qRkxh/JVQMPk="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.3-test.4_1597248095261_0.6318506334340903"},"_hasShrinkwrap":false},"4.4.3-test.5":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.3-test.5","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d0bf18adebcb11636af3264d9330a74e7532b93a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.3-test.5","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-jyFHCbi06/OozuCdgHuOmWzLLlYoP8/AC01HAO3+LInaoHW/qU8Z0h5fcxFcN4lhiMZWl6oOP+xnycWO4owafQ==","shasum":"e97d92681680f0faf4abc4382ab59b9f79b855f7","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.3-test.5.tgz","fileCount":60,"unpackedSize":295646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNBguCRA9TVsSAnZWagAArGkP/1V4KjuEGiNRYP5JfR4W\n/Wtmw1L80zjyp374IHIhxmQ7Jvz010/SX3PS4zELcBo4BZtSx//MaNZ83Hzy\nJw5+UMfPJjXmgs1OywrPyn4HHJvXllNMAISLGoqwULXrUnqZ+4GQ4GPNXr2X\nTo7CGCsq8JA/XguWoa1Ijl7wroKocVh6VsUM4fTpg1AgCiZqce7c3yZHMzwD\nDPM4x9qewZXYs3itohdhrw3Eww+5cqYvrVZFCBBbhv31svVeZKqLJq5NOir9\nUJJtlmfya0N2Qg2eH6xtbgvoaS6J1K7crSVigofMQd841KnCKxtCVWRq8iD0\neKs4inB8Dz1emIcy71JQ2djD7GHbarozHPraFQcr1AHVmDgJ/XiU3Y10F9pu\ncw566Yp5a6m84t+mzVMX9i/BiK7i3u2inIVVAFO2+3A0r3AK2nUlYHI3KVPi\noNbQzAif6hJWGv820MeqoN5Y3eb+bfymbyVQYDhaEjP60eYqt+SUthEZuyQX\nSfCIMPcqfiEXrkYj/PQem1ciTwhWVc3sDMyRIYnEBad6y4GJgQFP4GkZzHav\nN1XfgXPmkO+awzcDrzL0nhzrwIhqMFIjuR8yBdO+bMaTIzltBYuJ+ee7BLCl\nxn+mBmUzEvWOBnrrXL+h0OLuNI2DJsWDwE/lB5WMpTFTTHJIs67rK+zTc+aJ\nUBWY\r\n=iQLG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHoLJR1LPSbgShtks882Ce/V7TgQM9J0TEopp6nDJZVrAiBUhcr6DkIRDeG/Rs7U/ByGTNJtXonV0hQKyr8OQwTu0w=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.3-test.5_1597249582168_0.304068982121674"},"_hasShrinkwrap":false},"4.4.3-test.6":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.3-test.6","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d0bf18adebcb11636af3264d9330a74e7532b93a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.3-test.6","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-auO+gY09URo3dyrgw/3VcYqrgiTWLPhursT2/81TqWbW9Y7Hv7p3FbNU43uvsq2qFYq3oslTkNiMqz8hmDsW3A==","shasum":"6d9847b9bd86496775982d6706952e14ebe0b422","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.3-test.6.tgz","fileCount":60,"unpackedSize":294886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNCPxCRA9TVsSAnZWagAAuZUP/3G1r0BGJogEksnQMZvB\n2zwQcQN/5wRnEmmvQTujx8uTuJMIY1bC7VbQ2M0CKpbg9hokM5ypESFZmh4b\naNp6JEY+ITg29en60kEYZ2R+WGardoLn9As1fwflASjKCMUwGRvROIZcX5yd\nGVXc73iSEQx5yyqMHK8gImlz0sfgx0LHgDp608HWbhW4UuTfNjNpOvLbWQ7H\ndtE3D1P9jD6IpG7u0QeS9TGxD4fQHJDMqwoJjxADK2PzDlzRN4hFekiGly9s\n0xAnsf3kaCsYTZCrrRGk7/QDqgWKKhZtWOwqedRO53gYWl704q09tuRkQilO\nYvA0dVtrnKSqoKJpR83YAtHQQ2nRaE28KmLSpm9likzubBHi4JV4IuZU7mTx\nW6A/2Yihz70vTVzDGI+/SXUoZSff941BlhNcE08xzXBy+FChvP9V4yx5wKD9\nu2UZyjGFxXieLJIhckhpo4WBl64c62beTokHNokrSN3qyghJVdIJT8CYON9z\nNOWVwP65YZe7ZI7RqUEg1BgN3Toy8c6G+JCHEG96ANHog/S5485UM4juBPX1\n60pbgeE6TO73oW5fjh0oogsPVNF/4uHs/lNtZzZF9uuAHCu3+eWH+0PuUyjv\niLX97fHfsaktA+KQZT7lFJ8UQb7BIZG2VtKhpTiKH7ddF0nKKSsEWMYQCIhj\npb4E\r\n=SIJ5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbFZ6VjJNdeSpeBeuYn7Z1iylDTTY+nPngC0eUHZfmPAiEA5p5bEgjMNS0ZvsAfzm115clzE1alT6VNnXulHe0B2L0="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.3-test.6_1597252592447_0.1986496313169548"},"_hasShrinkwrap":false},"4.4.3-test.7":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.3-test.7","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d0bf18adebcb11636af3264d9330a74e7532b93a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.3-test.7","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-+UeQIB53e246Jbl8XgQEFf0g8ktrPrjztfXuZle8YhDiLM9ScFiKi69Z4vfQVZfnF/3REhb+tb7vcSJgmcCdxg==","shasum":"c0bb1655ed57f765a11164cbd3953a0144c0498e","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.3-test.7.tgz","fileCount":60,"unpackedSize":295006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNC2CCRA9TVsSAnZWagAAizgP/itvs+cpQqzQfhrP0E/c\nUICQftMdTg/KZdO3DychVsVnF1vDSM7QzaRHFIZGyw3QolKydPGGPxWSpFNG\np1XtvZ/1GfmTxfYuMgBwb1IHt2VEMtr62wv02d4VpLUSsS4UO20Lc8sv2m6S\nebNC7gxfZ+B6C+S3g1g0CPkQRVc/br4r54HcDq5Q2Z7BvgalIUXN7aFq8AyQ\n6MsgucnNYuFOn+1QZJWyxPZ39tNwYwLaeInO4M7m9FXSPtEeebX9gme6hfmJ\nhdip9KeDcGd+flzRGp8b9r15HwbROpqSIez8ox9tRd2C4It80rxTJJLCBKCv\nmRBprx+gs2KBJr+IvZAzh8Pa144tepoz1hvQd2EQqoVCHK+lYH31CxLFfh8k\n4jfeZTMsLJKyFRjGqFQHVwr89FDguBzG4FsH1IshK7/EUNuxVAnHQxRFQ+e7\nkNUx+Wo7xyDYKS7kMs6eM8E8AkJKtllV+eMDwko/tvVGIY60urpsIKGOXc2T\nXfl0f68xPhLSklUYHBhUCzmbtcI7vYGfLPDOr4nbV+S5lap4nYaGlftmtSgV\ncMKfrOPUSNwjQOSYqf+UACKbftLsZ/HCtIlUqBDskQYp8VqWRayLDXhWlzZ9\n+1Z5f3ZSHlf84C6MO5S89moPlFfFmeu8tNtzlUnLWmy1gY9OHW4twDgHWewm\nUOXZ\r\n=mUJR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbPDmzNth7svy1pVtWL0QW74Tu/LQ27g0ilFPdpzfCUwIgIrUl6BIR1U+fy4y2PTp3H/8sVg+xEjmGqiwlmm/j8rs="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.3-test.7_1597255041559_0.3293373024179027"},"_hasShrinkwrap":false},"4.4.3-test.8":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.4.3-test.8","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure names of which structures' cameras to see     | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d0bf18adebcb11636af3264d9330a74e7532b93a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.4.3-test.8","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-sLlmlLzG6mMWq90JleQTkpxT2YfBqDKrhOCbsx4DfIID+nyF2FF1HadqwnM3G12jGa+Gqy5H1S8QgBUJC/fTRQ==","shasum":"e1df42ef18f398e95170a0b38d1b52772f05e308","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.4.3-test.8.tgz","fileCount":60,"unpackedSize":294792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNENmCRA9TVsSAnZWagAAeTUP/R4g+7+9XLv/ftFmu8dk\npTd2cBmdsfmTYVDlBjlM6zCanFaIihiBkM2b8YZEAF5H2quBBClvjfp5he6v\nWf3ReepaDhV8N2+QYkMoYNEtZ4SheK0AQBf8+4IgqDAbpzPyjC3JdixZHflF\nTQPaPDSuLbRXHG4zLF9ut72ozGw5Bco3JksOhtobS3YZOZalQUeSBE/715R4\nAO6Sy4xEJVGdXDZ2RqllKIGUfemGFx2x1oCOR+jSm5qyqQb17rkc9cjUnOtc\nMQmMVe/aJUhMhP5EfP4qO5mnmerL0JeZYtvSXjK426OeIXlQms8Me/3PH2Sk\nM9SbgqU0c2Taf4ab+FJDIUD0Ipp6tb3QM6bGBfEKu09HuYfQSuJCQcClXZ0M\nxEnBw5U/P+KFMej121eCa1uaPeWbaPbRQjkQDFeDtNYRuijeAV/C0nBYQ77X\nvpgZi71PN5ftMmMK8eXJ/tL77g7txUNc7Pi0ApnpYWdObM+KzmSRZPGG5eQV\nI73KPjeYTx1xvwhrTZ6F6NQwRJNaknIfC3UOByewKIFgEBFRyB5SKlbSrfQz\nbDq8HNsC7VsuZq2N78kTx5rxYBcLaA/r2Gmxy/taLWohE8+OaBXJ7M8cGvOh\nOYfY9IXM4eVfRxMYMYR7DNPdkeDKJQ7urKCKdY32WDKfc4+HmLenk63KXiIs\nVQn1\r\n=5QcR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJbUexk4ZAghxsOU+XzWiaUOmyyaSyEoPHY6FIioBc0AiEAgautzWZGvVPdB9egJW2wo/m6NPuL1yX4XoAVotkyar8="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.4.3-test.8_1597260646225_0.799485588266412"},"_hasShrinkwrap":false},"4.5.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.5.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"da94bbc7182c794929ca1e853d54a7037e847ee0","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.5.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-WOlzyaXfSLxjwK0z2BYUtoNFWWCJ7PTni7UdNcDwK4jTBbl+1LGry8I+6K92t5cW8FuGp3f51X/ZeMad7hEmRA==","shasum":"7524a290731e6ef29ddb700f6ac807c2796cb53c","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.5.0.tgz","fileCount":60,"unpackedSize":294785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNHW9CRA9TVsSAnZWagAA590P/RLbDLAQO3IZujy6450p\npZMSTysY12yuQDdlIyYGPop4RXrbd/+QxpwhmgFlT7/5QOcUXoIwSk+SRynh\nYpo6Vk1XWyYDWC1uLhyVCIfvFgA6KgnQOXVlDMF5dx+HWizx0Mmg1AwXsSFE\nUjmkLxkN8hf9FTsNaT8fUn79Vu9UHq0yAzZzUgEiHrOwZOMJbi+Ser2KHsFG\n7huCgYB2SGMmFdbalATUe/TTszx7sBwhuG3XCr5p925eat3nfUEjalpda+IT\nvSJtFaXe3AHDEn3WOEIalu8xiHsEQI5bIRtVAIQMRYAUrbm4chITmXDvi6gy\n8l4Ri+S3R5XNcf7cLdE6RDGKlsqYyi2JYgXfr61CDf/yrjWAJWfcbRTE6IKy\n731/0WG/mRS4kRna7vQV+zHiQh+4TIwwvSUVTxf48a+40voIQXlZxk7LGJtv\n/1083Bq9uAM0rFyWmaHau6Epmdsuj8+q4+qNWeI9trcbwj0s1jg4xpzvpyh4\nK3bN/EFTWsIhfunOJEiNxS5M/prGcQYh1fs5MZTzhWW5Mu9AcTYz6aeP0ez7\niQfQTfIfq5L9c/I8o41c6P7JCZCFsxRkwfuDUbtrKpS7cQvrD62lRH7PEEgl\n3fb4q+Flt1LPFItcQzloumtYeUyw6fASnCsM83GuYQcgToA+Z1Sgnomy6VwA\nQcmr\r\n=RdTM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjX6qgqcGRbdYdj1u+CGBIfErwTGPvOiK1IUakrf0bpAiEA1BuS5WbjV9B23FAgZIjIDlcqx/5vMDBd6TUCvJe1LxM="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.5.0_1597273532126_0.6923542786296364"},"_hasShrinkwrap":false},"4.6.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.6.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"7e69e9de64ef844e393e6fc2e0923607d3382cdf","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.6.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-+PTCoYmaFE1xZ2xAqA8F10nGA76jmpOeBkHTOTe25PaALUn0orarjD0ex/UaitXNS+LH7SfBFnkff+ZZsWWqtg==","shasum":"0f50e8695dfc23571c4c7f59836f26160ccfd134","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.6.0.tgz","fileCount":60,"unpackedSize":297797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNzI1CRA9TVsSAnZWagAA5VsP/14AqNE9CdlSsyo5DkhJ\nluceih68JZrFRZcz6fIhxkCfTpOQysQH1HXsdP0RrRqXalFw/kwKI0H3fLoQ\nZITjvdAb2k7mmQOcqY2sG7dEaVwnXFIe9QHlLT6VgvZVGPrvm6UXCY8BBZZe\nSMcDnIz8rKJNhOZw4QSh41xc209H8ODG2I1ZPHkeO1g0PYqNd7M5i3p2F+ss\nw2ZfScTycLHzElIg3lrKPvW4SRnf9KIPOB+km2yXWkONVBg8CyYHQF/7Lz51\nVijinthTjOfhjMsGk9NP6DZBQv4PWOZT8VRnfH4eyyYcMglyKI/NnDz7TQtF\nLOjIRkifbgWh0FrD2+uqB5F6dEGpobN98HVPji3tT4sCOFoAnulBMp4zgZe3\n4JcN10zd4nvheQ39S7P4kAXSUtW339lnL39ULraPTxb0e29Csm1jjpplxdXH\nRhT0b9arXbGprebCMMSMiSrPmwsFIfmjE33xMlPT5Eofzoo9uiftUxE6O2FC\nFsZQ7kekYQKKMUNxBmos3B8lOXvYRF9j4uWbROdUQ1qan5WrXsaGpQn4f9xv\nlpXPaFkI9cEDcP4J3N686beO113oBjaEN9k+/rnTJjECmfLbDaxnL6MlrqBu\nXASbKEbElcuGI+fq5jMNMMzChITPCtBH7A0/4wrjLr++2aHoZ6yrs0bZVEi5\nusVS\r\n=r2js\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDLgDVyMHjG/nouoqiXnPyzMpc3AlLHS2R5l9XImTptcAiAkmVhZaELknG9nx72KVwO/5Bo+0LPil9Fvs+c0gQu8zA=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.6.0_1597452851680_0.5108207740414015"},"_hasShrinkwrap":false},"4.6.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.6.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"0285b63fecd9e22e85e2372f4324fdafb5f29092","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.6.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-j8PubUQAfoNF8ZAqQlufMUZu1ADm655EAPB/WtoS0ElT/ii8CZmCPOsChogzfovl+k9J8SgUSNDgFMV6WXDHmg==","shasum":"884551bde55f30fbaac9f6dc34a1216dd2b4634b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.6.1.tgz","fileCount":60,"unpackedSize":296853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOAzXCRA9TVsSAnZWagAAHqMP/RMgDBvsrkCdpC5UgoPV\nyhc8aRAcoTH+HvBAkrghAHO9pRAV+C6/7l8eKYgiAUh9V19QzCsP+ll7AIyZ\n+DSEwbvIu1w7rOldz+rKr9dtOofUnbfzS0wfL25hZJa7QWtzWloY7KAQQiIZ\nb1GeEgUAju4DIlK9tHOutMjGuEk79FAJcbT7+T+dmEJYBxduHvkuD7X166y7\nzJ+qsRXwJjeVW+UmmpSLzw/Px0Yb6Er+8QKUO4JUwiGpHKXdrVDu5IZ9Ocg9\niVqtHwgedmvb+8v+OVjddgxFINomhKktJcwVfydTrdLwraYiT24pxO4ijHXp\n5VV/JItDeo3huZlIKCIFYvW4VpYxNUojTa4uM4biJfV3Yf8+YiJ5Ap9JlYPd\ns8WaTYUqp9Y26F4j8Z4Fr8KtAlmWg3MjmCKN4xQohnbv+t6ku71Kv0nIlkwo\ngKoaGcDk/2y0K10uPUV9kyyqthjJcdeuaLuuFqvgTJfMiqqwkrVy9vML4VzT\nXHuurcXxN748WpoHzBIcCZ2nCxRJS85r0yguozWCGGuRsQ9MyxJZrdZFXWSB\nXYFTrjbw+ry/LlfMDAjfvSAZYGR17Zt0L8etVhvq1Ptc9TLJI+kpSD4L/MeW\nnrAsPI+A+oQmne0LLfXJSTcPA9GhrRfik5jIZ2GFNf4fAB/f/zTZEDNPp+gA\n4u4Z\r\n=1P5+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGKbPUJvfxOLOxhMWliwSgqQVHX0c3byImEJnCmloxBgIgG7/W2eb6VflSiYEIlUukKCMEwx9XL8PFX4CkkL0BJGU="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.6.1_1597508822631_0.3934474291196095"},"_hasShrinkwrap":false},"4.6.2-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.6.2-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d6388bb7585b5758c30e5d97bb9e6c47b6dbd358","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.6.2-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-wl09RCbj6mQje4hHih50dsJjdIsAldBe/rA1lMBOFNC59Gqu8UTfpdQrdcNjRWP5L8ltL4pGU/ht8e6h1Q7Ffw==","shasum":"6c5e2ebbf1e1aa5573d9920721115904149c0fea","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.6.2-test.0.tgz","fileCount":62,"unpackedSize":304130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPHg2CRA9TVsSAnZWagAAw48P/Aysd7prxhHCTgMnqnD7\nkwPy/tYQOKHt67eVXcXjaJqWghg14+w3fhp/HVvptWc6pDXZvDOmgHyLdAIS\nwBQqkNIRdGsVklgn5ECar6xmwvHUSyBqREr0Z4DxClwzhpCRq0rMrAipczgv\nJvxqkF8r3bj/Mr35sioYIdq/6icFeLi34e3qmsHklJIrykoQRlsyqgup6BqM\nL5OLV7wF0IjrgYZAoRIARxEN4AU7+JGraTCJm6/tRWlNACt8k+sS+WVC5L5G\nVfvbya+dJp4aVFTgjeCHxsTvSofcvblAM3uMatnpGabEt8F8Tg6M1WS62cds\n6TZMWTzTrroPcVnmfcZh/GIAN73b7KNLL7+BysZgTqmpc6PHkRoEIMq7NeFk\nF4wMYyLePFcXmCXu6D8Wtx8Y0ytSLWMXyQBidegkYvd/LVRt2ySPmcQVG6ii\niC/Av0+OXwOskjDjnbSahtoXhRKsrwQ8ve5BF70W25m6ZrNjr1WPlAPIQ+NR\nl9qPNHnI/WkJ0o/i0BwU7MSokiuc1plXEutpaz3M9ID6K+mzu4acoJEwhY2l\nTQT661gngc8MyzgGcH89gDUJzLiJQ7SvvlqlSDcLbHe4nMQxHALrxCFfL0SR\nlvCz1txg3jWqBXjQFogPy6bBbM9WuGrjbOa+jsl1cU9op3ctAW0/D8J67BrG\n3XlN\r\n=2GWc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIDlHNCHmgZ3ZYXpHwnNxUuwzhiUidvggYAkAqR4l72AIgQoE4Sip5dGo4O37hs3fLPMC62E7lcd9R0cZrZqGNm/A="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.6.2-test.0_1597798453585_0.39628158057061813"},"_hasShrinkwrap":false},"4.6.2-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.6.2-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"fef1f30bcdda10db948fd7d5a980ad03281b84b8","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.6.2-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-7HexHbEAJDOvRMoQiYywy5m+yJE2dmQzjMSuDSfv/QTImo0gwu/gOic3QxAhuSt6rYCTAxTTRl0MHy6aK3K6Xg==","shasum":"3f900084bab46399e0c6a2b71ec2d5891f3d5943","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.6.2-test.1.tgz","fileCount":62,"unpackedSize":304672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPI+YCRA9TVsSAnZWagAAtGcP/jhaZf+Hg/r6gk/Fw8I0\n6v/qskWFkRgQR73EoynUPtNftpkqk1x0xS/WKzWZzO79N6MImWSULpZmFykZ\n7HVEzLB4UoSlkHswTHuKU5v1qmCJQHI4itMJMDWK9Abeou6uytK2stzjWb3M\nHWE329yCHp7OWiJ6AligimoknAhwSSpN7b//k8Yb1Wq7rC03opClj1HFTKWZ\ntw7g45Y6d1ddunszjjyVIoGlutcC/9Q0YBBkIJXKm0dgseV7rwVK87uIugO8\nnXP60UhJaSOoO5MXBWLANotVlkHlGb1XsWid9dbt9GW2SIqGeiP1nC2M29iW\ncJafx9GTmyZVwy/7b2olWnyNPEsrsjZg+4G7KNXRioRWQUHYnCMY22DvMWb1\n2JWEXap6Wkexgz/QBtWazGBDQcP7DeL80Hmp4NYTJGkXuzOISO2lbf07zEMe\nmZabanH2HA803HssLjwzq/dgjsTtkKywKJbh8bltYIuCmi2XOJxy2EkUTome\nkQCZgw4DCgPxyTbvUDgzGN1yjLVEnv6tNN5B/t02Gy/Sj+S3X6n7cywgq090\nBjEMAOR3myC7EyqpZgEI3e8uBNVoqhsM2yoH3X7HGN8y8TkGxSe39KXGFSul\n7fIaImZQpFhf6h8AZtprc9+Ig+7JBWklaUXfCt7AyECEQiIdJnPsNDOpRkEm\nbv2W\r\n=OBLP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYsbmK8Aaj4FtS2hx+otm1gDn2JHkMQBcYV50SjHih0wIgA+FIk5wFLcEz29jk242MMYcnYODkeGMOa3phHPQizJU="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.6.2-test.1_1597804439698_0.10149654978819411"},"_hasShrinkwrap":false},"4.6.2-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.6.2-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"fef1f30bcdda10db948fd7d5a980ad03281b84b8","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.6.2-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-1ruYFrO3SAUmMApEONf+0Y60KlaZjvfhHlCJdtHeetCHyLXDI/UkAJYUsXu5z4iyZZIzYdNhlP73dc0QSVtYCQ==","shasum":"a02ae1cbe507cda549f6cb5ec512cd0e062d608a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.6.2-test.2.tgz","fileCount":62,"unpackedSize":305066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPSBPCRA9TVsSAnZWagAAtvwQAJjdQzQ5rMojJLMuWkSi\ny8h6gjxYQA3cFtOge2m4b+dcRLfrc4dXZ5NZjn2E5hLOUhQpjlf1tC7SGXsl\nqlTg7rzUXc52hpSkO4MwFk7TUPqwh8pzcuUKFWr4dL3uB2hw/ZJBbFeRc/37\ndNITScGvX/FFWuESmiDwmdLsp1O4c5sGPjAOlFK1X0cbCHjROkw5Ro7imb7M\nxOfr+2+NqL2ZCKPbsFE+CmmbQVtieg2tBQ4dPC1AY7ccf+Jp9OuRWFikcW0n\nmmsolYSlLgNjyE/74fMtq1AS2zveRBtZFQ3/PKoXAeK1eTEJlf1QZnaXh4wu\nu1neDT3e4FkgKbwG9xyQ+5V0B5SQAGzRlo/+FlPON4tMhIeI032E+B+Rh+Hn\nhFbQ+LuPZJmEwHVK3ncet3Cn73giprinjWFL1rsg8sumnX+Ab8fyzMIwGObV\n/mo9brWMLVo0DGfQ7XUheOqgl52lIvnB5GI2S66iMvvAVTOdLzfRWuW70NZt\nKVBadpR8KTwnlBviPWtVrX0FU8QVXROghry8gLhN7JsKuwDcxjo0U4m9SJcQ\nR4O5GGMgqIZv/OOC+D+H0m7YEr5gpPREQzpFrWvbfB/bsDHYfOyK3ZVrumoS\n1joYD06N0HyGIYKyRFwrWcCPidjf4LDmi3WHA25t7G72LfBqi61i7VpIOIUn\nC6nu\r\n=BboH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmQjUJDRWt0cNeDtmSs7kRiHf7TndCIDvGgBTsGAcxzQIhAPHL96fvskAvB0hfYG3dxbyc9dwEmpUx0bipHG3I7MH9"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.6.2-test.2_1597841487007_0.10050911309611732"},"_hasShrinkwrap":false},"4.6.2-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.6.2-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\",\n        \"apiKey\": \"AIzaS...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"fef1f30bcdda10db948fd7d5a980ad03281b84b8","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.6.2-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-ryfyDst8BRcWxz/L1OdnCn7CsqoDfEF2yJddxnOyeUZBf/J7zlS533UtL6bt0SUQcXMYDR7CO1FAoRcy7QobLA==","shasum":"1d8c00321dfba2a1e3709d9b312a7a37be477a53","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.6.2-test.3.tgz","fileCount":62,"unpackedSize":304864,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPUiQCRA9TVsSAnZWagAAvZkP/AtslnZfxZhtfi6oYuPS\nt2LBEMW7pUXZBMY8BfypWXxgwaaagWnt5jPsja9tE+CovNy2OX6+fh0JZfa1\nUnOHl3yXdxU6A/EfLiwdoie2C8lmHnN5D4QvVrucCPAXsl+c7YoQrHQcPPos\n6l9JeAgPpXmSgqv7ZFRY5Mno8kJ2wb9gcVgy8N6uBVQnrAMHsYO72HRQe1FA\nQAZ8RBTh2Z769+f3RqkJy11wm+VRlIIENsWADvGL/noCF7CoBoOARZXoGs7o\nC+XJ76L7nyYlVhGP+Ngbwel6kD1fZ+ztkrAai8I/Wa4RiIXDIhsqqKUtdqBk\nxz9SfGqEPe3psY9xWGP9m7T7jvKTSHU9q9/RYj03g+9Y8Ow3AIS3en0y5kVV\n/UQ3TuTqgDLrfmoyLEdSuo1oGdF9kbgPOI4wmpC7a3Ubao7a3+uAh17Vx0CE\nbezmwISRSOzEl+tGwy9KKDsTbZ0NxfUqMZ4M2j8QlTcBgXHoaVqOjNlSCXKQ\nI4fIvwmHx+JLuyhv4J3UTgoxdT+7DM60v5DH//aofk86jh0vjy0guEH8z02i\nfklzPQRYarOCK8n+ktZL7Naxdie86eNBOLIk1luitmtTTiEHgvQzoWIIAN69\nsuh2DSjyFd4J0O7YpjtgYPyS612Vh3/fJobi2LHfD71zjByQ+p9h62T3isTc\n7lIv\r\n=hniE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDamoU+oTlFe7RS+KhlAkBCT052QHs1jMszwhcuDiBUTAiBhTzB7InE+8o2NmdB5x/TIxXSM/nTh+2lF2UlFPMD1yg=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.6.2-test.3_1597851791649_0.8386721093725011"},"_hasShrinkwrap":false},"4.7.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.7.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag.\n- If you are unable to open the chromium browser, install it manually and specify its path via the `-p` flag.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"9ddad64c02ef50a6036e5eb20c52b4ed2d831f84","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.7.0-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-YKWvQedzC+GVgBtezIrfGsh0zZKrviyt5KUt3JgDM4P9mdSACg/jZDWhcutMkqSN5M2snHIMq6y8J2oUCCUhfA==","shasum":"8e8ad575d88821abcb0020b4b293ca262824ed8b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.7.0-test.0.tgz","fileCount":62,"unpackedSize":304647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPXSgCRA9TVsSAnZWagAA2mcP/jG1UczMVEpvPoL+NUz5\n3UVrquzmbTU1n3WXiAwbF+N2CelluJssSqNvCC5b44RfqvC7N/zYp3VhWgPn\nE6gJMdMQTNSdwxIPAr0e28FIsB1gX9RSG72pbHK9OJyNSa0y75nNBTbfL3tm\nIpnSlYJGeppsw8BcWyhH2RsFM2o5fAP3HHxSGS0RN6ru013nx6zp70I7t5r0\nd3fBZ3hPa37mBW0spUg4XyKvNB1gL0xEdPlly4hC0zSEnvIbnSeW/QUwqlnW\n9X35Gib/5MhzINt8HVrsXWNl1XnN+qk3NJ+JWS0tTUBQHu5Dwnz4SADzVKnm\nR9ewZNHKgWNeCfHBfZyH6Ht2vbe3X1+M134fa1L8WMT3ik4CZ/bZZUB84plm\n0AmA2Ro8nS7wJKeCjl9eH9bSCsoAfuCicclvoto9FjHctimDUhk82Z4VNI4E\nF+ruEPU0f5GLO1j/4hAacwMVA959qOaX9ZsnHN78HAKZ3o6imnGDqj+ei6tF\n2KAnbYiW0yhEelmHq+tj52pS9+DU39UPmQNgot13LrQYUfE5ZmE6Put/Kswh\n3pi2tsnQfMPIc1y0RY8D498AOR1hg9OsOzuaiOe9grk8fwjx9mBWuqj8h8GW\nLzeT2XfpGO3nzIy0qPMnayqRV4pi7J6OFV2eR1kiP77YzSoLJLHUjM6AEzGA\nER25\r\n=OtuG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG6HrmaVWknwPp5BqBFwaZLF2EVjcPY46YGWMepaB8egIgCSB1s7wxRTi9IxiY0f+kk2NLI5wGqRFRpW4trKU7B2c="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.7.0-test.0_1597863071460_0.7717680610889495"},"_hasShrinkwrap":false},"4.7.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.7.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"9ddad64c02ef50a6036e5eb20c52b4ed2d831f84","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.7.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-T9MxfBQVWTH8VLZfM7m4g68eCI4AEcLCjwXNIYAY8Q9kxcLXBwYje9pmcQtlO34Jx5X2R1p27VO4ToLHPM0iLg==","shasum":"c11cb978e68ac581edbef0ddd75b424bab83bccc","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.7.0.tgz","fileCount":62,"unpackedSize":304640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPXfQCRA9TVsSAnZWagAAvskP/RO6lebIozIn5/fz7ZRA\n2mejmBVE8uIFTgeKAZt2tKEZgQZeGjiTBtRvwBOBOlRgLpySi+oHtoVA9dm/\nXz/PuQnYdu3qqYkNqkzfLBVBN+6xCgAl8KOg8M5NfYopk7P8jyeO2u35HEJQ\nb6k7zPcToG3yMEtLljuw6IbNcMfMHLjom9FTQcaXJSb33e4G6afaPNsXKt06\nS2rJvUVM6QN24t/Q3MOIl90iU6rsOf9qhXNdUNE/VzMAr+G7X1UPFBgIvudA\nfh3ukQzB7CDfmq6I4nu+/+DZ9/fkm+xnaZGPCCfKO0nUq/ON7RDpPMVyQp6A\n7W07ZJ/qZ032FGwSt0MsN5/EbRpA5KHAMH8VN2D9RKZY9jgBRsqSWTff3QKk\nY6VHI0Vrnt5xHIkJqrGS/2RXe+KavsTQPzCVfpD+Th2OZUy5bIfJbMqYwa5b\nyGdDjIXEMnH2ntOSeC5x24BUKWOssA2nZPjJmJo8VkclYyYkSySr6eZUzYXr\n5CF3T2W6oKHbU38HNhgXk4GEW11qm2LF5Yq7NMf1imGbMcGKlvfzt4JRyzll\nXvYZpNtW1aWz6WCWh2ogM15bsnFBtkmrSVBcj3DfTBrx1DB3n0H8o5cV0qKh\nnxH2wVt4Dgk9mAKRbdXUe8BGx4Y51tv334RuPvlJi4Nafr8Z8U14x8WdcL1m\nEav0\r\n=vJ4q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGiyhFMIunwPnjZr1ANEo0L8ujyn6MfqjwyErYC5CFiqAiEAyUfJnv9k/UhHE697mCw1MUeWfwmGT58gyDzhepWHrPg="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.7.0_1597863888118_0.5174966977218907"},"_hasShrinkwrap":false},"4.8.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"4.8.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"systeminformation":"^4.26.10","axios":"^0.19.2","ffmpeg-for-homebridge":"^0.0.7","pbf":"^3.2.1","get-port":"^5.1.1","execa":"^4.0.3","puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer":"^3.0.1","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6","babel-minify":"^0.5.1"},"optionalDependencies":{"puppeteer":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14"},"gitHead":"714164cf3ffce319202b34087c4bdfb8854accc8","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@4.8.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-p8LsVWk9VGUun20IauslMd2NS4ScktaWuwnJjhnCHiQT6ktNrmLqCs4pR9BTSHCCFg6mlzUii9XWzjat0HU0uA==","shasum":"ec8b8e95dd5066db9fa26e70547e164b549babac","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-4.8.0.tgz","fileCount":62,"unpackedSize":306065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPuCOCRA9TVsSAnZWagAAedAP+wSHrK07xgARKdMHYmdK\nZ66gwuwF1+KO8A+GpbSsjmWD5ZAxSfRHxN8HSBRJOJA3yWfafgBPyXopzBxK\nHzUNkg3KwJoKDDRZfMbMOsRBIfgsnUOhkp4Cphdv7kuPdUZxcB/zet5mXNRS\n5x6cv3PMHKMKpVLmy0FAhTV8U1R/xVCPgv+NyA3y6oLvr2T+3VUq5WqFcLjK\nk/el/6TdPUj+jYDSIwHoxcmbgkPYHDt/57lRoetcZG1PQeYbTed1h5Sm0ShZ\nek+2jz6poPztHHlomTyzXlwFnijF5WxBRkMRW3AJHljtiVIdCSInG935n2yS\ncOE/A+J4sPA8qIeV/CB277pLoWdjBzc0hzaUDZvYUkswVyzlDKQQmpHrwpaq\nNQhg1WhLO3YHvetgV1Zm5Ag5aWRVC4AzDczDm5tAfG5AeMS6/p2cWZCXSsah\n6AguYoXlcEMxAcvKRRgkiDL6QANiMZtTYR3a7M8b7EOXsc0TM7mwM9FPe21z\nrLLw8z5ZPWAbngIJWFTj13K/uEsnoPTfznLXvAW5JYOoQ8G1RNLSzxiafCal\nn7UDOtwZQMvBExqtQBX1f8Joe3fCP++bV27dFL3YlE6eaxSAYFVK89K1W48g\nA3WGji0m8coNUrs9nEItneV6YuliQuEWpf3J++GhfFzm/7EpAjeCr5hqS694\nmikD\r\n=SFnH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcgouyUb3fS9XVdDOpRT4AyZbN8yjVh1c/XRw89PqBXAiEAoytcWpZmIULfQ3S7AR8IktV12gEhZu11C4f5GPZmzuc="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_4.8.0_1597956238289_0.691180180981624"},"_hasShrinkwrap":false},"5.0.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.sh"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains three fields, `\"issueToken\"`, `\"cookies\"` and `\"apiKey\"`, and looks like this:\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n1. If the plugin is installed globally, run `homebridge-nest-cam login`, otherwise, *ensure that you are in the plugin's root directory* and run `node dist/login.js`.\n2. Login to your Nest account.\n3. Copy the output to your `config.json`.\n\n**Notes:** \n- If the steps above do not work, refer to the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n- You may need to reauthenticate periodically due to your Google account settings.\n- If your account has 2 factor authentication, use the `-h` flag to start the chromium browser in headful mode.\n- If you are unable to open the chromium browser, you may need to install it manually and try again.\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"e8409ce41ca3a29aa1f417c416f6eacc0090b2c1","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.0-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Vb7o0oyaakntAoobjY/ZHo/skmTjhvj5I9HP4iO2eyK8ZJ0S22WdeeSt4kmqV6lFCzROx2CrRTq+GDJCagrd6A==","shasum":"3ca3c23adf2f5271a3a027bf31081476c789ac16","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.0-test.0.tgz","fileCount":67,"unpackedSize":328926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfP7Q5CRA9TVsSAnZWagAAKPkP/jAmk0AAvOTkNngh4GNT\nSEDayuKiunq/UAVJwGzPE/gwm0DZau6Pw+XpnFBd4qjsHCrR3cOQsMrOpHCO\nMclVhxAgCHL7RiSJk4TAl2YgOBgUZDwm9tdQSvT9jNN+Co0tqdNJVb7Nxlhf\nra7NUTtVA7K0CubsuqoCJBGvUhF9iS+ZCPlOGpJ0bL3Na+OCrq6VpBTG/jeN\ncuqJ7JRSBLHcB9UchWLVHA/fkKDEE+NA9lfQFsmeS4JD11yMrFXuv1QQ8G0N\nVeVJY5wctkHyzEk5sP3Sc4tgFwMuf3OV1KlxrRYuBLM2+DwNjBrX0eW1Wb60\nk8MkyhkOUW4muno3d8yiLUPK8YGXoS5fANks/2m+GxUlD4sj1rRnObTNNxg8\nmuDAghGV0RLIumm+SFxCSplvdQ75POnhT7IbvmHf0AbjtNBJYv7mDDmhFIBX\nYsPjVVLI2EFUjn54ShxF3QQqHq1IfcmHYKQS4ks+Qcpi+IlvbUTONl3/xPy2\nGrix3zSi6z1bW5scooMbIlUPwGh5+2XkvQ2WZhUVYNs6pDpE3Mqk3gTXYStC\naVXuyH223NkevD2Vx3CAHfvZKCNzWwNl5UuV4M9oz0dUC0EoQyeEKsUfRHMP\n9bnj2ldNFMLmUsXlXPwmykSFTdndMfSWbPUbYNqKk2Wg9TrA+qhwfudn/1S6\nu0vX\r\n=KHCy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDieVYHhwNt0rAmlTH7yGnqy6cio5FdhU+gG7NlQ24UbAiEAvAqRjJhjPW2LWtlXFNSP/cRx9ANphwUNr/dKuStFjjQ="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.0-test.0_1598010424389_0.39137343036567107"},"_hasShrinkwrap":false},"5.0.0-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.0-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"76f75a8594950d6a08320170c18f4320acbd97a0","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.0-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-8GXMh3+yq+7KGQHz0hQehtxGH1DO8JGk3c20e54vLTgevhjATvk+4nHPFdcmDdSY+1I/AeZkII24xJPAJS/LWQ==","shasum":"d8dbcd994f044de902f2bd7fded80cac2b80660f","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.0-test.1.tgz","fileCount":67,"unpackedSize":328824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfP9QACRA9TVsSAnZWagAAfC4QAIVO7U0HZzcVAV9aRQcs\njirH94D5V1aEh/p7hwOICJGEePisfcpFCf0vFCMnHmOlcW7jIwEM86O6RBeR\nD0C6Gp2+dkcI1J1kQ+VKj+AWNMGLdZQCEhoC4Xf/WKskKhP0AY6ypBzeU8xj\n4UlFplsAXxOQ/NSRYCXC5BdL4Dlpf5bcjWVQCRpRTfY49Cv4BdUaOeprlkCQ\nAQPvkgH2P0CB8Js1UclBQskHQvNK0x8rwnSTdwWJ0m013vx30yj/waZ88gkw\n0TY8fxa53su5tIfaZDMTGffHI0RyBAZopJd9yi/03jX2JJUwrzVnx92TBjlv\nroMZVR7xFEmXmnvjgGuhgdg2Lhb2R+du33iE7c2+3uLuLtDh6VjhknKSYiAQ\nHDTAHJ9l+2nZYr8AamTa2hx+kp62ScSc1HDQOI1R8iRvLnu0MwLgFVqmCcKL\ngt6/LX2rJrTscL4u1ybSpX8mAFOUDyzuMQ/L7lbxoenR15WqJGXeKVyeM8R/\nUdXxW7m8o7kQwrzCjuaslRE+tE0aoFDPAQXAj2bgZr8VMZFyYXmXf00WM9AA\nTKamb9opKoGY+feb9gj6DhovxfaOxRYAlaBOpi9Ur4aVWU3NSl1XB2wBuOba\naPQNPuMNLzRj0/Vva/NAjB9RaWEHgMSFbfJrEC9APjrUA7w8vfxY9DtFB6Hx\nOpcv\r\n=1QAP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICBXQgSM0gOzkoQ+8PWvqY0oS1i3IJ7JX0N+pc+2ofnmAiEAroGcY1PqEJxYM7brT9aPM51+jdUiG3bu7Xl6I84WXEE="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.0-test.1_1598018559702_0.13415649125625184"},"_hasShrinkwrap":false},"5.0.0-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.0-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.19.2","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equiped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d507552ba7b3de1b6c4ce21abf1d14594fd48ef1","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.0-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-rP44Q0YNRDVieEQ/btIp0lNWtKXmySeRm1T1IRAHU6ItB82YO4ZeN+4MI3+RTYLmCjhntIvDDLTaJUQHjTKplQ==","shasum":"5d7cbc624048c464c146b927a0f4572ef6bba266","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.0-test.2.tgz","fileCount":73,"unpackedSize":332913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQDHUCRA9TVsSAnZWagAA8YsP/3CUASEqUPUWreN1Dbyj\nRgVhof7ypfYIf+Z6Qm7gXlkV0bUo53Jehxq1vv3UGSi4zrnc8jWcJN7f3b6w\nTb982P+rwzt4jrlF0OKLvEDuQmrsdSPT2GXCoBEzNCYAWqb49IzVPi5gwU5x\nKKUEO8Z6mrZifQxLjS3TPyZ6+RW+NWPei7CEVfUmxqNmiBHFMp0ttQ34lJX1\nuN1CD2iVHBdi+b4tSWvSTvBEp62mCjjqHndRNrhikvS6KXDtXvDOadYlQvoU\nzh4aoSBr6P9e6jued/61qX/qMYgb5bv7ZezwkH+lVV1p+XDsXY1xA7BSAIhS\nSdu4Qo/VPJvWG9aRi8JWS+CcqUvlOO/LQpePjYaIH07Jrq/+xzDiwmy3R1p4\nfa9SS7ZHcOuRgb29tlsZL/ANff8EiQt07CzTBlm+e31JNVL/MdUGjHrMPcqP\ncOY2wkzNqQFDtErN+nKBjBUOXBMYEUCpAIVUDMMz6HM4VVfbhVSqEUl9E/2Y\nqaZ/NBctaGMBKN+mWp2PoGx1wY/6PeQXuYWftkPMFiYCygVnpytUul9aIOvO\nMWY4INkemEOnH6ZtfU6VxLYyq8VZH0kK1OuEsYUrW7tQJD3QtKXTwnxxZ4hi\nOirbyTkQ82ayeS+bE/FBWmjLG4aDO7+VUCuhkwG3B/lc1fdzGaGySJsHW1tu\n3Zxu\r\n=lxeB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFqcWdN5OHdnF/raQEkS1ccg+mfiKYGSpZY+XfKzDN8fAiEA4nFVAyys2hn9HORnGbSo1sYVuIMfZ2xevzmL8plwMOo="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.0-test.2_1598042579570_0.4545838347664619"},"_hasShrinkwrap":false},"5.0.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"gitHead":"4f29fe70bdd65291170771e22db2824ab98ed79a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-XHMagCXaX/IjzD9izxG7NJPPFX3vxuFR+aKozui7Pul6YnRIwkSC8qlCW5EetE8d/Yufqnz38UVTF18hsS0KpQ==","shasum":"583a34a6e1c36329f1d8158d0b3e567012aa4f37","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.0.tgz","fileCount":73,"unpackedSize":335451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQ+MSCRA9TVsSAnZWagAAHqYQAKUd3dniFfMJwRjI1s99\nSwNkPSs2HAvtxekaJ3UKzrMOgO+s4UieKg+3BFzQ3yyOTNQO7V4DnuAmErPr\nbmnj1W6v/pGWTkXfTnp1klvAM70zPKAKIeMWL+cFMyMpYqCvczi0gxUWU5WA\nZVa6jt/dPEI0E7AKJu+7lrPaU6cJp02mp6BVqOzIMsZNZb515ORwl3TLgnsN\nKWB5SeEI1B1Ol7W3liaSRf6Si6i/YOqkBkYGXkOAi3hyymROKtzHFfCqFHBS\nEr6Qaskcse4A9wu+bYE0PJmlpiPFjzI+meBrfWVk2YPFNgRLrDkfUGe2Vl73\n5C7GvbSeRbnSEkv8CsneE+qjDd9eDFifNltv0HLI+z4A+RGcV+ErJLwr8lGh\ncutXXj0heTG3Gp6pzQlSUSCFbbz84c2DvB4rEUPV6mCyq8sU38Tymya1tvRN\nrecsZm7ZMxy/LE4cTfwj1QJpOglO43/rAycyE7mdn/MT14tFTr4901bOqL2h\n02fZ6njpTOT3Obxe9okNoFGjLWhZ1vMtwaSUCeZciwwupxdot0/qqSLq1NZi\nCu+ssf2ah4EccYO8RCnGNPzfl9RhNFjK91zettltxI5uktMpDO5Msg9PNw0u\nrNuqRT92N7RXQcbmTi3crj5j3VVveXl52pVm+ZOkGAu6ztXtkb7kcavd/8gm\nuXwX\r\n=FCAu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDvClSEDHDawDcjMwFShNOHIUGKk2BjbBYo2n5vOrlFAiEAg6G3gR0kf6At1UCowYQv3+9P3YKhtbyajbycHD6yWMw="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.0_1598284562120_0.2895824201413255"},"_hasShrinkwrap":false},"5.0.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"2b7da50e5f126e2b745bfbfb85cfc1c85c41b0a0","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.1-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-b3GbQQ37hmdftVUX5g/vgV6xQi8cOttwWAU2oHgnn/CW1EWBXsnxmZ4F1G1pQUvhmxHRBaGSYhcpVYiYcb4dww==","shasum":"3438b096c1b423ea0771a4d8e0d097f7f6534b34","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.1-test.0.tgz","fileCount":73,"unpackedSize":335357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRV2eCRA9TVsSAnZWagAA0wwP/1i1A6oLT7dXtGaFOJ7X\n2nnfA+iqNVWyU9egr1UXRh5c9k/yR84gYhGgrNF2XPnGg0798cerke9EKCPI\nFvYwq2/4F37a7RYD/PFZzIJ9h5R85oggRCPpUCNslhFQrQsXvt43Wa9BiuMx\naPU2KYf1292Tua/uPtbKTLekW2Ids6dmjs+OHQHwDXbuVqW4gzdC8dm5+u7d\nppMD/+fydJSHmYjvciEHVFZo5uVyeSJjkkFSXWBngsXLGxPjNYdS1VDKQLfF\nMYBq2MMIcGrnUM3jIgRn3RC+Qn2xRyIm+EdMw+spWGcVk2mDNQukuSbR/mYx\nfgARW2VXi/mPHwXUPuxtTRis0hz2ualvVoTR84AMuxNwMZJHeJDq2iIQNQtn\nPNlh+gTicUFfKwjFeRRT7Nb5QWGtuQIpEgJatoy4gQICxqhi/Nhr4CI8A2m0\nRsRHiZFIRUkARTpevzu7k1Nj/h3a73PLTRFekE8N+KtqgRDthIfDkt7rIXjs\nEGRI5/qlE7cUA30nhC4UjBYaelXWqcwQIaiJ4/cmKYN07QmqPpuTwCFyem5d\nrZWRdFuYn/VGvpv1fB6PIDK0IcjgMB+4max00GnbQ3dUBRWC+U0gBgPxBSYF\nmrbihjMnJbhpYy32Jf5byVehnPiui7JaT3B4/3OgdyS8LWrO+UAX3ADttbSN\nooi9\r\n=kYvY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFMw4v5F3BVHVtkmnw8X+4zigMeKUS+YR9THY9GfuXBFAiEA5E7XIQsP7XvEckDub2hLXbK88nKVZofc+NYF+wYZKv0="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.1-test.0_1598381470262_0.7723849929542186"},"_hasShrinkwrap":false},"5.0.1-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.1-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"5af9b6699a420f54a78ff45fc153617342ebc4cc","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.1-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-GnKVM5uSskwiWW+P6ySsA33pVxEwT/VIyNh6uohvdPIyMMa0EfjlSCwCcsGSVEkgKlBeIgyGagczMxHiL3P4Yg==","shasum":"12b30e3b43ceb0a34be2d539a691c4fd87861ba2","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.1-test.1.tgz","fileCount":73,"unpackedSize":338066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRmeECRA9TVsSAnZWagAAx9sP/jo4ilZ3i1ESJ3gjPm7a\nROTMi6Vu9FCwVnxHXJsAPXHnHATAItq14d/VlgXFTXA1m2ffZUg4HA4Rr9vT\nc3iN4PtYNdWG7aPmIJXhBnrdUmvT1+WfqDBGoTZj2zRWFotXx4hDOTXA5X8o\nGPkNrACc50M3XIjbJTIk7LTAywyJnfDrmwwYwSLtBDIClj9P13n7uWaTw8tI\nkxtQkTBSpjOyUi7d33BKD4V5Xd6O7OclYirDjK2FAn5GBxBWN6zAhYjGAcm3\nKCGYaucamWhjzjaAAi1LLPUj7k9vJA0yVgJE8jypAvuLxV0C50+x3ESfBtrw\niOS8qX3+yZh3b8to5A8mOcYAFv+22knpNRpRludC4YHQLsFU1Qbtu/h/z178\njuuFhTDLhKPpwLMNAN4omkDt0Ue4v8V2X2lczl38imlfnUiaETOVKtjmTMHA\ne8Kf0f666kh+uSVHtinZR8FCRQ6bRq3ZYs8NJupK0VePw2QELHxMHpN5EPrf\n+b1PLh5XdP5NVmh9mW7wURHC+YhDxBnnb9KvJGF9FZC8m+C9qsaHlMUWXci/\ngQfbDyDvVTJRlD6pwMXjaqokFKM4atL5D1xMYsCdeEAfyDEr/QHzWd0KtzZv\n3kZ7XY8OLz+T3vaqWmkuhvlyC4Aqzc/s8g5xLEj731LCIz8dyny7bMfUnSYS\nCcU9\r\n=jx+h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDV1AD3zAjHSB/EKGssJcBcCRJ7DC0ZYsG/xNZryHyWgIhAP7EpzVS0fE32jtzK+8QueXd3bYPQ+Yg/igSeiAshknM"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.1-test.1_1598449539703_0.8447079732661651"},"_hasShrinkwrap":false},"5.0.1-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.1-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"5af9b6699a420f54a78ff45fc153617342ebc4cc","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.1-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-x8GL6T0R91IAu49N9jUT0WvrkWWsdv/6LI9uh/tO4oqtGT4tQ4kzeQR5GdMso+jZPzYX3mAEfRKAQ4Cwy/VMWg==","shasum":"213b0036c4ff8085e9ecf8eddfaa13b62ad32c5d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.1-test.2.tgz","fileCount":73,"unpackedSize":338309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRnYTCRA9TVsSAnZWagAAZrQP/2EnWBRuValD/1LfEPRY\nPG2KhoeCQEEhCIn6aWAG/2h5dDY/OSSlVVtxhmNeGlVfRQJVoBic/m1R1go3\nTAn3D74AvM7CUWKDBHUiR6wwofItQucE4OfX2wpGOkuOKHnvrVB+gmKqpWRF\nn48K+CvXfA+riqxfHIq4j/ULjFjZV2y01QY3K7QQ7KRQRYzgtlwrkn0niUGN\n8/o2nAy8fM7wwwN9M4zbXKGRwJ46Uq/iEGaIPUiMcIDVB/9jtgrmKHYml1MP\nZzp1K0owNxEflxUW4+Bpa6BaVlUKavBbsK+N4hNCplNIPWHNJ4nORw8LykBS\nTUTL6qAhyx8RjBl9IYESoZMJu/QbuZG1VEhiC/PyEGHxnQEJvxhNOWhANwEr\nytMCyLrNWkbXdwttwkJehROEXufWx20fnsXqDNP4k7nb/AVPmJvpcRDRbDk8\nws8dXwnAP+OILjCEjAexHmniLQx+kzCfU+JgN1LMEe2ERBiS/qBM4rwKhokj\nUUubpLl8ei7NtTzT3uPEy5C2i623phMj5iozJEjq1tgqf0EHiGwlREAfTyqK\n+UIeRxjN11oLoH6xx7PSKWNFt3pjn9SdE9pJgAwcddPnSN/XniDsPLmY3POQ\n0wm/lXoaklG5y2jff6JNttkMsoyrSEbEghljGdEhwoKf6tTO1gbCcsATh+Qa\nG6nn\r\n=isj5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/mmWmEW/Tmc4RkkyoTcYmR25FFNr/A2XZBDr3dMVoiAiBmY1P9hwcBb1Z7iCZzJEcKbWayaYy8VQvVa6MVS3fJlQ=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.1-test.2_1598453267241_0.9656866105877246"},"_hasShrinkwrap":false},"5.0.1-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.1-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"5af9b6699a420f54a78ff45fc153617342ebc4cc","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.1-test.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-i3cnU+Mr9uOq0O0CYGJ4yHH20IBpmREzvU3eNQ0BkW5vKNLN8OBXac8uNhWndzhG+dDNxy9MWjVNd2VSJmRh0g==","shasum":"1b4ace8c36e543ec0688ddb11f5204f2ed897db4","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.1-test.3.tgz","fileCount":73,"unpackedSize":338472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRngaCRA9TVsSAnZWagAAVrwP/ijuqr9lrrzY/8y7jmei\n7NB3pc9QuU1lenISwtMbjLYpDWrBsTUiK3WtAyk58ru+K/+YttZIJ59tL5Ij\nEEajdaGUt0ErZYOKYA0YJDHvOYfBJKiik0smhI/EEMQfbLJuFmKeCdDcdxUr\nP2yjEDzfyMFq2+fx/TU+KN31crvEkrptVWUA3Bg8Aa/T2yBn5m1/LVtuJVPW\nC7nGfAeQNPnAKV+MRoyaun1WbNP14hjoVWqkeEaTuqMu1Smq0PAP8BSQD5HS\nyi5WL96/HIJbqGAFfSkN/bXKXztnpOmAIyvJfcrE02ezrTkDD3StmeesOEN2\nue0zkfhRYYlFLWe6Hv+TSdiPyOYMOS2OYMPBevif/9eU9bVXkmU1BEO0e91l\nnmh/ps1Su3YR5iwd/crsM4kovRuxH1nnckHymbYCwqG6HPXwYO0tKygCP7QI\nyEI5PeJqw3p2Tuvuzh89xao9/WTDRALN49gntjgbtzPNz0KlHvxHg4uHmyfT\nZmtCYcvl8XBPE+B6Tbx4yToJsrivQaxIGkb2c6QO9ZWC/Lsve/wvzqLbPYeb\nCNM8Sm2hhQOdJx/WBa3/HqUSXmfjQF7p3RGxixGOx/cUdEstB5JG4VCaIJFC\nPdz1VmH2Xt5qhUXdtc6KE4GRxBW7l/vV5uA5+7gj4z3P9ME0XrBbXYk+XIy3\no4UC\r\n=5ir8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfXHvicEPuQ2mFYoGM/M7D9CfV1eg/qHsdtLfwrhe4AAiEA/bImI7t26J4kJGOZzs12Vhe1P0CbdIPFHE5sUhyZe+w="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.1-test.3_1598453785910_0.8861348738985186"},"_hasShrinkwrap":false},"5.0.1-test.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.1-test.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"5af9b6699a420f54a78ff45fc153617342ebc4cc","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.1-test.4","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-SL96nTPySSlcFl6uZ7LAhODKl98NhsWh+3Fp7TeASLgmMewqpfoKspUNJnrePNAECnXIEVc97/GfhDzMGlm+Pg==","shasum":"7001b8f8cb450eb420fc7fce6ba7a79db153168a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.1-test.4.tgz","fileCount":73,"unpackedSize":338747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRnyaCRA9TVsSAnZWagAApXcP/iFP2C8P2NaPp6q2zB0r\nDCiwOS5R7VgcUkEl10SXF3Kz6sBzlWRLhmZM6oPcODVe+dLThkUCSOw3o29k\nIh64+XYLutMpsQ6xMO9VI0MzO1jH91yX0MYs61mXm+2k5JQgrSiCdfih9DoT\n8Kyh/GqVxujFV9dac9lBy8PRhpwTJm/dmBtNfTnQ269SgXvJGGRPMGu7iPgF\nWmicHdKfJeFHEFOtpUrmEbtAj+2FOt5dDMi6VezTFmYIYTUtoqIUekBG6w3H\n2YbWEj0OwMD3T03N/Q6FGQ5XAn3IRsRcC3pgaqiz2h9pQGVh7FkMeZRR0uHB\nC3kkzsz5T6hWETHCW8qV7Lt/asMxSiNDaFWJkfbetDmdi3S6U+qCKbSR4Xca\nrAsET/peuBImm6e3vDclhWgGguRYz4+jHpJ+cVmiIyV3z1saKFEKpM6gnG65\nf9z9LS11cjSC6gkXl/xPMlxL+S7/rY/chU3VXhv9hU1CJnlsbbWtGiWwVM0p\n63rYi754Zq+P34TQ/An9t1GBqVWV32sM/3QoqtFWvFz0iBstGUE1kJSSmIgU\ndSyX1aCUjjCujv+Hq/f3RtyEDGb/JNQveDSZMywk/+cXeuPtmz9Wlj++G+eq\nHkMpZH78c/j8yvIE7MxXveF4ZXjnbXtocD4KOz2NMGzKWznETFaeD6NUSXWp\n6zvI\r\n=p30X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHxLxkqfxunNCCngB63O9O37meIQ430AOuci+B9MmSdAiEAqzWav7YmXOhlJuR8yzszQKPWNNlHoY4nkEaoutKqI0E="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.1-test.4_1598454938449_0.9613904161531741"},"_hasShrinkwrap":false},"5.0.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"gitHead":"986e6558307a9d394b7deb0160f25b47cbfb92f2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-RWUR637lPeP03aZLOz/wsq2Z+Nd2FPqBQ7pEbUJmbx93IEeMEfY/gtsrulrtGVC1ttaUSgKTx1eu7kqGDTJ2mA==","shasum":"91636823222f2bc511ccd76b85738a136d745371","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.1.tgz","fileCount":73,"unpackedSize":338673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRp69CRA9TVsSAnZWagAARDEP/2KrYx/+SfkYd2LvSg5K\n1gSTRWKfo1/08ZOPgsRFg1+DHAfbQufTqWnJnZ0YLtLqYcbcpMMrsE23gL9h\nm85Ibu2uInfBHAxGzlgJU5UH4RL2koOGKAqTevQnxQQOWTq2lAGfp2qTjuYa\nkcQf25OVjmsykaqd0hPPrb8jX1pK992j8PeYCO/DnQB/PE3sTBoddzgnOqf6\nMKw3ZS2LUnGXJ7iB4SUHUgvpsrSQK7CryfC6OofGMgisIhDpJtn6qxfA2z1x\n7x1fr8gCA2DmwPwVAYmw7MDncagLILPBBY/4dTo1hvJTYBYAimjSWcPcFIsL\nsVVVjGQ4pMfqZ8L+SSpkwSRkBPHd9/zJaUjUjkp8+IeY5Fi17W/LzW1WBhqB\n40ckP2fJSZkRyUkqcG5rOFy+/K471MBsnf9ecw3HmH1WMA3tyWEpdNvj3rlw\n3KHkaKNkXC+a+bzW+j8pq2x3qC9xcbYiIBT1MYuZdqLlhmjjZyCbfCv3vjDn\nziPKM2zYCLqBYGTqVPs2VGaGYAxvMcCKq2b0j+6JBLxLnsBAJNZ7mJb141or\ndKf/v4Guvg2WDannIz5gy6UVEODBxVoXObKn94N6EMGf06Q1JxYuTVMzit8E\nmw4d9ZDCdbfoHM3qXVF6+Me7dzaosZVsmt3KLucXsvwct0paOhrCjuBjv3e2\nvv2w\r\n=HWs+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDS3ENp6zWnzSTjH+B44ipFIQdHZrMWFgCbYxD8S+7hsAIgeAurl3muX1GvEAMpG28BbW+tJShHWCf9Z+056FRQ1lU="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.1_1598463677249_0.9546843475674729"},"_hasShrinkwrap":false},"5.0.2-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.2-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"986e6558307a9d394b7deb0160f25b47cbfb92f2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.2-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-2/Jk7aw33BdeJMECE6Jml9ulE4GgiMyQZuuWssvuH5/Yyuw9xnImCh46H1J7DcYKq8pSwNuGstgsDT9X1APsRQ==","shasum":"cceb00bcf5eb570d843ea1beb6405ec05d0444a5","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.2-test.0.tgz","fileCount":73,"unpackedSize":338723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRthQCRA9TVsSAnZWagAA8e4P/jiBJSfhScwpusrAQa/D\nCf2WECkK2UQkF+PvNHlxzSTXhovjV6NIm9JCEZ96z7uSIb8noHjszKHidWNf\n4oSN8lb2WazWcs12ed0IZo/riPVdOOM6ljlGm1FU3lbA5ZipRhiIACDtVujR\n8c49m3v5A/ZtgTpBgoncw5Fzqm2XH7t00+duZyjCUwfdyDl6UjCZLJ4HBaGK\nm2IqAIMmJ5HZGjWuiFGRB5lJmKI+OB40pxLf0v62H3M4Wjtu8lZYNwyLCWMx\n4AC/LPUBwwT7AiPnPzxLKFcqmi+V51sUGrTi0nZUGXek3zOiJCLcL+BKA6IP\nA5FeLkDyYkXPU9AunjZ6A6dvPcPueitGkuMQf7hpk2H59sajXzGa3GUyf289\n8xZQrEzwUaL07mUC2esZFBnKN7zQI4PPn22pBGmfRm1UrA/xiVKuRGQFR20+\nlWuyQ49uLovFUi/42KIEs8yMqZvTOxNrKCdEqZhLvQPZcPXgYiQ5hSqogciN\nBS5uq4C8eawM/UIFzxuITpEegEvKYf19/FNAYLDx4K3yH+0tO0xhixC+9rq/\nkO050GnRYtPlcKQ3iATqDTxNMFvoMmjT7C3sLspS15zEBRL2MXucrdz32wyc\nhtoCyUQtegycVmuCOYGhW6TjDkSUKn1uFmVqLnziY0Mum0hEdqZYo9Ye67Do\n4uGS\r\n=gEiT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG71N0PgmUMTmTtRRTb+ujJjnJAoVdYYCsw/uXMkJ9a3AiEAuGWh7YtFC+9orzdz6dqFhQH23g/+qax1o4lyN+3pOOo="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.2-test.0_1598478415922_0.8754978561659585"},"_hasShrinkwrap":false},"5.0.2-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.2-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"986e6558307a9d394b7deb0160f25b47cbfb92f2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.2-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-phQk2vLDmmX+pCvMiUYdAie8EJDcSkQcEAyg03+OdzQJbxL0w+OxfHUQEH0y/Wm/6DOXXHtf8gWDFTr8cbZBbA==","shasum":"d11f6a3c46f8e7e1c5073a54f6dd56f90b64df1a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.2-test.1.tgz","fileCount":73,"unpackedSize":340486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRuysCRA9TVsSAnZWagAAMuEP/RcP6/Q5ZCeV/0PT0Jnu\nYyXL0GaXq0CaP59/vq19c6Zsez3Ee+NSRMy3Fc3gjwYML0XGCgaUtuSTsO/p\nMLg7LpC+OcECA5giafxsLk7f5W2XlCUXIDhOXe+uUSlEcLNdZQYFXBn7pmym\n+FtOBTGjLuKmNDnDgt2Zx3mqhfB0lUbpMKvD+zQ2IS6gQ8fia8sNV/VTLqBy\nMeqw6KIHGQSYPvTWsaha8itj3WBf5C5SCEifBp0PHMmcYGWwNqaUOO8aTBuc\n0/RzuyAVMHYJOa3gFQo0LswUL8UorePxLaWSMu3seN80GK+jSvP7NSWkjnp/\nOWHiVDYEOA1sbzI0AuQkV/UIqSHl8VWSrWRRna8CmmvmgZpgORfC7FNRiRwz\n32xhYjqIxbIklNGZ883/NkAg1HE93QMxg5NqDydwF4l3/ZIKKlrmy5WfGBc7\ndoPEhahUjmT78LsP3BtMAc1B8nBwJgDpsts91jyC1aXqkPB6cztypP3yosOk\nb+3lRlw9PnxL2m+1AXIgCA9av6S6FpgFN4RkkC6IyTG/QtypgE0hCVt7yLfj\nsObZczsJZiMbZ5TohC90RPD69J8Hfl8OHFuunbmjuxYiUX+642Y9eOSbmyAN\n0M8Eu139Ni5XxAm+Jj+/Xh1Qc7865lKHm47jbeIrmFm8IBUss2KE2ialZlUO\nwwrq\r\n=vPvh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEMIUvv2ZUpXQnXC3/2pbtVlCJMyz9erFbjxTX4G+LNiAiEAgxr3A/v4nXKwaK1KgFr/RCQH6JWMhC2NGDxRX+1Ujts="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.2-test.1_1598483628205_0.7585273800321031"},"_hasShrinkwrap":false},"5.0.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^3.9.6"},"gitHead":"79287dc8fc2fdb8b86e4e46025c382ebda421caa","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-K7DrlUWdvEe6hzx6DINemBaUfeY7GbkZ80Ar7SX0uD1Sw/BMC6LPfH2NFxhfOGT/Sxq31KkDO4FbqnMCZlXtOw==","shasum":"09b4129e3b2d4a57014d93ceecd420ded575023c","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.2.tgz","fileCount":73,"unpackedSize":340479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRvc4CRA9TVsSAnZWagAAEqgP/iW5iJ7cP69ZuSclSV1u\nKOjGrcxQt6huaNPayc7QJF/cz5KXGzYDvJdZLe9kdaDFXffNGnoKIHmENhsB\nOSv0ezJ/0Ip+Sgac5JjbvSBvi0AOUg1EUhEpybA4uPC+xXA/50DxUPfLqzDg\no70g3BEwP4Qtw+DIiTX0HKFDuCooMDFlZgReG4hy9lRN9zJQXYlldQ77HEM/\nnAIQEVlqOyrjRxMBXl17nssUhPOl6V7bl6KZ7psdOCRrU4FdU4AGXsdBdz6J\nTCl/GgTXDDh0j0rmeKUmzp54vKjrFVU+I9lHztKMfv91CmwlqAnmln6ORXIp\n1F0JAR0X6nkX0ADdcHlGvBvkknIV1SEqL8CQc5h9uOlsg+wTI5ilNlMBHd2e\noPBz3QItUNRbK8IBptUDsNzy50kMN5gx3DnrrQectgRKaop5nuT/CtXn7WDH\nVNAeh/u4qv0gn3n4v4Irr25vkUC+GSLnQ6uaBVObRUNmLEjLi4Z7Vm/nJbu/\nNucS5HBTTQRzdXHbTARC2nXIfb3Ig4x8y8L07xpEvFCnSK8htCLDeJ9rhzVU\nRXEglIxy2ykqUmn3sfwhU1LU4dM47nGsuZSD9UJZB9QCDfA7qYcmSDyzydC8\n2o45IRyzf43hfxIuC+wdbRhHqxpLNDor8hhVnsYHlSAJrAP3u9mIdTwlKqUV\nNztw\r\n=Qj46\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzIxQwY6d3dGjbMUIlS8AvS5YtRP29l+7scDomefD2BgIhAK525tzOjVWBo3XBv+hsWNrTWhhI7FvUC8Fky6knmLwN"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.2_1598486328114_0.055048408558836304"},"_hasShrinkwrap":false},"5.0.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.0.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^4.0.2"},"gitHead":"176342acc7b2ea995ec524f8896ec3b8f452c0ac","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.0.3","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Bs5+AhD+hz5WLHSkCgGJG8Wo519UrdObAyKengjgExT3sSCKK1xOhuuV0przJMbL5lYHdllFhmDMCdABrBmUgQ==","shasum":"f504e593f713ece6c4234cd68420fd458d109218","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.0.3.tgz","fileCount":75,"unpackedSize":340207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTYFDCRA9TVsSAnZWagAAx+4P/3j4CWTTe+ytpAI5yPCG\nhoTEK91bG4sL653LjmKEg9thQOiJvm0c2G9UMkpKmVs+8YYet29EHBDbzCRl\nH3EYI2+PYe4yNfy3IHM87qYaGDDaWDw+DjjIq+hoD8FYgqjVxwIhNXPigN/l\nnXxvfkFlXZXtHjVW8zjB3rY1bjyA9PZmgXyc28ykYdzTT26R4viNXnqCP2W2\nr1hBkcNkKpJ+MJZGTWZmts/Mw7PxUdj0qhc6V7q+pA/1z+g+nM5TzCCSwS5i\nM5/n6U94Q9pcZcFYUxW0zgSosZhersuNwn4KrQq3+CHPZlFj5okzWExU72P2\nvp6B1G0Kr2r5oHchApjdoSRYsEfS7nxup+GnIX9q2qTQnGCo9bjIHCpNHWFI\nHVhI+Z6Cws4D90Hz0JmTMV3V+ZlkLIoSlW+HgupkbHaPdIc64CtZEwvpPdGv\nchoP4yhhe0VPvsOfxhpxo8CT1Z7YgW2hiNVceSOl73xU9K/Rb4eqwWLkLvn6\nD6IAVYsGrNEPdU+Dg3KeITNHilQoT5HOfbAm1FGf2wb/dhhlmOhFYmq0uBMf\ndTddNHIeFe5/dGFZqTK1AvaasoMmRKNKgdE/59pQniNINYgeJYmLI+tD+HvI\n5rUHbI71XG+FWQcP7ZEMKhy21I7I4qTNo2V1wqc/ipVxAaob6ST0iJjF5nGb\nP2+x\r\n=85dw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAd15uZVfGc1LnPWs9UJFkO4MgUV/eW1ZgRiYlU01kxKAiBOoiShfhhqvrldBLQD6HMAt6vTnzrPKzVeMrtRobebKw=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.0.3_1598914882603_0.533350654176248"},"_hasShrinkwrap":false},"5.1.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.1.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.7","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.12","puppeteer-extra-plugin-stealth":"^2.4.14","systeminformation":"^4.26.10"},"devDependencies":{"@types/jest":"^26.0.4","@types/node":"^14.0.22","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.0","@typescript-eslint/parser":"^3.6.0","babel-minify":"^0.5.1","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.18.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.1","jest":"^26.0.1","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.2","typescript":"^4.0.2"},"gitHead":"aa45b6014881ce8cc5ca3659fb8621e627787ba8","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.1.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-RQB1oV03DkTbUf2Qe6E82OrkOSDG1g1WPr1pJKDr0e8cKIJGrG3Z3LDxqNnBGtW89+xbqcNMPVdCrEQKU8JhpA==","shasum":"ca6c406dad49a98ac2c88fd300efd7dd5eb2a755","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.1.0.tgz","fileCount":75,"unpackedSize":350705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfT5xWCRA9TVsSAnZWagAAxdoP+gPPty1PjXxkR4BdhJ4P\nOpYbaEXmaSd8xOZUs4AJTO63on1tskx3mZqwstg3SQf6pFGdm45RwbQH6kpU\neJwfHhikWfdZ/S0Jm7evCETVVtlsoL30lAexpZ0qzRpD0+Zkdxrq0yUVk9zX\nAuAgRl9jcmgDDF1395DVwvaroeIHrFad1tpFRoxfvi/HHrloZsrOUZMpnJad\nMdPvgYOVNGRL73a0ObGEMvT9iasAOldpgJKWjgUzd+2CGzXGm29wSl9NMdnv\n3cyYculQ8Gs4AL07VCKRBR4eSZp7AG6SjtySwf0OfQJ4KrTe1F9MsRqP1qvl\nMZGm8iV4uLVraTXI8ZHuWvRacgMBPs1IcogOciDLUit8ZvVz49dbg+JJYajI\nj1HxslCl7i+3lUtNR4jx4EFyruphBckr0YaY9TtJ31DeA7qIghSRnzVOEUh8\n3+lCeXcq8NKXti73kHUxmvmt3mI2p91+/8KoWM6H8biI+u692t6I8HbGosgz\ndOObdpbxprut1D0aXiGEgPZtCXErY8hA4vaw/pvskmSioaDCPwGYn/nrqAoo\nUmBkNnUShDyDR4uXt1impKUiXufVA9VAMGmzmN2sdnB8tyzWKRi20pU09nm0\nGjoinD2NvAPES/lsmE+w0cYS+3K0P9McXOlPv9ur0atA3VQkQE0JmwFtXJ2U\nqzEO\r\n=vBzX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9NG9n6IEMp8mhewZPh8xg6VIfTDn2oWr8OUGGvGFG/AIgPWDwY1t5QHVUpvw6TZmpZiA0Qkpu5BN6SW0iO5oQLH0="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.1.0_1599052885892_0.08619048031123144"},"_hasShrinkwrap":false},"5.2.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"gitHead":"66ca19f2590845560dfe2f0bdbac9335002439bb","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-qMOUpfLZV83NZn6FDVa66uv3wVodI1SPrqjgdS4x155amNpC1Q92Vi623LhsY7FNa1Y3EE+YZZwTgpSZ0lqa4Q==","shasum":"1b21f75d066f2c15c14fddc13ea7959e6e8ca386","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.0.tgz","fileCount":75,"unpackedSize":350891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUn6rCRA9TVsSAnZWagAAszIQAIe50vGT8y5kyrW2KhbW\nv2AbZbxLUQA9FQGoS5lG16EF0j5S/JozE6/SQJHrBmhiCEEvJKGNDFkxO1h6\nCDYug4XphyhfQZngbpMb3iLn3h8TpL6OTg3SxGb7o35aUaD/ZpcZ7zqcgVqy\nfATgxmT6dXOTIouho+0T4xlw4wSkpe56qa4zhacO4/GXsv59Dm1O3xtGaN2O\nO9i5iIoB3iciRp08/93MUOkfI8B4fyZ3WGnTA3p9eZQoz0AGKmGlfbQhXE7Q\ncG1aIZCp9cUQsbw1bBccPGbeYf8bARvPVyX2u/uG7qK7QcyObTgDs6VU4vqb\nAjHnemIy0LeZQmWLM+nJTXIBrl6K5lnosXJPkrLlV0+y3LKDx3Q+6kSfCaTT\npR4ZAnTpV3VG0oGhQUsvjHHruUQlhl6WmXMEMmI5KUbhErTXl/alfzC+FkwA\nAuk2wIyuJo2joIxG5v06usfLC/O3eE0USlZetqPHfYHIx6ZrTXxAutKifaLx\nXZTWUXavnS7P+/e3qjVaRuksI1S+75ESz9yUWEUMKeruxvRsXc0UnnDx9RHG\nhhMqw619o1an0Dom5Cdk3gB+4v24S38tk7s8zCAghClK3gk6Qa5zipi3RzpO\nW3aHiIY5lWo3bBbdUcyMpTBNKUbZzX4fhP/kcVKr0fcLymLaxsfYv0EWMcUg\n7OwK\r\n=8v15\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHIDQttTsR7KCKXsDyXGcw0azEKofT713xJiMH38QXXUAiBGD3IeBqlXXMrym3mVq/xf3zcksU42YY8EQ6MqBsHAcg=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.0_1599241898648_0.43939885441517257"},"_hasShrinkwrap":false},"5.2.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"gitHead":"96c4cc0e97f72d421bda5e8728ecb51a1c95eae2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-55+GzGnVJ02INQHuIemK7wbz5a/niPGUMqT9QZ6Yvf9R9tLrSMZrIYTk9C4+P69UTNSt+K3tYTZwz7RX7mOn+A==","shasum":"921bff593be8bbf37cd71c407266ca72f5086699","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.1.tgz","fileCount":75,"unpackedSize":352744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWOReCRA9TVsSAnZWagAAb1MP/jbzWpaFNNKeir67/RFN\nkpCAQSO4MtVmmh5Mrfs3Nl6/TlVL2UWHuWf0DLOshC2a1Z21mNqXrQcCt6/i\nPcdYqJMpzlIhXYEOe3xTbO3L2XfRr4Z1vaP4hx6uQ+TMDXkTDuMXoVB19Gry\nDkZX7zLyhK1pfOYNd7zf6tWSEiPhKi5iadIGVgSMclVRKIGQmhBhoVT5ogN/\nYJTtttvPGVrE4Gb5ERl3fUCACU5Dle8cmZIyHgiX2o1HsBHtIBV4oZ6Sutww\nw+8AS1dGOx+hb5v1ytdbiuRlEubkSrBR0pR/YpadvH3v5FS6VEtp1sCqVkxg\n9oKIG8KlxJ+Lqc/Zd4IT0uWysaa/mSduPheJ/xjOAJ/ZXiViQgYRTIGRnhGN\nzqKGCDHnG+tHMG0927ccO9V47tdp4ItJnV4YSl7pMTfTA/ZWL0abz0yYcm7Y\nPrRKOWnfirvJ7EbNX1ggFWYYgRPGESTMH/8fZeaLX+VmlVL+o50KieeAy2Jt\noZuwsekVo3pDCFapyMCqhXYv8LmPgWLDlhnj/0IXM5Jb41hfMh4+zXqGo2ho\nSf6en5vYFR5sO7LQYBskwvXLBiBSRacL2Kl0Z98v8hoyjJq5fRNqlw0PTT7B\nCrUmLdCJRBrDsldOhF7LcKDqVaSiIUdWgWZRWRhkKyZzszfrBrnk/LVo+O5R\nuYnG\r\n=7576\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUSsAKjhx+d3hrEbLGLHAWThmZjobvhReRR2q7J/zxEAiA4WoMlAofH8y9bl6DXpgMPfz9ubOCi2Mk+/aoEE9Dc6w=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.1_1599661150035_0.20962007173417785"},"_hasShrinkwrap":false},"5.2.2-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.2-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"96c4cc0e97f72d421bda5e8728ecb51a1c95eae2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.2-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-C3s3mCWpxO+T2Z0Q3xV11qeedw0yYPnKMIQS+LD4kA3mNOjbhcscxoaeyg3yqBV3p98rRlsXbdqarmonZYKvaw==","shasum":"171d10ad6531c6d0b6cc4de809f175557d5d1f1b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.2-test.0.tgz","fileCount":75,"unpackedSize":353696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWPWUCRA9TVsSAnZWagAAFCcP/j6rK8KeiOsyCWK2DXfK\nNNpGEYv31a4HA+cDzHdA5KRY/z2efJb+rrQaS7OLgLzf4JY4nctlafwfGlVx\n3r+bwNyrt7tREetjGsruyKarDA56gKV7wB6sj6so1PNvP/Q/z8J80uFF/2qn\nY4BpJzZubUJgll6rpU85vE2pxSX7nzzMfwg+TeHb5G7/dPALMy+uYUXEuow7\nKubeUUfcwqN00AOijuhVSyvwxl4hYmo1fl1RsMXj+jVz4ZLXPNN8cU+yo2/8\nesY+0I6sabCU17eWfKlsV2klDVHkmCmbRpBORwySfmmVXr1aZDZPxugGjK6r\n6hmYH3AAT0YtRfkdIDM5TEYnKKjADyFGkOzhwn4Kztp9ejyHJw2KhuCdjLyE\nnulmZ5p7jyf2wvoEwZYY9feEBKtA/QHuoPRd/D0+oIv/IxDEgRsX2GSw5o0L\nUI9/6aIjiHJ0ojE21MW8Y3We7js3FnjWN1CnMwnzTDtUi1pmoSoVa0vX/nAD\ntdXCUEUV0UuXhIMW2bi0q6w0On4V09BT7ZBOsnGW82Kcx+O33cLJP9pmAJ+4\nfiGN5l1zUexJqtITxZ89xW8RUgLMsOl2GE+Y7RP34K9+vF3dWt1IS8V9ETuL\nHbG6R3ORAtYzwFZK14oe7SPGmExtG61ieiN4PqFsCMQjhzZTHxvSKehlIEd3\niSPf\r\n=3s35\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4EwIKIjU8Ef2lC9oXLpyy1xogU+4DFnDkiupyLrRf/AiEA2osQg5LRhBVXDz6kvkXMmAGlifGLOE1syg/161eDF+s="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.2-test.0_1599665550656_0.7064462919146175"},"_hasShrinkwrap":false},"5.2.2-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.2-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"96c4cc0e97f72d421bda5e8728ecb51a1c95eae2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.2-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-tMV6qCcH/PDwRI3gFGdeY1+/iKd2n/z1xQSHSzBhWhLYRxBgDjVUZdkzSP+ed7SRfjdU2Q3EXv80O7gtBy1vbQ==","shasum":"a155ae1e324ca25163931fd38321bfdeda1a26a2","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.2-test.1.tgz","fileCount":75,"unpackedSize":353456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWSCACRA9TVsSAnZWagAApYQP/3yYkBk+DETubBG+ppkv\nUojpqFJhFisKaQyobZrGo21oDUEkLc2RHT44JRV0SgnR370pbwFZagEwprE9\nDd8NyMko6VCCgyX6kWbWU/0bt1fUFhuc+UWHvXLG5dGiQqD/yS3YJZvmdZkZ\n3ZlhZQgk7KhWM7vQ7+rQ2H7ttdOSuyrWo+1BCSHldZHcP4Dg9xh3pupRB3f1\n5rxXDTULB/NUb339EPN+v0npYxrBy9gFL6JqTA2Q/T8VG05/xydM6agVkJuk\nBT2KWaA5bK8WI/nyjH1pOTyjk8ibwn9n9Zm1dxqdR5EUWXMKf0wGoHwoM2L8\nLNBjj52TJZ0XBC00ZyLm8uYiVwvSmwYy7VP39yANjGQc/RAzXARLb5+gYF79\n7SQkXWBiyZf/xvZeSHRpLduAYjKsn7NXLXCfeSwVuPJGXCNwH58rxo6874Zc\noOQ50O0DGXWxFCyVoUkE0y0YHoqdLWXrAbWGggkZluzAl1Jw7nlHj9n6/PUl\n/wB0gY+Ux2gLyuYd5wFY8/925sO+NU1CUSyjiegLJyw/P92GU8uVNcnc1Eg/\nr6oFuVeA6BLfvMiCYs5W6MQHfPboB9mxWaH/37/iwtGRBUlYQlErhpRfNjWO\nEuuTB1kJJ4a9Kb29zGw9CnOwrwm21dIEJ2Nnd5NnQMbXBMT21tLfe0wF5sxW\nN5qh\r\n=+YTm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFeYhQ+8FAKg7kG7zTysqPEu0NMs/AUL3+8HDkxC1LeAiBaCb3gvr0MZAkn77FzyonHbKPpjTEtEAevveEyLhvz6w=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.2-test.1_1599676543671_0.10034537359871232"},"_hasShrinkwrap":false},"5.2.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"gitHead":"0dbbb38cb08ed56634fbe79020ec41930fdb137f","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-IUai87RtX0OXyvWZkH/7FRc0FwN8VmL2Povpb6pDc54Hl7upefBii/5MzOwkqL7UjmzDzBrwh2QGfZ9ZIKTnTg==","shasum":"535d69215c7ee893140b9df9395270d5fa0128db","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.2.tgz","fileCount":75,"unpackedSize":353630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWUbMCRA9TVsSAnZWagAAMjgP/3j9VOB/Ez8F+D2mCw2C\nDepaGqSLsKFvzeXw4SJAYZ6Kl5yNnPprF6qjOWCnZ1BkLpvIgG1afhtrRmGS\nRLzWfThAqBjqlNQQcWUWvARMVrjgyNteTGganWtb5IJYBhvegMiC6p96Fgsg\nHHq8NHm5l7b4ObbXOOPPyz1Ch+QjO+qaQfvm0AKtZleStNHlvIpXVuhiTILe\n2LSM99ym7J5txmRWHdQEqLzt1JRYxxLWE3ZW/57+kvm1G+f8RhrR4oSLTAg5\n89Uj/bBbC68qCxtGy79A6sDroutxqX9ASbuBQsaQ5FbOl6Pwd/mfGq7bCZGg\n2oWhcyK2lUKqGJPfhGVYUMlJ//oP5O52OYW1xUFqhVtlwRGzQIxxC5YHS0rf\nuJmFTGFqrAxGfR6XfRqhgpOO1AJwyxPk8ZNHTUuBd3CZ3BJmb+b6H1ipCSaJ\nPTnV1tGk2pa9axHaSSDr4Oe82p0ECY3LLW8zl8qiNbC354GRYvz9Mig1vwNO\nPj5NaXfYBx83RpWAuinllV5R02ghPBBE7xLyqyPcQB/9PJ47R3VnqYC257oI\nNVSmIQQJzItdrf4dm6qnXDK6sN+S4p+iyEFNNjMagVTsZ9ZhxfS20/w4nABq\n/GYDJpEtQfqQXYSK8wExJSPjFOPtoPDjAFL3VDgeet4aBN1AZ5SmsEMbsn1k\nUQHw\r\n=DGsP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHvpz/b51Rr2l6nR9u5dZ19zmBRIWN+vx0n9cIk1YdhAiEA/SC/XZbE4cF/VoNiLBL58BzF0RwLJM0VEUVr12nDTBc="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.2_1599686348202_0.47790211901970103"},"_hasShrinkwrap":false},"5.2.3-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.3-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[<img src=\"https://cdn.buymeacoffee.com/buttons/v2/arial-orange.png\" alt=\"Buy Me A Coffee\" height=20>](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ)    | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) |\n|--------|-----------------|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"ef030ed95129e4fed832169842dda6e7bdbdf4b5","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.3-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-oTttThHBNvLFgWCQdm26w4xopIgnCMxxBFn16B3grteif8Efpu9WJMasZOwypA8bxxt8NsL3cvl9XAtZ6vC3OQ==","shasum":"44fed786f74d517ffbe3df553086969cec521257","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.3-test.0.tgz","fileCount":75,"unpackedSize":353937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWkMACRA9TVsSAnZWagAAUIkP+wRag57CxYUxDFanOvDu\n3HRtzYNqU2ezPNb9nAE1ufAsOSolmpBah77y7ux/6cWVTu5M2DyceSO0we0T\nK5SqRcIgbRV03BwSAC1YhwmVoHbXz9OTK4+IRmS+ouS3njgyk15uEi/YW9Ci\ndXU+I9j7Lsy0NCzRakhS7O6gum7iXkkzZazhceGbu3sDaob8AZOxKDsI14ot\nPvPNJvLz8kReQydiwEFyN8k0PuvavTjUbDAKsTvYAniNlozqAj4VgM20nJ7Q\ny7YWS+LD6z7nzff93jKIV6+mjAprs2OY1nnRcfFT1K2YKHLe35ACWiB8Fz3Z\nC6WTth4IcvXr8jGoJYYjpDF/+1unG3xq2RSrtzwxycGoNehP2ypVYohI++kG\nbvHiUuWAH5P+15iz/VW1KB1WofziuEm1K3lhu+KP4mXntk3ua2u9WDc7gdS0\nTQKQMgQiIWY/8zJO6wyvTDGuaF4RGOkIFZQM+885RjjqNVh5CJsm9OMhw796\nqA5vArzruyzp9bzte//bqQ/Olzy6cY5+uc599lU/npbE/Q0MkV88WnQGIuR9\nua9oJ4IbhvMn7dv48eBSoW6KdpN4PrsdbhlFDngvFo8sMnOxNyed1dJ7YpSv\n5mplKZ5rYEwRYIfaAA4MRJqlbpBHe+1fOVwQOINzcTxxeQGDLGZmctpK8fcD\nMl6o\r\n=QHsq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUk3r6omD69CVFLYnqaiLrI6R1xIKY82WxWgjU3csyAQIgOOirOZKqx6YaCdWyBGleL8sWAiPaFF26gwhvGs1Ku9I="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.3-test.0_1599750911937_0.9568358595332105"},"_hasShrinkwrap":false},"5.2.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"gitHead":"dc393c9ba353fb5c818780dbd50a45d0d6001bec","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.3","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-1DLetWoUNCrObA+iqv5jXKXgYj9vF/oVPuM65a116Yx/OGgTE9bXIIH+hTDYbxNlwUxPPF07XiK0hle0mycl+Q==","shasum":"9829c988298f3621a793731c2960c2299a6b0200","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.3.tgz","fileCount":75,"unpackedSize":354229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXlmwCRA9TVsSAnZWagAArn4P/3O+lvDUnyK1IVS4oXF9\nu6UeBTY/7/3fXnBUGT0fLhk0jJihhpZDO5GFQT7n/rdx/JZQfNB5Cl9Hh6kF\nbAhtgvR37sl4z05TsKrmk++/H83LpqWdtsTIRFkcbO/6Ht+Nsu0n4zU0LsRs\n2vSkFj856Tmh3hD9kippnBhRdDNIRWnhADtgSvObUIfHkOaj151S7c1W/tML\n5sopiO2j3X+lPz8YhUUj7csczRIAqY48hsBAPP70hiB1dDsnY9ZFemWJcFJX\nkRJk+U1B9c4pf5nuz10Wh54Bnza9AgkMSkxpsiDDvYVKLApxd9fa83xwztRG\n/bzbAFX4fGheMvvrrkRe+EOwaXkSqtDvZhGGzwYf6e88C5fME9kUzmQavpwi\nDETifJQBwjymi0OzORq/IOAQE1C5CwHUbkyAiXu7Km9G/IkulXW5hm6P+1tj\nOOW56yny2M00L8sCb7oFozAyu2mOfKuBJ2bv+NW8vdMFN9TPTxcwhWK/szDT\nLMVubJc+XIlRluZgXjrJ20FSCfhoQcSxcjEzYA7khdXfPTMAEuEdYtHzeJ64\n52V7n61YyReaOSwVs/XYc3LZdsJyzDr6TEewii2A5BwYAVl9HvsYsreqUocp\nYUg4tJiLfF/8Y49NcYXo7eZxOsElnn2pT2tjLVUcnjAsDkxrlWBV6qJ3PQWo\n1jhS\r\n=a/S2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAcLeKT41SssMpHwACm/izaS/H0SXNxte484UXMPJ0d6AiBSWGl5O6hyXwIrv11HIi7bkYcUIh1xxp77SEIupXS5hQ=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.3_1600018863720_0.4557339155387954"},"_hasShrinkwrap":false},"5.2.4-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.4-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%23491F59)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"7c36dd645496ae33b581ff69381dbeb6e2c4a926","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.4-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Af2RPi9EZwX4n9yRWXq/wbUpfE3GztSw8bNsUa0zyz3MIFJKq9SQYnyyKs8hcHmPZXr4gcTQAMQ6hh5nT8/gOg==","shasum":"5d83c5ab1843482af9b352bbb6c0a53ccaf48367","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.4-test.0.tgz","fileCount":75,"unpackedSize":354592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXnIsCRA9TVsSAnZWagAAV/0QAKOZNmWAJxjCBA9+8tMp\nl5nqsGZg41f0AarNOdqq/QoqRKp8oG+IZmip6tC1/+CCxzgO3CbxIsyqN56+\ner6ZwOXLEDjqcljKBmM6F1jQecwvmrGgX4w1zMS90TOyeJkA9FvQ8mu401er\nxzzydgy52t5JgSyMoUv06e9YJ/N+qMw3MCoZpcXwj41Zx7djSYfl4kyrgwOC\nNwGZ7y9ntbGhXGwel+hJLajF26n56HD5EgpPmFkXpc+UX01ijDsbg2LF4OWF\nm4gjmXSLOLjIvj2RHPQ2s7lDFOGGBeuswXd6vZWIX8EAV9ft/nT29v1rgInQ\nDjgeAMWMaB1xWQzIRjr2Fvufe37EXgx6bG0HtUTMRSGUgcDOl9XTx7JSepR8\nhD55gv1Ym9XVy0syhxV5nIV1kU9V07JR5KXs2gPVxdw+3qu1xucycdQfI2WI\nzsuvaK1mYZp2pCDFNyweR1SOuloMBMVLfyYl9RTYJq7Rt2yAbFaWRVIYvgYS\nFyOERYKu0ZoO/5zaqakhXEPjOg1VA7Mdt+w80Yo2Udr6SenKQBaLab8HIqxY\nQrShuDWDR7fmS7nppEFzRA725eVqGT96ptriegRJ7vMlSKTzN+w0cPYVgryp\n/R8JEfpAQM8IDKJiaSCyVngCz2PjpcCEneEuSyuH/7LDDm3MwfQDv9b1kKxK\nd1TI\r\n=4quv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICiogeN2imWJdcY90mkHhQPbJgX9Gbf8k5+4GJSbBZ1YAiAuoDGH8N7olXPL5Qyvad91ZJB/046cJ6m1aT4MPOFILQ=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.4-test.0_1600025131943_0.25758279204361756"},"_hasShrinkwrap":false},"5.2.4-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.4-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%23491F59)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"f2fa80eff17da23b07a3c7623c8cba12d9005c7f","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.4-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-zaed/0hms+tZGI9mq4umFXkH63brj3H0PC775grbAMa9tVfUF83QnQ/5Zia2ENwt3opfbn6m5T31ONwNtXLmZw==","shasum":"80408f38ffe54a732e86bfa3eff5d1cdf5ada838","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.4-test.1.tgz","fileCount":75,"unpackedSize":355854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXpUwCRA9TVsSAnZWagAAYFcP/1eBlP7Vp9tTIE2MEJhH\nhbgq1UG2m9ZgBbrnFFXxJU00dO1+n7iFVgpuRC81+nroH4fxJXugkeArH2yU\n5QCBd/uS+PPr501ikjnzAgovYeQ674Fkx6KqGdU7p9vw7m6GZBqQkjiyk8cv\n1UDZroCbgbxwSPhWtquZ8FF7rmJsDCslFBdNpBzzWxXBQPeVEXth9ZisDSpo\nZLWf8nIUY740wByroaQWBTPWMlGes4DjFq7hSWlm/K/iQyvKpSOfMLsh7Kuk\ndkQYW4bHA46qDt2y3ofeedaJ74qFCAqLBVXuTP8njTQc6JxORd0TeZqxrIQM\n821rtt3hj2j4ZyHrWK8CDNFoisuVAT4WGrvshbtsTtMBOD1dkWXwOmH7GK4P\n3EICLK7Wn59MAHoWSIa4Mt7iDCpyO7Qia0MAiXYpkTnL25V8WpHiPOnYvvCJ\nRiOXP4duDkWqpgYS6HmHQ218XD+f8EJEc2Fe2zt2ugQugiWkG2ILjUmLDKey\neUMdsw7UpBpbKDNSZy9GGoCg800f34Nx5OL7K/GSDgod8lTphefehMA3cxbU\n+xa+XRiTfC7VRxlWGKn5p8lHkmb5IGvO59BVb1oo4Upd2lgEjwLD9w/u2DsG\nSw/7AgdwYYTq1wuwudNc7CggTO69fbyTUHohNa0orf23VR8ptNz8pRWkCq67\nIFCw\r\n=daSj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+THRrg9bglOplhe3qyCUbGaYsp2jzUjv8/KfmfQsn4QIgFyZ1yro0z738ow4PB6xwY3/cA1CY3ltzcB+qhIsg3zU="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.4-test.1_1600034095849_0.4922179415694965"},"_hasShrinkwrap":false},"5.2.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.2.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.6.3","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","babel-minify":"^0.5.1","eslint":"^7.8.1","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.3","jest":"^26.4.2","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"gitHead":"1edd42b599cc0c59e84b83c3a78e0f859617c83d","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.4","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-vB9feEJVS8ntys3Smby0emn35HGA6b9FPBT9NbpqA2BhqW9wtCaX7f7DGuPPB4rVu1MqIRBnT6B25K70CJehuA==","shasum":"d46d9292750f2043a7c13f09cd36251c28e6a741","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.4.tgz","fileCount":75,"unpackedSize":357006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfX2hsCRA9TVsSAnZWagAAJb4QAJeZ+Dfdr/Fgng6mowPg\nhKBjBsQS9c832N5MWunguEjJkQQLzLrSSsEV1MaurYL+/ETk4M6t1yD84/YZ\nf38H+8a/1uTUhezIs7FAjCoxvqqfP3WPGpASsGIhAWgb1qEM5FPoPx4LYn+e\n38B2T+zbk7pOHJUIA/9ot0bwAHcVS6/sU3X2hJdL1NmN1SSfBdinhjHEVZxF\ng1hgXEQLJfytysikBcBvsgECRQcK0WzjYbMn7UCEvWKoxzhDnrmCNVVDpkL3\nSBrN+nZLURsdSuhJfONYBsNU6iHXSIZ7uhScEnp1bz0s6tPNhoyTGEl6KlCU\nGf6Y0hI2XdliBkUYxQQFpRAisttBqRbJKHZm+Ef0dzyPBLrG47YljrqA9Iya\ny3GR+68Tf0hbzy4CPTfuuq/u+AJlm075LzM2tZdO3J9RKjgTkEyiHR5TiEiQ\noitzvlUV/kjkcyd1LJOmg8b8f1G23nJBbW/Nie2SEVoKjLZlnzQiOwZCz3VA\n/93kdnK01QsC+faIOtsGmbPHmxz/i1VPacdk6REOnXaHMRTDkn3LQb0pU+NW\n3o7EqZqVqV6boVMuUdfA3QPQebOFgc7qmCBmWZnwNOdhNEd2YGkQZcNC2Xpr\nsX9c/4lM6vLu7D7Fs0OH4nJ6H34llfsnEY9jKbLUyV9D2iQ+OXQroOqiIgb0\npizc\r\n=SB6E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEmAQQ9amQU3k/MsqDuhxedJQ2GUvnJMC/M5tnXHnoe9AiAllzHHhM+gAjh9dixEl7dWBchHcPCFxF12FLpiR7/YcA=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.4_1600088172025_0.6321665419936475"},"_hasShrinkwrap":false},"5.2.5-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.5-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.10.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.1.1","@typescript-eslint/parser":"^4.1.1","babel-minify":"^0.5.1","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.1","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.2","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%23491F59)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"c2f3937db8b57e76e9fd8f433b91f5def785f719","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.5-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-CMwpFMBD2UzXbWEjZn79mA2Uz5p4uQHB2owpJcLsbd1EMi3F1cojV+1esg9CN5/OdDDncxPKxIhacNe2hjMAVA==","shasum":"b43b152cd80e7b45a9aeda0048bb221e46c92ac8","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.5-test.0.tgz","fileCount":75,"unpackedSize":357536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfY4SmCRA9TVsSAnZWagAAXIIP/itCmiQmnbVK3RmPipMM\nHkDhxS2ba264eUAptVEGMyEf8PqHFiOQf7/A2I3/MIiWxNd5CoK/Dv1rJ3FG\ndfC+3iwUzrvZr3EKbK7ivngLgCj/26uGJQwMi9SL8vo6aPUkYNd7Heqlw5D8\nUbqj8isghox8wtRmZVHrdsttSaQR/JQnxjJC2O1aZb2GRSez+Bk0Q7HODrdf\nUhtgcO/fVrWgDAPlZjexXuuUtiU/JnZYq2sEp5f3FCPuobcX7zGQMfRXJbHz\nyyGpLAAO1l8DMfWblARDRJQJNiigYuPlA9SwFFCKY6Yo4evTWa53jrdTgSID\nUYQDGE3Hnam/lFSEvwGXyhHpGr8Qa/JWmw/RHN6N8D2d6pjhjDYcFtu0fW9D\n1Q+ZwKUwx4AU3tm+lJTpTekAI1kDf2gyhRNIrsLfPBe0QhmXrpXBJe316cCj\nehtf63oGpySVDGHNsJCoDhpZkXvV7VebOsrOFM13fraD/kXy1eqWbTOGF6B3\nIGc/QCai48TBe75PdvGyXkG3p/rdobn+f3dxp5hB78Pwxjaw7n16gatuVPMf\nuw2k285dzPaZGPwuSdmjyiI23j4wFHmI9nvS/lb8fegidO+sPiyGLRmanbt0\nr3n6ls3hg1UQmObNJ4Ktj2QcKGoVrljOeigdBtn4o/JWbLRMMEum8TdrpgZg\n/i5P\r\n=R0CO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuY7wjVw4ScgUNaWmJ7DK06wShUy4MxTc5U5w8wQjrvAIhALH/27yvO78GGZI9oOQSuLxxDb7LdYEkdYWNWUi/TN8v"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.5-test.0_1600357542348_0.7679429986433821"},"_hasShrinkwrap":false},"5.2.5":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.5","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.10.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.1.1","@typescript-eslint/parser":"^4.1.1","babel-minify":"^0.5.1","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.1","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.2","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"gitHead":"abedf9c394b051f94e9a763783d1e593f72c0355","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.5","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-mJ7aMoRc1wYlm/jgAo0xeXspkRmo/iZO+LS+lBVWBF/7mKOoFSbE0hYDoWVbxMdxiGXMFgJCSHaVPIWjRdxrwQ==","shasum":"7600675b7290f02301e5055541844555f60c80f1","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.5.tgz","fileCount":75,"unpackedSize":357155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfY7DHCRA9TVsSAnZWagAAPmAP/iu7qihKM+hwO8wItp1T\nxCtmuxGj9dsd0rgLLHQXLTwjqRB3CaqKbFXu+5KDebVHTx0jbuJsLJltxe0N\nuLd7jZmZSpaRfHHy9ZpS3DYGr1mor/Pqc0ppT2OaCi8lpHiJTGUj8AQ8T8Fa\nTyGK1/anIMAgJDWRJl84qcz2Vh5q246FCbFL/9cqiEf/9S7jNkRpiVrk8WYr\niJI54WUUutEGJzJxATD7LgDg3F1o6JBSskn0pXz87iIRjEmh+kl9YQnkwQGm\neoMFxFEH1NvAWDXceOvjwcmdhEuPx4MM1+lAT3H2Js1vYe0tJRk5n7wG0u5j\nx64DsKoW5llsnmvM1NWflM6mX51HkM1V4r9H7Uim8mfESPdQhTVKfbHmbfXE\nDTi773J95IWZRn0aNcE7YJUCwnJf1E00InojKiG6jssxkv222p2EwxS3L49R\n0PposNqD4u6MqTF8TdIwxkOvGWtCXWFEoX3Gh9x/XxiTEey4MFUVBtBbdibD\ntKp+CCGyuCe0zVYKb+30YWRDkj55dZu0UofjMoCkoLOedqvYwFNGnpPk4vzv\ns+n+QJj2bwlGAHWN6sUvi1ALwQscuhJoronnSngnJA0jrRRrQrmS/AdlnS5k\nCQMRWKhxl4KLJLFoDS+OE5EPtyfeuWAct0nxcItC/o5ESurbpNej1bA8DWn3\n5eku\r\n=D/NU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRDwdS7C0kkLeTQ0eH0B70dmzu5YK2pIffQC7RQAinsQIhAPuXVVSbvvQyESrqfD7dxgbtYUSoc0jvBz31NWehn7kk"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.5_1600368839265_0.1692521485426859"},"_hasShrinkwrap":false},"5.2.6-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.6-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.10.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.1.1","@typescript-eslint/parser":"^4.1.1","babel-minify":"^0.5.1","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.1","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.2","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%23491F59)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"bd828ff4f472a03c2ceeea1a89a124b656ab1c75","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.6-test.0","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-pAjNjbTaNrS0Mmg7ulSumCPulsu88VQOZrFYw3c/ExB/taYh+tOmBlvFBLaV/rC+ZZKNi4K8zN1R72VhW6jIQA==","shasum":"8d124a1f443522881e3712f006d77aedebf1d56b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.6-test.0.tgz","fileCount":75,"unpackedSize":357104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfY/hNCRA9TVsSAnZWagAAOVkP/0sdOJLcI0Byt5pMkDuF\nj+DMxmywa1YuP9XZblQ7AGOEVCKs2OnZjqBbzCf+Ip3ky9wBpBIv71tRk9qr\nxC8dt6cC0I5uunRxGOpp7kgvhvpag9D6BLnIjZ1tbUP3xASf/RNG0IZYgPN7\nbACzQJ+kmoKOtozWg2RHWDoAZa6fJ02xvXQlgI3YivM1ZTpcZSbJ2uVMDQi7\n6NT82MS1xfE/aUfiWw3zWwvFqsY4Hm6t1jg3w57b+qZpoFGnQIYOqSOCHvKr\nbCUVBZ7baSXUPhDkutKRYRJVAaa1ynz7SD4iaSmvDJX7GyznnP6AnB3MCd6R\n4s8GVixcy55bNNHJGMZ7FuG39MhS7LXcuFz1TPSTZtbdpF9Nzf1hV9OVUwWh\nNujlKJ0EXuIZXO7OIaY1IaN8MqzxLLqLc8/pFcDDjhTpa2bKLb2ZzZIl1GQy\np0ogwNpGlFZAaduVnZJSHp10sU7GxjKIsbr4oqQCCuEzXMKtkB4CkpsA3pAV\nZzALSCFMAQpLoX3BEgln0xBz0I35pQ3blmnBw9LfHRWqhZO3NfsWq4pCEH83\n9E7CfX404wsd/TjzpS9+0UGOO0G81pdlVh2nUTPqsPWndMDu4g2tanQASl5S\n4+i6FNmSsexQvhoBkNv9sdOXEg40kJWlXvLPF39PB36rTXEIxMZlK1ITgHJb\nUyKR\r\n=72zn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv3paLOpxS+3SQwG+bGcMyUkpDppHFXQiQ5OOgz/DOvgIhAOrQo3Dcj1nvtg/yzb+76dQsz/ypeGthV2YZOEy+MEOp"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.6-test.0_1600387148434_0.8071588368596772"},"_hasShrinkwrap":false},"5.2.6-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.6-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.10.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.1.1","@typescript-eslint/parser":"^4.1.1","babel-minify":"^0.5.1","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.1","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.2","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%23491F59)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"d97e5b15647287a6df31715f6dc6b51838f0c3f5","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.6-test.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-WI/EnKEakNH6YxZeXZJbpZ4tDK2QjDsECWjGnjgDpxknP0RAP+lJspMWS+gdZZjzZIiZM8qpWzrKCW5bEXhXLA==","shasum":"320cc105f70d23b6f4043c351d6f9ed5b913d294","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.6-test.1.tgz","fileCount":75,"unpackedSize":357794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZAQSCRA9TVsSAnZWagAA3XwQAJdZ4aP0gihv4vRclr+p\nl91YT+vm5xbIvvI0AgN4VPAKu+bzxl1ZaUsnbUG/HwRxWmJeksHrFxh6iRBn\nikg660rLh3ZmLMpx+DEPoaWu8H9ls85rPYo2dBd4/6AZwpDTXzdXdxy+I80D\ncShSb4Shmmzp0QYKW7leEC35xw3CZT+0fdxKjsbd6A00VtWBtkfN7hO+1/Ch\ngYwTtF5buaUzMLhBD9GSjl7TUWxJwbTQE1qcMleeJF8BxygW526cHcSv+Ha8\n4A9g/wVIiqZD4VRKgT/oTaaaf64UfNXX6bFIpLJbkXecuQq753i5UkuZ+w7M\nX8CIZBr8tQCpxR9WGKw/VquqyfNaHpINBnTuoBUlFsndvHZ2g+jhnPdsGImy\nW4DvXx4ExtcLnSmXNjhjEBaoWNocAM2s6kscxe/Fk2GhplOZxTUxkJJuevlD\ngVbaKc7HIeldoNVltDa2lFZaOxXMkXJVeoJjxVzUwrPolnveXKP6xFZISFCk\n6/K71vrUGdgauF+i4+C2ZJ42XoywxA/ZummORAig0ehj+2+YB32I5R9C4Kba\nKk/XwLn1PhcxrFQ2AOzWZUM2xEkTta6RIsJIFNi2XCbQk2J7A5O5scjUw+md\ncAGmsuZCpVLSgHfX0MIfCbY9BSVz6mpQpf3tRTlA1VxPnYJ69yuvtJh9bxsW\nkUyD\r\n=qOGK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjWA5KUVxggycJZXK7TOCuny14gLM6NsuRavY/kLJNtAiAcn3jBUm42xy9i15us4N6J36ZUNcrRINAXGkfdBt6FfA=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.6-test.1_1600390161826_0.3307555291761932"},"_hasShrinkwrap":false},"5.2.6-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.6-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.10.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.1.1","@typescript-eslint/parser":"^4.1.1","babel-minify":"^0.5.1","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.1","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.2","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%23491F59)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"ffmpegCodec\": \"libx264\",\n    \"options\": {\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"9c9906b1b265a41e396ddc10ec68f24fb3e54961","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.6-test.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-TEk8mBF/SvHHHNRzQlzm+DEHO70/YayJDj2TP3jhWmsw/v58S2t9v9PESOPjih37C2/L2Rm6Zr+9sghhUjFSfA==","shasum":"16eb3b95afebfa0d93202145eb677ac640aee334","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.6-test.2.tgz","fileCount":75,"unpackedSize":358811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZL8bCRA9TVsSAnZWagAAGL4P/jUXntxQeTR5aXQ0PIu1\n8zEJZID4p08T97qMyCE0DE7h9nHdP1/KeHnzah4qM5wrEECEo4zDY/z2gJBi\nS8MWK0LMlt9zeVRu6sbAyIUYA9lYd9AbEMM0h++ZHr8hPZrYa3pM45i97scC\nrioqefaoDNIsLs04hAIKXyVQ6KC/4SAgAd/Cfg2uR/1DUKeR7lla9vF915Tq\nm7FmzAFNORPHEvcSNNJUjSOV2M0gjWLPU6JxeoZ4LIguCG5LZCwc94DhHY4f\nJmwvFsmnr/MJ7T4cmGfSTNFZyqbQoO4cZNGdhZfj3DtJMhoGl5IPplFOD30M\nuDVU/BEYknBkM9FqwC36+L08Ru4WXFjlYPMW0c6B5MzY5JxZl/mZJAbQkdAP\nHBvsy4URkZ+l091327fnO6p40IiXJvO7Ux/MVFoDsy6olxabMNwiGs49c3WI\naFTgzZeRI79pY1dY/1bByKULYtgCKUY+3/qLXGawAj1pjpFwaadHWbRxWBXk\ngKs9ZBXBI9px72DqkSwxTZkvLaEZ/YeFfUWGki7vwhwzf1igTJQjd7zGL1w1\nVi+LMAnQdYI+iML9qBVwRESQlbLUQv/lyHVb8P1h2ESgLY03DP7wLlUukitF\n2TxCAWyWTVAz39YPyc5vwgSBDqmZ90igZnmk1CwBXBXtUrwTeiAWv3jClhYh\nZKAL\r\n=DCVu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC93nRWS8MzBBw/qCZ4vYE6K0bOKQJGZ7T3tYj4EOCrvgIhAP0HGJMqZZ2Ob/LLw6wnkshrV73hJuaHq3ZqXDv3a9Rp"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.6-test.2_1600438043395_0.8235610446124744"},"_hasShrinkwrap":false},"5.2.6":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.2.6","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.3"},"devDependencies":{"@types/jest":"^26.0.13","@types/node":"^14.10.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.1.1","@typescript-eslint/parser":"^4.1.1","babel-minify":"^0.5.1","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-jest":"^24.0.1","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.2","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"gitHead":"fb32a92ffbded030a3ba2864b0572fb8942eacd4","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.2.6","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-oJQDgBoRdA7qG4/bQXx+Dy5XfrrZvojb/6TeX0Mk1lWE8Uj++n3NMbVbHFHqtH/b7WGVy3fvHLmGtuAJUGx1Eg==","shasum":"ca68807e2acd2c174833f6d4837838f2c9261c9b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.2.6.tgz","fileCount":75,"unpackedSize":358912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZMfPCRA9TVsSAnZWagAATZAQAJp4XFJJ4yM2FaCuYES1\nKjE89vU0+6kI0sMYZjmOL8V0MP3fs60jpg/HMMFimD/hVMVhy7DGmYfGpAPe\njCILzfdEdG88QqO6IZ6SMHzF90PamH5sQq8O7KL90JoEzyxhyRS/xphQlaZI\nB2RnaDuOiy50O1s5UcKbLtMW5Z2C93V/rAc2CP+DYD4xHPpT0WGXKM8co1el\n4B0v6dCkgDdCnr75Q9P4rI+MPUeuMYC/uNsXQog9GZCf6XodZM+BZ3b9MMuk\ncgGU+PErmDD3CYMiC/OiHJGPeb4z5Ix72bdrSwbagxoCA417YIkltey4V5nP\noT6JW3F/qghYsUQliRtWvJae//pQoNRmEqeHGGOQffm4dk/QJyCs8DFlpwQr\n343+7qWAR89tMGfe4IzG83M9uQW2Bpa0x1hxGrWbJ7YtpE+2U99N1OOK+V+e\ncHVMQl9zRJGmW4CQsw5Ltb3+lFMJOoQuIY1mJtMaq7+9TQRwjrteQ02coigF\n+qynSuK2AbVavFBfenxgxShiTTfgIfQtm1G8Ol4BOOwCrTv/9SRb1md5z68K\n8DBxenrTecUmcQA+7H8KXDBMdhyIgbEfS9s5bmcbRTCqQA55igbBggDA8Qb8\nVV81w4+WTNV5vzfD8T/+RYIzCRWY3HdJyWb6ZHPWf3o2AWTC7Nltpr7QTCz/\nv0Ij\r\n=ur4f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb1qXXRQ8kN/pHFIBohOTPnjDeMKWPxclpi3t3SxQU7QIhAJZ6eTzvOE/LsWYMtFE37FFsHvA9mKnkxr0yUSJNofdI"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.2.6_1600440270411_0.02274996267097973"},"_hasShrinkwrap":false},"5.3.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.3.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.5"},"devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.3.0","@typescript-eslint/parser":"^4.3.0","babel-minify":"^0.5.1","eslint":"^7.10.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.0.2","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.3","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.0","typescript":"^4.0.3"},"gitHead":"6e9ac619353a939c312f31e8ebcaba6c0cde94e2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.3.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Wy/xSlLzIQ6k9dbgZoXzDoI2qJQ6TipLh6RHzWtzeh3LNxtsUG94ZOkM/+S2uDx3FZesl2ne2Y8OVoBEGa4Yng==","shasum":"ba604f7fafb52627a54f257f58b49dc01570aa22","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.3.0.tgz","fileCount":75,"unpackedSize":362516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfc9gfCRA9TVsSAnZWagAACWUP/ibJLvBkltbSQrbtwn05\nreP05KbDzT4Hc95OOL5m6MKo/rs5THtJK8L1TwF0o9h3mrlWFgaW7zm8o5u+\niO+VkguzZtN4XQx/EqSkYJ2TkN206zfq2gL0KswVAlpU6jBkL3HFT1iNuOfz\nYfBxoaS/al3e6MDaPID2cYLeNkw7t6PXhjSI6ZXtlGWA7hTt4gAh56ADHh8i\nVStRGNmWtncTrp+MqY48yNjqtUAoxEa31g9Ix1iZxauB2mziLjRVG4uT4utD\nxZk0ERPs/J4/gReN0Bct9eZtHMwrKT5mOWq9XLAhICmr46Ky44fyQfMpXPdZ\nyRAG0B6XJhhmOL/8ZZNHHL0MSPtBBB07qdGrRNyYbIUI0To6LpOVzv6nCOA3\nwAwkIDOALhJsvOJCJeBYigOfGpLvPCukOsI5eWjSw94VUhJQPqUSHInGZslQ\n11L0yOcsr/d7+FcG607BTeZJeFB7NZpkJUdJEInA/RzevRW9Ek7mvUpSsw2u\nlxLNE2pA7xwGzjHr8XDAz7y0AnjGEIja1klBjVZJquX4ZcqDeLPlDeFDh3QN\ncRFNoJ0TbNYaWFVJp1354QjUSelnN5gaZ2J1wy1UEVjZe3qq313vIg0U1hgZ\nPxmGR5LKDv1aqNrXUm7CxBlKKQamEm4FMwr0NqjFyuTmEiHBi6ZM7G6aYcdE\n+6qs\r\n=fCJ6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEEtEiy1pQFH7cJKDRfNTUEqPjsVmt7X0RfAEaHbYRyMAiEAiAJz/2KSR4C8abbjdSE6FpfzIqy1daUCjVgEpP0pRAs="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.3.0_1601427487088_0.90002950822538"},"_hasShrinkwrap":false},"5.4.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.4.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.5"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.14","@types/node":"^14.11.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.3.0","@typescript-eslint/parser":"^4.3.0","babel-minify":"^0.5.1","eslint":"^7.10.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.0.2","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.3","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.0","typescript":"^4.0.3"},"gitHead":"d6884e086abf68a3fbcca95db13a33b7b27b4f64","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.4.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-2PDRIuHxTxKNGi2pSdd9QytBpCgrxYcphT2jxSeUfDTC77HgLCRa+dUrQtc/ya8HvXasiIRpJJJIjR5yC0B4xg==","shasum":"0b9a4269bd74d20c7cb5d81014c0cc6d7aae7b7d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.4.0.tgz","fileCount":75,"unpackedSize":363296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdgFfCRA9TVsSAnZWagAAHfwP+wZx3BbsU/YCWxlpeMaF\nM+5QNlVto/0GSd/Ph6VV4Ugdw9i2E9ANBNAjCkXbt5z6bfg3v2YQFZEXPxNN\ndA0HnDrtAZMf0BnQdrxpOlZbajg14Xeq9+QX6jeZ0WkgkyAA6KiWNXvb1QYv\nR76TrwWWiJAumOFcZeV5/D79morYwuXY4rX3lWrbtR90zwhEV3geK5Do9fPk\nMc/wOGUzKXL3/rnluRVJixycex6lc2mFYgTfHgbULwiqR1CwPeLjX3JEPMR+\nJKA0f5G8Sc3hVMLLcRnMFQWV00Qj6lvy2yP6y49h+b7dEYEyzNeQpPpkiMKC\n3gqalxnh3xwH6/0mPcYDA8A0rLE2FK6BqRIcRD6id4HINscyxz1iMN+DN7+G\nLz6njIpydfDT6cLVcE3pom/zYVj5YdUsQrFtJK8lwNvq60ibbfxn9v7khHiX\npZG1nNn1MhyV/MPO+HTLNqH4OeBlY27cwNtBZfiuCC4nXFLZFWZTqnslenW9\nqRGVTb0EnvhZN5hNJEV+IT1V6sS8x9Tg7crn+f6qKLWf+emjvNVun3uWSHta\nAO2q3GVdtC4Kg4CTJL71YBenQgC4m5SJe8yct7QHQ/CuIPxQqHcdPsTgrfKt\nb8kCGScMFxQuSfkKQivYpgWRwqCr4WCJGfGmrstPUMyhcl8/rSveJj2lgx06\nabdH\r\n=GBCM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSrKa6ekxxxoS57Zs331nWcIH5NaNSV6XOcL/RZs7WuwIgMbuFBnFsDtRZaRbFoi3soAwePc1x6IVB/rIQns1tojA="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.4.0_1601569119316_0.18217133555337406"},"_hasShrinkwrap":false},"5.4.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.4.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.5"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.14","@types/node":"^14.11.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.3.0","@typescript-eslint/parser":"^4.3.0","babel-minify":"^0.5.1","eslint":"^7.10.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.0.2","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.3","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.0","typescript":"^4.0.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"1622bb4fb7a08ff5d364d57be5ae39300c9d4ea0","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.4.1-test.0","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-QmZCYNPZDVZrJ+Of4gWsKCx58k7JcgtPX+JleKIXpzZRRP3Rx0HGZJ/bGHq57X0RSVu+T+XuUVk6HC8raBsZuw==","shasum":"9b4dcb8b142ed8befde348aa8cadd63c2706f213","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.4.1-test.0.tgz","fileCount":75,"unpackedSize":361300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfd0V8CRA9TVsSAnZWagAAg2cP/23ugHmhpx/muXHeejiR\n6Y4Nh0o8ySQMLQ3WNeUpBSNIEMJb6DTEYOkmwZsI68SN79cc2TWD2S8cNgqn\nC7UiVtx7eGW3XM4EBMKjGLbL/2bjnilmD0ypJnul/9cz3TtteWz1IhVpW6q+\nJbxGEth/k4h8yDFEE/pOY7gO2eWSVyP7a4X77dW7a6zmgkRlYGL/y4R/Uu7E\n7NKw4I9l5gAlqrgOCUG0yCY+3KYNV/y97z/cw7oLdfYOvDsqUQwHFXIbZqTB\nB7c+sD9FbcbcH9VzkwAQuKc2+RiCUEUlQzW588rxOzvl0UToLkf3Iau6L9fq\n/E2vBXJ1UBP+WIJ8Z3FjaEWQqv4dQvKQFxh54OoyFvOdT6t0PkK37/Ncx/13\nVdkHb3cSGnK/iRHsSGJm1z86BRU5kqSPO+oipo/v+FktLarORNwRzOq/Dq26\nioIEtKydCxGtc5PR+GI+9qkUCUY7Vne4fPM9LxPc7pR0vHW4EkonS1+X3icx\nnIGX3T69ocVCuxXrKeW2A2uAc/nDaoymyX/CdZjvpCsvjCe5Gf9sNzs2hFO+\n3F3ooa/xjPUoNt9j8PD8UAoK4zTGDjEbRY4PCUPbtYvAnWbF1ZOekt1odLMB\nYmYzEYNjJUpU/ll3pl5SvNIZjZvpFSdP0Szyh3Iki+JS/d54fsjZtr6ENHNq\ntG5D\r\n=Aaqt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDifr87EoYEsZvVBvtLqcaKi2/Z3OlWv0FcFPL71vwvyQIgRm4jL8Ueqzvg9Hu44w+BNsCkopc+6JbP4+95rvQMsuE="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.4.1-test.0_1601652091957_0.096986773587735"},"_hasShrinkwrap":false},"5.4.1-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.4.1-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.1","systeminformation":"^4.27.5"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.14","@types/node":"^14.11.2","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.3.0","@typescript-eslint/parser":"^4.3.0","babel-minify":"^0.5.1","eslint":"^7.10.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.0.2","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.3","jest":"^26.4.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.0","typescript":"^4.0.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n## Disclaimer\nThis plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.\n","readmeFilename":"README.md","gitHead":"6f27d4fc2d7072a6de26b5b1674f6528fc5d4773","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.4.1-test.1","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ip20+nK3LyWQUuhAEbZIFubSLtMSJEwepx9tnFjiFYEAw34xZnOmipfAIxVg4TPAoWf9YYqJ7Rhjr6vSUmJ9iw==","shasum":"ae4c0d70e7efb57bd54d8214293e51efa530d23f","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.4.1-test.1.tgz","fileCount":75,"unpackedSize":361583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfe2gvCRA9TVsSAnZWagAAtccP/2hxaQ4bzhwVlVJtcDSE\nhGllNI0aAzZsx0rBlM+uOcQaD7/KJKKuogbZHMuEB7mNQabsbOIh7oww/+yQ\nLOFkOjUfjaq6V3DC/5E446dXsouLdRTYarT7oKNTTWTdeRKWn+/KSSFSQlZI\nvl0JWCDZHcVWDDcvpes7M5Q8lOBIu30HrbuHHb3/yz44oeWzRoOML1MNBqUd\nnhzxCCCzXVqNSqkx4JgBs/+TE8K3HtTHXf70NsldDYN/J/7Vv9Gtx7pAN2gE\n8sIhlSYB9jndjEkbjBk5I5iyYrZkROkW2ewHS97/a/mYuD2wCjzJkd3s3zL/\ncMObo3Y1XT0SnKMAMOBHTO9joO86LlOcokclzYEW0myRlx76+KPYqo7baV36\nsZ4l8r89IFJMrn2g5zIx9mWi8VCRQ/fwTcg8EGCJpe8YQXvSwPDywIxhbR/W\nzOhqpYbKKDu6PO/sieS9Rg55sjSO4+6zNVxDY1XJ8ub0JgpyxsOHL1I9olPo\njNgizi/8MrmE3T3R2CrZoYkl0SYGlWYUO8Lxc605JBC6VPce+oQWemDEQx3w\ny2E2KC7qCwm8OA66G2kPdbpKFpFcuNDBpVZouXasvNzG0437aAIshtR/5O5S\nvNUZ6+wzMV+JBXkbOw7PuXJMR48s+xLPn1y/q7fucKyid01Cljtaa+c1Bswf\nTK2N\r\n=PEZ5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICGCX0TLWyP2H3wHJsv/2BX4a23xga5RRBV4L1hlJJPsAiBxSLBczY5ocVKLrl+mlIYYscETnnG9/aiJJRZusgIKtw=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.4.1-test.1_1601923118533_0.034233727879314335"},"_hasShrinkwrap":false},"5.4.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.4.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.2","systeminformation":"^4.27.7"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.14","@types/node":"^14.11.5","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.4.0","@typescript-eslint/parser":"^4.4.0","babel-minify":"^0.5.1","eslint":"^7.10.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.3","jest":"^26.5.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"gitHead":"faf116727cf82fdf550a661027f09e199a02ef24","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.4.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-g3uwvRzyJ+Q1k+8n68ZkGSMv4KjypSNwH/ny9OJWYczn7ndzRufT9vXoIXk5/2ag1bA7fBCgGGCdzCn/DKuUtQ==","shasum":"bc2d5033d76a4f6cf899748a033ca62f7109e6d5","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.4.1.tgz","fileCount":75,"unpackedSize":361576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffNIDCRA9TVsSAnZWagAA7HwP/1IZDZEt3fhCg/h2wUgK\nBI0TJEniiH95s0wuysvJoKQIBCybGM5nxS0kaI36Ado/cI+2pkUz4oKdZWlQ\n9juh4pUm05WM0OUoMES8r1sYc66PFExhOrbAFjKHKKekRScQSXXZ5r/UMlSv\ndd6poJgFCw5PiicVZzI/B5TeoQPbJ129jylZS2Tkr9wHjpsGNI6Dqod/xxXE\nSHU4DyB4WMl8RyX0pqkW/vd81OG37eOx1zLlLQJMtgZs5Eld2GyTku3FREaW\nxttcV9OBIUcJwGlzYOH5+90pd0m28OJO+5w7qw5ZMBDWiJQIOVGpwuAjORXu\nU+aaNBYqN7DG+ATJ4kNCRKPg1f7zga9qjls2IWQmA/2QEpnkMG7EHbKZzpJl\nDTOjylxmDxNUqAXRhf9TpD5RTs3aPYiyN4mW8nO6uYYTT96Pa1LPqFs4Z6fA\nlU6brIRxqdWpLTRdIfKjFy13yE1qyfUkASdbxIV3cPKnHL4FCxcG/p+W5GdK\nJEtsEO96rOfJVt99/Gv9KuKCS6o60zOgNFyo+cHkK8qU+uyPodPDRb7CAGx/\n0dJxidxZ2vIYq4nSg3CBJbxDFwjeSPKi1K+RZ1M7GHFggQR4B4S61i0Uvscj\nd1nozyicvijoPTuUzsOmYMA3KYy0StRjezfMx9e1sJy4sdBPQvXo4jrrzftO\n2fSV\r\n=30cH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF16Vbf8v3l5kpTxmsdJY4B+PEOfiGU/kilKRV9Km2Q/AiAfq8mhxzUPVIWu/u7xT5xic9rY7XFKAQFbHhixc5r3AQ=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.4.1_1602015747116_0.5272074009682555"},"_hasShrinkwrap":false},"5.4.2-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.4.2-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.2","systeminformation":"^4.27.7"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.14","@types/node":"^14.11.5","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.4.0","@typescript-eslint/parser":"^4.4.0","babel-minify":"^0.5.1","eslint":"^7.10.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.3","jest":"^26.5.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"36cb11db78a2b9e8bda0016acb982a0e219d6a0f","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.4.2-test.0","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-32mprT9yO1ft0hSCdUB4PeMSpRUgI2AM65Y1rVUVkI7fWsODCoDAEGwkDFzdk3EoWzTIqtaCauG5fTqw1aWaQA==","shasum":"d28bdbafdb3c74a01b30db1ccf0f7e2933a0ee30","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.4.2-test.0.tgz","fileCount":75,"unpackedSize":362090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfffuNCRA9TVsSAnZWagAAdowP/2lDUAu1/J0PWZlQPFlp\njERMBN1oVbZwGEOeRXqXKOSSNyJp3XdhG8HiacUBsB0I8MTQu+nS1UrfXVQi\n/oqp7cJmnNc/PfAX1wp2S6p8VxQUuvltCufEobvRwclxTpdft0QvDpR4UqZM\nmdfeRLFFIifNFluUz4mR5kt8jvNeoVnuKIQoK74+5eFoCb3NljetkD80fZy/\nMT9ZUOdjBTqk4/w66guaFVAjfeO6TxPjCI3cVeA9OxQ+voIbh//FXbT/ro5w\neXaor99n2c/etROVS1MTP/M4rDsfQZoEz0/nDmCSU1Y5fkcGyZxHyikLV0TS\n6q/TXQYZgeh0tuIhMY0a6b82ly0hdvQgb1DvIxaKYc18cRkPa7Dvku88jpI9\nHx4R+VH22l1atStMYi5xHwREwyGgDzLGRybGwBcB51cB27zQdmFlcijIhRXB\n99CbsPRbPVBzVFn0U8dUFp9cWBJRq8J3ppBXyrwenLnSwSDv/pAn4uVyLDhN\n9au8v1kvPOY3jSpQs8oARrKg1JBdBRnjqb7NKhurWsAfOwwRIt/iegxwMO6b\nLlKP5wr+3ezAEL2ZJ60M+K4r8jd2zVgHPoZcmExdgOGG2ETiyBh2vaUViiW3\naK/DjmXba+ynFRIQX4OzRWRRUiC7u6LEtsSK/M1dyaAKszebkFd4jPG+80SP\n/I6d\r\n=ARx1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0AHwC0TcJX150L5hJ5AuniyGH3c6jZpTtRoRgVUn6GAiEAzp3HZVEX9+A16UaD2IQuFsxHAE05QCCyKpjRa0MgYpo="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.4.2-test.0_1602091916613_0.6454445220524627"},"_hasShrinkwrap":false},"5.4.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.4.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.0.0"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.2","systeminformation":"^4.27.7"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.14","@types/node":"^14.11.5","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.4.0","@typescript-eslint/parser":"^4.4.0","babel-minify":"^0.5.1","eslint":"^7.10.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.2.3","jest":"^26.5.2","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"gitHead":"8b813c15946e90664178e5cafeae88a36add026c","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.4.2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-XB5UxDgWcpvJLeVHseXkcTGVGsK0kfmNcuMTYx7tgKzsMb+Kv0M/CxOSswhddljXAq66+Yc6NORJgR0+cMpF5A==","shasum":"9498bbd8f2233fcbee2b228ecfb55fccea27d5b5","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.4.2.tgz","fileCount":75,"unpackedSize":362065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjHa/CRA9TVsSAnZWagAAu5sP/1E0dZRni8uq1BI42amQ\nK27ceRs+iE0AI6HzyJ7xRCfAp3DHYX/KfhdkHl+Oc3kN8NQ51I+IlzDPHR7f\nWXGIMa17XJX5VaY/qEfhdCz+0Mfahd4NkCOVIi8GArxIUWqQxPvm9GU+4cHi\nvvOwzc+hi9PWQ0cv8eo8gi7ge6wJSRQg97ZDYgwIq3qZ9xkGeD/Cz3QnlSEj\nq5EVt0o/sWepSYyzyqoEj71WJN+6MlMuSn9ZsTgXiWmCa9PoX4daLEp1yvJf\nu6qa6P+UD4dipwIMBCwx/Cte4QGWdjrNPf9oG9UYgKVs7Dfx57jKGYcjB+eK\nQsMH8Nur+W3/KU/20/unwsh62sDx+DwuI/qwshsJe6dHDRt3qvrno3ECSfDy\nFVMHBokyFKcW/CzwQll1l8YvJN927xoTCSAAjIEp+VjHpKzJorbXoGwWKb2I\nFXW/6+jkJ3TutsIGvt+x24ws+S3ZI2zgdWpoSvVWKE7BpKNP9hrXGo0b5O2Y\ndhq2mV+KQdcN/lPB2NL+YsUqkSRH95F7l9MpV5PLeYJauiCEmIyT87FAGh3l\nHm/J+BoBB2xiyZ1wBUGVasXRAazTsRHM4g/QZVCLr3mXXKoHxmbpgMZ9FCI3\nbr7eaJlIpKwGYHm3/DGUcT5FWJK2ngVbq92lwSRwnGXwXFxzj3amPWDkTnTR\nVBNA\r\n=0FSO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGukafOTlyZUQQhZYNSeQC3eaFvATgJ0OyDGCP6ZAJf6AiAZLlhxczPkIjA4tAo03un/hjBLGaJm99/rgBLtn9yPiA=="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.4.2_1603040959272_0.24730266452281957"},"_hasShrinkwrap":false},"5.5.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.5.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.2","systeminformation":"^4.27.10"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.15","@types/node":"^14.14.0","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.5.0","@typescript-eslint/parser":"^4.5.0","babel-minify":"^0.5.1","eslint":"^7.11.0","eslint-config-prettier":"^6.13.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.6","jest":"^26.6.0","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"gitHead":"726f625133e5db1ad29692f5abe8f7b2a03c504a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.5.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-kmwHQ5eHyab3t/OMnUGWD69chduiiKePok1BbE2mqdGLRgCia20Z4dWPw99d6YLgoiS4T/VDQNUXnI1BwOkstQ==","shasum":"661a91ff4f14bf94dfbd843bacd3a022e2b3942b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.5.0.tgz","fileCount":73,"unpackedSize":360575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkCtNCRA9TVsSAnZWagAAbNIP/RxkhH36S8Qg3C973NNG\ng3ejUjg3wrw7IeO2nmsxiIc9CxKG5yPbOE9r0d8U1gIE+qKm5WYp0ciVhQv0\nPfwhSHwUReWN+rrv3k0/o2V5zELC2uAespvH8gxMRPSOIagZORUD0Sz13IAX\n4dZ3wmstF11TyzW1X+U20Zuu/7tQzfdZic4/4mundKHxheGIhZ1A5RHfuIi4\nwGoMCMn6F9ecokF7hwtOp+tfWWpjK8NBuZBVivffvDX8BZ/pIohn8zj6W/AU\nso6oh/O1P43o9lhY0yOPoOWpA17HI4OyqYx2TzeWbp8MLn3KiAlacuall/wA\n2LQKRatgdgZUWdIg44fmS7e6xClLzB9l751kfUaBPYC/kdyCIzWqu6LTYBt5\nGAQPyNdaqRetE16U8JqH6kQpd19cTzdVgJp19L3spKCY1UsCkdufcv3re3XV\nIHrygl8707jSayoIKURb81KDQ4q3KEvf4TzlBz5Jxa/+WHWE+BfbCOcZaRmB\ngcgtG2lygXJ4ebIhJBtvhZp6DOKZZmSKMuzMM0FN52oNBPSwIqzoRszzO/62\nXbPMaWMoNqthAKt1MpkQ4JGwjCbKvQlAwIdwF/MqUJ94Zh/JXGmo0KO5rvf3\n68yhmxIigpYzMTNUq0+5PYfOK/idt2lK5JedYdoJIncjV1xuSSFOCt4EoxpK\nmjjI\r\n=WJdn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMPMXkmMw73CgPfiHPTVjhngWS6kv4fRCl1mVafIyvMwIgcdj5m00XhMww+xnOXHYsXegt0Yx9TH6LFOfMhiaAMns="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.5.0_1603283789071_0.934692348940277"},"_hasShrinkwrap":false},"5.5.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.5.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.2","systeminformation":"^4.27.10"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.15","@types/node":"^14.14.0","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.5.0","@typescript-eslint/parser":"^4.5.0","babel-minify":"^0.5.1","eslint":"^7.11.0","eslint-config-prettier":"^6.13.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.6","jest":"^26.6.0","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"gitHead":"25cf48bc76cba109615bf5efee14d1933ce74a20","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.5.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-m4FwMjG/eTQPVXG98AXcSsy/qX9c9BX1Vo8kD006mII1apeU9/TJPag2nOFGAnurIdBqb474wh9FWCCyBtDSig==","shasum":"c0d76d2d113ba48bf3b9abe3bff310f8f2a5d219","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.5.1.tgz","fileCount":73,"unpackedSize":360143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfk6hTCRA9TVsSAnZWagAAXiQP/ROT595Vdj1YtnteaNF/\nMAYEoPCrMKz/OgCZRZmT8DtF3SPe2YrAQittmkcc0r4l1KnS7GGSnXL0/X+z\nBKhVXSlYfpWB1w5r2Xb2uCQDjC0rV7YpwQXaTZIzzALC4khWwPJw7rpKZ6Ye\nMk0sGKIQtZ6zkllb/QTled2BjiZ3YHIHFAuQWRmnmZsh1pYlR5Ooy9IgwadE\nXbGpGT24WH3LTbK/ysnUxSmMpLmtPzZgb/5PQQ17Nv06x2sO1YsAST8I6XaX\ni7EetmOqpb9+yhyH0MPYtccKdz47rDYQDR5Dh4DVa/BbsKugno8CZVbhKubt\nBhuztd7+zUByXAoZVYA5lMWS/EIc8Pyr5jW/ZefaYO8NpfS7d217Sa27Yzy4\ncIf/S+CfEv1NxpSAs2opc2A4okzn0+Qll1lcpDlXaJyjj6kpaQQXbbgR+vxo\nHbcivQQ3bBiDA7lkPFTLogxa9uYa0KsMFRjoH4tt924B72P21zYKzLLA7yet\nvM983GjRA8R2TLiQ04gTdF/hMiXPY14bki4WKtp1HlmpP3cyYjBldpjLxDaR\nNB0qQ58SUb2kYZQpItIWtzuMx7hgU9yAZlN56oU0fXSzdcFbPjAGrWaL4ysl\nxfvy78T01csuqaDPcyDVrEfqwoW2W7hJUj8eIzbAKjT5XnAGrGO/TaUB6PTG\na/8L\r\n=6ltx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6Hktl7SkuW4Ue82Dcu6aZyLsGHrjAMn+xon50zmZIfwIgMNl0RINX8zNR1WbU9pGDnHi3NhjDBVqnDZQ14GlmkLk="}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.5.1_1603512403377_0.9027851437330303"},"_hasShrinkwrap":false},"5.5.2-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.5.2-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.2","systeminformation":"^4.27.10"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.15","@types/node":"^14.14.0","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.5.0","@typescript-eslint/parser":"^4.5.0","babel-minify":"^0.5.1","eslint":"^7.11.0","eslint-config-prettier":"^6.13.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.6","jest":"^26.6.0","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"421fd7e1e9dd7a5271bce8d985e65d790529af7e","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.5.2-test.0","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-xQ4d9vrcginAvehE1AupezaV2JPlODTBXj7n0wTJwAQg92aTyjWeNVXYqdBvv9UzLM1MPVnWP+sZeCvlq1GbMg==","shasum":"293276fd937f59838b76aa226064735af2879499","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.5.2-test.0.tgz","fileCount":73,"unpackedSize":361250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflOQDCRA9TVsSAnZWagAA0CAP/0fLwuHnxD9uMqacTl8T\nwi1dxZ968ucZo7j2UkQvRnwqvkCavcf7aPtuk4j0P3YVMv63FKcGZW57QJBb\nFwscSc+hybACeJhiOHJaIu/Owb/P/kcWvRZM6ZEGQc67Mgs0vuwGxE39hg5y\nEy1vswlXtvUp9P5Prmm7/FKA+q46TyhNOkXbOLAVSedkhOq4rI5amV7NH8oV\nXNpZPtjDex/bq7kW3zHy6y9Cf2T1lN0i/pXYWNdjH5sub6CA4CAcESlfsGWu\n2aUakmJ1jTHLmurhaQhkXGcTz8hQPLEM37trXfZ4ZYHZ2zT4bcCmo2Vrst3N\ndIB0jQtHi54oYqtsray8tJkBzMcJc9CJ0Gp7KHQ0LxRtZDXZnfRkoCFnpY/U\npDmaigGMJvTJckPD0qhFJIGrcE/Ch2/pkOqFWD3CONkwDcjFRJrO2Exq0r6U\nhtyyGNNXN85wt1uCOOucTPXxJz06tzwdr9UIQAJtOJ00RBXJ68ZmJbem9HQk\nw/uRVb/YXPoKrnKW47/oWwoKUs8ZOM3QVrlY1Pio+fVBBlvgrjLZz5BZhxgI\nQJPvbkigVK2IgLTql6NHgy+jjfBwvkWqNLD8Tf1rq+NyDt8kcUNwkzy0FZ0M\nhtW5NYmMoAeK4ry7rocxiiQDjZfLt7tXc+zJzjxUH4IO8ETdlb0s1HFiGd2S\nz1D8\r\n=C1pE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCApUkTNlNJ8kNoqi1ISe5qShUi8ke7GKkwbx0OIC2ZigIhAP8tWlAt04P978NYzRmmRoSFoYIIOcG3uEvARzDChtPq"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.5.2-test.0_1603593219001_0.13900669181763736"},"_hasShrinkwrap":false},"5.5.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"5.5.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"rimraf ./dist ./coverage && tsc","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"ws":"^7.3.1","axios":"^0.20.0","execa":"^4.0.3","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.3.1","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.2","systeminformation":"^4.27.10"},"devDependencies":{"@types/ws":"^7.2.7","@types/jest":"^26.0.15","@types/node":"^14.14.0","@types/pbf":"^3.0.2","@types/puppeteer-core":"^2.0.0","@typescript-eslint/eslint-plugin":"^4.5.0","@typescript-eslint/parser":"^4.5.0","babel-minify":"^0.5.1","eslint":"^7.11.0","eslint-config-prettier":"^6.13.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","homebridge":"^1.1.6","jest":"^26.6.0","prettier":"^2.1.2","rimraf":"^3.0.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"gitHead":"7731d677c42d5c8b6ebbd78a360db364a3e917a9","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@5.5.2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-E+Cv89rJ1sfCmjXpyxFbJi8rcyB4RCOTVwNTbqGiBfdDThV6MbAIAbaVTTuS1vRLcgWZ2fYRq0DI3x8usVE3xA==","shasum":"ff9dc8ca27b919b8d65462e7f95ea875a13d3579","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-5.5.2.tgz","fileCount":73,"unpackedSize":361243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflaTiCRA9TVsSAnZWagAASqUQAJ1KcqManiLUqpV2MvPx\nRTOcYXUpmDmRChInToi5sWinPULQ0xcx71dIPLU3tPif1YcaYR2omjyV/DFV\neeUN23O5hlP3RY0g1uE48s1qoF8RrgIeTtezDAZg07sxIkYrjv45F77OliFS\nOy/Tal/BhgNjUbZub32LhhVounaIFRoZsAz9hLPVIbsHEaw2UemQoLv2GwM6\nU5uQQW7hTXw3jln3azKg9mTIY6V4R+ar3UwSkme0cERFyxRQLFucC3V6tLi7\n9QNos9B4KJG33Vy6A0ROcUMTeSWB56uNFtxpThZgL7c6X/0UprE6uXret5JG\nUujLvRtDRnMsyaehBKiQ93tW6Vdk9yWS9yEVabr0066yEDDJS5OG8I2uvX5K\nhRhs0FTuKm89Rz9gcaCD6sZuMkul3wgtQv9+cUTRgz3AKr9WWtfwdpYP8HwR\nHUbf7niJO3VIBsoj1L9fJgYCVF8IMBOjY/FbFdoOhAHywK/EArUiok5/SwMp\nNspq6eYn381lYXS/q3Qb9BALZZy1gz3gG0Cy3+2DOP0AYAtvLhJGONGgJlog\nLVqS9fDvs2Sey63lKCPDF+kDWW4XufFrOsykWXaCjl/6YSUk3L34xbgr2fAR\n3h4gj6cwufJTX70XmMqAmT2TS/QZR7obLmLOaBStkte9N3c7dRg10viXy8tD\neL/Z\r\n=suvu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAssmUl50GwI8lPrH1jiTwgI/+j6bSVjaQROAwJ0/0zQIhAM7gP2Zj8QwoD1nfTf8IZDxo6PXJ8zr3wRrPGiKbmZLo"}]},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_5.5.2_1603642593854_0.6324617744890249"},"_hasShrinkwrap":false},"6.0.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node dist/postinstall.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~10.2.3","@angular/common":"~10.2.3","@angular/compiler":"~10.2.3","@angular/core":"~10.2.3","@angular/forms":"~10.2.3","@angular/platform-browser":"~10.2.3","@angular/platform-browser-dynamic":"~10.2.3","@angular/router":"~10.2.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1002.0","@angular/cli":"~10.2.0","@angular/compiler-cli":"~10.2.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"^9.1.0","typescript":"^4.0.5"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"6a472f3c9b80092b47df90d603128e4914d95880","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.0-test.0","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-k7mootkyclKwjQ7rbGFxf+KpJzgoiCmgmJ0u1EdxMm59iFnckrjr/x+F9hpGRPElQG6KB+zXuoyBCB253I44vg==","shasum":"04e4f7ef3ab5ea8a8181a8f834f8fed1b5f1605e","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.0-test.0.tgz","fileCount":84,"unpackedSize":5745985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzXo3CRA9TVsSAnZWagAAFfwP/jlE765FFF6GP01i4T7E\nZ3WlgXzsiLDguY/flZKEtmLQNqClaCD9abklVmdNy7Iy39eiGv1/1Dx+FssN\nSAHJtds/Td5FPMtpkJ75NASTACxWMljyNIosJzuY2Kb3s9mNVZyUE+4w9UIs\ncfLc6xsCkMUzExhZ+qVIVgPa4gejnHex9oqolMdYqHnEB43vtFq1ch87jkHq\nkwszrsJZYIrzkWQnzpvwq20AHMEovTbTjRSJYfAMLE98aj+RGa0f7u3mZJiI\nk7c810Om3DW+Tsyh+ojACryqDNf4D91eIIUfRDYj0BycC2WxVPy5V4UghnTa\nVueBWgQTi3RxvuHEMCwCSyzJVw3QKA/4R7Q4Ri9egDoi6cN/S14r7xuDKAAH\nOKgig6LPDHTRqrBfCJ+DewevHh6BjgTQtfmRLcQbHnaefnZUEkoxtsGdlKbC\nCea40NgiXfBU4dA69dJVdxcc62MMd94tpue1tF44L3ffD2qKi/jBy3ZnQIgu\ndOW1ks5GAKD/uoall7GRtaoIzFQlkfsdS0pZIFCT9q86+WSkJ48knC/de0gw\nIdOT9rX5HyYNOM6C8Qld0KwvTWNGkT7LT6v9Q/MiWcZcq5HOicPjqfbO3idk\nEnPe2LkvNhs1PBSohdf/y6FpfZEfavkwIhMzZ9NbauwFh79Up5GoJsI/vPKw\nROQs\r\n=DEs3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4yv550xaZLCz9cDq0y1pd8Ks0RlSxxcfWjZwUPSQnSgIgUCFgrLsngIYY6i0fr6ls6YCTvTX+PCZ7oi7fNYmdjG8="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.0-test.0_1607301686352_0.8518368779001242"},"_hasShrinkwrap":false},"6.0.0-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.0-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node dist/postinstall.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~10.2.3","@angular/common":"~10.2.3","@angular/compiler":"~10.2.3","@angular/core":"~10.2.3","@angular/forms":"~10.2.3","@angular/platform-browser":"~10.2.3","@angular/platform-browser-dynamic":"~10.2.3","@angular/router":"~10.2.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1","zone.js":"^0.11.3"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1002.0","@angular/cli":"~10.2.0","@angular/compiler-cli":"~10.2.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"^9.1.0","typescript":"^4.0.5"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"6a472f3c9b80092b47df90d603128e4914d95880","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.0-test.1","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-o/WQpWbEBRmVE25JFSlo/2ygpAcK/3Bi1Om+QYqCRvGi6jYTqsX4Ow0jiIvP6clDwPLN5lhMYqIEMr6ErBkSaw==","shasum":"fea0806c89fac2945f4e758665b95bfcf1b769f0","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.0-test.1.tgz","fileCount":84,"unpackedSize":5746011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzX0dCRA9TVsSAnZWagAAJ4UP/14qE8m411K4bImPFC/K\n3sS5HYk+yAliER26qm3WGE8ArKUa6NeFgsD9ieIhA+7TWtaM1gd4TGzrNVyY\nVV/hjfOzDVm0EowuONKwzpf5CLqR8iC6GehHPpyIQLd8QooMZZjH4x+dXHkq\neuT//56NJ05Gtx2BPORKPWaT8N4MkjB7HM79zyAfCVAo0GtAOCVdmzWxHpj4\ngTip06yzETbU8ghSDPHa59DJZyOFdjlSZLnYf/5qsh8nragoSTunuSCjEyLg\n9AjNE52CeYAKBHYY+X8YehNQ9OmwNcKhhInjz+hH0WIw88y+LA4wvZ/wSpDK\nkO6KEhpxmDwSXAWsLS6TOmpTVoy2suSQt/Mtzt/Cs3M0HVDYYN3QPm0gQAD/\neFzHm4zXB0DS++dOAdyKLpKuMqCw9hNXiq65o2jRIqYKY4cksPr2Xn5ScJ2+\nWgpjChBrSAaD6gWr3THG9q7Lp8fDTPQw4KsyMU+dsur7WpY8C2o0+1Po/c5u\nSNB4F5sT1mxyVFfG8zCtrvHlpJdw+eg1YUUhUYDf+8AT4D6GefVdB46Im8Cx\nMWQNNaQM+HnbA0djrRce124k2h65Yf6MnwvmFGDK+dzzUI6lbigBHsvVzhKb\ncQntm+kW4JV1NSMuDfIEULE6iXuESQQvrJLG8qM322Msao08XzR+8RxanLl0\nwwix\r\n=lZen\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClYQUWE35R23FqaUJwUTNIqM2B8tr+7hQ8PGsp+NAKjgIgLdhbAcVdYlD+d6adHZCLUdK4JlIR7NzEEQkjzMDDsCo="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.0-test.1_1607302428545_0.12420242554283867"},"_hasShrinkwrap":false},"6.0.0-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.0-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node dist/postinstall.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~10.2.3","@angular/common":"~10.2.3","@angular/compiler":"~10.2.3","@angular/core":"~10.2.3","@angular/forms":"~10.2.3","@angular/platform-browser":"~10.2.3","@angular/platform-browser-dynamic":"~10.2.3","@angular/router":"~10.2.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1","zone.js":"~0.10.3"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1002.0","@angular/cli":"~10.2.0","@angular/compiler-cli":"~10.2.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"^9.1.0","typescript":"^4.0.5"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"6a472f3c9b80092b47df90d603128e4914d95880","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.0-test.2","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-m3Cj+R44Q/FpE8XlA/BtUX4q8LYO10dA1Wh2ZlBHKtCYhW06bFn76IyhaEODn+vWzDHALh6S5bsml4lCrWlWAQ==","shasum":"1e4c5c567745a2117ec777aa5033f4b1a362ba53","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.0-test.2.tgz","fileCount":84,"unpackedSize":5746011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzX4jCRA9TVsSAnZWagAACi4QAKGEZtXyWS94H6bMvyJw\nk0BMzNWN5WuXta3gpCiXXKjQY4YZP64mh3Xo5Az2MTKVPGVb2lHa8QHgaJkU\niakh/SPZkP+f/eYxzNOOxad+T/M2r7TFvDarC6O2KgVMFyoC3XHlRL8tZ/qA\nOZy7ijaEyyQx9Xe4vtqd4rLFybMH7lF55sK+dPoKuPeso9n3auk6dnq+H2uQ\n8vnrD0xAFs7foNTAhSAVRjd7uKbiLgOq6Jza89QVxJHyyNW+om+lMIaBIkJ7\nP8nliHrrEcqQXVVbIeXiJly1rzbSGzelYTBTe4BE1LR2zYx3GcMx3eGU8N+E\naMU9HhKdD734dD4TV02sGUgceUlVOoz9Rk62uOiR9V910jCxWmSnOju2RKe9\n4oyYvnwQYY6VTNdCcs0e21/WN1ouc6/qDdrt5eRPR+zXzFfgmAyMTWYoOPRA\n97UhLqChmoKHRz8sSMtDbCwdf9nr7z6SJRo+p6Yotwmgc6KbDzgZijyzj723\ncI/MM2dUzYAauV9qZhFGQohsBFP4tizd4yPfYFUcXmI3p7Uj+kMwlCUJRjE/\nv0nbjW63oehDx9c8sTSrDMQW7Zm254+6rGhP3z6AjLlKpvMZsD2QyF9UkJS2\nfWJVGiGZVRQ5lD8hWSetkQEJlWRyMNUcFuEJNZ/8/YTM0QBWAPMv3XMUkSUS\nc3er\r\n=UD2s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1dJKY8tMaMj91A+25FShHDabqlamEllWDEMltdsKP9gIgK4gl5ciG8YckhDfpRDP9YZ5CHCbc05DHhuulsZKgDcQ="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.0-test.2_1607302691250_0.2572262148376294"},"_hasShrinkwrap":false},"6.0.0-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.0-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/cli":"~11.0.3","@angular/compiler-cli":"~11.0.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.0","@typescript-eslint/parser":"^4.9.0","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"~9.1.0"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"4fa0bd72252afd9ca45484d083562b79c1bb7aef","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.0-test.3","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-U1Irlj/nBkNyUKKSPmpGG++R/svB1dT1SPDNfQXtMHGfeSbBWrVCVG1gbnas6I0lunl4UWt6LRGiE0L7YsYtOQ==","shasum":"29c1e8518cef50a2546f7771161061c47cbd3765","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.0-test.3.tgz","fileCount":85,"unpackedSize":5789579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzZQ9CRA9TVsSAnZWagAA3yIP/iGLuDcbUOWNMoIghEoA\n+Mw4OV6sSIiYlGfVVoNFDTPvstFxBA6kezC2GdcKBLHdCZzrhoRG+n8CzPFo\nbZbjGfnRq1CFP7KDueqVHcYDDMvWaIPG2opLKiNA0hBibygE9KFyEVdhL3+E\nn8sz2bbow62ATZP8do3mqXQqHh4WGSWl6hZuhgI4op+oBn2WVGgv7mhmydyr\nTa6UA/TI8XVOroF2ZjQs/Uq9ts2YH/O55nHj9oOXG1/hfPK5sxYkpyX348LU\n2Idm/Ur+wk4F83kdjn2nsYeptctJhuUiHvmPtN+53NDGn2MdnvyQBvsDHcpA\n40g53wgT5lCy/8M40Tm4jbM8RBlHc4JfNqg9ijU0ZVPoLNNXA3dEHvjCDK6H\n9uHfAIoNbJFzVHyqgACXBUOtE6ERpb0YINwTWQWM/pK3iT1GbZE/dz1AU3kD\n3+0ZnnPL8YMZqXV3y+gVahDOu9zxiyQ/8lnH4XWiBlVlZFROreOVpjs/19l6\nzmygx33WbOY069EdJb9MIQL17wsvOu7LT7QbSESQhoQ2pE1QOsPywnqJ9+xO\nxpye8LNCKYHO/AytcJmE/0pbynf1CI9Q2LOe+ZaaQuDjA9yCMOIDCA8NWlTD\nMQ46SWaXn0+p5yYOx+Tm7cVszdiuQvwot7OUYNRc5CXcPMBTEBYxLugvpXpn\n2VyC\r\n=kjqC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEN82M64QiFgYkYkL8/HC8O7Qbxkxvporex+V+3cOt5OAiAJfoSm5YRJ5ylZ0spkXM2dMQD/JQFFEp7j3zVzchrWSw=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.0-test.3_1607308349261_0.6195041816170188"},"_hasShrinkwrap":false},"6.0.0-test.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.0-test.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1","zone.js":"~0.10.3"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/cli":"~11.0.3","@angular/compiler-cli":"~11.0.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.0","@typescript-eslint/parser":"^4.9.0","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"~9.1.0"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"4fa0bd72252afd9ca45484d083562b79c1bb7aef","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.0-test.4","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-+AxeCUOopcfCrOtEjTk5E6xpI0QmT9a3o53vazV8cHgs1Nu0rHVHke1TxonAUQ8lYKlAKRIO+lzyHdCfILPfzw==","shasum":"7654db4e63c6d8dfeb10c94f89f9c3e3a1320e4d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.0-test.4.tgz","fileCount":85,"unpackedSize":5789605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzZoUCRA9TVsSAnZWagAAsiwQAJGtXTmDqsp0Wtn8zB2D\nuAz0xIawGWujXitKMMAstT4QYok31pUsHXTxqgjQ+qqWIp94i0gtG9jmoHFU\nBqGpnEdnOcOStKvCIQXPWNekPSj7BUYkrWEWOBJQK/whVP3G9MA/ByeWw06n\nQt7wNa1/lboAwxrrgnCHimN1OU6O/mxJVgdHxyXfPCSJmL+CDbJplDAmQlwt\ncSU1m7P06ldyw5gVbLjGnPUrrPFkcAMdQ8PYAKXJJTRn05pbhQtTYjhnlgbU\nMvv9XMxbrbO1DYMnH5FpvFiNFW9Vf/zA7AV1W+I6rTnV+YcgJcYxhSYxDYDs\n0Kr71JKD1tCv7jCvQMxidIfijOoctUwuT7SA7z0vO0z2JYaF/Ib/7pdx3k44\n00gX20ZAKODDgdD4s4FOCEP9wcEkBzWBCqjvtRCXOqKOKa9vZ5KYhL+72Z7M\n/vsHevV9aO9T10RbNrvm/2elnN3NUzWbyuKaZ1lpJzocQGhawmzQVpMqZPGL\nRT48ntcUhgHhqJSBpKlqY7TeXwOYWhkL9IX5jGzGvZqkY1omyIcuAPth24FJ\nr21yb1haM+Z0MlRgyurUo9p/ILPBkXfcdnT9gV+NW/pYh+l3CKWWMkYlgcH/\n4rmxG5KeUl6qele1eayLr5LMWGWfzg9DDk/mmWKoxGh6YMbss71Krmd5fJL3\nfelR\r\n=FLQD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0ZmeMhF9yMKqH7ltFHR7zBWSugRGtCR1SumE+AfcUTAiAT5DPVDqmigNGAV1UesKon2+aKEfz0EE8eMGxC+a2yJQ=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.0-test.4_1607309844117_0.8136929143302305"},"_hasShrinkwrap":false},"6.0.0-test.5":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.0-test.5","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1","zone.js":"~0.10.3"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/cli":"~11.0.3","@angular/compiler-cli":"~11.0.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"~9.1.1"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"7e02932808b1d4e95b29c60c927efd8a0c0f27d2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.0-test.5","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-T0vtJ/IeTl/Q1imDGBZxG95hLrk1UKN76PTuANi3k6F71p7L3ZlUJNaZ9p54aXhwCSN+9MspaJLyRHblg5MU5A==","shasum":"74182f462150be670b42fa70431685685feb5da4","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.0-test.5.tgz","fileCount":80,"unpackedSize":866872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzqr4CRA9TVsSAnZWagAAANAP/2hD0WTraIbyUipWaGl7\nYVgnHyQ5jzhj887ZtoCVv576DeeOHEDNrJeZSGhEqqzSa40VBOQJtLPUy90w\nr9ZMwYTjhTbQtAOiCddLNxpwCgC+bM1eyoFTi+eqp6C5N5PJiMRVsfTIXtqN\n6BsTb+89LtUJ1euWXEJFqf9BYatyxIio2elSxFINI1REqu0WxLBavSEq4V1s\n+VDD4TYbyyO0C8Rp/Nps/yhb+QPmal7w1E5MsYFpKn9ZKeOXbOd9LmAvfUqQ\nk8wx3CuGllVe3GgDByPwGNob/t8acR5wJ5Bm5kKelKK4YLm31EbxPDhjIFyI\nddBHKi0TVFRYAFI+KFuNqVlDEjfvCgu5n7CEO+I4ZXf8QyIUuJ67diGwAxhM\nZVF2dLlN+o0Uaz6w0+39NbzUoTIzIykMhz1TKv33AFwNvUNEdDag+rgsobo9\n8VygczCxPlPbPoFhn5A5X5gOojCdmPSk9dRgeyRbLJE9Xu4RV6soS+FM1ind\n2X8O/sTulnev5IvpQ/EX4YOiDEzRAHE/cUD7I5ZMrRzglbbsrF6Y2rpBl/cX\nyVeaqXvbBLjwdFJTuRl4CaKXOdDOvWLm7d2/X2Chru+tkJ+vCE2rAla/zXp2\nZlPACD5kH+23BYKIfalFoeTfBogmFgUaxRRMZmOo0E+nd2pakNag2OwIVx7+\ntsyc\r\n=3cGh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4jlYz38/4D07/rf058R6DnTYf+yioEwX5gEUHvIWm5AiEAuUA4fom9oiAmfsMZ3q70REEViSABfMkOpqukQr0Uh9k="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.0-test.5_1607379703810_0.5251898405245978"},"_hasShrinkwrap":false},"6.0.0-test.6":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.0-test.6","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run build","prepublishOnly":"npm run clean && tsc && ng build --prod","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1","zone.js":"~0.10.3"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/cli":"~11.0.3","@angular/compiler-cli":"~11.0.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"~9.1.1"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"7e02932808b1d4e95b29c60c927efd8a0c0f27d2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.0-test.6","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-CZUwpa3XUMTwBbwymZkgfDRPLXzfIKtnVwRxUCkBVtcXC+UQsX7tJeJT0UgEPt3BI2w0w/kRY/TUcIXhv8nFRg==","shasum":"baac902c91088ff6037de112ed728c13e6dccad1","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.0-test.6.tgz","fileCount":85,"unpackedSize":5773239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzq8hCRA9TVsSAnZWagAAj3cP/jqF00RtGE0Z6uIVo22N\nbMladr+BnzDLNjjEqoHPXZpUiUXbhDKp6PE0yykTjtWSY6D7zze56pwHAl2x\nYwc1gqQLF81iFOsMfv8qrjG3svLmZeNHDlVrxjKSVL2W5Vi8crITQmozmKXQ\nNJzcEgRmiF9n7hC3ufG/FXKyGjCSYJzSt2Q2QRhr2Yqm5TceZCzSKBOoqgMH\npRhjCGjq+KW0KGDFPBOTnB8vsAHamkeP4zYD3+8HOtEEaLD2LB9wOps/JUgl\nuXn1lGhhCgBlPeysgLfxNKeqUTXbnzR5eeMnldg+bdytvLf+C6eftW1u/Qsw\nEM167dPVnjGmo5zJzGjkMOwfNrjybxwCGEc/HNPZevguL1CoOpC/q7SmBA6Q\ne6N8xWsH45kDkXT+xurWxcgr54+hW6zM/8Eip+yqrTMHt685pgl2mc+2oO+u\nSDS6Y2I1hE2LgN/sRlWZ8YFpBpAzr/Qgt3VlPJIfNNT0un2/c4/WFgKaVGjb\ndkvbEmfIJgjRiiYgObtjY5czJndb4wNcSmMBLCsgnktXIrANXsUQg02qIRvG\nqEm3u8uyiOlyYr05KXRloYqdBXwsoyKU2Gcz15XeFE0+A8/UaciG1p7dI0PV\nmeKd5fLhBOK6drWP9Q7FIhV7ac5a82hkab2ikxeR9J5QboGROKIX0aLTsNKz\nLG9o\r\n=b7Zo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9X616Bt1LvK8OjVrFEipAit/Xw50ozOISlloPDjaOHgIgYxsOgF0u0exePDRMlF/963m/efLCLtyjG2AzY+91zFw="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.0-test.6_1607380768791_0.8715930219381849"},"_hasShrinkwrap":false},"6.0.0-test.7":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.0-test.7","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1","zone.js":"~0.10.3"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/cli":"~11.0.3","@angular/compiler-cli":"~11.0.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"~9.1.1"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"7e02932808b1d4e95b29c60c927efd8a0c0f27d2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.0-test.7","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-0d/4b5oTfCJh4XPzNi0K6qRoIOmXiQMh6d6/e9I7PzeOVzYHdzyP6TXDdTwkt9ERFCTt0gLqG6MObgudxzHLQw==","shasum":"dd3be790dedd2254920e3b54951110b0213526f7","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.0-test.7.tgz","fileCount":80,"unpackedSize":866872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzrPmCRA9TVsSAnZWagAAXXAP/17ay2AFLl1qe0ptOmPY\njWEY8VxX9wLvMb90QNgqTS7FXpILBGEpzjpNT4ZH3ZzCRJnc9qwgjkQr/dxK\nvFQMQ8LY1zyNa7ZqvPN9nY3iyQkvKupucAd617839hOtE/5STDGhlNOnJgHe\nW5K5FgJ8fFbayYjaRClpKrQauJ88/rOleWKdFm+iFmtlCF6qDy5Ix9QnB5Je\nqc/0OyLrZc8h1PvyUSjUq1fdCR/sfuAVT9ym410aQRJjnkiKVJQee5qHAwHv\nBKMN4yv5aLo09aBSRm+AUMrzGNEpz9daLMf6Z6tveVWl0ZM/KfJY8Wrl8mGs\ni/khwZGmLYpETP6gRlOKIYaLRsWHwujBjQrxv/7xm7Pq88gi5nbhrXpEsMct\nYBmwzYi7W5+OUI5sr+xIrusCRCCKKrYfcKOS7hq/XP3bWb9ScV75pQNlj7DK\n/Po28/zpNZ+X7HWImYnG4K/N4Wg2GLXWR/ESvP6dqwIvBRV96ooPbRLOMzrg\nVW++yXYtiYZsyCGbDpFBynwZLP5jUtTzfgrdUtnkvPQCyqrAhc8/7j+yiHTj\n7H6XjIcCf5OMpM8jcq7bm+wbNBMa+JH8dGk471zVoQeWsGhQ3gyfvYvEWX9+\nm5kOC2uED5VJjsekG/yL13CxX9jpy+ZqxxPVl4NdfXS+bwVFz19jiGh6DY2i\nNbC8\r\n=phVo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMi/Ngw7ErFn2MUAQ7mYinitfemlHPZdBiAqLreFIaNAIhAN5BqdLB8PWUWlPvAw1xRWeerFhPQgWA4Ji4OkT4tya2"}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.0-test.7_1607381989988_0.582277979716173"},"_hasShrinkwrap":false},"6.0.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1","zone.js":"~0.10.3"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/cli":"~11.0.3","@angular/compiler-cli":"~11.0.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"~9.1.1"},"gitHead":"8d367961b8b6165e0d86b26d90a1f264b7fb9fa0","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-f1XPxLApCkNNhv6RiaMPskdTeelguNMF5ARIN9GhnApg0ddoho/DvO+CKj9uixDnERQVpHIg3KdB8Sp1VRWhjw==","shasum":"b0b9936a0661742a0f8c8c227afc9a5513bd8e8a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.0.tgz","fileCount":80,"unpackedSize":866865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzszACRA9TVsSAnZWagAAdcMQAJ/4HFzso+NH20WIKWel\n3MKpzbreTs3K3qPFqhxjYFxOsjh9ovJ3o20QmQQN+ipRIFZ0Xgj1/c7eKdFi\nLIKyJLp+vx9iI5Tqqast9ajlCdUsAppzyEiggiCl26qv+JW57QQZehk5cbTe\nGg3TkLMVHBsSNQAYVfnw/98JED9Q91GCx7apKa3Uk30APTNYCpqTDF8Of0Db\n4r8rYZV3D8HylrchzxTROkVFlw21xP+KjvRs9UsL8mnYaFn9g5zaiZAFtz7d\nJyp9LZCvD3PWLpAcrxWhamYlczkXBeJJIuHNe/LBGY/vGqPdPjEPrms6L8BV\nvnTZKcsUHATjMtG+SZWEQryK2xDMXZVYKNDt96L2zQvKegh2mduZsb87C8lm\nRYKRt/HEnapbn5/igpmSz7EQX8MyHgN5UDRnikCuSV5fcnSeuYOs9ENY3S4+\nIP2DDhgzH4DFU7n+h6lsSc/bQTATTMZwUmewqLmceKclsL7SOG1KZ7EaVcg2\nUkhGz2WeyKQ26WLof8xmpHXkyyvce0VcS55RLcTn1YvEAn7cEoiAaVXMr0D1\nIyv+VavB3EhtoPGXu53xGfRsU+zpzmlATeYKoObD6MKP3rkBTdnJl4DUZnH7\ndUC90xKBH1dEpOCAK0rCYFkdKxM9rrMM5O3j6znSO+UgVFI+QmLXZgEZA75t\nfCdT\r\n=Jabc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3FEp2vn4P+o44oD1cECaQJxex6qW1gkssfGRh9A7UoAiEAuwYYp08BwJe8VrHaUdwwUPsQz++6w28kTLpwbCAhDV0="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.0_1607388351677_0.36445865208956696"},"_hasShrinkwrap":false},"6.0.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@angular/animations":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","rxjs":"~6.6.3","systeminformation":"^4.31.0","tslib":"^2.0.3","ws":"^7.4.1","zone.js":"~0.10.3"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/cli":"~11.0.3","@angular/compiler-cli":"~11.0.3","@types/jest":"^26.0.16","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"~9.1.1"},"gitHead":"4becbfd7d238fefbd3993658a2331d9250abaa25","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-MPyIFtmHq2CDLycapmZ510QnZfWiL1xRy5TfuFQRFMqL2PpFo4w2A5y4/TyDnqQYvJ5D7zWcRaxWwKI8hpLAbw==","shasum":"9ec258b6837e7925489f9103a3914c00b54553a7","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.1.tgz","fileCount":80,"unpackedSize":867112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfztd/CRA9TVsSAnZWagAAeAwQAIeTtnr1AudLs/m3zmTz\n0Ej6BX8FvVP1Q7MHuIYwTSBnNcxXsgFfZBUwu8hqRd6VePRAhQerjQqz6XL7\nngSL5x0eeUbV4Gd9eueJ01uZEvl8BLMHSWQGqNAf9MkKAbXzIJce0oq6DJdW\nIuwPgxt/y7QQB6VSeLqnOTcMRK8g3mrFixo3Cn6Mt/CuZ7Zdt5q64doO2Hlf\npdG+EA8TlrnjtbwBm+LbAbM7EUkfqNcJPS5nybwfCkHBD7Fc2ZXIRVWhXdMA\nXErmNqBBM63te7Io1lMYhjnU6h1hJ/kURZvD3IGjSq7DrdfvEaiMQnH2wDaa\nEXUAhA39AZYX7mN6H7bMUTJX8Leho0DB8Ls6G9D7LLlFpovRwId0dLvl77MX\nmKjd/1fuKp7fp7siFIqeD8k47ftZRFTuHsobNzO11myLmcgv34vNFQepgfpp\nlCb8FsoaXfF9LSNvvpkpw7h3b6rbLKcTq02Sl0/aGvWOodwv8bGDBlvvpEtP\nTLIN5kbzuD25Nrq87vJcCof1oZedm0D7rVMXdDP0l35fwkvTRonO2ycSdJr7\nFQnNJw7k0zxucK+9AfLgYxsW0GZQga1ubw6ZmVbDlBKWBA6h75sBtCRo5pWe\nV4pvGuKqQaNEtuzwLctxEc0DQB/p3dI9v6MFFnXa1DseedGZIEDDrKpHF4D3\nr/vP\r\n=5Ivq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8B2Uu0jZAN8XLAMTIlVtueEW/sLIK+EWa8/yG6X30SAiBvzDOk+dlrlThIsaaG+/1LlEQ5UQcWr8pKFiIsg+yuLw=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.1_1607391102394_0.6135790133850914"},"_hasShrinkwrap":false},"6.0.2-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.2-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","systeminformation":"^4.31.0","ws":"^7.4.1"},"devDependencies":{"@angular/animations":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","tslib":"^2.0.3","rxjs":"~6.6.3","zone.js":"~0.10.3","@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/cli":"~11.0.3","@angular/compiler-cli":"~11.0.3","@types/jest":"^26.0.17","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","ts-jest":"^26.4.4","ts-node":"~9.1.1"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/nfarina/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/nfarina/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### googleAuth\nGoogle Accounts are configured using the `\"googleAuth\"` object in `config.json`, which contains two fields, `\"issueToken\"` and `\"cookies\"`. An example is shown below. These fields will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, they can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"googleAuth\": {\n        \"issueToken\": \"https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...\",\n        \"cookies\": \"SMSV=ADHTe...\"\n    }\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"4becbfd7d238fefbd3993658a2331d9250abaa25","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.2-test.0","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-I/LV0sdg2Zzvk21HyDvpJfXLmvEWHXiCCA6oTrojG9zYK/XWfYRi0FqQJ74C7603LVUX8dG1w70dkl7GAbB6Rg==","shasum":"7e8710c83e0191bda142552998013cd0e3b138d6","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.2-test.0.tgz","fileCount":80,"unpackedSize":867229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz3EtCRA9TVsSAnZWagAAN+0P/RCUW6QnbHiG37FIhs20\ntWiVQix5yvWvLQGcrR+mMSLZPfke0qWJ2EXoAUEknjjrew5ZGjUqK7KVjVTm\nrGjQ/3LuRuiUP8gtjlmr+tmluG+OHHgGVXkzyrFTl8wAv0ay1Cs7yfSpbwIv\nRv+AQe+nFcYKb6M/TpPl33S4nasE0Un1UiW/IV53g7CXfBXiyzWsWRwFaRy/\nyId8BM7qpVdYBsWL27YfA4yMZe81oshB+bBkGu44bQt1956cAvgIPD4Uqpk/\nYyM6ar3XBKmybvG9z8YYlWoumC7rQDBGFEY3ESWUhlnsa1FxbSLBT2yNw6FD\nmAJ4lWc+5w+D5q1uhRd9UZi72qy/NJJk1pA1UmtB9IzfYCRGkZZc+ijyw5vK\nAB8JxfJlzCYTSI7AjlhfdWT30dbMlsZRrdznLp4Vume612YnGlSoF/wLdDEy\ncVwMRAetq3cmUZoFUG6t0pxdKX7Qc0cQnVXMvyoh1RNJg4JBnFHpRoexqbeT\na33dufWi1DKj7XHaJjpHCqNsEbCQ7Wf9prsQzJvE3T7l891EUr1TwvShoU65\n0nuwIhy/teQ7udn3v0rJcrUmCcwWEUlX844IGMzKvCsC9wWV8iLdIi/85HMw\n6D+yiGwmKltTvRyNN8/C6eaJq7PNWjTavVMsIe7c/H7GpFaBR2zwoPvnwxun\n97ya\r\n=ihoD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDR0TKpdS99Heq1GR+8yhNRILMRj+T4OycJQLkdqekfAiA5SnDqc6Njer1CiN7vqMSD+6lfbFH1ESdp6NLYTRhF3A=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.2-test.0_1607430444991_0.5667661299083933"},"_hasShrinkwrap":false},"6.0.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","systeminformation":"^4.31.0","ws":"^7.4.1"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/animations":"~11.0.3","@angular/cli":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/compiler-cli":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","@types/jest":"^26.0.17","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.0.3","zone.js":"~0.10.3"},"gitHead":"d16b4e51f7a2a18a7427ebc2a1fe272d095ff313","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.2","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-VqKkOHUifuvAd6blRi7DWfhUyV4yIx2lA/0fc7OMca6tDGGKm37chmc7E7TZQvjrFIJiFECEkUbFL+VNchjXrQ==","shasum":"20a1372078625dc66e86f12706b776b6c11c7f67","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.2.tgz","fileCount":80,"unpackedSize":867236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz3PnCRA9TVsSAnZWagAAfQ0P/jglYnqYXPV9hUy3RAkP\nABwpJz42oPvlRl92TulClk1Wm8FIXlh+10xq48zILKYQgOa1vnmFmPVqTHvF\ne27hHO2cDehEr6hPSOQM0tEMKzrwheuurvigqc8cl3GoVSNw67J6LeSjsKPP\nfWQFIlaX7mQN9NSrJYd1gFwjgkLIB2mcTnI91Nd3h2mKjsarJNeQxmbHG8rz\nf63p/M7qkfIzyQwjcWR/pKE+qSiHn79ofIUasDFPvKhtwwoRC0QelIEiE5pn\nUdn8GLi0jcWQDblaGv3wpmLIwE4egCeh2NZ3decfLifJxOhRKRfzBM8mw8VX\nbyi91u8DegHJsW69Gv4/aDZCPQPj/2jiRiHqNYmXSeXHwlbj9+PYOtrMvGCj\nWgX3/+lvNL+5IWfY2fgLQp+B7+b1NvhHs0V51AVGD6bcHP0Ze/R3UtdZtrlX\nnJipvR1Bk7Bkog93jqcrOc720KOOktqWuXf0p7LnKaWCVmbyi4NaN3Wm7M1c\nxPK8c+zGMKAHQTkCt/vx8rgPTARi69Ey1NR6rmaz444Bl8iwkRtQ1ULJGuLY\nnKXNg1HVrjVFNCWxPiSk5T+TK+vEHhRRhTiU3F/MmrPUGxyu3inX2x/qpmnZ\nCMis6h2OsQYbJX1/8hqXRwRwHX5+qEVU9WdNBqbvwqL8xZeVX1GJx1fWLRxP\nA2s8\r\n=DVF5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDXLNbLoh9OPgVjEZKGcH3EmDtGJgWvFqEMbFIcHVN1+AiEA49PHseItqmxO4PqT1dhQYUK2+umnw2MOyp/D1zS2WXU="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.2_1607431142413_0.9421393777710623"},"_hasShrinkwrap":false},"6.0.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.0.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","systeminformation":"^4.31.0","ws":"^7.4.1"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.3","@angular/animations":"~11.0.3","@angular/cli":"~11.0.3","@angular/common":"~11.0.3","@angular/compiler":"~11.0.3","@angular/compiler-cli":"~11.0.3","@angular/core":"~11.0.3","@angular/forms":"~11.0.3","@angular/platform-browser":"~11.0.3","@angular/platform-browser-dynamic":"~11.0.3","@angular/router":"~11.0.3","@types/jest":"^26.0.17","@types/node":"^14.14.10","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.1","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.2.0","homebridge":"^1.1.6","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.0.3","zone.js":"~0.10.3"},"gitHead":"b71bf140b8fc9c615df703e8560e6762ef1462de","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.0.3","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ePWjp/wqPP5oSoqyyuBLz47A/HlL8Yuu77a+yNHyBWNPaam13gnoOsSnLr2V/JAMd7lazKv/B7LT0beZBsWDgg==","shasum":"8e9111a51da5e7b163917f6383bdf7e150dad026","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.0.3.tgz","fileCount":80,"unpackedSize":867240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1T/nCRA9TVsSAnZWagAAQ8wP/jSit59LzpKwGFTi+geo\nhsw3HLilselCuCADTOzWv35nigvXl6Cna/GEgrLpAbAZ/D8OPbOVe/+xbWbz\nUpUEzTN/0IVItDwh8hYUUYWYKj5F+hM3xDsj9Cl1t8BWAOXYNEkSZ0H2XWIH\nS3mlJciOGg7XwK2X3M1qvcD2sqiXfQFyBSWDTm4N10fZhFGaS2vS5JPIXhIq\nWNLjr9ok/oKRCbVV0mFx8PiFgzb837aijq4f5WFBA+cdpwR/RpPE2pN9ZeYz\npUJkFOACjCNGS4Uu6iWyvkam4WHH9UZlhdezrfJJ/kEz9JiBZoXJp279mdsK\nO+svkMXDpUp1yTOjDGha8Pj8EGxzMbiXEDeXPPNpdzSA90O2BZOv4pJlYlkx\nURc34unRiwiMiFtqR7heub6C8mVTCl5d8dUuUR//DzkcMXSkNtyo5l3yuFys\nEJa6pbvpBFiRhrJObXylWFDuNjDmQESwtCIrdLs5csLZY2oFgiRevOZmoCxZ\nGK4YxRZ/RnvLJXokvdPWd51gRFzhOfVVhvYc5S529OJN97whvdQ4xLSGSzB0\nQ27i/BeZq8Ji5Xaq5UZe005A4Sj5IUVS3CdMtdCBwAj3VjDYiDjjpxqMcUyX\nImownX5t9y7dXi1R0oTwXEj8ZFXQFL9LxvQgO66MU/o8QJAN+nBtJe1mx7Qk\nPlGc\r\n=6ddI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDmZjBNfRkBEDxO5Q3zv6Gzq3waw6V8XLgEDI0AaqtNoAiAlJAoDZtOwH8XG79UMeAFsCP2qNHF8X/pSAJ0eC0B9Bg=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.0.3_1607811046788_0.05479677494725599"},"_hasShrinkwrap":false},"6.1.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.1.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"},{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","minify":"minify dist -d dist","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint './src/**/*.ts' --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.0","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","systeminformation":"^4.32.0","ws":"^7.4.1"},"devDependencies":{"@angular-builders/jest":"^10.0.1","@angular-devkit/build-angular":"~0.1100.5","@angular/animations":"~11.0.5","@angular/cli":"~11.0.5","@angular/common":"~11.0.5","@angular/compiler":"~11.0.5","@angular/compiler-cli":"~11.0.5","@angular/core":"~11.0.5","@angular/forms":"~11.0.5","@angular/platform-browser":"~11.0.5","@angular/platform-browser-dynamic":"~11.0.5","@angular/router":"~11.0.5","@types/jest":"^26.0.19","@types/node":"^14.14.14","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^2.0.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.10.0","@typescript-eslint/parser":"^4.10.0","babel-minify":"^0.5.1","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.0","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.0.3","zone.js":"~0.10.3"},"gitHead":"6e9408dd50fb4ae59d11cbc59b76304633fd4338","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.1.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-AAtC2KQ6XDXvD13bqa2MN+FTmMy0YvoUZPXCzjyqeFhAdHa/dtCrblTM/BUz+ojMQZMqUvidWSnxoJQUqUwB5Q==","shasum":"0e7fc54addc8a3722e26dea2b3f0b2ff99ca4eed","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.1.0.tgz","fileCount":80,"unpackedSize":943536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf28rhCRA9TVsSAnZWagAAyfYP/1wcAwH+5xn98TPsZW6N\ndXiIdA/c0bNY7bKZyVS2L4kuCrnPbqXT4bMFNQQ0kg0ArnH9YWHMhjDGx4S7\nfiEmVrXj9O/F3BsLYNAIFfmvRR4hgEOEi6xX/z6qmv9YtyVVtiwyaDRuqA9w\nWjVC4CvMk6TwOGTd8CMHydMmcbR/V70mbqNYKR6/JWfT5K3/R0IrmbdPQnbz\nWU9m1RBZD9zEzG2xkeSrXkmYs+m5w/V2eqI/8eQKKayaIOcJKXkK9MQMEcQ3\n6649yNtAR4pY8Z3SV+byagS4m6zb3c4GdmVIv6+peM2nSjomZBi363I/oBq2\nun3AhiXfmH7AHvaUhT2ojMlcwoMr3aOEsnfIOv/0c6NNGLIdxWKKCz5NPf+b\nNyQS/TRWaV6xs4Z6tRfR2qfn+0mqTtxOxsbidSfwWj6Ht7bKfdao54dwsz3W\nwg/bk/7yxJDfG54lHgy+VUIQjsHZtjxQkCHpZzMovBRVJN0AswCklCpSN+fb\n+CqG+BnB9ZD1fN/QKseHttllSxMwseJHFZHK29flHv52xeqWuqfr//HYfvlZ\nJ+OFsPpd4/lMbmG3GEQ8SCEuHkSyYdqK5jMph9IC2g0ixLD/ICL5AS9wCtV+\n7PBbK2vgds6ul666mWprErC2QIZLQFBvFqGQXEta7mblTVncAjED7r0vwoPZ\nNRC4\r\n=DqNS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4uVzHjoR4dR5B7r5tTY2W9QwqefTH8hdioLiFtnW4YAiEA43KkOuAmcPXFlMJdtxfCSOgQM1zoZiEx703QZfnl5pY="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.1.0_1608239840912_0.4194953469571512"},"_hasShrinkwrap":false},"6.1.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.1.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","systeminformation":"^4.33.3","ws":"^7.4.1"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.5","@angular/animations":"~11.0.5","@angular/cli":"~11.0.5","@angular/common":"~11.0.5","@angular/compiler":"~11.0.5","@angular/compiler-cli":"~11.0.5","@angular/core":"~11.0.5","@angular/forms":"~11.0.5","@angular/platform-browser":"~11.0.5","@angular/platform-browser-dynamic":"~11.0.5","@angular/router":"~11.0.5","@types/jest":"^26.0.19","@types/node":"^14.14.16","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.11.0","@typescript-eslint/parser":"^4.11.0","eslint":"^7.16.0","eslint-config-prettier":"^7.1.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.0","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.0.3","zone.js":"~0.10.3"},"gitHead":"85dc975442d12bb54c8927b87f842a66506ba7ee","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.1.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-yfwI3xsSJQ824uBPLYoM/x0HwF1rvIeq/QZao1pmegwcf+qZBF6A25tu5rjzJngUHX7GpxpoO4EDMGlK+4uUtg==","shasum":"e6fe941de4107126aa6e251ba715d5b1df30380b","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.1.1.tgz","fileCount":80,"unpackedSize":944060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6PjBCRA9TVsSAnZWagAAI98P/2HsJhyyUpfvoH3SBdVL\n+OPJG4b2UgT7Ix0DEciuGoawDVO9e40ajbxJS10+kxWk4535Y3a/lt+B/imv\nU7aDYsXESYtn9mmL0b9OFtcIN436u2WX7/AmUC3BwDfjiBPPep68sVSSzyo2\nQtcWS+/HaAZ9J3dkMIaF70Y1hdfvJFS8BCjMccStl87IicTX7eYazs39X4XQ\nIdMJqxtQFKXfZ6w9RSjEzjMnuI7U9r3UgIELvT0/ztkqu2UjK7DIAIYOfikC\nVEzZIjTZ4y1DiS6yCHjQd3G9yHdGDEKklzrxjxMAjHKnYE9IEOpc4Z3stoPv\nA3koXCPICBgRh7EK6Rg9HJDH7nqlzW4ytbJ9vJYO80Eka2u2RtXhANaHKIBR\nKVlyIcobpzKDLTq5ezvZrfBz0+q+x7KBn/QGfaqDU46IQYl6fSqDSU0ZVME3\nj+gTdogHQGMqrky6Xx5/id0u1gPIIyITMw568FtHorzFFsjudAgrcCpBi71Y\nt7eN5wj8iU3rxajU6re4sbvzoAHVviPF79hsAp32hsRm1SovfDf6CKuXaXRx\nM7xyY1Xy+0v1M+p6ZnUGDzr+BeCnHD4lQM5I5NqKTwiafzpRsQrk63LMJ9tx\nsWduJzoEegImtj/l/VRtc0o5MUYsHojvSHJ93sGHXclsAlDRxeUX0DvuiyCx\nak2z\r\n=hsO8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXPp4VvV0l/eS6DcAUXKWxi2DgecOtRqnL31GF4/abBAiEA+EsufjWm40xqrfo/IVSJuMpOtLJlph6QxuJQ9mqEe0U="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.1.1_1609103553406_0.40838986694681223"},"_hasShrinkwrap":false},"6.1.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"6.1.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandon McFarlin","email":"brandonmcfarlin1016@gmail.com","url":"https://github.com/Brandawg93/"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.15","puppeteer-extra-plugin-stealth":"^2.6.5","systeminformation":"^4.33.4","ws":"^7.4.1"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.5","@angular/animations":"~11.0.5","@angular/cli":"~11.0.5","@angular/common":"~11.0.5","@angular/compiler":"~11.0.5","@angular/compiler-cli":"~11.0.5","@angular/core":"~11.0.5","@angular/forms":"~11.0.5","@angular/platform-browser":"~11.0.5","@angular/platform-browser-dynamic":"~11.0.5","@angular/router":"~11.0.5","@types/jest":"^26.0.19","@types/node":"^14.14.16","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.11.0","@typescript-eslint/parser":"^4.11.0","eslint":"^7.16.0","eslint-config-prettier":"^7.1.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.0","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.0.3","zone.js":"~0.10.3"},"gitHead":"6dc0f753248fbd6451944bbf59e9e6081dcb13f8","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@6.1.2","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-qJFkFWq+WDap7ApAwHVhDN6CyIvDZiSZhOpm3pezg20xzcC6Q4StLK9XXkOhAA9An2rPjRRqSQ607dEWaJeCxw==","shasum":"32e0f64f717ec13e39b51066ff8e18e8eda3a4b1","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-6.1.2.tgz","fileCount":80,"unpackedSize":944095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6eaECRA9TVsSAnZWagAAcxUQAJbiRGvaw1DN1LizfaKw\ndy8lAK3cb/eTP7aqRG4mrJYxolMGloaynKBl9cIj2LEj6tdTsmShvOIXM+0P\nhpYdch/JSnNUdcZc8aOkhFbEoC7C0p1QRjWyyiRN2FWQcYQRc/sAX93lAZFR\nTNg61xbkNpz73wR5si19KTLisqyj3b/yYpjfly5h7+77PFZbW8Is4mF7X7rV\n9nZGNuIFItopgdGA50THWyp9Gvn50+yKAGsYXHZO/Pz/2z6ETlCdoe020ce2\n/Fh5XgwpYfGJvzj2Mk4DgDxiBODUd4ihEJcQ4m+ozbJFDk0MzATGx8LdVCrA\nNx11uJ5NT3HBKOFyKke2kIXqbfkfs//aeN2BnH9XWEOHiaCSKMmiUDujbnql\nzB0aFgCGQOdZMSyycHdeGVyrM7PlP0woxjv6YZGd9gUJT+4etmmAITptkpkX\n9mOjtHH2yaD/Z27lE6nVY/VXVZZDTMhW92ocqnO3dlruaERjwmhoN9Ws3Kjt\nmAJCxQhxqUZFg9fsG61BeQr9O6lptxBCZT8atGudWi/I5t2xWWQGzd1BG3fe\nZscDwNW1wqLzgeQD70GTk7Fo5kO4QPxFmSWnWFTtTM1QpvENBtvfEZoIsA4N\nAUR/5MiliaDbXvxhHs46EZH1ombPKuk0UJhi3Tq7KIuI+TZR8YUkZloW+yKh\nff/u\r\n=CYC1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBbAysdwyw/vqRMogrdF4wZPnPiGctl+iBUoygidHF0wIhAJKnCxwRNNb72nB77BLleLlXfiK4oGqU1kVmv3IVLroX"}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_6.1.2_1609164420084_0.3191112877311195"},"_hasShrinkwrap":false},"7.0.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.0.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.16","puppeteer-extra-plugin-stealth":"^2.6.6","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.6","@angular/animations":"~11.0.8","@angular/cli":"~11.0.6","@angular/common":"~11.0.8","@angular/compiler":"~11.0.8","@angular/compiler-cli":"~11.0.8","@angular/core":"~11.0.8","@angular/forms":"~11.0.8","@angular/platform-browser":"~11.0.8","@angular/platform-browser-dynamic":"~11.0.8","@angular/router":"~11.0.8","@types/jest":"^26.0.20","@types/node":"^14.14.20","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-config-prettier":"^7.1.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"a8b3569bc8b7e782f9f045353ebcf35a9276e7e4","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.0.0-test.0","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-tX42opLZ8ZgZkiqPtJgK4PDuCXphBYROCV5zYKSXxuhMfb0z5a3WE+svFHw9H9P81Wj66Peg8KEgjeJfVVCa4w==","shasum":"e4d23963cc1161615a24b410ac3bc62bb6f9b046","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.0.0-test.0.tgz","fileCount":80,"unpackedSize":952514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/yjJCRA9TVsSAnZWagAAUaQQAIGaj4kyFvUEwGxt0t9n\nBmSYadnS8XDl65X58VXnOF3F2VG7cNavoCLSrvbSGGcuK6NRUyXH7X2lIy2z\nzQSWKDa8UI+5+PmTct4SpdIzTG4/OqkNd60lwM6VX1sLw+QieSH2tNKvZMJK\nl/BB24fWzRFCO58K6l7Jvjk+jiq7kYs/RJNef37FsZJg3w/Rm9c9Ev0fiJCx\n6D/tSTNgUtMTMToxAKuWYoSgppuLY5Qc0tUzt8QXQ4YQnHIUjHf5kaBvH0le\ncC5XwmqhpHaI/goZbsw6TxZ2AYGah0cVkYROWJ/sCtGqRqkjrFImMVhmYUhC\njs++hU3/rx5ETTR96LEZ5JzMjt2LT4jCgj9R0B+9kqRorzgLfhDWwQHC7gUh\ndBOsuOVaz2RjYVvhYQajDY1CfBSdilPuX0yVDe2r2L1/qnZ3v1J+dKkb6EZp\npes8BHjdhi49YsNM23i0jaavvRt4YfRceAdgxB2dH6te7okdOMaNybg0/TKE\n69HcJ3b9z+mKRgbG7z7TpLJeHkm13mp3dvpHXq3HjrHQloJ87RChep79L+EF\n75OStgpbcGCRkSlEKiAH2jI6Mu8EFsMHXHgdZMQvv9nmDF6rNOQh4BNhKc52\not442DkTk0egu6oz0JWXuxlDlLDL8hdVtVEpa1w14kcnOaNtQag9H/gYKYdo\nz1zQ\r\n=T6Fb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxGoBegCIv/KfFWEoXiNTRR/oaiLDWwlxLLo0uYdSpmwIgJBh9j0/QWpdIXDEjx+z4h6Wn2rykQEeAeSzHcmfqfYA="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.0.0-test.0_1610557641346_0.8203353570317329"},"_hasShrinkwrap":false},"7.0.0-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.0.0-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.16","puppeteer-extra-plugin-stealth":"^2.6.6","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.6","@angular/animations":"~11.0.8","@angular/cli":"~11.0.6","@angular/common":"~11.0.8","@angular/compiler":"~11.0.8","@angular/compiler-cli":"~11.0.8","@angular/core":"~11.0.8","@angular/forms":"~11.0.8","@angular/platform-browser":"~11.0.8","@angular/platform-browser-dynamic":"~11.0.8","@angular/router":"~11.0.8","@types/jest":"^26.0.20","@types/node":"^14.14.20","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-config-prettier":"^7.1.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![certified-hoobs-plugin](https://badgen.net/badge/HOOBS/Certified/yellow)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"67974628e14f9009ffeacd3424d5aac3d17fdd53","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.0.0-test.1","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-nslWfFrnifEM1a1NxPFTd940iDPSmIp1alKzXCcsh0gL/dRAhwsNqEo937v6iMx7nDUVPHqZnEWm9Wmj1PRgAg==","shasum":"f6fa0fea219571ca34960709407409d9b8d5aae3","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.0.0-test.1.tgz","fileCount":80,"unpackedSize":952706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/25ZCRA9TVsSAnZWagAAaO4P/04mxpTN42h79RVbIUkq\napQ4s7gZFMINjHQ3I4GOrOS9xxi0iOGnNMd0uOgJ3i4nYEZUx8W11FMJtR8Q\nG1d30ZanfvYaMP1pq4RucVJFdXKOPR3xwK7IuB7gmK5QqzHWDTTND5kuK32E\nKLEyWt/Je06eTDEEZKTOrT7P361mdfsO/HG8YAl0W07aywwTYkliWegZ21Yu\nV5sWmbQ+TuSRHJY160e8T1wojMtXxmNOqppD+9/f15p19Ok9o1b/7bhanFul\nsmco3LEc+eHqkB/vrrNMlZoHof7QvlZruLCz5JewQoe+NeVbnV2pURtMhsfn\nbvfcZXH6ohIkNGGckqdiYZ3dJmC7GIk+I8a49Y2lN9P7cKgJplEoma/TqVts\n4tDFtPoZ6zzLeHJncoYAD8wHKZwRd81QzQY9zxLX721DgHg2//RAp1E12VHE\n94cIJV0tNBixHtKhCLLAmBDL80JuP2CDge4jUMIDOCA0lBWBSO+DGU+uzuQS\nI1mDs/nIYWDYanzzXEEiGCikP/lTTE7Dvj3yad5t4G34xcknu1azsXBgyGnn\n5WqRqs3PvAsvGnBhHiS/RRfgaIxpkF+4W1+4fj6haMckLWdrBp8uLYgYJ8sS\ncHobzGOiuLiUprj9ybgHBqq9dmqZHAcqgDAp+fPrn5SW9tHGrXyaf9rhx/Un\nwTee\r\n=ZKh+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE7xx49d+VOCXXRjzMPt5Dl05E757qCadv7337eIDkOQAiEAlv1WVWWLGUskymI2UWpRTGon6bAaPO+2p2XyI7W3uK0="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.0.0-test.1_1610575448558_0.22555429473524047"},"_hasShrinkwrap":false},"7.0.0-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.0.0-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.16","puppeteer-extra-plugin-stealth":"^2.6.6","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.6","@angular/animations":"~11.0.8","@angular/cli":"~11.0.6","@angular/common":"~11.0.8","@angular/compiler":"~11.0.8","@angular/compiler-cli":"~11.0.8","@angular/core":"~11.0.8","@angular/forms":"~11.0.8","@angular/platform-browser":"~11.0.8","@angular/platform-browser-dynamic":"~11.0.8","@angular/router":"~11.0.8","@types/jest":"^26.0.20","@types/node":"^14.14.20","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-config-prettier":"^7.1.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![certified-hoobs-plugin](https://badgen.net/badge/HOOBS/Certified/yellow)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"2a292bc3e8169b05abc98d0df38807af80a417c3","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.0.0-test.2","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-wDqZIzhbqe+Ke+QT2sa9orTJHAg/slcKhcNkwR7yt1vSPwLeAm1JUQRXH/S33m+03UvvqMyUcczBja3kI9klXg==","shasum":"dbd27b132d690036e16c15513fb7dc34c45eab8a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.0.0-test.2.tgz","fileCount":80,"unpackedSize":953307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/41rCRA9TVsSAnZWagAAP90P/iprbizHssbKbOqW2mlp\nNx+3ZrxlwjHH7NoHA96fdh3PzhRsA3s02h7ZWHirJNwRkC2c37HCq+XW8Uka\nToAQInFdom7dkptuMKpP2mEI0EK1MjCh3QxPN8cYxxAodZjLOKAYKsrrGYgT\nvLt12vMq8H0ehunlLOOgBI/NMaSf0c9ICrEPUuAH33cvM8rd0Ut1qwnPDfYc\nHFyoFncKnVC6ZJSRp8OweJH0IngGsOwqL7tef9amxxg0/KgosbGLwCms3dIZ\n/Iw+m4xZkpiaDAUyAxzy1hPSY78/q/5SFv3MvI35jXWnawYgu+YU7RKWetKZ\nowYhN0iyr6uCwtAnBvMmeDuoSTHDGWl0iedn88g7ribSEVHoIVmFiQsVCSqT\n0OLElULZQaNfq0ryYa37HFqudhvSdQy8/GTLejkcNan0fjO01hkrw4TJnmMn\n46F3wJkY/H5tzeXJGeNIk7p7b3p2yiIn6Q5ESZ0aQPBND53Kl+wqu5HEY9D+\ndTcLEJofocTOhiLmKSIYzXA4iAOwcBxoheRn+Awu3OMG/TMalHP2nk4wbiEe\nT8zPvipRvRChA0FMhZzY2/2e+VQ6TgX181oTmK3jCDdbYCNNGRU2VYTuUeuy\nfhBhdGSze3/aky1Ee/3jbDAwDwX2ob3xqWXWGSE5wUMTLl1SZQ6IYs9ZXF3g\nRiN4\r\n=k39x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdRftpN5+PGHhtSkQWUUBMANgwohJj2Js2Tn/NtohTywIgXQSgVFIu5TY1jf006ANAd8fOTpmpaNbCKRiAsuxANvw="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.0.0-test.2_1610583402980_0.7764980607357521"},"_hasShrinkwrap":false},"7.0.0-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.0.0-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.16","puppeteer-extra-plugin-stealth":"^2.6.6","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.6","@angular/animations":"~11.0.8","@angular/cli":"~11.0.6","@angular/common":"~11.0.8","@angular/compiler":"~11.0.8","@angular/compiler-cli":"~11.0.8","@angular/core":"~11.0.8","@angular/forms":"~11.0.8","@angular/platform-browser":"~11.0.8","@angular/platform-browser-dynamic":"~11.0.8","@angular/router":"~11.0.8","@types/jest":"^26.0.20","@types/node":"^14.14.20","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-config-prettier":"^7.1.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-yellow?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n![certified-hoobs-plugin](https://badgen.net/badge/HOOBS/Certified/yellow)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"3282a9d755d20ac098b6e7f733f42f38b0169ef8","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.0.0-test.3","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-tYP0O6XePinimmosY8ks1Lix1vK/GNetDY872nsubmBBiLBzmxWPgeblRUjq8hYIpTtUeTt/GR2E6TDhwuo1ng==","shasum":"2a86718c9496c534a6e01a98040a61290244cb6a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.0.0-test.3.tgz","fileCount":80,"unpackedSize":953219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/6nBCRA9TVsSAnZWagAAkyQP/RQ0pGRnk9WqWzfwQeYl\n3HnbJYYb06wCYBIlX3+CHZRFluYmFD2LVh1HWtr/hbhwmHmE4uYu71OTdrR2\nVJVWTZD16Ql20XnUVE47uQOzRTdRa45lHyqycmwrYmNy7M96+PgdyTw/ghpO\nzmMz/GObybdjZE787KmvWhwbjv/coKUzsem4CnaOvAEqPpPnZPEFsKIsCUQ3\n5To/H7vC0tRq8HsYb8rdhxej9O9+EE1N5BeCOVyuwncHSDVZWpXjNBiufVlP\nnfrqI+hPBkND58ypqEOLuEWLUTH4smUjfhm+E9xfEoB876Ag5W0LVPkirldK\neyOSbjaUapY+ZIEdpOKGiGcpdITzBnTgU7U1knS3ArW4UkU5YnRG+MbTGYtD\nEo8nA2gHBC4hk6Fc2LRE214i5u6nFrh76tgDRtR93DePu50SFQR+jAR+Mp9M\n/TUVF9JL+b5SYH2TdNUi63sVLNTvk/4KL+1ZU/KR7RKC/GQyXE8egmZx0CqJ\no1lXNQ10igzgvi4dbTfQ5BMUUJsUYfpKRnsQ/CyE49FNExkuCPpfRvc8CG6f\npTA2iegx0HW6c7fO0z3VLfoXmQe3umHjU+yvVv2XoFz3BS2k2AaLrPdybuOp\nlSPDY/Ran6eHLZ/haQ6+APr4vxewwvz7AgM6i/a3M8Cq8qaN3TKt6J3/dWkb\nGVrr\r\n=Kdkl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAn3GcwHT+K4r1w67/+BgymiWSqd+3Kk11JTlqVHBZE6AiEA4EBRjBloWxEqFv+MBKAN7wLXpsdbh5mxqIkJLtA2JUs="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.0.0-test.3_1610590657354_0.8491764232462937"},"_hasShrinkwrap":false},"7.0.0-test.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.0.0-test.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.16","puppeteer-extra-plugin-stealth":"^2.6.6","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.21","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-config-prettier":"^7.1.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"245ef2f42ba30dc856d657f62d7e835f901612c6","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.0.0-test.4","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-LRyhgfjsvTufWPHePqThh4vMYh3zRODLZGSi+47dhtl1ZTNqqwFNQwZIqoeUh9T6IP4iID8P7opzhMs1qYPO1g==","shasum":"397ec135f2a45165f2fd98c26d936c3ec5ea22aa","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.0.0-test.4.tgz","fileCount":80,"unpackedSize":955649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAOEJCRA9TVsSAnZWagAAjvsQAJVWanATOEhK2JZa5gMr\n/Ets+NzFMk3RVfbhOsg1FL6WvndRy/lo+CIakCRdsnIYs+nK3ixWTENeBIh0\nODURkv63Tw5/Z7S6tEd3rZbTI5MD0kn8jB13LSCTFbTO83ceRcwW1Q+eDyQw\n03v02QLQicPowPGpLrbaC0wQWXLE9vIzaFVG/fuFoMWsmwamYrpdw8LIRo2r\n3eLypiXdFCIK1cnmGMNhY3ktrhJc8i4ggjqwfHPlJsAlRlT97m3PpX2/HxMK\nGi2YQn0RmgyiOoaTzih06SgDSIdhA8wqPoUKG3jhelSIAy1uEpJSV2Q8YMGo\nSZd6XN8mEG8LIgnzailPNiyzXzsQx/kzWNtXa6CRkNPW+nPIM0UxGZkxiC7u\n62R9vXM17+ZkhoTiQnd9CSrwyag2SPhDP9dsC8d7ZPig0QvEzTnYr8c6OCCy\nBAH7gyadN9Hgdzmaiep2dshLHpe4+ww6El6zn7QbTJB9wdfg5XDw5LyGPJRw\nR2N2+i0nBIWmHtiMc8P6c2QF+OdY17JKLvACyJ5J2rJDjqXxa0JXoQ5ukN7u\nvmj28z23mLyFAK6rT/sRf3ZW+glTRHjGsIWXuDG8WyEjkQRZyv0IBRNOH0Mb\nffbFMtsWQaaaMaoN959DXDtH+TpOGSUBL6mOQZdZXflMBgrxTU1JYkHQj7ea\nOvZM\r\n=2wfN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC68ta8KJkJtbQf1zIPIfjEMjrpPjVeKiELrsR6AQ84yAIhAKHvdN1Ef65/j44z4pUrE8yD62CkBsDWxbWxXrhKSjjB"}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.0.0-test.4_1610670345234_0.49400762204088666"},"_hasShrinkwrap":false},"7.0.0-test.5":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.0.0-test.5","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.16","puppeteer-extra-plugin-stealth":"^2.6.6","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.21","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-config-prettier":"^7.1.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"22fc3dd9064c46cf13611bcfabbcbc0bb0d222fc","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.0.0-test.5","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-6ckjtcs2iX0UQ69ZfTA2qk+Pof1y9wE+FS/1rnTHRNh/fyDkiIn2iCOKh40QXKDqyKwfH/jdTvonT96zxNRTkQ==","shasum":"39422be329404d8e23bdf889a144cef54f652994","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.0.0-test.5.tgz","fileCount":80,"unpackedSize":955293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAfndCRA9TVsSAnZWagAAkZEP/RjZhiSwAWE+veVMco7E\n0gvlfrl4ed9xwyPdA3oTWF3kaDLrlRzxTNnRCIeS+s5wPhWEXKXzLjCjMVe4\nD8/PFHYaz/LMX/FZHYmYTaKYfwk7gHEkbNRdb8fVVMKRP4Lt4a3o5bpgCl+K\nlgVqPgd2qVQFHqHzfazcOaOwameEnLdcCCU5xE8Q9l2oKc2zLxZF/XcNPHbf\nyw8MVyL6Anio0D2o4hpadKqvMnc8iIGoQAs5VCH6Z1B2WazrERusdpkfo84B\n0pBx+dyn+MZ5VuFVNUrKsh+gvcTpAYmvz9dRkaIFzzQkEWRDIfaOrFSdziF2\nrzWe+eeA9NoQ9K9tKObuS74yEg7Cifu+5MjKzhxUlgUeSXWc+J4Z0jO9ZcFA\nMJMpHu3VopCwOSsoC2zT8rWYndd41oIm+QvXI2cMQBzgpY1QE2cxrLBIb2cn\n8ZO1flk/MtxMkqE5pcmJNiNENeUht51ai2palH9fVTfTvVGMvT4f5P+wcnWg\nxVT+lUgbLYtw/ZHw+c6yShFbx8gfUV9vtVmiD3nWRlkGmMZEjs5fr9mkvTqJ\nw8BR/v377MEVtHHvSKo/riwtgNx5ZinNA3zSwYQbCged1hh2wX5hS2XDv7SS\nTRVEijnN9fGiGGzgx5UN8Wq5B/D9zB0T+D5jyBcWH7AJsv8jt/F4FAk5kICH\nbya1\r\n=M4rT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ+dWIteEXh2+29H8mpbkS/vv90rREtNqyK1Rp6h5sLgIhALkXGJa2qA/eWekJBDwQ9RUrFn98lokTyCwe0zhqK5p5"}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.0.0-test.5_1610742236728_0.2591140977671702"},"_hasShrinkwrap":false},"7.0.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.0.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.16","puppeteer-extra-plugin-stealth":"^2.6.7","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.22","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","eslint":"^7.18.0","eslint-config-prettier":"^7.2.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"gitHead":"c2faccee69c0b5b5f89137eee600657a38e97d3b","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-I4idiTfM1MRKLkSeNWhULVNLfloQukK9iGSe24Vuu0qxRBsbqlOVmmAyUSbtZm7n32sMjujkHXNL1cssPJuOOg==","shasum":"d29e59d4607bc999bdf9272179e9a5ed503c321a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.0.0.tgz","fileCount":80,"unpackedSize":959880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE13DCRA9TVsSAnZWagAAzjEP/A6tNQNItS6XHCFqKCeV\nlcQWGf4f8+OTNqZMS7S4IV6Cgr3GKAHYnI+OQ3CgmXfOb0LqfNgi61EfBUp9\nJkW6IlOD0avvQhyQvIiDEqvJOMeCTFk0kqm2D0nj16+4VCf0GrN3jbhCsVqv\nYPWGuiHJ6tRQ8S3cTHh61LN3t+YQtDfE8G58ZKRRADJvC9fq7O/aaF5eDxlH\nc4VM7drg3JM9aH/puoCOFyFsql1e2Y+MSdkjI7vGgZ1vk3+TTaQNBqizxJTH\nqoBOA+SmARJQKx2Pnpg59FoITD3WK+p2M7q1z3zs7M8fXmFaP9ryJnCsxpXS\nh+sAkf8+HouX4AniYcvYUE8QpuK9Q94unZn+YONwHvV7ETIG+N8tptJflzEp\nzzlRnjNRX5YMLv7smhmxBUjbSeYZ1CZkd9BP0eXzl6OdaJH0yX2ptN1oq79E\nP3dGhsD8kepImyqO7G7kKehRUJUmU68HoKytg3+LemQR8vKopXQpiAeSgFYw\nIHnfs4qNGGbpSUJOY2Q7qkp+TILSg2calwuKoD/vuUFmYSDlbCyk9T9C2tZJ\n5GUSurCExHDF+N1n1k3haMgPLiFGWNQPwXZmCGTtNMHGcBrN57uDzSpMsqbq\ngHR/aswKUAzLnWYXIiq5cDeU/f/5CnqXOGYK5AnEgJGudXD8uyvz+BdXck4a\n1Z+A\r\n=IWDe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBJmDUPnKjd6gdxdYBuoxyusnE6peSi9Y3tbcejsbLKqAiBZddiB82LmrWGw8mMGWOV6fwdh/Nn9UfEwYYNY/w4OWg=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.0.0_1611881923226_0.6654012446790856"},"_hasShrinkwrap":false},"7.0.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.0.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.16","puppeteer-extra-plugin-stealth":"^2.6.7","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.22","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","eslint":"^7.18.0","eslint-config-prettier":"^7.2.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"gitHead":"c1da5fa84b1bf2323f8609d85470d9eb57151ba6","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.0.1","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-xdFX9pYo80/Bnl7AChDqZAkmwGFAHvx1Kf1K6mrMg1cQ752UKoz0w5mcZ50Vyvj+KKt0Lxtra/IsQ1em9gDfOg==","shasum":"8ad500c07c016e98a61acc953425878d26ea92bc","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.0.1.tgz","fileCount":80,"unpackedSize":960232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFBLQCRA9TVsSAnZWagAAw0UP/AuqpLV/6aScDOKsJ25w\nCqLx2ii1rPOmySshqoHeswti4fzeBFaDfVB5b5fmDzT6dUFvRR3EGX8aIw+T\nhqlu3M1vyUJ+5l4b3Rt32gBF/CvJQTQb1fO3usinktQ5K5CRMOWPGVAwRezo\nAT4paLdGuYN09G9yyO2ZDJETKedm5TxkvOEM2FHFi+NpVwpcLiXsWvgLeiUq\np3EURaNK/8zikfHZX3+jn33sv7/dgxzSm3sglRe07X7H8ygByxdfnx7mirCd\nbU+5uyhuS6aA6VPVcHiqjeJSBhLEdBPS9ELCAIm1rFXnvGuGvrbZ9TxADZ+q\nNrhUG9DfupglMEbe/FH5T++yBkUF/yzDmJ8m/jWzbWCcaDqqhAdghL/ni11U\nwC2CrewITOmCeEbWjaeHb2QhYiHunDlw5dY09t9rSBseRFvGxEC1f44q1oLf\n0KXOk9vVraXeZwT4KpteiqYC9KWJWUR8jO3oCSfCjddjx657/bB75thaFoKq\nBJyRBd2v4QAuvNRUh3/CL63cWahbfl1+JQMs36UvphlVfwykLzfMnSDlEHvc\n2mkhrEX4tbl71dw2v1GW5wo1TLlQ6Pd/j4ht3qxjAbVxN+rN+VI3Uy+SzYVd\nOX4rgqrc3LaKqt5Dq7RK5JUX5aR8QGaLV0qsXNnkov234Ey/LkNwsUPv4ORz\nxskR\r\n=ZcM1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKpnwQSV4SXV3dOJsAEHGiL3Trl3pv4WJfjhP9RGrFbgIhAPCXM9MRX4TT3qPSrTnD30mSnhakKSLtxokO6zB/E5cu"}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.0.1_1611928271598_0.6237464571667717"},"_hasShrinkwrap":false},"7.0.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.0.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","install":"node install.js","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","puppeteer-core":"^5.5.0","puppeteer-extra":"^3.1.16","puppeteer-extra-plugin-stealth":"^2.6.7","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.22","@types/pbf":"^3.0.2","@types/puppeteer":"^5.4.2","@types/puppeteer-core":"^5.4.0","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","eslint":"^7.18.0","eslint-config-prettier":"^7.2.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.4.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"gitHead":"798b9746eca7436a94beb767ce309b2cfc5426c4","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.0.2","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-LqhEpY5a9aUDdRlRjeEZTVPJ0GbPiKEeUAIb1I9TPzJeFB2P41jhYF6YTDd/9+chXazVOGact0i7g8PjwB5dDg==","shasum":"b5425770401f26e6b1d30272e5fa3a0d8f98a0af","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.0.2.tgz","fileCount":80,"unpackedSize":967710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFKX4CRA9TVsSAnZWagAAqo0P/2QU3OPcUV9eP5x9Q3dy\n20lDfsAfkK8vPxQVmdpIqpIB19l27j1Qub1PXsk6Yzkn7ymr/ud67vDboLwz\nuXjP+An6+18JyVVFjuy5OouSOMpQO0d+nD5M3FICqp5+ZFhycYxxilZvtwZq\nP9/9Gu+i/frNwj1kAg48Xa59mYLblj/BGrXoG1bSE0jDsboriHBrTB0LIWJn\nqKNbce9kNFi4l1hmWBuqusLK0Higvl9tLzLnv951mXFCqDrIKYcx86IDtg/P\nXDVNcVeHY/+TPO9eIvN+VaqPRvrDLt808hY2nAu4kTG6cY4TfaLZRrcwG3Nv\nADK8nKN4BU0idBJS2H2yCDuxmGEV7biy9M7K8ZUNKn6z+F+QJuhR8nchXErt\nR8Sws7yhVZ9EvVBxE1iSc9urgxqoCkgS3qu4mey6vtZkf0T3ovb7PILx2KSi\nQ3EGHgoJxss1RxIPav9nQvhxFPCeNHUkfrX7yIsY+XOufIlla7tKi5OtII1j\n2AJmYtIaya2f0wR6w/y7sp6grIwTrN6mb49Z+GRK3TxfrGYOy7gCJiwXl1uN\nlQd6ANBSm3f25rCUKLgyGCcPBLdW0C7lXbqXCQgcWoqY54vg1kM90S8ZiYo9\nAVmDa7hPIV3/abgHg0K++MS5sEoUCythbmr4++Ae+Aigw8/Ialbu206eiaV3\nwnNo\r\n=Jd9k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoays+ONTLEJJe6OBsz0dJu+JefJOaGw+nlnzFgYYwJQIgQWcMh/bfVWHYP1jGEvcrf+ZdChtJxCa8BOH05Nie7P0="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.0.2_1611965944014_0.5020793971471893"},"_hasShrinkwrap":false},"7.1.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.1.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.18","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.22","@types/pbf":"^3.0.2","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","eslint":"^7.19.0","eslint-config-prettier":"^7.2.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.5.0","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"798b9746eca7436a94beb767ce309b2cfc5426c4","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.1.0-test.0","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-hWqq3jPrHMgGwhWgZRWId2WOAaqOAHRuGJLsC2tF96MuokANL1y8Em0QB+6Pr02CZXwB/lFLwV030GsVp9XrdA==","shasum":"fd4505a2af9147ae5d08c8f0b1e8d4ea3ad84f90","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.1.0-test.0.tgz","fileCount":75,"unpackedSize":915352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFv5HCRA9TVsSAnZWagAAf+4P/jmGn5dgLAw1xjExL1mC\n83IcBVgF0pmUqJEDrENaEDLlaQgQfj3oOs0xLCFjZKV7vCF+aGGxwEveltOc\nULmLrmBSRYWVFYlfCA/DlM+Z1c7azXCEIO9ndNp+8NQj91+MGeYFPVhS/GWv\nI8hWwaVfllidRn9k5mxaufdETiaqOphiPNkwpnEdjgsLrs26cLnRazeU9282\ndQSn9hU6T774YWcH0ZfDIQ/2LnHljtjwWVDCtPoHhaAs4HTpBU7SEg/CTcSh\nf9pX2cdKKDOpfFbvuXoi1tms20zTwlRsNwxPwM+v3TH4snOVl5A7Q8W1QM1X\nNLF1kUqUafrt+iAwk6JWxhu681/VLpX6jZmr8N99Kj1tDlFc/OCNBxhXUZE+\ngzpoXQ/0Q+Yjr2qPW/jVMyaDnxCWl7Thb5wDQtyOl57HM8TbD2mfXpT42TpJ\nWqgm/JaZ963Xy7kX9ucSue2fDn0B0wtF69FRZZ6F7LtwkoFNkLBwUXjNzAFj\nqnMcdrupPUdWewwWoLlcKJqQLZALPQVVbi6ysKwbHv2zjhuMsHDyJfTZ9hp0\nUTR/cWqeGgEa5SrDptfCgc/tAWI7mCAknbv5luf1h8xKCXQDJIbW0T+IlqaE\n4IlHkk1qpWjx4YWS2C/q42WGcTrRF0CxzAKKokkNCsUZ0vgIQe6vOY6Nkmn/\nNkA6\r\n=dM0Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEQso1XLeQNHa0jXjN2uAZs/s9k9TspDE2JvPJ1L0gtwIhAKTGAi/nJfohynewzF45J0NgC9gtmmom0sljBIX68tZX"}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.1.0-test.0_1612119623116_0.9047814540715713"},"_hasShrinkwrap":false},"7.1.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.1.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.18","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.2"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.22","@types/pbf":"^3.0.2","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","eslint":"^7.19.0","eslint-config-prettier":"^7.2.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.1.7","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.3","ts-jest":"^26.5.0","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"gitHead":"2ca0396243108d4256b01e9102ce7bd762bfb593","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.1.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-Ql5zffuElYvqyXW5WG62/v5DaoTIVX225Boe3i+g6rIQThrMzy+uSjP5xlVMrSoooFSd8T4yHegWinqwVJ1Xjw==","shasum":"ed58902c740161a0ffb5384bf8506a2bbd674445","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.1.0.tgz","fileCount":75,"unpackedSize":915345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFwNPCRA9TVsSAnZWagAAiIoP/jyXOzOvrLsO4R4f/hzO\nrfyxldtxeNm33TGO2TPO7vdRWKz8GvZetEGh8AtKpWvSsUl8mzjsFA2F66Pq\nDN1zYDVFYutJH2+dSHf0vAdE/bxFsFDuxtSXJaiLbVpwEeikJHosDqFmSxWi\noe4hwXvYvOD4D+AmwJmGb4VUeVSCZdsoFcAxQ3D1B1SD5xQe/8AmDleNfzpz\nVEyjLQdhgNqZW9znmzVmxlItZ6qfJYZZ9RfHCjfVk+S/UGk9fXiSOuUlL9sc\nrkxwJnciRmBVVlRGeZLJOxmhuFQiNBkafFu1keZ+p0RTJan/n7vgIgdSTTep\nX9bU/e4aB2vDsA/vD8a2Ry3Ttl5ll03+sBzNX2uOCAa3Pt/qbFjBBA0JXbck\nmGn0vlRFq2jpL2iAPe8Cu8i/Q0ju+hiiZCMw8QCWo8fEu743BkGS3kT/O11N\nUt7u4t9NcmHaFBo/rUe61KF7b3L5WpQ7hodDPSpaYEOZnKxfZWGIoWXU5Dsf\nZ963Yact2nZSTy3daqEGOy6/PY6dSmpgHSouQkykEcp8Ey/GQpAaF5ZYQbN4\n/Wa/T/vYTHCbp4izGwYH9GdXh65Ih0n2EYjYfXAFGgn8NtQw4u37Qs1EFYc4\nF3KVsJeQu19JraIxKzfL0PeZxYEYIIDmVImExC8iU08vMNV8dNtg2zVkkU3E\ngjCq\r\n=UjVG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBw8NE6AtEnAbj7/tBHsvf2Plzm57YwNwuHg5sSc3zpoAiEA4CADirb1JcJJDfsUULAh93YirQ9dhjvsVSqheXXU74Q="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.1.0_1612120910849_0.704387688291672"},"_hasShrinkwrap":false},"7.1.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.1.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.18","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.3"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.31","@types/pbf":"^3.0.2","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.15.2","@typescript-eslint/parser":"^4.15.2","eslint":"^7.21.0","eslint-config-prettier":"^8.1.0","eslint-plugin-jest":"^24.1.5","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.3.1","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.6","ts-jest":"^26.5.2","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"b7eeda818822775905b01d07a8f14d7eebf13b69","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.1.1-test.0","_nodeVersion":"15.3.0","_npmVersion":"7.5.6","dist":{"integrity":"sha512-ivmS462vAHJut31oRWnGAHKTPkblipJkcsi+VriboGe98RaAMV9GMgAQe5fZKsHNIomD96cELfNiQah1izUYcQ==","shasum":"4d9adff36bd56de9f47feb650a86ed0f28ca09d3","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.1.1-test.0.tgz","fileCount":75,"unpackedSize":916285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPBj+CRA9TVsSAnZWagAARMUP/1UMvf45+MzxyY3v/+Qg\n0osccrcQsLpL0u9/KVIV6XtjlnICVBo5BqNT1RwbJa0j373wvtQiw/6zvqdq\nMzTwXuZZLL0ThyVw/PvaRcO7ePUGusRUeIj+/xZelcJNvyNlKh6CR47dfIzp\nYbs3pgnHqLkr1ba+riLdLxsSg6gOZUEUvfKUPArY5UIOLnXrGrmG0iljypUa\ncGipoMRYM0ohSKKW+m7pEishtTm5O33x92X1VXIGCQ6g5zVxomtJgMN5YyUS\nVLfgFdR2Y+NRBdy1eGtYD2yGEaFCrQo2YOqspQz6kl/Dvf7Qhe+YH4m6eX0j\n/69qGEnUouyWkCmTeRYazJlHjcxXmoJJesWlZ5u68L+Wy08Nwrlka/ioJu0z\nZOczU/8rFFXyQ00vPARZcGWPaqqjzMJbkWiLqQgq8mvU1tqTXUQyXLDgy+Uy\nh1Dw6KpgAX86cfj2j3DzmUnvH61gOB0Eqz3n57YaJWWE4dKJPmfOQi6O+TrP\ndpVPovZexSDKJxw6mYeDIVJhRRfq1j6xse9HHJhzsV0SIBeOczsNbaCLe3Rr\nAJFGu8xGlbJ1kMOVCPfxJCUuo3CkVr9vfBTKqYWW7R+/hCAq/C9cBSlVQnBD\nZr3zw+EeyDpp0pF8LmVDdcVJGnyUHBdqxNQjZYQ5yxXYaVmcycaQGP1ArNFd\nfFDH\r\n=uF1Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICKN/bW+CD9svZO/Ktm9WJhH3mfeAOzXYRQwuSEo93EAAiEA1X8Xt4dXb7MtYoC7HBcfxxBvFlIUGGB1pB2naJ4jDU8="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.1.1-test.0_1614551293986_0.37822596790867835"},"_hasShrinkwrap":false},"7.1.1-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.1.1-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.18","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.3"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.31","@types/pbf":"^3.0.2","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.15.2","@typescript-eslint/parser":"^4.15.2","eslint":"^7.21.0","eslint-config-prettier":"^8.1.0","eslint-plugin-jest":"^24.1.5","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.3.1","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.6","ts-jest":"^26.5.2","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"c0c6852b7dd8a30b81cabb847039635970d8a952","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.1.1-test.1","_nodeVersion":"15.3.0","_npmVersion":"7.5.6","dist":{"integrity":"sha512-t96RXrUBHIcmWioQqdwcGnSfoty6yip4iVWQjUK+30PDpIggeTUbvo1hJDaBvdbtCRIFFpsdHYkw8JoOlVgA6g==","shasum":"318a6aca09234bdea305d52b19230c2d6c3a2838","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.1.1-test.1.tgz","fileCount":75,"unpackedSize":915489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPPsCCRA9TVsSAnZWagAA8R0P/3RRs4NZ9/DtBmyZZ3UG\nzPjIDwVn9dlx5kDH/XQibrNmhPfIg2zUGc4Ky8GbRw7exIrIWbeV4c9ldmk4\nIac83jW+sMuAMYfzHKl+qKtSwtHpQsttsomDOxB8MmBkkl26Vp3clrybPEnM\n3BTU+Mowb6MHTvFb0kYKrFXTbZtcKLaiWHUZhPJ0Ma9H1LAJ0GPm95ELnsUq\nIKactGsplqSvBJVdsDSGvJsrebex4gOzKCwA0RpZ7NrpP2QvhA/5TfWXbQUW\n4P9gFCsRmUlf2B+d5Hx9NfovItv0N84Us9FdwaHH+l40Vr/yhEMg4EwivTHB\n5euOfOobzbC2NpXnmBXZjgNm89WvIV6JlaZ403bK4QNbQXIjVSrI4+O6jVoi\ngz4ob1iRRtt5CdHrHdeMXi2KlHc7GdaU9DeN/0UbZkUJTo//7SAiVknyLG7U\nTN5r3usuwYUoqJYS+ktxaQygwi0UZvH7CnqE9AraMkNhz2dz5zbjIiqotPq0\nFDnlT1T0Osnlp/VvgwK0qIRAVzdLKj5TuEtWnzcNiz5JvGPsY2tl+Q9avsYp\ncH0Ci+sCmqOGzM1Y5vhVZRD17dXhRlrG91/CdYWqUsebv5vzNa5Kplde6SzN\nTdgBWZCxNl3oO0R6AZEY/6hesWsElcCLC+rIDVTi0KyK8pzuCthcK9GYJQXU\niNMV\r\n=VB9q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGPFO114vLP/3KHOYadRZ/Rso4dwcoyhYVwM/61GThVgIgQJ8IQRYBoJpOhDdkwryhRi7a+mtvYRH8fY14TKdgbIc="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.1.1-test.1_1614609153085_0.7417457992642755"},"_hasShrinkwrap":false},"7.1.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.1.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.18","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.3"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.31","@types/pbf":"^3.0.2","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.15.2","@typescript-eslint/parser":"^4.15.2","eslint":"^7.21.0","eslint-config-prettier":"^8.1.0","eslint-plugin-jest":"^24.1.5","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.3.1","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.6","ts-jest":"^26.5.2","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"gitHead":"3b414836fbc5992d0bc7d586eb3fbac556495664","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.1.1","_nodeVersion":"12.20.2","_npmVersion":"6.14.11","dist":{"integrity":"sha512-dW0ypf7vl5ywLYMcBN9/MmQm2EWtEd5edKF9F0DsAXevu/VIgPuva6SOTguaX971kK6OSwAK/4kMRJJ11cZ3mw==","shasum":"c60d47fd342b849cb64e2fccc0d6acbf45a57dbe","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.1.1.tgz","fileCount":75,"unpackedSize":915482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPTuGCRA9TVsSAnZWagAAteAP/RP7ZvuYU2Uzo18DbmX+\nBYupWx8EvsxzShbZkJ6cEU46p4pTKepMUO0uCv8F+bH+djjoSL5FfkbxGyOr\niT+hmtua5zRbKffNZY7zl6raCbCMM1qhaAYrr/jthjedFvZo110eiDVEU0XU\n6Com5QPAVJ3M0UrEeQpwHCJAPMvICT9e4KdlJ/2X+QSg+/WEbXu+6GqprREZ\nKDzn5Z2BR5g6GTV3pzXxhReOOCovO/cuyJljp9UBkBmx/ASIRumC+YpNAUXl\nJqVHJlOXqHV1LcumdAgAaJ+wAXX/xTq2tXEuByHvB0eDzZPxYV1FxM+ZBBwO\nWN4/zPIjkXAL00l5LQxbgZnzJ2R78gGR9P5mj6c3QJ0PJ+mR0zyyc3HhJpq7\nWDR8EPQEzyUN4Y6/YXPNOY3CmVNdgkpVCNJootpEvgusUtbDOmJnJpTq2g5I\nFJuZejXXxgneaTThG0gIvIAtQ/P19R7x6OXgWWsMM7j8QS3qBi53Zd5KlOK0\n5UekERz9CiwMtq+xLPY8NcjTK6ppuGcLbA0obXKlr5AtX9YpbpjZNftvO52b\nfGcXXSOOpWb/ArtBbQJhOXkF7z4VcDMaGy0nqykD+sxTj1RFnVsKUuXtnN2z\nmsX2wjL2rusmwMhc8wCeYWq2adWSzds7ja0aDy572khrtcPOYZAaJ/A1DNMM\n5GZG\r\n=D4aU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFLPSucp050UPKyKmvPTCm+TG5nb6sRQdynjHMCHaeehAiB6dtnmP1bWzdgl/gcf85iByaXCXKyRv7z6dE1+/+U3eA=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.1.1_1614625669431_0.5282801221690085"},"_hasShrinkwrap":false},"7.1.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.1.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.18","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.3"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.20","@types/node":"^14.14.31","@types/pbf":"^3.0.2","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.15.2","@typescript-eslint/parser":"^4.15.2","eslint":"^7.21.0","eslint-config-prettier":"^8.1.0","eslint-plugin-jest":"^24.1.5","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.3.1","jest":"^26.6.3","jest-preset-angular":"^8.3.2","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.6","ts-jest":"^26.5.2","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"gitHead":"5b8055d957936b69bce4c79f7531d972ea508ab5","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.1.2","_nodeVersion":"12.21.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-n3926z4Gl6pAdlz2fX/sXbFp5PHX5X2FJbSR619QnCulLP7SloTRztXt8uycwijZAJLwJwX9Iiqt93YmLLWmLA==","shasum":"0152ef300c576e968db9f7c94ea2ee1a39582e7d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.1.2.tgz","fileCount":75,"unpackedSize":915547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP9oDCRA9TVsSAnZWagAA8JIP/jRxF/6OhdHdrLT7VT8F\ndZxTmHXG0920zCRbaFcf6kVDJtKcIb5RWUThISH1T7U0ZXVGSdI0vQH8nMcL\nk314v45OrBQ3AQPTtNbQuGZ4OmAiPTl1BH0tPv8Y6npePao6VOLJrpG7SpFn\nkK4N+IC7bphgPPNxSVn+NQ4iC6wPp2CYVPEnqwYaiQ1QGr2eJUgv1bbEJrlw\nGfHe3ALsjKZUdNXxSnYFtOvU+jcRDia+W1d+4Wt0FPYCE6CPWaBaMybtTykd\nPFCrn/vWgmZkG8y9U9yDUrapyWKaQiQYfWjf/L7Ztel1ngexSJn3Lx2vDrzu\nLtFG4xdfPtOuGnJd8kk8f3Hf1zar6ItL9UMUlsmxqTwoKqlsfHsQDieiwZsr\nsOn5AMN0QQOuPMoUP8ThJ/2NOmEaBWzPDifjA2iRh9BED7JWnQ/fIrKx0Tps\n8iLeEa/k8EhGcLyePKsFUMI93lx+NED2A27xDvbeQgrzRFdcMgN1/pQ5LDon\nP6AINcuoJYG63ZvqlFbtSZpOwh5GrUTHgqSw5zaXbZOMHm7PJUshfwTKXOg/\nWQ3MrnUMWq+77+YCZgf/Re2ULE1Re/d2g8DRFa0owygDUqLEEX3lii6U6pSF\nwaeDQTAHrsKFCJUJE7kTrN0BmMClaUAd2x2oVRRVByPFwbzr4uMoIoG9Ls4M\ndrFg\r\n=B6mT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/hIHYT5iRb7R4PBNGLp7E5pbNCBWE/RmjjKO/TkCH+AIgVAVQsvH2sqt5tAInqYQD7grq9golqDJ5PcTjlZeQPkw="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.1.2_1614797313935_0.7794643266847576"},"_hasShrinkwrap":false},"7.2.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.2.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.4"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.22","@types/node":"^14.14.37","@types/pbf":"^3.0.2","@types/ws":"^7.4.1","@typescript-eslint/eslint-plugin":"^4.21.0","@typescript-eslint/parser":"^4.21.0","eslint":"^7.23.0","eslint-config-prettier":"^8.1.0","eslint-plugin-jest":"^24.3.4","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.3.4","jest":"^26.6.3","jest-preset-angular":"^8.4.0","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.6","ts-jest":"^26.5.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"908daed67cb1037e3bff5560ed756d4ae1ba16eb","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.2.0-test.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-0KS59RCCA/pA8ekrZZPKa2ZAu1lnrZbn8+eKTbDoDn/UDUzKCMykLXSpMX1AU0gPMJG8btEvkWWA5YuUk5pxLQ==","shasum":"a8faa5ad28e0c9c8a9ee7f034e143ed5ec49f4b4","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.2.0-test.0.tgz","fileCount":75,"unpackedSize":909697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbNICCRA9TVsSAnZWagAAh5oP+warVBafTjGss/k8pBIj\nhVWwkr5ZtTWPjTJ6+DezufGKKSjOmHliaQkudgQNhDY+rD9QPtI3UzIShZ8Z\nRbdgI7eji8C494mXLRJowRNvJLN7V2xjcVasDi80dOQg6wC8ERs5UR2MoOuW\nkuYHSJVPw18dNWid/4G4sSeHwrHNUrcaTKPIpi1U6UW9QfsU7mdp05Y9PRDi\n3FJpub/tKwgmFky6Qk+CKWFUNT6SY3RdJRkob6qUT7bCH0xu1szf2So18YpF\nuIivrlOTfLxAH6SseSo/yW9uUyDJ7P0HPF6zlBnUhZAmrC/yhN08AVUqVV6F\n9/YpdFsQ+C1Z0+MYmsuNE+vh++1vXCepu97wR8fziQ3SqCLjbZCvo5LykvFr\nhGrQIj0DvSIjx2957x1g0n5mDZIYeMj20UI/n1JF4xZf3IL5yJpi4USHwsIg\nvnHatDl8ElgbG8FGXZB1C4KHrniUp3vN2xMCKVnE7MqFj5Q+KyR9QkBuWZe1\nVHv/VGuO94gr3EsdB/zP+0cITOzEezBFA0IpiaefS5HfCmGyhlQvyGo41aYy\neMxkBCdK/MFyiJic9WtoiVqr0PLOMSgwlta+YyjpPDBeVsZ3SYieySodqmc0\nMETQWA0c7tWKtsIU6x76TxRjsg1y833euqzYWpsbpuhaV/GFil0gK7QMyfWQ\ntvPH\r\n=DWUK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvaLbYIDBp6ss4QyY1fL8J+o6Gj3jci02kSAu+bSj4QAiA1kYg2+HZKZFFC3O3DMJS9cBAAYPZ8Pku5lsLAFKEuDA=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.2.0-test.0_1617744385775_0.011728076209748695"},"_hasShrinkwrap":false},"7.2.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.2.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.4"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.22","@types/node":"^14.14.37","@types/pbf":"^3.0.2","@types/ws":"^7.4.1","@typescript-eslint/eslint-plugin":"^4.21.0","@typescript-eslint/parser":"^4.21.0","eslint":"^7.23.0","eslint-config-prettier":"^8.1.0","eslint-plugin-jest":"^24.3.4","eslint-plugin-prettier":"^3.3.1","homebridge":"^1.3.4","jest":"^26.6.3","jest-preset-angular":"^8.4.0","prettier":"^2.2.1","rimraf":"^3.0.2","rxjs":"~6.6.6","ts-jest":"^26.5.4","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"gitHead":"2a920a0f551a99d9e3bab9080ca7cf204c2bf47c","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.2.0","_nodeVersion":"12.22.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Qu0/YJ8ptxjDJPQ8qTahqyULvo0I2IaejUvqcRGQq5UC6f8yiEwN+MvoU/LWXCIx+NxgBp5xtyppWqEae6pxbQ==","shasum":"ddb3031712167f0a873ba8bd4e232796b67cc8aa","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.2.0.tgz","fileCount":75,"unpackedSize":909690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgba3xCRA9TVsSAnZWagAAbBsP/2GKZEOMpGujc5xByzsz\nxi1y9SDHxmeFjAyxa/fYWaPwCIl4QVONkYELhklM4MO+plOsOqorv1Lv4o7J\nDgi/VhoSfOZ8a/qolo/yCG26YVndiu7/JpFIJig8zmbjh6MHIoyW0/UYhx2v\nJD5+AnUn3RK4Pymek9zKzjoxgDBE2Im+PzNtrjeC3ODzrf0dlkWWrI6uBla/\nJyuq30Ynu6cRd38xIC1lVWftgjgnNlIvcK3N48fOPCcY2FxH+ijEpxnfu1ds\neqGfIOPloJWTJf/kjz7VxdsLaZRHe1JTf8wmWGMCESsTwZypECvazYzCMTNE\nmhEJoQMu+w/6V93YuxGO51YQp4Tn2TBP/Yn9Lhm0n/pLU4DENzVcZRVaF55Z\nKATUbDKsqC/MXYkgwK380pyratqngQw+bMFRsZjzTqTtTvLK+SuEVG6YJ6Y9\ncdAAitpKXlnaCVChbXojaSoVHU82XU9qua+YkNSw/69O3RJXP7W6bg60CwtI\nMIdCGI4b0/g1DaIufUoeOE44j75NU4tdGiR+ohCSGJ3STP4Al9+OQt7amA8l\ni9wz+/aaDYybGgC1KyDovZgx3CfRj8w62fIg2AH+XGHlWItDbEGph7XGsYNP\nkgGSQZasd8L2vA9eUfs6VOptEEfLwpDCcp2jNBEkTLCtG7P8o9rD+wvWl/ms\nrM2a\r\n=2PO1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuecoozhMhT1308x3ijlvSRL9VOCDyIzJCHBdt64l8IgIhALWRCIGwQ+2OwZ9zLHXnvPqsRDSUoA1xbvuZ4gj82ml4"}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.2.0_1617800688828_0.7479861439791546"},"_hasShrinkwrap":false},"7.3.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.3.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --prod","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.5"},"devDependencies":{"@angular-builders/jest":"^11.0.0","@angular-devkit/build-angular":"~0.1100.7","@angular/animations":"~11.0.9","@angular/cli":"~11.0.7","@angular/common":"~11.0.9","@angular/compiler":"~11.0.9","@angular/compiler-cli":"~11.0.9","@angular/core":"~11.0.9","@angular/forms":"~11.0.9","@angular/platform-browser":"~11.0.9","@angular/platform-browser-dynamic":"~11.0.9","@angular/router":"~11.0.9","@types/jest":"^26.0.23","@types/node":"^15.0.2","@types/pbf":"^3.0.2","@types/ws":"^7.4.4","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.23.0","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.3.6","eslint-plugin-prettier":"^3.4.0","homebridge":"^1.3.4","jest":"^26.6.3","jest-preset-angular":"^8.4.0","prettier":"^2.3.0","rimraf":"^3.0.2","rxjs":"~6.6.6","ts-jest":"^26.5.6","ts-node":"~9.1.1","tslib":"^2.1.0","zone.js":"~0.10.3"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"5f9f1c4ab77f010e5ac39bb3be315b4cb2ca5723","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.3.0-test.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-3K3MebWitnIKGARNE/gL//7Ndyfm/3D5zQaFbrmN8nY5o1bnTSXB2+T73F/htrSV89lAIGypwrLQOPO3bi1jEw==","shasum":"370335cdf7967e4ae1ca42da7088025118adebc8","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.3.0-test.0.tgz","fileCount":75,"unpackedSize":914612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmq91CRA9TVsSAnZWagAAce4P/RFuuKVQjC77CLZ8Q72X\n6iLMoHtEm2YfXnitB+sA8UWc8v3CDlGEDyN1V9ygMezSK+ugB6z/ZNftRpqw\nnKVPPsqcT3KIxP5zg0Ehpp7ddtGuwKhITkF/3wnygkdxBhgDLK69BXtaSdRq\npYTcgWGKACOnTo1Gt2zOgJ+gdigya+EIeI2obXT4yz3NHbnl7XP2IAx81cN2\nwQvhR2baZdogD9qRBuBewvnK9Xbhg2Mlb0Y4DxgGvbA1ISmHLd7jrhqTQ1gF\njzby+8yGBZE+6XEGGYJbEeSYBm+WZ3/PpDYvTYeMPeDHylQUK6t4Ms2jp5bZ\nd4qrQAALEzX6PIRR5M616TSOpJQ/bQ/xIZCLHwik2AIgsNz3upjFnkW+K2l+\n7PhQlF8DJrS1vAPdlEz9ZLjoudP0MAufzggZmMt5jpXR3HMLk5XkEhW2XLlN\nGv8CyUST9Tzxg6UHxsOfugwi4NE/K2O0L/eGuTkxzh//ai2ZfZ+sF7uu5P25\nIH42cE0aLOVlsKEdxYxFp1RrbJ0fL/DV9/shXbOISDGYf/AebrQNw60sNGjF\ngpZik0F3TLE6OeJIbiQztgmQZCs2LRO3hSNX0qA83zDQPXpyV3NYRO+R2wJp\nAJNZoJa2Phmiw8KkJt/c8j8IXT6nFjcj0GogpfE9MgEAS+RhMgDg+qwE3H/d\nmHqk\r\n=lyIh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICEKEwK5vW1YXJ2rKUPsPgeqFDN2rKm82K295ySlzo3iAiB1CLsWTlW3QDboPQAEXxv37Nb29sPsXMq6+2hJmOGNAQ=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.3.0-test.0_1620750196297_0.675101094211491"},"_hasShrinkwrap":false},"7.3.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.3.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.5"},"devDependencies":{"@angular-builders/jest":"^11.2.0","@angular-devkit/build-angular":"~12.0.0","@angular/animations":"~12.0.0","@angular/cli":"~12.0.0","@angular/common":"~12.0.0","@angular/compiler":"~12.0.0","@angular/compiler-cli":"~12.0.0","@angular/core":"~12.0.0","@angular/forms":"~12.0.0","@angular/platform-browser":"~12.0.0","@angular/platform-browser-dynamic":"~12.0.0","@angular/router":"~12.0.0","@types/jest":"^26.0.23","@types/node":"^15.3.0","@types/pbf":"^3.0.2","@types/ws":"^7.4.4","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.23.0","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.3.6","eslint-plugin-prettier":"^3.4.0","homebridge":"^1.3.4","jest":"^26.6.3","jest-preset-angular":"^8.4.0","prettier":"^2.3.0","rimraf":"^3.0.2","rxjs":"~6.6.7","ts-jest":"^26.5.6","ts-node":"~9.1.1","tslib":"^2.2.0","zone.js":"~0.11.4"},"gitHead":"e476bf030dc2cf5e4151f1ddc8125d603483c920","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.3.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-5jcTcZGMHWN5jFSF+YihxtjbMfuYVEr/yecLqzsYzmp49wYZcR6CHXAa5Qr7HOdFwBYuo9UaJFFlaU44ExuGCA==","shasum":"939651a5b3f8700e4c98c47b695b68db0465d056","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.3.0.tgz","fileCount":75,"unpackedSize":911526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgo8CoCRA9TVsSAnZWagAAqzwP/iRKVskjZbN2gn5e2Xzf\nQJqCVfRIlV1Ftf7qPbZRFU4Jgu1p7XWIZiE8oLlLrHZbY+6I55zmkVQbY4El\nxp3SfhEc5lCKaQuCJh1rOQ2JryDfg9loDrmKXhyB839ceW9AlY3Z5Syl8uDy\nXkRty2hCEHGvROWAQyMCwRCrIk9ytTSN2y3i0mdQn9pXEA8eMe7CgHCRHtHf\nNJ1zJ1kJ4d4UUMQewUxYYm9gkt3tk8uIg3duR1AR7Dxp5NEo0DVyPcl0L6f1\n4Wvwx1ohkkQeg0uiLyYGel6UmaADNYv5zhQKhJe/g1RxUtW8FYEXUmZoTwsy\nNjSfCAPQUxuQQ0ua0BZzabb07Z9jr00UtCFqAQspw8AuYwJRmLeOburqDAoY\nvv0KjmOhyCCwlxtnVyCngXt24jo+8LalpbrgqFmR//sruC2Adlc6xScNR6Au\n+Jl7kR2zYBiYED0JsIwVVVO85/RE7izu4lq69TJ/Tph7SxRNaRQNIv76ZoL8\nZO7I67Ya0yx6144gR6GxuhE6qJEAjKWaCObaBFp+9o29G5g/upEWOzG6MYy7\ntXcQsqLdRrTUYfvrEeQGKBD+3Pf4Myvsefnav545kbp/wXOTPHdTjxeLFVM8\nrLjP+le5LORD7dABFCqhHljyDKZmI4Z7PxPDlMYETRRaeKoMipg3zINhvly5\nVkCY\r\n=y1WG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6fH+dqLKzOw7aGMEBKZgPA90tCZsl2HqIMy1IinTzmAiAHJqVmQ0T1Qxya/sfo3joc1Zcwd+gvAeZLA9WoY8eqPg=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.3.0_1621344423924_0.15998887972263054"},"_hasShrinkwrap":false},"7.4.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.4.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.6"},"devDependencies":{"@angular-builders/jest":"^12.1.0","@angular-devkit/build-angular":"~12.0.3","@angular/animations":"~12.0.4","@angular/cli":"~12.0.3","@angular/common":"~12.0.4","@angular/compiler":"~12.0.4","@angular/compiler-cli":"~12.0.4","@angular/core":"~12.0.4","@angular/forms":"~12.0.4","@angular/platform-browser":"~12.0.4","@angular/platform-browser-dynamic":"~12.0.4","@angular/router":"~12.0.4","@types/jest":"^26.0.23","@types/node":"^15.12.2","@types/pbf":"^3.0.2","@types/ws":"^7.4.4","@typescript-eslint/eslint-plugin":"^4.26.1","@typescript-eslint/parser":"^4.26.1","eslint":"^7.28.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.3.6","eslint-plugin-prettier":"^3.4.0","homebridge":"^1.3.4","jest":"^27.0.4","jest-preset-angular":"^9.0.3","prettier":"^2.3.1","rimraf":"^3.0.2","rxjs":"~7.1.0","ts-jest":"^27.0.3","ts-node":"~10.0.0","tslib":"^2.2.0","zone.js":"~0.11.4"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* use the old access token authentication method as Google is urging users to [switch to Google accounts](https://www.macrumors.com/2020/05/05/nest-two-factor-authentication-from-may/).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| cameras           | Specify the camera UUID  of which cameras to see                    | array            |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"228fe0e77cef9069d55fbdc058ee2f71645f31e4","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.4.0-test.0","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-VHwJYhFxNrmO36noormtoN5RCctji36AtcphzrTuGROUzWu4OAB7X9x0URFuPQB5+S/+bUN+Y8PSXlLyTVTshw==","shasum":"01606c89c96e96554f4ca50d989da931a2bf7d82","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.4.0-test.0.tgz","fileCount":75,"unpackedSize":918194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwW1OCRA9TVsSAnZWagAA3hcQAI4STS08JvMmiR1Bj1Ex\npIfgDMeXyyB+IoP+h1UgQlYZQGukje9aiwIIe1pJphC1wHtJu3KT8TqmlmQW\nFMy0EGcvYUO4QFaL6iAschBQyjEbKnSNANtUGxtetZCA8rwceD1QyLdAQDSS\nVJ4BzFnMZD7RMGjmDx73IeLgqtqpWfYWBceI+s918YDIqHXjMiUyLAEA0Zuh\ncGj/OEGztRGPk+wfaUqitA0J9Z9KziHM0nnAR5XARaYxzlzfERIaSw9f0a0X\n3Ia9VmTpaXYLN2K1wf3ZwyIY08VppMHadWNygMYQcYmqrqihgpubnnni0J20\nqBzBEvKCsiw3qCZMjf466DGIx0cNOdnd05dtQAAE/ALzygvg3RZGK1CQDn1Y\nQUhkUS0788i8zJflq63V70btwqkPfBAuXyXtiUG8ySV98gSzfjchyGCzd77j\niOTYvjFueFDGTirSgTT6Ig1LNE6TVvHI4jbFmBc7aiELOV0uyiGGUvRuoheA\nZNnl3PoFWpRMK2Oot1azmbJoac4oeLYiwfauZInr85kIlbSW7ianwjhSm82K\nNiwDrOvwJh9eLX7PpZiEwQRdLodRfPDPX3OdSgR1lAIzdWdxRSLgHERc70dM\nSW7RO1ivsKTFPc4+mU8MpGC93lfZNllKpMFy3z9RYHJ0IPFzGht5pAZsyIpt\nog2E\r\n=Owt9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEZz2TvAoEMfpsVcyevSs5cJHnu8VcBRsVWKJqKlotAAiAiBphW31ahcgV9sU/wIuu8kVYkEFUqbsBK9/lbLJlyPw=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.4.0-test.0_1623289165849_0.7542335494950687"},"_hasShrinkwrap":false},"7.4.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.4.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.21.1","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.4.6"},"devDependencies":{"@angular-builders/jest":"^12.1.0","@angular-devkit/build-angular":"~12.0.3","@angular/animations":"~12.0.4","@angular/cli":"~12.0.3","@angular/common":"~12.0.4","@angular/compiler":"~12.0.4","@angular/compiler-cli":"~12.0.4","@angular/core":"~12.0.4","@angular/forms":"~12.0.4","@angular/platform-browser":"~12.0.4","@angular/platform-browser-dynamic":"~12.0.4","@angular/router":"~12.0.4","@types/jest":"^26.0.23","@types/node":"^15.12.2","@types/pbf":"^3.0.2","@types/ws":"^7.4.4","@typescript-eslint/eslint-plugin":"^4.26.1","@typescript-eslint/parser":"^4.26.1","eslint":"^7.28.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.3.6","eslint-plugin-prettier":"^3.4.0","homebridge":"^1.3.4","jest":"^27.0.4","jest-preset-angular":"^9.0.3","prettier":"^2.3.1","rimraf":"^3.0.2","rxjs":"~7.1.0","ts-jest":"^27.0.3","ts-node":"~10.0.0","tslib":"^2.2.0","zone.js":"~0.11.4"},"gitHead":"c9dda752dfbd7d7a6c277d3595a57e9e08e6a6ef","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.4.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-y9nQxAwBwtf80VukEX/TFGE5nglRGd0saD8F1c4R2/92281auZGUun7LW1q3Rxh5TrqO/d+rpky6qPYXlzwIDg==","shasum":"5360e13942fd71addfabcaf017a149b0916f3932","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.4.0.tgz","fileCount":75,"unpackedSize":918187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwgRtCRA9TVsSAnZWagAA2kgP/0GrGGOp0tMKWSifvHIa\nRsLigCKmLZ3J2Q6scPKKTnOJjkBG7p2Kps/4pYt4QAoGumXM1UtIobg5BwtQ\niXVafEVp/IXR9TZWf5ZyXdFuTGE0c3UOF8uiL2NIO9jF9OtlaI1f7LAMRwRX\nZv8SZE1QHB68NP12dmG2HXHOoqUKxWic6dnJipXO6GrtYVs/cwe8SFfa3Hlj\nd18ODcbadkk3MUj0oJR3vZlgPEt/HTFmiCFPGEQzWC4rKE5NPsbwN4mtGSEA\neqDRN/YDp1AC9Vn/2dzZDpGWB0ImLk0y+a2oZgijH4pEUM0wV6mFt5l845hd\nLUVOuouSoKc3SPa0ejeQ9sAxjL0urgFYIiAZXRJ/oVFBpXY4iy8lctzzQGDz\ngjqyxnGURexy7y2G71Tzn1EiRVjg0Xx6oUfDKdBoDzC6Huop9I5zP56C1omR\n7tUxUY1iHWAwCSBFdY85Q9ben1J/JZdxgVe/yncMhJf3SRs2MEAe9yX5l9PB\nCtgwK3Do5JNID2MH2ag+uO6I4N8DUCdZ3MU8cv5xCR04msiiiIPoCzmQI/RZ\n9uo8YcKru3QDh1t2cXrkGklazsOzI/OpsAGSicz9dtAwAya7xJcWPzbDQhdU\nje7L6X0szCG2eKEe0duv5xJaKlv+8dfZXDMSAIUekR6uGxeN+IC1w46rqKft\nImO+\r\n=b1OC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDB6m7WhVeOeC4RKKOBid6prsmMbmr5QimxcUhFtUE6SAiEAu6q20O4EcCdYXlwLPWMxfH4wP1jUHk+yWSz18M2Xh0M="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.4.0_1623327853802_0.9768516906288593"},"_hasShrinkwrap":false},"7.4.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.4.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.21.4","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.5"},"devDependencies":{"@angular-builders/jest":"~12.1.2","@angular-devkit/build-angular":"~12.2.7","@angular/animations":"~12.2.7","@angular/cli":"~12.2.7","@angular/common":"~12.2.7","@angular/compiler":"~12.2.7","@angular/compiler-cli":"~12.2.7","@angular/core":"~12.2.7","@angular/forms":"~12.2.7","@angular/platform-browser":"~12.2.7","@angular/platform-browser-dynamic":"~12.2.7","@angular/router":"~12.2.7","@types/jest":"^27.0.2","@types/node":"^16.10.2","@types/pbf":"^3.0.2","@types/ws":"^7.4.7","@typescript-eslint/eslint-plugin":"^4.32.0","@typescript-eslint/parser":"^4.32.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.5.0","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.4","jest":"^27.2.4","jest-preset-angular":"^10.0.1","prettier":"^2.4.1","rimraf":"^3.0.2","rxjs":"~7.3.0","ts-jest":"^27.0.5","ts-node":"~10.2.1","tslib":"^2.3.1","typescript":"^4.3.5","zone.js":"~0.11.4"},"gitHead":"b372965627112ed00d594cfcb9e1e5af5b94ffa7","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.4.1","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-QwrUm9+yNpaMMt2y9SBrgjcLslL/zIZ3ByvJhakpoyMkPhxhwebQatarW6PxJy1DcrNYz78z4cxJYfvCSYWCgA==","shasum":"9f40e06a9e9e594ed996b279176b55e5ea7826f4","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.4.1.tgz","fileCount":75,"unpackedSize":922676,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI7NnOwPBQK+SceorwHaJEMf2Cpid3RlVDM4LbjDUlAgIgL1Aw3m4Mf6FEi7LOd43/+wpZLVGmDp6+DsrPrpIFAd4="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.4.1_1632955239536_0.31217934805056946"},"_hasShrinkwrap":false},"7.5.0-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.0-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.21.4","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.5"},"devDependencies":{"@angular-builders/jest":"~12.1.2","@angular-devkit/build-angular":"~12.2.7","@angular/animations":"~12.2.7","@angular/cli":"~12.2.7","@angular/common":"~12.2.7","@angular/compiler":"~12.2.7","@angular/compiler-cli":"~12.2.7","@angular/core":"~12.2.7","@angular/forms":"~12.2.7","@angular/platform-browser":"~12.2.7","@angular/platform-browser-dynamic":"~12.2.7","@angular/router":"~12.2.7","@types/jest":"^27.0.2","@types/node":"^16.10.2","@types/pbf":"^3.0.2","@types/ws":"^7.4.7","@typescript-eslint/eslint-plugin":"^4.32.0","@typescript-eslint/parser":"^4.32.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.5.0","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.5","jest":"^27.2.4","jest-preset-angular":"^10.0.1","prettier":"^2.4.1","rimraf":"^3.0.2","rxjs":"~7.3.0","ts-jest":"^27.0.5","ts-node":"~10.2.1","tslib":"^2.3.1","typescript":"^4.3.5","zone.js":"~0.11.4"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n[![BuyMeACoffee](https://img.shields.io/badge/coffee-donate-orange?logo=buy-me-a-coffee&logoColor=yellow)](https://www.buymeacoffee.com/L1FgZTD)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* work with the latest Nest cameras. If you do not see it in the Nest app, then it will not show in this plugin. More info can be found at [#440](https://github.com/Brandawg93/homebridge-nest-cam/issues/440).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| cameras           | Specify the camera UUID  of which cameras to see                    | array            |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider making [a small donation](https://www.buymeacoffee.com/L1FgZTD).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"7ba4e32d0b0c1ab636c37ecb180134dcc82591cf","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.0-test.0","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-pSYds4S2CFF0nR1sX36XAxb6ZMd3S4Q/Qug2S1wFI8WJM6IBLs4vnIvGhDGvHDBiylsVngQ5/cwAK0e4RAGQjw==","shasum":"4998357bd383494941029bb432431bcfd7f0ce0a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.0-test.0.tgz","fileCount":75,"unpackedSize":927768,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqiP1kPlXH8eocemw7+q2WqR9UebxkbIoLICnW7XAqeAiEA6MGHHY7q0fUEzTLOS8aUhzTLNEUuJ4tg17pQz+Os0T8="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.0-test.0_1633985564073_0.09924139303380719"},"_hasShrinkwrap":false},"7.5.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"individual","url":"https://www.buymeacoffee.com/L1FgZTD"},{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.21.4","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.5"},"devDependencies":{"@angular-builders/jest":"~12.1.2","@angular-devkit/build-angular":"~12.2.7","@angular/animations":"~12.2.7","@angular/cli":"~12.2.7","@angular/common":"~12.2.7","@angular/compiler":"~12.2.7","@angular/compiler-cli":"~12.2.7","@angular/core":"~12.2.7","@angular/forms":"~12.2.7","@angular/platform-browser":"~12.2.7","@angular/platform-browser-dynamic":"~12.2.7","@angular/router":"~12.2.7","@types/jest":"^27.0.2","@types/node":"^16.10.2","@types/pbf":"^3.0.2","@types/ws":"^7.4.7","@typescript-eslint/eslint-plugin":"^4.32.0","@typescript-eslint/parser":"^4.32.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.5.0","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.5","jest":"^27.2.4","jest-preset-angular":"^10.0.1","prettier":"^2.4.1","rimraf":"^3.0.2","rxjs":"~7.3.0","ts-jest":"^27.0.5","ts-node":"~10.2.1","tslib":"^2.3.1","typescript":"^4.3.5","zone.js":"~0.11.4"},"gitHead":"9d243df9c20676c54a3ccd75aa03463bbb16adad","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.0","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-UL6uXpl3wEwxqyROldA3ncRAsdW6TCTaJD0V4RnyOCMpyfCLO59TL0TocOLcQF2Ampi8VU5I2VeI/W348ogm3Q==","shasum":"1ecc92ce7fa140c226c4957bef625297b2ce363c","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.0.tgz","fileCount":75,"unpackedSize":927846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAuIavb/kv4wzbidF1/PBSb2G7Z8P2ter2Lu6j2Yg/iRAiAfaS78BsYqkWikD/hoaYHLi+v+j8wAaCSUGI9/4+jGxA=="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.0_1634246321955_0.6476868585752797"},"_hasShrinkwrap":false},"7.5.1-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.1-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.24.0","base64url":"^3.0.1","execa":"^6.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^6.0.0","pbf":"^3.2.1","ws":"^8.4.0"},"devDependencies":{"@angular-builders/jest":"~12.1.2","@angular-devkit/build-angular":"~12.2.7","@angular/animations":"~12.2.7","@angular/cli":"~12.2.7","@angular/common":"~12.2.7","@angular/compiler":"~12.2.7","@angular/compiler-cli":"~12.2.7","@angular/core":"~12.2.7","@angular/forms":"~12.2.7","@angular/platform-browser":"~12.2.7","@angular/platform-browser-dynamic":"~12.2.7","@angular/router":"~12.2.7","@types/jest":"^27.4.0","@types/node":"^16.10.2","@types/pbf":"^3.0.2","@types/ws":"^8.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","eslint":"^8.6.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.9","jest":"^27.4.7","jest-preset-angular":"^10.1.0","prettier":"^2.5.1","rimraf":"^3.0.2","rxjs":"~7.3.0","ts-jest":"^27.0.5","ts-node":"~10.2.1","tslib":"^2.3.1","typescript":"^4.3.5","zone.js":"~0.11.4"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* work with the latest Nest cameras. If you do not see it in the Nest app, then it will not show in this plugin. More info can be found at [#440](https://github.com/Brandawg93/homebridge-nest-cam/issues/440).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| cameras           | Specify the camera UUID  of which cameras to see                    | array            |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider [sponsoring me on Github](https://github.com/sponsors/Brandawg93).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"9a2824264032166c129defaaf023a1fe5eaf142e","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.1-test.0","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-V1ituOU4LqcQ5lZB1eEqSciHTMWZFrEYEgLkguHPUHDluT4TKpUp7qCjbI+Gd5tlIudDo1DlzqsQu8O0go+7Dg==","shasum":"b14f42fdd91e07cbf83a5ebcf9582af01901c85a","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.1-test.0.tgz","fileCount":75,"unpackedSize":927693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1duxCRA9TVsSAnZWagAA19gP/0S3v8LpDDzxkq4Vsktf\nQKka7lEeV6k0jYcjCT2j3gC1xF4FFgK8FXOMNbxyZk2cug5Ll2CF+QwGvggd\ntrgQ/BDuzL4B8kQhydxk1O27v3/ybTWiAojz5gT5D+WbRDIhm/yFOb++s3CM\nwgK+Lk84ksrbuxKkFt3fetrg0myzlrSjit586ySKE2vU3FLY9klPhEY6Nw5K\nEAirGB+iknbhVSg9dexg+pO2vLYdOZ7Fs9J0UoOAAZ0mSSqAXnEj4DJ5JH8J\nHtQUTnqH5cGozxWfng3tBIZyp+FhA9gdJ/2AA3X0jctISmQm71AL9uMi7gua\ntD33CcftpJV2W4JkWY6T9WloE+07hlsCI1mH7pqD0AGsPOPhaiKGECn9Yd9B\n98NAkIB0vJfVQ49idguIavXBAI0RIx5CHP0OHuhEmjLsndsmdB2j2Tfgv0is\ngjcoKGg9IfBa4HncXwOQcNXeB9Kb3MyfxDCCfkTfXuwH2Du98zD1iMscVbWS\nyTnw6KmjYMUYBkKtAQTxOxb+jNJGB+0KwFi1/sUbwKlL87MjOP1ap9QPGSMY\nmzuWhUnuCbQkM+oA5F2XUz1qNVI1OEXCr4ckdh7stSIFpukbVq+hoUl4hkJR\nbC0aOiD2s2vq+dUYm9y/+KRErzD0YdmHIgtX6mb3yqOccT1WFUNKDTq525gF\nmS8e\r\n=weD8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAtpCtVE0HwwEme6aFc7adfqFMwVkhQz3nGq9/8t4ITAIhAOlnNzU0Z8nsmw645RbBGUmqVMQHzw79CjiB9NL+9nfG"}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.1-test.0_1641405360978_0.6004928690569564"},"_hasShrinkwrap":false},"7.5.1-test.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.1-test.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.24.0","base64url":"^3.0.1","execa":"^6.0.0","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^8.4.0"},"devDependencies":{"@angular-builders/jest":"~12.1.2","@angular-devkit/build-angular":"~12.2.7","@angular/animations":"~12.2.7","@angular/cli":"~12.2.7","@angular/common":"~12.2.7","@angular/compiler":"~12.2.7","@angular/compiler-cli":"~12.2.7","@angular/core":"~12.2.7","@angular/forms":"~12.2.7","@angular/platform-browser":"~12.2.7","@angular/platform-browser-dynamic":"~12.2.7","@angular/router":"~12.2.7","@types/jest":"^27.4.0","@types/node":"^16.10.2","@types/pbf":"^3.0.2","@types/ws":"^8.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","eslint":"^8.6.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.9","jest":"^27.4.7","jest-preset-angular":"^10.1.0","prettier":"^2.5.1","rimraf":"^3.0.2","rxjs":"~7.3.0","ts-jest":"^27.0.5","ts-node":"~10.2.1","tslib":"^2.3.1","typescript":"^4.3.5","zone.js":"~0.11.4"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* work with the latest Nest cameras. If you do not see it in the Nest app, then it will not show in this plugin. More info can be found at [#440](https://github.com/Brandawg93/homebridge-nest-cam/issues/440).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| cameras           | Specify the camera UUID  of which cameras to see                    | array            |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider [sponsoring me on Github](https://github.com/sponsors/Brandawg93).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"9a2824264032166c129defaaf023a1fe5eaf142e","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.1-test.1","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-AyyCq6v37bl8iCq7GG2JeAHwuJLYxaHxtooZOf3dic5TeYeH5sSdzMkckROM9/bx1vNQEH/u+bkJnsYuFYyDqA==","shasum":"ec161cdb131e426ecb1a4c28bd968228dcc6bbb7","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.1-test.1.tgz","fileCount":75,"unpackedSize":927693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1d2TCRA9TVsSAnZWagAATGsQAJVtN9u3jKATHICqh1lI\ny7SUJxY5EYpfp9P0HHRPyTKIvsC9bYpUL5mE+SxIJh7t6+A7nBeLJhzc3o4u\nZsTuunlyBZuEVyiAXGyDLcjf4vJOrJ5kwPLHm05X8PxBfJ7HVRBdx+wnvd+U\nBJpAY6YgOkxP0/YNPzsOUNIzMD2FfT4Nj6kMFjYS5XAKfCYwuNp0GyzheD76\nCruwOkIvne+f4dCBs2MFRWtr6SGmDPu5bWHRSFPQ50hoQ1RVI+rrrlwgiepW\nDBJ+Aem1fB+Jk+0PJrbcQxls0SRnmQG+KB4foLdMMuI48wdVYPZrSRr+MVsB\n6HvBADrX6UL/mkafz7kyCpljk1iF5dw2TiIuE1nBZoZqa7ltSC7JNVIs9YDd\nJVGFuMMUVom05kLwOd9SVwws0rmbcySgREjteRiEDwDGPH49cS3S6aJY0xWl\ncl5D8FQ7PlwikFFDcThsbX9wNzMgBCiUFhTOl9JYqqJakpBpHtVVje41qe+k\nJ8FUDvPIhlTKFxd/R3tG5senssQ9mOWSpEe+gPmYfuWFFfaCWxVDizBo9C0F\nWsqN4ySQaqZnqhtldx9XpzWZNlpvXwQVu5tHguNDyTbCeITKQwvcymB/1SnG\ngNbfFrp44Uo49A64xWKclXid0soYKFnws3w5XiWcitGEW7ji9kJWN/CR4EJT\nnI2G\r\n=rd0d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBSrwHNi5wTvsCQVdIv8Gzr3Wqmo0sAcnk9a/ErEgmtAiEAm572ymWdwUe/rbA6B+nyMZy/KIeHzsJE4CfYgUQ+JH0="}]},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.1-test.1_1641405842902_0.3578048680051631"},"_hasShrinkwrap":false},"7.5.1-test.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.1-test.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"npm run rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build","rimraf":"./node_modules/rimraf/bin.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.24.0","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.6"},"devDependencies":{"@angular-builders/jest":"~13.0.2","@angular-devkit/build-angular":"~13.1.2","@angular/animations":"~13.1.1","@angular/cli":"~13.1.2","@angular/common":"~13.1.1","@angular/compiler":"~13.1.1","@angular/compiler-cli":"~13.1.1","@angular/core":"~13.1.1","@angular/forms":"~13.1.1","@angular/platform-browser":"~13.1.1","@angular/platform-browser-dynamic":"~13.1.1","@angular/router":"~13.1.1","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/pbf":"^3.0.2","@types/ws":"^8.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","eslint":"^8.6.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.9","jest":"^27.4.7","jest-preset-angular":"^11.0.1","prettier":"^2.5.1","rimraf":"^3.0.2","rxjs":"~7.5.1","ts-jest":"^27.1.2","ts-node":"~10.4.0","tslib":"^2.3.1","typescript":"^4.5.4","zone.js":"~0.11.4"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* work with the latest Nest cameras. If you do not see it in the Nest app, then it will not show in this plugin. More info can be found at [#440](https://github.com/Brandawg93/homebridge-nest-cam/issues/440).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| cameras           | Specify the camera UUID  of which cameras to see                    | array            |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider [sponsoring me on Github](https://github.com/sponsors/Brandawg93).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"99859d4ae8072773ff74e204762922fd3813288c","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.1-test.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-HrKYf++d2cQSz1YlRHR3HoY10HOO25ifOP7VNBFzXQUI/1HmVaXpjEbtYUYNxxP5QcEsX6B6lfe29xibx9zQrA==","shasum":"3b2f6f160e5d119182e03436802645fc20d250fe","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.1-test.2.tgz","fileCount":75,"unpackedSize":843112,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyQw6JVRkpFrONNQoZFoB21wlbfZbS1cD3Obg5NJPAHAIgUk6SaKpZwHaOb8sf+o983j1Z7mvFEniNNhhgRIu4ZPU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikneBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRXg/7BVr4GvrBWXFoZacuh0NHBHL5/2sBkR/hCIWLe/w4me3LQ0B7\r\ntZ7IQJtiDrx0A9pFu1p0TUPuCrvtU64yNUTmrSHm69E0piHp4pwZkFR9JH/X\r\nx0XKsJTDUBmLFuhBybQRJHEUjo7Y7OUOsV7LSV+8rfVPZVXINssjGrvpeOlu\r\n6Duum13rgT2Uy479+rwySQrbLN6pDoRH4pVJ7DHkR6UZ5t+jhsfsnfGo508B\r\n8GxsgIf5krj5mCgLoQ+UiNUJeqjYtFEtY0TewUWseLXJ/+qnzGtCQ75FfPpe\r\nRiCN/pTDkIYITm5SuNKULk0WTViI8hCei6fbTqVv1NPRyXDzlIMvPiMxgTOX\r\nNN7tjsH4+y66Ol9KfneANiJsJ+LGF6eZbD9tkaaBnyirijLVhMUqwTJxxhsE\r\nbm/WMg5MEdds9k61ZoOFr3eDlUhKbzZMprTYuZ+KRO3J0ER0B91QIdvfcX7q\r\nwPNPlPN+sZF99+Eic2Qw9Ruo52K87x2U0F3NHmFm4kMy6LkI9TWLPBLzXCaR\r\nNKQ3taLv1SUu+l3aVsiE1thHraWpFjfbvPEaZStj5y/n/OmMfIB05UFqTP2m\r\n1lhmB4dkhQfFPT8yt4pF5601F9FYD3EsezmZx4ySZy5Ipdio9sZWtFwgYHg6\r\nWu3/4YiFidfQT1rnwdOQ6BPfCew6d8PkwOg=\r\n=FEFn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.1-test.2_1653766017470_0.10548891725872078"},"_hasShrinkwrap":false},"7.5.1-test.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.1-test.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"npm run rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build","rimraf":"./node_modules/rimraf/bin.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.24.0","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.6"},"devDependencies":{"@angular-builders/jest":"~13.0.2","@angular-devkit/build-angular":"~13.1.2","@angular/animations":"~13.1.1","@angular/cli":"~13.1.2","@angular/common":"~13.1.1","@angular/compiler":"~13.1.1","@angular/compiler-cli":"~13.1.1","@angular/core":"~13.1.1","@angular/forms":"~13.1.1","@angular/platform-browser":"~13.1.1","@angular/platform-browser-dynamic":"~13.1.1","@angular/router":"~13.1.1","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/pbf":"^3.0.2","@types/ws":"^8.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","eslint":"^8.6.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.9","jest":"^27.4.7","jest-preset-angular":"^11.0.1","prettier":"^2.5.1","rimraf":"^3.0.2","rxjs":"~7.5.1","ts-jest":"^27.1.2","ts-node":"~10.4.0","tslib":"^2.3.1","typescript":"^4.5.4","zone.js":"~0.11.4"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* work with the latest Nest cameras. If you do not see it in the Nest app, then it will not show in this plugin. More info can be found at [#440](https://github.com/Brandawg93/homebridge-nest-cam/issues/440).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| cameras           | Specify the camera UUID  of which cameras to see                    | array            |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider [sponsoring me on Github](https://github.com/sponsors/Brandawg93).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"99859d4ae8072773ff74e204762922fd3813288c","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.1-test.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-A3I0utwC743uTMSli1MoLls0wraV0im7DXXzcUhRgEPPAPuY0IvKp1OOoG6OwxYapAuIxU0yXxP2D8vbl9coeQ==","shasum":"ca50c6458f6bd51c92586f4868fab8a160a3e49d","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.1-test.3.tgz","fileCount":75,"unpackedSize":843076,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4vmm5nVbbZJ4C4ThuR0N3czF1gyW6zyiXu6oDZbPz2AIgfE/GJ7A2xa/nX9t/PkQQ3aDEL7j0PQ3miwM3Wumxrds="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikpaFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCSw//U7yUTZE5N6TrHDaUGBKieTeUkGMQwL0tw+rwUJRKcpYe2BOa\r\nQGUoMG7eKkcokmad1J/SX7tx4pD6iK7xgfyCT4RLBFzxE2mB+pLuBQfFFQVF\r\nBBkBH4P6n82agsNMnB9beVFvqtp0brL1lZm0lHOhidDmiAouTth7wAREAkpl\r\nTp/nVa3oLt5rhi0S1DXYA9mSGTV8oYhsPdwr5wQPnjBOIX7u+vHND1ltyjPL\r\nJiYv03Tv4bD8k1pGikEQIRG7xCwNgB8odnjqcoh8m+oliLl95myGxHyqpCZ5\r\nkonmvXyLHDHep4aGxqt+weJh/Dp6r105ZO2XL0Dmu3vb6BtecyGtiUtVZk8j\r\ncsxNQK+gZTmrT9vkUgQbw8xGyZqikrYovn2fqVRU7m34aCJu9u6k/KD89JrW\r\nXV9sQ4E70mhYJA+hii9AzshGuzfhnpY3wAn9e8Rv3tKlCQbfVMew9auAJvEN\r\nTVz3wnSV+s5P3H4Vpo8PNvQcwsjfAhjZKbkwGHW1JuJhPqkina9uaImq+jA2\r\nq3HPwRytDs7IwHk7Z6qD/WHf1/5DU5MBd3CUieYU+Ps5ew8M4W4U2W5CYPgl\r\nSiiS6bhqEO2QqWGi+hIhZF5ES+xjkRs7zl6dxjLdAi+/mLOu0itaXuCF7cFa\r\nUFT3FvpvLfl52e0saFK4+QHLYsgLb4hjHt0=\r\n=unhD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.1-test.3_1653773957329_0.7579447831318356"},"_hasShrinkwrap":false},"7.5.1-test.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.1-test.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"npm run rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build","rimraf":"./node_modules/rimraf/bin.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.24.0","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.0.9","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.6"},"devDependencies":{"@angular-builders/jest":"~13.0.2","@angular-devkit/build-angular":"~13.1.2","@angular/animations":"~13.1.1","@angular/cli":"~13.1.2","@angular/common":"~13.1.1","@angular/compiler":"~13.1.1","@angular/compiler-cli":"~13.1.1","@angular/core":"~13.1.1","@angular/forms":"~13.1.1","@angular/platform-browser":"~13.1.1","@angular/platform-browser-dynamic":"~13.1.1","@angular/router":"~13.1.1","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/pbf":"^3.0.2","@types/ws":"^8.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","eslint":"^8.6.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.9","jest":"^27.4.7","jest-preset-angular":"^11.0.1","prettier":"^2.5.1","rimraf":"^3.0.2","rxjs":"~7.5.1","ts-jest":"^27.1.2","ts-node":"~10.4.0","tslib":"^2.3.1","typescript":"^4.5.4","zone.js":"~0.11.4"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* work with the latest Nest cameras. If you do not see it in the Nest app, then it will not show in this plugin. More info can be found at [#440](https://github.com/Brandawg93/homebridge-nest-cam/issues/440).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| cameras           | Specify the camera UUID  of which cameras to see                    | array            |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider [sponsoring me on Github](https://github.com/sponsors/Brandawg93).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"fb539d9ca45ae7e8db7ed7d9c7dbc606d383e204","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.1-test.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-U3j1oaHxYuRNlf7nTzoV786bMpjAjnFvoNRY6xS/yeAKDU/a/uuSJxa46sYT8IlFth2VPVqO8wHH5Bzg8xsIHQ==","shasum":"61c1e8b1be119324e1f1339975ea2d0d23e30da3","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.1-test.4.tgz","fileCount":75,"unpackedSize":843490,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYg/kvUM+w27IayWsrIKydtFys6zPBcuJAp2AnLFP/PAiByXOr5uikSrG1bhBNYE96NCiFn6t2mbtS5CjlsFkOjLA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiokQNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKKQ//ddVF9pGR1ZZTfXjt6JwCUEKJ+C9KXbQnz8BOeiezrxHV/PcQ\r\n7j6ygpxvHgvCjoCQfGchL3akrgnhWSlvZ0h7xzADYkCcPUXgoVW0zwwxPrE8\r\nLia5oe/9fe8NlNy8PDFC3mqmBYdQljjnhP/GP/1rDOnG14Y2BLtrbQLvTQu/\r\n0ZIVJNueUjxtayzpFcLmkSdHokJP6sVh9QCIwQ4IcL9fXjc+ohvda+lAakZK\r\nLa/PPgcefqdy/Ieq3mrv4e5kPWXQajeTkejRgLh21EaPWksuOnLTR529oOmP\r\nSfxKgKa2uVi1tQkeSeiGgzcqd98eova7u/J3RTB4RG3vO5+ZfW0lSp5j4b3B\r\nYbLyNIhkvK14cmijPj55BaevkRXT3fjNnwyo6+RZAezlSDQsEZS2T5RRK3rz\r\n9rXlrltIyZcVgm3buj0OcPs6ks3JNNEI6LlTmsPF9tBRlxsaq80CSG5k/P3K\r\nuGcScNthExuw+fcUz+kisAp3HbgBeLHhHCmjRZ3gk7hq63VD73KhR0LXEwoM\r\na3YkFVtmnS/GaAy0/bHred3Gh+Whv06fM3m47ALjtgVx6r6kZxO/S3b6bSlI\r\nvbIiRd+nNHpRqtu3tGoKRtqHCW7avi2PPUMd+WI0wAndGkcjrPBWJjkNDu0e\r\ndlU48o9dNk5Q3welYQ0FsiOJr5quRVN+138=\r\n=sWCj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.1-test.4_1654801421194_0.7088875772698369"},"_hasShrinkwrap":false},"7.5.1":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.1","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"npm run rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build","rimraf":"./node_modules/rimraf/bin.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.27.2","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.1.4","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.6"},"devDependencies":{"@angular-builders/jest":"~13.0.2","@angular-devkit/build-angular":"~13.1.2","@angular/animations":"~13.1.1","@angular/cli":"~13.1.2","@angular/common":"~13.1.1","@angular/compiler":"~13.1.1","@angular/compiler-cli":"~13.1.1","@angular/core":"~13.1.1","@angular/forms":"~13.1.1","@angular/platform-browser":"~13.1.1","@angular/platform-browser-dynamic":"~13.1.1","@angular/router":"~13.1.1","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/pbf":"^3.0.2","@types/ws":"^8.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","eslint":"^8.6.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.9","jest":"^27.4.7","jest-preset-angular":"^11.0.1","prettier":"^2.5.1","rimraf":"^3.0.2","rxjs":"~7.5.1","ts-jest":"^27.1.2","ts-node":"~10.4.0","tslib":"^2.3.1","typescript":"^4.5.4","zone.js":"~0.11.4"},"gitHead":"0bdfe27424048900448235da78e900bfafe95669","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.1","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-kVlpkhsjIudJO2u0SUfNIJlv1nu9t2grtU6r1Bt9In5hlo2HFgWUVlDyom+EryVhdLr//SoOUCQ7fqgkZRPE1w==","shasum":"c1d6d76d8a55fa4b768641f8043211b5f48128b1","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.1.tgz","fileCount":75,"unpackedSize":843758,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7mCqj7tf68uO4bOqUon1RjzyHn5SUbB4cMpRUypt37gIgJyRvt7XdzPfpswQNZISvHSYyNp+FtONx0+qUrI0wLOw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiq8YOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoORw//Q0KGHnzwJ2QmJin7Ignsy23tN/41Zo1N/o4JQVxv2SskHZu1\r\n2tlTBFAZGONEInb8Upx4ZR8XnPMel4CzOcYjMgIIaUHldwpdthHiUVC/g90k\r\nr3Yp6FNHgCD1Ri/2qTg9kIIwbe2bd9V8eai7M7eXDJufIOHVG7ALoi5/WEU1\r\n77ODLMn4qgxsTwngZwZRFp0UuS8hMb69U4i53jLkGM489xLYzEvJ6PV2QOsr\r\ncyRd6AhxsLu+yaR65OxqtermnVoa+mSCF2NMMmgotvU2mlrhMs3/SUax7F5N\r\nsYpCawT/ZUja0p6ASQbgxTQKuTPoRt5fBwW6BWoO2QByd8+72Wr1kHh331u2\r\nIXDzJyQMY0WgvmH3E7k+tc3Y/PrCqwuVjqjVTxmRiWS+2yicEjTAQfLybsuf\r\nU9Z4TYGvKGci+wUK4Rjef7XBoqYU8JovGqJV500FTRWm/73mgg6WQHqINjfa\r\n2Gj64AkvXO/1ZunskDnxs75jo8/6O414RJ/Lxu9bcFFJeo2K6S10fGyMZ3mV\r\n9dwSdnwz2YG0kyywufyh42vbg9THJJNX7Iw/klVbsFl+oyGtFtmdUQgk1oU0\r\nmkIKa+0V7/ZiO+BAv2fE+vK8/UzgK70L48aUNMQdwCWMK/FaoccAibVHcHIJ\r\n3F2zuyLol2P5eKJ7IxfbBCb9rmClipuXaCc=\r\n=QX2r\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.1_1655424526377_0.14515544148292658"},"_hasShrinkwrap":false},"7.5.2-test.0":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.2-test.0","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"npm run rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build","rimraf":"./node_modules/rimraf/bin.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.27.2","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.1.4","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.6"},"devDependencies":{"@angular-builders/jest":"~13.0.2","@angular-devkit/build-angular":"~13.1.2","@angular/animations":"~13.1.1","@angular/cli":"~13.1.2","@angular/common":"~13.1.1","@angular/compiler":"~13.1.1","@angular/compiler-cli":"~13.1.1","@angular/core":"~13.1.1","@angular/forms":"~13.1.1","@angular/platform-browser":"~13.1.1","@angular/platform-browser-dynamic":"~13.1.1","@angular/router":"~13.1.1","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/pbf":"^3.0.2","@types/ws":"^8.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","eslint":"^8.6.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.9","jest":"^27.4.7","jest-preset-angular":"^11.0.1","prettier":"^2.5.1","rimraf":"^3.0.2","rxjs":"~7.5.1","ts-jest":"^27.1.2","ts-node":"~10.4.0","tslib":"^2.3.1","typescript":"^4.5.4","zone.js":"~0.11.4"},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* work with the latest Nest cameras. If you do not see it in the Nest app, then it will not show in this plugin. More info can be found at [#440](https://github.com/Brandawg93/homebridge-nest-cam/issues/440).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| cameras           | Specify the camera UUID  of which cameras to see                    | array            |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider [sponsoring me on Github](https://github.com/sponsors/Brandawg93).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","gitHead":"0bdfe27424048900448235da78e900bfafe95669","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.2-test.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-9uev4pm4ZSSvW29Zcl0NNrPTkCuYB2oR6pxLjZMNLLXIr0lgipv5oHPc7rqnd2XmbRkCpOY6dSImAAhtNkygwg==","shasum":"74c5b8ac16c9ed8e2abd720bdfd38516c7133a7c","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.2-test.0.tgz","fileCount":75,"unpackedSize":843888,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHvXM2Ccak52hc+ORFTvrQilTecXECZ9iJidwwX8H4bwAiEApcrTXzIJcy76+zo1g5oYMmQ7mOp5XdSXeP3ElEVkaPw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1b+WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr51Q/+Lz0tauDEgDQz6KUACm4T9pOYtorqoOZYueUGWb+2fB/ZVy3c\r\n0yG37A+qNe56in9LH8TysZFfgB8znn6rcc2jt/O4kJOkO+L17T37w5UI1/xU\r\nX4C1jsqVfle/j3ToxuPFogX+aB7JsbNkIGhJu6cZXPrQOE3fMX+PzDibeXpz\r\nVgp+g9nEXHPreFfnNbrsYJeyLopw29DC+cec4vD5mGMLXPmKjp4szo9PlBTp\r\na8DyiGBZIP3WWJAab1Igr+gQVvR26g8mlhTutA/0w3adY6Ve/iILZufjz0wk\r\nCcmHAEqajyXHJWyanogMloJBO+12dMWG6VQuNzcIkXbmtV86CI0zdkDtRprf\r\n3Jmz5VEirFT773F6YoynmJWXNkleFY0+qhn2QaZNE5rmbArtCHpMR7HcZS3U\r\nvNmCBYF6OhsFKmCxS1/b1vccitVNWKa4U82sufNxkqvFgKPQl/RcsNp/Vcuu\r\ntKpJdvmBcO1g35M7Bn/o+kqsu5CwzS//mnk8Xg8RiX9I7JGuXC9HXL2W0CES\r\nWVGoUm9m9peksV8elS5h9JRDui0QL/1kjLTY9X9uAMZh6to0mfvUJI2dB3mj\r\nCmE1MMicodDU40SrvKfoPtSh5hZvenrB7eaJGYwOBnsXvNLLqmbnt56LvZiV\r\nVTIuYNT7jpQbSXylzIMNxHDIr8ZzjaDsjrA=\r\n=tR9B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.2-test.0_1658175382270_0.6655338110981461"},"_hasShrinkwrap":false},"7.5.2":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.2","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"npm run rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build","rimraf":"./node_modules/rimraf/bin.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.27.2","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.1.4","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.6"},"devDependencies":{"@angular-builders/jest":"~13.0.2","@angular-devkit/build-angular":"~13.1.2","@angular/animations":"~13.1.1","@angular/cli":"~13.1.2","@angular/common":"~13.1.1","@angular/compiler":"~13.1.1","@angular/compiler-cli":"~13.1.1","@angular/core":"~13.1.1","@angular/forms":"~13.1.1","@angular/platform-browser":"~13.1.1","@angular/platform-browser-dynamic":"~13.1.1","@angular/router":"~13.1.1","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/pbf":"^3.0.2","@types/ws":"^8.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","eslint":"^8.6.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-prettier":"^4.0.0","homebridge":"^1.3.9","jest":"^27.4.7","jest-preset-angular":"^11.0.1","prettier":"^2.5.1","rimraf":"^3.0.2","rxjs":"~7.5.1","ts-jest":"^27.1.2","ts-node":"~10.4.0","tslib":"^2.3.1","typescript":"^4.5.4","zone.js":"~0.11.4"},"gitHead":"d7577481a6e58e71c23f1b03665d4b32a2ba31c2","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-NFD2irPehNguWfEblfJMtRmroTpnSRsPqR3wFV91fHNfIzpvi2GlsY+84MAFB+URtImQ635wYpKPknULRJ2kLw==","shasum":"355284202fc65d9cbc177fc50be2092fe0da6027","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.2.tgz","fileCount":75,"unpackedSize":844131,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCevwPr4vJhMdQrGJhTIMmUraLsAJCW90VNy/pe0RbwqgIhAM1q9oK+o+UaYoKQC+vply/yOuNTozB8HUjYx7bjYvlS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2IIJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrInRAAoyIfpfj0awJNUW+8R9QWWBmrBbPhPXpJf8DE9ZjiPDYAv5lD\r\n2DK9witVyMXGNXg6eSGZfFdFJODdj895ITc+UB0oTWNVNx+CtxBEfd28SoBw\r\nVIqAnyx/akSypbkXb0ReGhc5tSScJaeJ6tmMk1hije8XpA+VkCvNBiJFvFhL\r\nF+FM+ZyhBkUd5Q9dZY41D9T6+K76WrSn2Cme4684P27GlwkX9fTQkc+hsZg5\r\nO0Sy/SS9bAIUpya4Hon/Du+DZu3qDMJSL87x1Pk1swzwTtYjO4puxduKOTS5\r\noNXGyE4KLXXSSXzmf56A9ZkXNz8l+6hIGnAIHqC2cFk+XYPSp3rmJN7eKgxX\r\nyVyaZ6QciQsZwEvmgucrzz8wotPdDxyNEUbJy+JIt+1IqHXmWNoqTK83qxMF\r\nGLs4ORaTuv3AURVYEmXIUgGmU1WhSCAPh093GOWoLRPCYdJyReHtYFya1vts\r\n/P9rXDQ/QryEyJaGredO/YFtvZNESwBKrqA51q4RS4o7GSBxxZnQezDHxogc\r\nyIMc1GF9sebLyY8kXEmf4oeQAN/S01vWrQJVihIcGU0hZvLT1WrBk28YghF/\r\nxacZgIV69GrIhEINw8gea2RK+Akm3zBzzuxnFdOPqvPQtvOS+N0r7GfJbxHm\r\nfRFvkuhkhGScYuTsCi4wJFjzZLLYUBbj4o0=\r\n=kqfR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.2_1658356233076_0.07568913097735708"},"_hasShrinkwrap":false},"7.5.3":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.3","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"npm run rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build","rimraf":"./node_modules/rimraf/bin.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^0.27.2","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.1.4","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.9"},"devDependencies":{"@angular-builders/jest":"~13.0.2","@angular-devkit/build-angular":"~13.1.2","@angular/animations":"~13.1.1","@angular/cli":"~13.1.2","@angular/common":"~13.1.1","@angular/compiler":"~13.1.1","@angular/compiler-cli":"~13.1.1","@angular/core":"~13.1.1","@angular/forms":"~13.1.1","@angular/platform-browser":"~13.1.1","@angular/platform-browser-dynamic":"~13.1.1","@angular/router":"~13.1.1","@types/jest":"^29.0.3","@types/node":"^18.7.20","@types/pbf":"^3.0.2","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.38.0","@typescript-eslint/parser":"^5.38.0","eslint":"^8.24.0","eslint-config-prettier":"^8.5.0","eslint-plugin-jest":"^27.0.4","eslint-plugin-prettier":"^4.2.1","homebridge":"^1.5.0","jest":"^28.1.3","jest-preset-angular":"^12.2.2","prettier":"^2.7.1","rimraf":"^3.0.2","rxjs":"~7.5.6","ts-jest":"^28.0.8","ts-node":"~10.9.1","tslib":"^2.4.0","typescript":"^4.5.5","zone.js":"~0.11.8"},"gitHead":"aeacad4feeda3caefde43d77184d7d26a129e71a","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.3","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-RVsl4ofGkISVJJxTlphSlnSxbgXoYqPfCfTTVyN0RB56oCGIu9GrX2R41DcWYjzXbG1/BatVAKNQweQ9JI06Jw==","shasum":"c5d39c827712b7aa608b0fc618afb444a2feac71","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.3.tgz","fileCount":75,"unpackedSize":845455,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4Ll8ANJlXOCHLVV8S1mWDXn1xBqHYxxOm4knbfxWi8AiBKHBlwGNsQWGp0ZSQ6KlhI6DKbwI4jc3C2eW18sbMQrw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjL5GFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpyDg/9GRefQioglbLFOMsveBOEbgJlvf5CycHDo8NR9pZ1Au/mqkP/\r\n6ZtxUMbdMhzWxoHg6RlNC17BdkGa9DfBjQLCa8Wv6SewhiuMDejTE7OlYu4T\r\nBsHhx7/kzmuaWSRT3gm3v+aSdthxGJdPOCuerXqevN4XawP/u+W4DxgyvcCI\r\nBImwIzPUlmp2T2uJFdurPCWNnXehNQRPW8DV+dGy+ZWh1auqBn+/5AmQq4M9\r\nKa+Eaz3ySrft50cu204YTyivLaoQuQq8wqku0cqky9q7BTb+hlyAfclNFLGY\r\ncSXP4q8eIFtCTb+DWVpiE3MVZysWVgX47iWNG8On0CwplGh1cc0iXny7LT7N\r\nTKPXjAERtDSfydYrVLD0lIMKYpHRR8lh1FfLtxLX/b01ulJsudj2g+24iVpa\r\nYzBujaTgL3D8fv1UhnSWbEIvTkzPgGDIcjMbTlfp/OQwmu2R2WxTMJRR5++w\r\ndtKNPhcwnCnJlW2si7a9lbjGNe7u4kFlomqQ4aKMgPLjoYUgIVUg2HU/GoDH\r\nlT1Ai5yvgnRYT4VTdD5xm5ro4PZ82IPRk6iNkF9kaSTtRg/9/FiSTsGUGTbb\r\noRb2J33SG1TztNKVWM+8UNz0waJPGYjeZnmo3vAVXHKHfu0YmWRwjU2AYcej\r\nnSKD1elLeoejYkOH1hMJDI6TjDcXLgOY5zs=\r\n=lVFx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.3_1664061829001_0.32442815225812804"},"_hasShrinkwrap":false},"7.5.4":{"displayName":"Homebridge Nest Cam","name":"homebridge-nest-cam","version":"7.5.4","description":"Nest cam plugin for homebridge: https://homebridge.io/","main":"dist/index.js","license":"GPL-3.0","author":{"name":"Brandawg93"},"funding":[{"type":"github","url":"https://github.com/sponsors/Brandawg93"},{"type":"paypal","url":"https://www.paypal.com/donate/?business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam"}],"bin":{"homebridge-nest-cam":"dist/cli.js"},"scripts":{"clean":"npm run rimraf ./dist ./coverage","build":"npm run clean && tsc && ng build","deploy":"./dev/deploy.sh","packlist":"npm pack --dry-run && rm *.tgz","format":"prettier --write src/**/*.ts","test":"jest --coverage","watch:tests":"jest --watch","lint":"eslint src/**/*.ts --fix","prepare":"npm run clean && tsc && ng build --configuration production","prepublishOnly":"npm run lint","postpublish":"npm run clean","ng-start":"ng serve","ng-build":"ng build","rimraf":"./node_modules/rimraf/bin.js"},"keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"engines":{"node":">=10","homebridge":">=1.1.3"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","axios":"^1.2.1","base64url":"^3.0.1","execa":"^5.1.1","ffmpeg-for-homebridge":"^0.1.4","get-port":"^5.1.1","pbf":"^3.2.1","ws":"^7.5.9"},"devDependencies":{"@angular-builders/jest":"~13.0.2","@angular-devkit/build-angular":"~13.1.2","@angular/animations":"~13.1.1","@angular/cli":"~13.1.2","@angular/common":"~13.1.1","@angular/compiler":"~13.1.1","@angular/compiler-cli":"~13.1.1","@angular/core":"~13.1.1","@angular/forms":"~13.1.1","@angular/platform-browser":"~13.1.1","@angular/platform-browser-dynamic":"~13.1.1","@angular/router":"~13.1.1","@types/jest":"^29.0.3","@types/node":"^18.7.20","@types/pbf":"^3.0.2","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.38.0","@typescript-eslint/parser":"^5.38.0","eslint":"^8.24.0","eslint-config-prettier":"^8.5.0","eslint-plugin-jest":"^27.0.4","eslint-plugin-prettier":"^4.2.1","homebridge":"^1.5.0","jest":"^28.1.3","jest-preset-angular":"^12.2.2","prettier":"^2.7.1","rimraf":"^3.0.2","rxjs":"~7.5.6","ts-jest":"^28.0.8","ts-node":"~10.9.1","tslib":"^2.4.0","typescript":"^4.5.5","zone.js":"~0.11.8"},"gitHead":"be36f79aec298352264fc953a0b28a818de61d77","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","_id":"homebridge-nest-cam@7.5.4","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-tePj3lkGJzOR+74RVSR4PYTkCv5LGe+jt+1kdOS9jE5QPCa2blwYcuyGq4aE/INvTFChRUs8Ucx8sl3Cg4cM1A==","shasum":"ed3a1b66e9a94e53daf0c4d36e464ea15c68bdec","tarball":"https://registry.npmjs.org/homebridge-nest-cam/-/homebridge-nest-cam-7.5.4.tgz","fileCount":75,"unpackedSize":845454,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGrHQXn2NDRuGcP4B9jChLZ33ng4aI2Zo2zDHCKAZdqAAiBiOr/ygWCK2U5jjh+YnkB82pJvCDsV4juwgwgapuA4TQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjk38nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBxg/+PaTZ8vcSMelMQC8B0pyOUuNN2mrUxWWJJbCPCnKcOqwGJYeR\r\nCgVISkRweN2wxJkSjC9PL6iwyT1864k5grNJb93LnDQYxXlzAVygS0E98faE\r\nd8wEixBR9i7kOHudmWEzgJY99hdejIJsSxRiltH5iY6k4Gf4QBSUPPN+dO/C\r\n5T+vu0FxyUAzJ+j+xxin7B8w0s61O5l+/HYUED5Ny0KczUjj31ljOluFAgM7\r\nzXKidaFix/RcE3b58NAkw2Zo9bkvUhHsGc7JushxdbQISMP+th8e3PwzbHZ0\r\nIOkZZDahSjUPbeYldZXsGlT7zMkF39bTZ3N29WbynZWU4s30rcZ6sTXfrB96\r\nbFi85N6s3SJBJhGEJ65vD2V1UUFbLNnb5d6hNzqefo57NOZv9bVUQuSBbzQ5\r\npPLDq0/OV02RgJIUC2kaCg2ra0nvfYCwF/98zhL0baEcgy9CIfB5SeMt5Grg\r\nzOw34FHYIdWhazdvmvysR82tY0lAuIaMlCcI0Uo5AEdAEWhtrI6ho0QrEAH3\r\nrjfCFpggK/izDC01mR/j5Buq97xn3+QT4fGjnvDK4kOoOf2F0zsUOtfaT98E\r\nAepaAKfuiNeJ1Jcf0jzITr/j1zMKiixt0/DNkXzJA8TG2JCl5T/+EI8u33rM\r\nvK/gJRNmYuDQEu4kleceZWhcJHVVAojCocQ=\r\n=mgbC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"},"directories":{},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-nest-cam_7.5.4_1670610726882_0.6089756244824782"},"_hasShrinkwrap":false}},"maintainers":[{"name":"brandawg93","email":"brandonmcfarlin1016@gmail.com"}],"description":"Nest cam plugin for homebridge: https://homebridge.io/","homepage":"https://github.com/Brandawg93/homebridge-nest-cam#readme","keywords":["homebridge","homebridge-plugin","nest","nest-cam","doorbell","camera","smart"],"repository":{"type":"git","url":"git+https://github.com/Brandawg93/homebridge-nest-cam.git"},"bugs":{"url":"https://github.com/Brandawg93/homebridge-nest-cam/issues"},"license":"GPL-3.0","readme":"<p align=\"center\">\n  <a href=\"https://github.com/homebridge/verified/blob/master/verified-plugins.json\"><img alt=\"Homebridge Verified\" src=\"https://raw.githubusercontent.com/Brandawg93/homebridge-nest-cam/master/branding/Homebridge_x_Nest.svg?sanitize=true\" width=\"500px\"></a>\n</p>\n\n# homebridge-nest-cam\n\nView your Nest cams in HomeKit using [Homebridge](https://github.com/homebridge/homebridge) with this plugin.\n\n[![NPM](https://nodei.co/npm/homebridge-nest-cam.png?compact=true)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![PayPal](https://img.shields.io/badge/paypal-donate-blue?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=CEYYGVB7ZZ764&item_name=homebridge-nest-cam&currency_code=USD&source=url)\n\n[![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%2357277C&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![certified-hoobs-plugin](https://img.shields.io/badge/HOOBS-Certified-yellow?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OTIuMDkiIGhlaWdodD0iMTAwMCIgdmlld0JveD0iMCAwIDk5Mi4wOSAxMDAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTk1MC4xOSw1MDguMDZhNDEuOTEsNDEuOTEsMCwwLDEtNDItNDEuOWMwLS40OC4zLS45MS4zLTEuNDJMODI1Ljg2LDM4Mi4xYTc0LjI2LDc0LjI2LDAsMCwxLTIxLjUxLTUyVjEzOC4yMmExNi4xMywxNi4xMywwLDAsMC0xNi4wOS0xNkg3MzYuNGExNi4xLDE2LjEsMCwwLDAtMTYsMTZWMjc0Ljg4bC0yMjAuMDktMjEzYTE2LjA4LDE2LjA4LDAsMCwwLTIyLjY0LjE5TDYyLjM0LDQ3Ny4zNGExNiwxNiwwLDAsMCwwLDIyLjY1bDM5LjM5LDM5LjQ5YTE2LjE4LDE2LjE4LDAsMCwwLDIyLjY0LDBMNDQzLjUyLDIyNS4wOWE3My43Miw3My43MiwwLDAsMSwxMDMuNjIuNDVMODYwLDUzOC4zOGE3My42MSw3My42MSwwLDAsMSwwLDEwNGwtMzguNDYsMzguNDdhNzMuODcsNzMuODcsMCwwLDEtMTAzLjIyLjc1TDQ5OC43OSw0NjguMjhhMTYuMDUsMTYuMDUsMCwwLDAtMjIuNjUuMjJMMjY1LjMsNjgwLjI5YTE2LjEzLDE2LjEzLDAsMCwwLDAsMjIuNjZsMzguOTIsMzlhMTYuMDYsMTYuMDYsMCwwLDAsMjIuNjUsMGwxMTQtMTEyLjM5YTczLjc1LDczLjc1LDAsMCwxLDEwMy4yMiwwbDExMywxMTEsLjQyLjQyYTczLjU0LDczLjU0LDAsMCwxLDAsMTA0TDU0NS4wOCw5NTcuMzV2LjcxYTQxLjk1LDQxLjk1LDAsMSwxLTQyLTQxLjk0Yy41MywwLC45NS4zLDEuNDQuM0w2MTYuNDMsODA0LjIzYTE2LjA5LDE2LjA5LDAsMCwwLDQuNzEtMTEuMzMsMTUuODUsMTUuODUsMCwwLDAtNC43OS0xMS4zMmwtMTEzLTExMWExNi4xMywxNi4xMywwLDAsMC0yMi42NiwwTDM2Ny4xNiw3ODIuNzlhNzMuNjYsNzMuNjYsMCwwLDEtMTAzLjY3LS4yN2wtMzktMzlhNzMuNjYsNzMuNjYsMCwwLDEsMC0xMDMuODZMNDM1LjE3LDQyNy44OGE3My43OSw3My43OSwwLDAsMSwxMDMuMzctLjlMNzU4LjEsNjM5Ljc1YTE2LjEzLDE2LjEzLDAsMCwwLDIyLjY2LDBsMzguNDMtMzguNDNhMTYuMTMsMTYuMTMsMCwwLDAsMC0yMi42Nkw1MDYuNSwyNjUuOTNhMTYuMTEsMTYuMTEsMCwwLDAtMjIuNjYsMEwxNjQuNjksNTgwLjQ0QTczLjY5LDczLjY5LDAsMCwxLDYxLjEsNTgwTDIxLjU3LDU0MC42OWwtLjExLS4xMmE3My40Niw3My40NiwwLDAsMSwuMTEtMTAzLjg4TDQzNi44NSwyMS40MUE3My44OSw3My44OSwwLDAsMSw1NDAsMjAuNTZMNjYyLjYzLDEzOS4zMnYtMS4xYTczLjYxLDczLjYxLDAsMCwxLDczLjU0LTczLjVINzg4YTczLjYxLDczLjYxLDAsMCwxLDczLjUsNzMuNVYzMjkuODFhMTYsMTYsMCwwLDAsNC43MSwxMS4zMmw4My4wNyw4My4wNWguNzlhNDEuOTQsNDEuOTQsMCwwLDEsLjA4LDgzLjg4WiIvPjwvc3ZnPg==)](https://plugins.hoobs.org/plugin/homebridge-nest-cam)\n\n![build](https://github.com/Brandawg93/homebridge-nest-cam/workflows/build/badge.svg)\n[![Discord](https://camo.githubusercontent.com/7494d4da7060081501319a848bbba143cbf6101a/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3433323636333333303238313232363237303f636f6c6f723d373238454435266c6f676f3d646973636f7264266c6162656c3d646973636f7264)](https://discord.gg/pc2pqmh)\n[![Downloads](https://img.shields.io/npm/dt/homebridge-nest-cam?logo=npm)](https://nodei.co/npm/homebridge-nest-cam/)\n\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/latest?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/latest)\n[![npm (tag)](https://img.shields.io/npm/v/homebridge-nest-cam/test?logo=npm)](https://www.npmjs.com/package/homebridge-nest-cam/v/test)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/brandawg93/homebridge-nest-cam/latest?logo=github)](https://github.com/Brandawg93/homebridge-nest-cam/releases/latest)\n\n| [FAQ](https://github.com/Brandawg93/homebridge-nest-cam/wiki/FAQ) | [Troubleshooting](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Troubleshooting) | [Error Codes](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Error-Codes)\n|---|---|---|\n\n## Notes\n- This plugin *does not* work with the latest Nest cameras. If you do not see it in the Nest app, then it will not show in this plugin. More info can be found at [#440](https://github.com/Brandawg93/homebridge-nest-cam/issues/440).\n\n## Installation\n1. Install this plugin using: `npm install -g --unsafe-perm homebridge-nest-cam`\n2. Add google authentication to `config.json`\n3. Run [Homebridge](https://github.com/homebridge/homebridge)\n4. Login with [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) or use the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n### FFmpeg\nBy default, `libx264` is used as the h264 encoder. If you would like to use a hardware-accelerated encoder instead, refer to the [h264 Hardware Encoders Wiki](https://github.com/Brandawg93/homebridge-nest-cam/wiki/h264-Hardware-Encoders).\n\n### Setting up the Config.json\n#### refreshToken\nGoogle Accounts are configured using a `\"refreshToken\"` string in `config.json`. An example is shown below. The field will be generated automatically when using [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x), otherwise, it can be found in your Nest account using the [manual authentication method](https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication).\n\n```\n{\n    \"platform\": \"Nest-cam\",\n    \"options\": {\n      \"ffmpegCodec\": \"libx264\",\n      \"motionDetection\": true,\n      \"streamingSwitch\": true,\n      \"disableAudio\": false\n    },\n    \"refreshToken\": \"1//01T_...\"\n}\n```\n\n#### options\nExtra options can be enabled/disabled depending on which switches and sensors you would like to see in the Home app. Here is the current list of available options:\n\n| Name              | Description                                                         | Type             |\n|-------------------|---------------------------------------------------------------------|------------------|\n| ffmpegCodec       | The video codec to use for FFmpeg                                   | string           |\n| streamQuality     | The quality of the stream from LOW to HIGH                          | number (1-3)     |\n| alertCheckRate    | How often to check for alerts                                       | number (seconds) |\n| alertCooldownRate | How long between consecutive alert notifications                    | number (seconds) |\n| alertTypes        | What type of alerts to receive                                      | array            |\n| importantOnly     | Only send notifications on events considered important              | boolean          |\n| motionDetection   | Enable/disable the motion sensors                                   | boolean          |\n| doorbellAlerts    | Enable/disable doorbell ring notifications                          | boolean          |\n| doorbellSwitch    | Enable/disable doorbell automation switch                           | boolean          |\n| streamingSwitch   | Enable/disable the ability to turn the camera on or off             | boolean          |\n| chimeSwitch       | Enable/disable the ability to turn the doorbell chime on or off     | boolean          |\n| audioSwitch       | Enable/disable the ability to turn the camera audio on or off       | boolean          |\n| pathToFfmpeg      | Specify the path to a custom FFmpeg binary                          | string           |\n| cameras           | Specify the camera UUID  of which cameras to see                    | array            |\n| structures        | Specify the structure ID of which structures' cameras to see        | array            |\n\n## Features\n- View cameras within homekit.\n- Receive notifications and set routines for motion or when the doorbell is rang.\n- Receive notifications for specific motion events.\n- Listen and talk back to people on equipped cameras.\n- Enable/disable the indoor chime on Hello doorbells.\n\n## Join the Discord\nUnfortunately, there is no way for me to test every subscription, camera type, and feature. If you would like to help me test new features and enhancements, or if you have general questions or need support, join the official [Homebridge Discord Server](https://discord.gg/pc2pqmh).\n\n## Credits\nThis plugin was originally developed by [KhaosT](https://github.com/KhaosT).\n\nThis plugin was converted to typescript using both [homebridge-ring](https://github.com/dgreif/ring) and [homebridge-examples](https://github.com/homebridge/homebridge-examples).\n\n## Donate to Support homebridge-nest-cam\nThis plugin was made with you in mind. If you would like to show your appreciation for its continued development, please consider [sponsoring me on Github](https://github.com/sponsors/Brandawg93).\n\n<sub><sup>**Disclaimer:** This plugin and its contributers are not affiliated with Google LLC or Nest Labs in any way.</sub></sup>\n","readmeFilename":"README.md","author":{"name":"Brandawg93"}}