With this Homebridge plugin you can use RuuviTags with Apple HomeKit.
frequency
(update frequency) parameterFirst, 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
You can find out Ruuvitag ID's by installing and running ruuvitag-debug
:
sudo npm -g i ruuvitag-debug
ruuvitag-debug
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"
}
]
}
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"
Now you can run Homebridge:
homebridge
Install pm2:
npm -g i pm2
Start with pm2 and save as daemon:
pm2 start homebridge
pm2 save
pm2 startup
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