<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          homebridge-ruuvitagRuuvitag bridge for Homebridge (Apple HomeKit)

          聯(lián)合創(chuàng)作 · 2023-09-26 10:21

          homebridge-ruuvitag

          With this Homebridge plugin you can use RuuviTags with Apple HomeKit.

          Updates

          Installation

          First, install Avahi (Homebridge needs this), Homebridge and this plugin (you also need Node.js installed):

          sudo apt-get install libavahi-compat-libdnssd-dev
          sudo npm i -g homebridge
          sudo npm i -g homebridge-ruuvitag

          Find out Ruuvitag ID's

          You can find out Ruuvitag ID's by installing and running ruuvitag-debug:

          sudo npm -g i ruuvitag-debug
          ruuvitag-debug

          Config

          Create a ~/.homebridge/config.json file (change ID's and add/remove tags as necessary):

          {
            "bridge": {
              "name": "Ruuvi",
              "username": "CC:22:3D:E3:CE:30",
              "port": 51826,
              "pin": "031-45-154"
            },
          
            "description": "RuuviTag bridge",
          
            "accessories": [
              {
                "accessory": "Ruuvitag",
                "name": "Ruuvi 1",
                "id": "ca67bf52ca12"
              },
              {
                "accessory": "Ruuvitag",
                "name": "Ruuvi 2",
                "id": "fa81b4c6a891"
              },
              {
                "accessory": "Ruuvitag",
                "name": "Ruuvi 3",
                "id": "ac67df12bb34"
              }
            ]
          }

          Socket option

          You can listen to RuuviTag update events emitted from a socket server instead of using Bluetooth. This is signalled by adding a configuration parameter for the accessory.

          "socket": "http://raspberrypi.local:8787"

          Run

          Now you can run Homebridge:

          homebridge

          Start on startup

          Install pm2:

          npm -g i pm2

          Start with pm2 and save as daemon:

          pm2 start homebridge
          pm2 save
          pm2 startup
          

          Supported features

          • temperature
          • humidity
          • battery level
          • battery level alert
          • heat alert
          • cold alert
          • high humidity alert
          • low humidity alert
          • motion alert
          瀏覽 16
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  无码专区在线观看 | 亚洲欧洲日本在线 | 天天cao | 新www视频亚洲 | 97人人干 |