install npm i -g homebridge-glue
Getting an API key is recommended because then you don't have to have username and password in the config.
# get an api key
curl --request POST 'https://user-api.gluehome.com/v1/api-keys' \
--header 'Content-Type: application/json' \
-u my_email@example.com:my_password \
--data-raw '{
"name": "Homebridge Glue Key",
"scopes": ["events.read", "locks.read", "locks.write"]
}'
# And copy the apiKey property for config
config.json
example
{
...
"accessories": [
...
{
"accessory": "homebridge-glue.glue-lock",
"name": "Front Door Lock", //OPTIONAL, default "Glue Lock"
"lock-id": "432c7f7a-ea53-11e8-9f32-f2801f1b9fd1", // OPTIONAL
"username": "myname@example.com", // OPTIONAL, see below for more info
"password": "EB1K^M0zBN2vRFK6", // OPTIONAL, see below for more info
"api-key": "the api key from curl" // OPTIONAL
}
]
}
If lock-id
is undefined it will select the first available lock. If you only have one lock it will work without configuration. I you have more than one, please check the logs for the available lock ids.
Glue have events that. This plugin checks those events every 5 seconds and updates the status accordingly.
Keep in mind that manually locking or unlocking the the normal Glue lock doesn't trigger an event unless you have the Pro version.
If you do not use an api key this plugin will create and attempt to manage those keys for you instead. So it will create API keys with name homebridge-glue key
and when restarting Homebridge it will delete all old keys with name homebridge-glue key
.
A side effect of this is that you can only have ONE lock with this plugin if you opt for username and password solution!
https://github.com/nfarina/homebridge
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