在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:jeppesens/homebridge-glue开源软件地址:https://github.com/jeppesens/homebridge-glue开源编程语言:TypeScript 69.6%开源软件介绍:homebridge-glueHomebridge integration for Glue smart locksBased on Glues new API Jan 2021.Installationinstall SetupGetting 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 [email protected]:my_password \
--data-raw '{
"name": "Homebridge Glue Key",
"scopes": ["events.read", "locks.read", "locks.write"]
}'
# And copy the apiKey property for config
Configuration
{
...
"accessories": [
...
{
"accessory": "homebridge-glue.glue-lock",
"name": "Front Door Lock", //OPTIONAL, default "Glue Lock"
"lock-id": "432c7f7a-ea53-11e8-9f32-f2801f1b9fd1", // OPTIONAL
"username": "[email protected]", // OPTIONAL, see below for more info
"password": "EB1K^M0zBN2vRFK6", // OPTIONAL, see below for more info
"api-key": "the api key from curl" // OPTIONAL
}
]
}
Selecting LockIf EventsGlue 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. Good to knowIf 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 A side effect of this is that you can only have ONE lock with this plugin if you opt for username and password solution! Homebridgehttps://github.com/nfarina/homebridge Glue Smart Lock |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论