homebridge-bold
Version:
HomeKit support for the Bold Smart Locks.
39 lines • 1.76 kB
JSON
{
"pluginAlias": "Bold",
"pluginType": "platform",
"singular": true,
"customUi": true,
"schema": {
"type": "object",
"required": ["accessToken", "refreshToken", "legacyAuthentication"],
"properties": {
"accessToken": {
"title": "Access token",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
"description": "This access token will be refreshed automatically."
},
"refreshToken": {
"title": "Refresh token",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
"description": "This token will be used to refresh the access token."
},
"refreshURL": {
"title": "Custom refresh URL",
"type": "string",
"description": "Custom refresh URL for token refreshing. Use this only if you authenticated with a custom backend."
},
"legacyAuthentication": {
"title": "Use legacy authentication",
"type": "boolean",
"description": "Switch between default and legacy authentication. This settings will impact token refreshing."
},
"showControllerAsLock": {
"title": "Show Controller as lock",
"type": "boolean",
"description": "When using the Bold Connect's built-in relay (called 'Controller' in the Bold app), it will show as a switch in HomeKit. This option will make it show as a lock instead."
}
}
}
}