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

homebridge-sesame

🔒 Homebridge plugin for the Sesame smart lock
授权协议 Readme
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 景英杰
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

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 Access Point

Functionality

  • Automatic discovery of all connected locks
  • Lock control
  • WebHook support
  • Reports battery percentage levels
  • Alerting when battery runs low

Installation

npm install -g homebridge-sesame

Obtain an API Token

This plugin now uses v3 of the Sesame API which requires an existing API token.

To create an API token, log into the Sesame Dashboard and click on "API Settings" in the sidebar. The token you create will be used in your homebridge config file.

Using WebHooks

This plugin can respond to WebHooks sent from the Sesame API which allows locks to update in the background when a lock or unlock action occurs outside of the Home app. Please note this requires the IP address of your homebridge host to be exposed to the outside world via port forwarding, etc.

Setting up the WebHook

  • Log into the Sesame Dashboard and click on "API Settings" in the sidebar.
  • Under "Services", click the edit button next to "Webhook" and select "POST" from the dropdown.
  • Enter the publicly-accessible IP address of your homebridge server and the port used by this plugin (default: 33892). For example: http://<IP address>:33892.

When the plugin receives a WebHook request, the corresponding lock in HomeKit will update its locked state accordingly.

Configuration

Example config

At a minimum, you just need to provide your API token in the token field:

{
  "platforms": [
    {
      "platform": "Sesame",
      "token": "YOUR_API_TOKEN"
    }
  ]
}

The plugin will discover your connected locks when homebridge is restarted.

Fields

Variable Description
token Your Sesame API token (required)
port The port of the WebHook listener (default: 33892)
debug Set to true to enable additional debug logging (default: false)

Example config changing default values

{
  "platforms": [
    {
      "platform": "Sesame",
      "token": "YOUR_API_TOKEN",
      "port": 55901,
      "debug": true
    }
  ]
}
 相关资料
  • homebridge-open-sesame Homebridge plugin for SESAME3, SESAME4and SESAME bot. Features Real time status update support(even when manual lock/unlock). No status polling(Limit Exceeded avoidance) SESAME

  • 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-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