【文件属性】:
文件名称:nest-remote-sensor:NodeJS应用程序公开Nest远程温度传感器的端点
文件大小:9KB
文件格式:ZIP
更新时间:2021-02-04 13:50:53
homebridge nest hacktoberfest HomebridgeJavaScript
Nest Remote Sensor API
这个程序获取遥感器的温度。 在Nest为此发布官方API之前,这是一个超级棘手的工作。 它可能随时停止工作。
这个程序是为像Heroku这样的PAAS主机而构建的。 您可以使用node index.js在本地运行
入门
首先,您需要获取远程传感器的UDID。 您可以通过运行node index.js并访问localhost:5000/get-udid 。 这将记录远程传感器的JSON响应。 通过访问localhost:5000/get-temp/UDID UDID并请求温度
与homebridge一起使用
使用从此节点应用程序获取数据。
这是
【文件预览】:
nest-remote-sensor-main
----example.env(40B)
----LICENSE.md(1KB)
----Procfile(19B)
----README.md(1KB)
----.gitignore(29B)
----index.js(3KB)
----CHANGELOG.md(286B)
----package-lock.json(15KB)
----package.json(336B)