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

homebridge-aircontrol-mini

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

homebridge-aircontrol-mini

A HomeBridge Plugin making the TFA-Dostmann AirCO2ntrol Mini CO2 Monitor measurment USB device availible in HomeKit.

Installation

For use on an Ubuntu/Debian style Linux:

sudo apt-get install build-essential libudev-dev
sudo npm install -g --unsafe-perm homebridge-aircontrol-mini

To allow homebridge to run without beeing root or using sudo a udev Rule needs to be added.

Create /etc/udev/rules.d/23-homebridge.rules and put in the following line, where you replace homebridge with the group of the user running homebridge on your system (e.g. pi on a raspian):

SUBSYSTEM=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="a052", GROUP="homebridge", MODE="0664"

Afterwards reload the rules with udevadm control --reload and replug the USB plug of your AirControl Mini.

Sample Config (Excerpt)

Configured as part of your homebridge configuration.

  • accessory: Needs to be aircontrol-mini
  • name: Required, String; You need to configure the name of your accessory.
  • co2_warning_level: Optional, Number, Default 1200; Configure the level (in ppm) at which the CO2 is detected as abnormal (default 1200ppm, same as red LED level according to the device manual).

In addition to this you need to connect the device to your machine running homebridge.

{
  "bridge": {
    …
  },
  …
  "accessories": [
    {
      "accessory": "aircontrol-mini",
      "name": "Living Room CO2",
      "co2_warning_level": 1200
    }
  ],
	…
}

 相关资料
  • 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