当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

homebridge-nremo

Nature Remo Plugin for homebridge
授权协议 MIT License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 凌轶
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

homebridge-nremo

npm package

Nature RemoをSiriで操作できるようにする(on/offのみ)

Configuration

"accessories": [
    {
      "name": "Room Lamp A",
      "accessory": "NatureRemo",
      "host": "Remo-XXXX.local",
      "path": "/messages",
      "delayBefore": 0,
      "delayAfter": 0,
      "timeout": 2000,
      "retry_interval": 500,
      "retry": 3,
      "on": { "format": "us", "freq": 38, "data": [] },
      "off": { "format": "us", "freq": 38, "data": [] },
      "command_order": [
        { "on": ["on"] },
        { "off": ["off"] }
      ]
    },
    {
      "name": "Lamp A",
      "accessory": "NatureRemo",
      "host": "Remo-XXXX.local",
      "path": "/messages",
      "delayBefore": 1000,
      "delayAfter": 1000,
      "timeout": 2000,
      "retry_interval": 500,
      "retry": 3,
      "on": { "format": "us", "freq": 38, "data": [] },
      "off": { "format": "us", "freq": 38, "data": [] },
      "command_order": [
        { "on": ["on", "off", "on", "off"] },
        { "off": ["on", "off"] }
      ]
    },
    {
      "name": "Lamp B",
      "accessory": "NatureRemo",
      "host": "Remo-XXXX.local",
      "path": "/messages",
      "delayBefore": 500,
      "delayAfter": 800,
      "timeout": 2000,
      "retry_interval": 500,
      "retry": 3,
      "s_on": { "format": "us", "freq": 38, "data": [] },
      "s_middle": { "format": "us", "freq": 38, "data": [] },
      "s_off": { "format": "us", "freq": 38, "data": [] },
      "command_order": [
        { "on": ["s_on", "s_middle", "s_off"] },
        { "off": ["s_off"] }
      ]
    }
  ],

on/off時にcommand_orderのon/offごとの[]で指定したコマンドをdelayAfterで指定した時間ごとに送信する

  • delayBefore: コマンド送信前に指定時間分だけ待つ(Aアクセサリ実行後に実行後Bアクセサリ実行などのシーン利用時に便利)
  • delayAfter: on/off実行時に[]内のコマンドを指定時間ごとに送信できる(同時に送るとNature Remoが反応しない)
  • retry: リクエストが失敗したときに再試行する回数
  • retry_interval: 再試行するまでの時間
  • timeout: リクエストがタイムアウトするまでの時間

Nature Remoにアクセスがしばらくないと1回目のリクエスト時にタイムアウトするのでtimeoutで短めに設定するのがよさそう

 相关资料
  • Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。

  • homebridge-vsx homebridge-vsx is a plugin made for homebridge,which allows switching on and off your Pioneer AV receiver. All AV receivers (VSX and SC),which work with the iControl AV5 App are support

  • homebridge-sesame Control and monitor your Sesame smart lock with HomeKit integration. Prerequisites Installation of Homebridge iOS 11 or later Sesame lock with enabled cloud integration Sesame Wifi A

  • homebridge-panasonictv A homebridge plugin for turning on and off your Panasonic Viera TV. The plugin also has experimental support for changing the volume and channel. These characteristics are not r

  • Quick Start | Contribute A Wake on Lan plugin for Homebridge Turn your PCs, laptops, servers and more on and off through Siri Quick Start To install the plugin, head over to the machine with Homebridg

  • Docker Homebridge This Alpine/Ubuntu Linux based Docker image allows you to run Nfarina's Homebridge on your home network which emulates the iOS HomeKit API. This is a multi-arch image and will also r

  • This Plugin is no longer being maintained. The ST platform removed all of the greatness that made it fun to develop for and I will not rewrite my years of code to adapt. I have moved to Hubitat and al

  • Homebridge myQ myQ garage door and other myQ-enabled device support for Homebridge. homebridge-myq is a Homebridge plugin that makes myQ-enabled devices available to Apple's HomeKit smart home platfor