將Nest Cam用作HomeKit和Homebridge中的IP攝像頭
資料介紹
軟件簡(jiǎn)介
IMPORTANT
This project has been archived. You can find the latest homebridge-nest-cam plugin here.
homebridge-nest-cam
Use your Nest Cam as IP camera in HomeKit with Homebridge.
Installation
- Install ffmpeg
- Install this plugin using: npm install -g homebridge-nest-cam
-
Edit
config.json
and add the camera. - Run Homebridge
- Add extra camera accessories in Home app. The setup code is the same as homebridge.
Config.json Example
{
"platform": "Nest-cam",
"access_token": "",
"ffmpegCodec": "libx264"
}
On 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 online if you don't want to compile one yourself.
On 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
.
How to get Access Token?
You 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.
curl -X "POST" "https://home.nest.com/session" \
-H 'User-Agent: iPhone iPhone OS 11.0 Dropcam/5.14.0 com.nestlabs.jasper.release Darwin' \
-H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
--data-urlencode "email=YOUR_NEST_EMAIL" \
--data-urlencode "password=YOUR_PASSWORD"
If 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.
curl -X "POST" "https://home.nest.com/api/0.1/2fa/verify_pin" \
-H 'User-Agent: iPhone iPhone OS 11.0 Dropcam/5.14.0 com.nestlabs.jasper.release Darwin' \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{"pin": "CODE_FROM_SMS","2fa_token": "TOKEN_FROM_PRIOR_REQUEST"}'
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
- 使用Homebridge和HAP NodeJS来模拟HomeKit API0次下载
- ESP32 CAM:遥控物体检测摄像头2次下载
- ESP32 CAM主机板安装在防水运动摄像头外壳内2次下载
- labview本地视频及摄像头资料37次下载
- V380摄像头客户端下载0次下载
- 基于LABVIEW编程的USB摄像头拍照VI文件56次下载
- 红外摄像头驱动工具ThermoX软件下载91次下载
- 如何实现家庭安防系统中的多摄像头和视频采集与网络传送22次下载
- CCD摄像头18次下载
- 摄像头的硬件函数(IP核)13次下载
- 摄像头入门0次下载
- MINI摄像头接线图35次下载
- 中芯微301摄像头电路图332次下载
- 微视摄像头驱动下载493次下载
- 001摄像头万能驱动下载703次下载
- FPGA在智能摄像头优化中的作用533次阅读
- 摄像头凸透镜成像原理 摄像的原理是小孔成像吗2462次阅读
- 用usb摄像头替换手机前置摄像头可以吗3725次阅读
- AHD摄像头与CVBS的区别16940次阅读
- 技术前沿:摄像头模组5946次阅读
- 摄像头应用领域及应用产品型号1907次阅读
- 什么是ESP32-CAM摄像头?25341次阅读
- 基于ESP32-CAM的RSTP协议的网络摄像头4378次阅读
- dfrobotOpenMV Cam H7智能摄像头简介4646次阅读
- 如何正确的安装监控摄像头13258次阅读
- 为什么智能摄像头这么受欢迎4900次阅读
- 飞凌嵌入式摄像头模块简介1709次阅读
- 飞凌嵌入式模拟摄像头采集模块介绍2376次阅读
- 关于Firefly摄像头模组的简介3471次阅读
- 摄像头芯片型号有哪些_摄像头芯片型号汇总60226次阅读
下載排行
本周
- 1山景DSP芯片AP8248A2數(shù)據(jù)手冊(cè)
- 1.06 MB | 532次下載 | 免費(fèi)
- 2RK3399完整板原理圖(支持平板,盒子VR)
- 3.28 MB | 339次下載 | 免費(fèi)
- 3TC358743XBG評(píng)估板參考手冊(cè)
- 1.36 MB | 330次下載 | 免費(fèi)
- 4DFM軟件使用教程
- 0.84 MB | 295次下載 | 免費(fèi)
- 5元宇宙深度解析—未來的未來-風(fēng)口還是泡沫
- 6.40 MB | 227次下載 | 免費(fèi)
- 6迪文DGUS開發(fā)指南
- 31.67 MB | 194次下載 | 免費(fèi)
- 7元宇宙底層硬件系列報(bào)告
- 13.42 MB | 182次下載 | 免費(fèi)
- 8FP5207XR-G1中文應(yīng)用手冊(cè)
- 1.09 MB | 178次下載 | 免費(fèi)
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234315次下載 | 免費(fèi)
- 2555集成電路應(yīng)用800例(新編版)
- 0.00 MB | 33566次下載 | 免費(fèi)
- 3接口電路圖大全
- 未知 | 30323次下載 | 免費(fèi)
- 4開關(guān)電源設(shè)計(jì)實(shí)例指南
- 未知 | 21549次下載 | 免費(fèi)
- 5電氣工程師手冊(cè)免費(fèi)下載(新編第二版pdf電子書)
- 0.00 MB | 15349次下載 | 免費(fèi)
- 6數(shù)字電路基礎(chǔ)pdf(下載)
- 未知 | 13750次下載 | 免費(fèi)
- 7電子制作實(shí)例集錦 下載
- 未知 | 8113次下載 | 免費(fèi)
- 8《LED驅(qū)動(dòng)電路設(shè)計(jì)》 溫德爾著
- 0.00 MB | 6656次下載 | 免費(fèi)
總榜
- 1matlab軟件下載入口
- 未知 | 935054次下載 | 免費(fèi)
- 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
- 78.1 MB | 537798次下載 | 免費(fèi)
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420027次下載 | 免費(fèi)
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234315次下載 | 免費(fèi)
- 5Altium DXP2002下載入口
- 未知 | 233046次下載 | 免費(fèi)
- 6電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191187次下載 | 免費(fèi)
- 7十天學(xué)會(huì)AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183279次下載 | 免費(fèi)
- 8proe5.0野火版下載(中文版免費(fèi)下載)
- 未知 | 138040次下載 | 免費(fèi)
評(píng)論