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

homebridge-airport

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

homebridge-airport

Homebridge plugin for Apple AirPort base stations. Currently only supports monitoring Wi-Fi clients.

# From registry.npmjs.com
npm install --global homebridge-airport

# From npm.pkg.github.com
npm install --global --registry https://npm.pkg.github.com @samuelthomas2774/homebridge-airport
{
    "platform": "airport.AirPort",
    "devices": {
        "AirPort Extreme": {
            "host": "airport-extreme.local",
            "password": "password"
        }
    },
    "accessories": [
        {
            "type": "connected-clients",
            "name": "Wi-Fi Network In Use",
            "stations": "all",
            "exclude-clients": [
                "00:00:00:00:00:00"
            ]
        }
    ]
}

TODO

  • Use a monitoring session instead of polling connected clients
  • HomeKit Accessory Security

Configuration

AirPort base station connections

The devices object maps names of AirPort base stations to their host/IP address and admin password.

{
    "AirPort Extreme": {
        "host": "airport-extreme.local",
        "password": "password"
    }
}

You can also add the port number if it's different for any reason (e.g. when using port forwarding to access remotebase stations), and disable the default base station accessory.

{
    "AirPort Extreme": {
        "host": "airport-extreme.local",
        "password": "password",
        "port": 5009,
        "accessory": false
    }
}

Accessories

The accessories array contains a list of accessories to publish in Homebridge, with a type property andtype-specific configuration.

AirPort base station

Accessories for each AirPort base station are automatically added (unless they are explicitly configured or thedefault base station accessory is disabled).

type must be "base-station" and id is the key for the base station in the devices object.

{
    "type": "base-station",
    "id": "AirPort Extreme"
}

To add an occupancy sensor that detects Wi-Fi clients, set the connected-clients property.

{
    "type": "base-station",
    "id": "AirPort Extreme",
    "connected-clients": [
        {
            "stations": [
                "all"
            ],
            "clients": [...],
            "exclude-clients": [...]
        }
    ]
}

Occupancy sensor

Adds an occupancy sensor that detects Wi-Fi clients.

{
    "type": "connected-clients",
    "name": "Wi-Fi Network In Use",
    "stations": [
        ["AirPort Extreme", "main"]
    ],
    "exclude-clients": [
        "00:00:00:00:00:00"
    ]
}

You can also whitelist clients to detect instead of excluding known clients.

{
    "type": "connected-clients",
    "name": "Wi-Fi Network In Use",
    "stations": [
        ["AirPort Extreme", "main"]
    ],
    "clients": [
        "00:00:00:00:00:00"
    ]
}
 相关资料
  • 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