This is a Homebridge plugin that allows to integrate with GlueHome ecosystem.
Install @gluehome/homebridge-gluehome
as a global package.
npm i -g @gluehome/homebridge-gluehome
In order to use @gluehome/homebridge-gluehome
, it is required to create an api key.
curl -i --location --request POST 'https://user-api.gluehome.com/v1/api-keys' \
--header 'Content-Type: application/json' \
-u "username":"password" \
--data-raw '{
"name": "My Test Key",
"scopes": ["events.read", "locks.read", "locks.write"]
}'
Provide your api key in the ~/.homebridge/config.json
file.
"platforms": [
{
"platform": "GlueHomebridge",
"name": "Glue Homebridge",
"apiKey": "<you api key>"
}
]