If you do not have a platforms section in your Homebridge config you will need to define one.
zwave.devicePath is the path to your ZWave controller. This can vary based on the controller manufacturer and the operating system you are using.
zwave.networkKey is the network key to use for encrypting secure messages over the network. This property can be omitted if you do not require this functionality.
accessories is where you will map a ZWave node to a HomeKit accessory. To define an accessory the information needed is:
zwaveNodeId - the ID of the node in the ZWave network that this accessory is for
displayName - the name that will be used for this accessory in HomeKit
homekitCategory - the type of accessory HomeKit will see this accessory as. Supported categories are:
Outlet
Sensor
Switch
homekitServices - the HomeKit services provided by this accessory. Supported services are:
If homekitCategory is Outlet:
Outlet
If homekitCategory is Sensor:
Battery
HumiditySensor
LightSensor
MotionSensor
TemperatureSensor
if homekitCategory is Switch
Switch
You do not have to specify the service for an accessory if the accessory does not support it (i.e a multisensor that only measures temperature and humidity only needs the HumiditySensor and TemperatureSensor services).
noCache sets whether accessories registered by this plugin should be cached or not. By default this value is false. Set to true to disable the cache.
请发表评论