-
-
Notifications
You must be signed in to change notification settings - Fork 127
Sensor Devices
Use the 'Sensor Devices' (sensorDevices[]
) configuration section to customise how your DW2 and Zigbee sensor devices are exposed to HomeKit.
See Supported Devices to see which devices can be customised using this section.
The easiest way to customise these devices is via the Homebridge/HOOBS UI. However, if you prefer to edit your Homebridge config file manually then here is a list of the options and and examples:
Entry | Type | Required | Default | Min | Explanation |
---|---|---|---|---|---|
label |
str |
No | "" |
This setting has no effect except to help identify this device. | |
deviceId |
str |
Yes | "" |
eWeLink Device ID (10 characters e.g. "10000abcde" . |
|
ignoreDevice |
bool |
No | false |
If true , this accessory will be removed and ignored from HomeKit. |
|
deviceModel |
str |
No | "" |
Set the model for this device.
|
|
showAs |
str |
No | "default" |
Only has effect if Expose this device as a different HomeKit accessory type.
|
|
lowBattThreshold |
int |
No | 25 |
5 |
HomeKit will set the low battery status for this device when the battery (if it has one) reaches this percentage level. |
offset |
num |
No | 0 |
Only has effect if You can offset the temperature that the SNZB-02 sensor reads. An offset of |
|
humidityOffset |
num |
No | 0 |
Only has effect if You can offset the humidity that the SNZB-02 sensor reads. An offset of |
|
hideLongDouble |
bool |
No | false |
Only has effect if If |
|
scaleBattery |
bool |
No | false |
Only has effect if If |
|
sensorTimeDifference |
int |
No | 60 |
5 |
Only has effect if An offset in seconds to ignore notifications if the delay between this Zigbee Motion/Leak activating or Zigbee Button press and the plugin receiving the notification is greater than this number. |
overrideLogging |
str |
No | "default" |
Override global logging setting for this device.
|
An example to add a temperature offset of 6.5
and a humidity offset of -3
for a Sonoff SNZB-02 Temp/Humidity sensor:
"sensorDevices": [
{
"deviceId": "a0009553c8",
"deviceModel": "snzb02",
"offset": 6.5,
"humidityOffset": -3
}
]
- 1 Leak Sensor (with Sonoff DW2) (see video)