NestSite:我对 Nest Thermostat 的实验

时间:2021-07-01 21:46:39
【文件属性】:
文件名称:NestSite:我对 Nest Thermostat 的实验
文件大小:653KB
文件格式:ZIP
更新时间:2021-07-01 21:46:39
JavaScript NestSite My Nest 恒温器实验 用法: 服务器: 需要为各种 API 提供环境变量 CON_STRING - postgres 的连接字符串 THERMO_ID - 恒温器从中检索数据的恒温器 ID NEST_AUTH - 来自 Nest 的身份验证密钥 WEATHER_KEY - 来自 wunderground.com 的 API 密钥 $节点./server.js 地点: $ DEBUG=NestSite ./bin/www 使用的库: Express ( ) 作为 Web 框架 pg ( ) 用于 postgres 数据库驱动程序 用于 HTTP 重定向的 follow-redirects ( ) validator.js ( ) 用于服务器端验证

网友评论