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

homebridge-pilight

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

Homebridge pilight Plugin

This is an accessory plugin for Homebridge allowing to manage and controlpilight devices.

What does this plugin do?

This plugin only communications to the pilight daemon via the WebSocket API exposed by pilight itself. You should be sureto enable this api and the configured port is not blocked by any firewall.

Install

Important: This plugin is using ES6/ES2015. Please use an appropriate environment like NodeJS v4 or higher.

If you have already installed homebridge globally, just install

npm install -g homebridge-pilight

Alternativly, add the dependency into your local project with

npm install -S homebridge-pilight

Configuration

The plugin registers itself as pilight. You have the following options:

Option Default
host localhost
port 5001
device lamp
sharedWS false
type Switch

If you are running a pilight daemon on the same machine, you will probably skip both host and port.

The optional setting sharedWS = true will share a single connection for devices addressing the same pilight instance.

The Setting type = "type" can be "Switch", "TemperatureSensor", "HumiditySensor" or "Dimmer".

Additionally you have the Homebridge options accessory (for the actual plugin) and name (for representation later).

Example config.json

{
  "bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
  },
  "description": "This is an example configuration file with pilight plugin.",
  "accessories": [
    {
      "accessory": "pilight",
      "name": "My lamp",
      "device": "lamp",
      "sharedWS": false,
      "type": "Switch"
    }
  ],
  "platforms": [
  ]
}

License

Copyright 2017-2018 by Jan Philipp. Licensed under MIT.

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