1. 首页
  2. 数据库
  3. 其它
  4. ioBroker.ham seasons:ioBroker的homebridge seasons包装器适配器 源码

ioBroker.ham seasons:ioBroker的homebridge seasons包装器适配器 源码

上传者: 2021-02-25 09:37:41上传 ZIP文件 97KB 热度 9次
基于homebridge季节的ioBroker Seasons适配器 ================= 该适配器基于homebridge-seasons插件。 在这里阅读更多关于它的信息 放弃 当然,我们并没有编写整个适配器只是为了检测一年中的季节。 您只需执行几行JS行即可: function calc() { const season = Math.round(((new Date().getMonth() + 1) ) / 3); const names = ['winter', 'spring', 'summer', 'autumn']; se
下载地址
用户评论