【文件属性】:
文件名称:cylon-nest:用于Nest Thermostat,Nest Protect和Nest Home的Cylon.js AdaptorDrivers
文件大小:23KB
文件格式:ZIP
更新时间:2021-05-10 21:39:15
JavaScript
Cylon.js用于巢
Cylon.js( )是用于机器人技术,物理计算和物联网(IoT)JavaScript框架。
该存储库包含用于 Home的Cylon适配器。
是否想在机器人上使用Ruby? 查看我们的姊妹项目Artoo( )
是否想使用Go编程语言为您的机器人提供动力? 查看我们的姊妹项目Gobot( )。
如何安装
$ npm install cylon cylon-nest
如何使用
var Cylon = require ( 'cylon' ) ;
Cylon . robot ( {
connections : {
nest : { adaptor : 'nest' , accessToken : 'XXX' }
} ,
devices : {
thermostat : { driver : 'nest-thermostat' , de
【文件预览】:
cylon-nest-master
----.eslintrc(1KB)
----lib()
--------protect.js(1KB)
--------commands()
--------utils.js(2KB)
--------thermostat.js(1KB)
--------adaptor.js(2KB)
--------nest-home.js(2KB)
----.npmignore(29B)
----spec()
--------.eslintrc(184B)
--------helper.js(639B)
--------lib()
----examples()
--------.eslintrc(22B)
--------home-away()
--------api-tester()
--------set-temperature()
--------read-temperature()
--------thermostat-read-set-temps()
----.travis.yml(403B)
----LICENSE(565B)
----README.md(4KB)
----Makefile(691B)
----RELEASES.md(495B)
----.gitignore(40B)
----index.js(486B)
----package.json(743B)