node-hue-api:Node.js库,用于与Philips Hue Bridge和Lights进行交互

时间:2021-02-03 02:26:29
【文件属性】:
文件名称:node-hue-api:Node.js库,用于与Philips Hue Bridge和Lights进行交互
文件大小:339KB
文件格式:ZIP
更新时间:2021-02-03 02:26:29
nodejs javascript schedule smarthome hue-lights 节点色相API Node.js的API库,它与Philips Hue Bridge交互以控制灯光,时间表,传感器和Hue Bridge的各种其他功能。 该库对实际的Philips Hue Bridge REST API进行了抽象,并提供了Philips API的所有功能以及许多有用的功能来控制/配置其各种功能。 该库完全支持对Hue Bridge API的local network和remote internet访问,并且对已记录的Hue API进行了100%的覆盖。 内容 变更记录 有关更改的列表以及修复/改进的详细信息,已解决的错误,请参阅更改日志;请参阅更改日志。 安装 使用npm的Node.js: $ npm install node-hue-api 使用yarn的Node.js: $ yarn add node-hue-api v3 API 编写V3 API来支持JavaScript本机Promises,因此您可以将标准的Promise链与then()和catch()使用,或者在您自己的代码库中使用同步async和await 。 从2019年12月的4.0.0版

网友评论