Gateway Accessory - ebaauw/homebridge-deconz GitHub Wiki
Homebridge deCONZ exposes a HomeKit accessory for each deCONZ gateway. This Gateway accessory is needed by Homebridge deCONZ, and cannot be un-exposed. It persists the gateway details, including the API key, across Homebridge restarts. It supports run-time configuration of which devices to expose to HomeKit.
The gateway accessory carries the following HomeKit services:
Service | Description |
---|---|
Gateway* | Primary service for the gateway. |
Stateless Programmable Switch | Button with Single Press, Double Press and Long Press actions.This service is added, because Apple's Home app doesn't show the Favourite setting on Not Supported accessories. |
*) Note that Apple's Home app does not support custom services.
Gateway Service
The custom Gateway service carries the following HomeKit characteristics:
Characteristic | RW | Description |
---|---|---|
Last Updated* | r | Shows the last time Homebridge deCONZ polled the deCONZ gateway. |
Status Active | w | Shows whether Homebridge deCONZ is currently connected to the deCONZ gateway. |
Transition Time* | rw | Sets the transitiontime for the next light state updates.Resets to 0.4s automatically, 500ms after the first update. |
*) Note that Apple's Home app does not support custom characteristics.
Stateless Programmable Switch Service
The Stateless Programmable Switch service carries the following HomeKit characteristic:
Characteristic | RW | Description |
---|---|---|
Programmable Switch Event | Fires a Single Press once a minute, a Double Press once an hour, and a Long Press once a day. |