-
-
Notifications
You must be signed in to change notification settings - Fork 127
Single Channel Devices
Use the 'Single Channel Devices' (singleDevices[]
) configuration section to customise how your single-channel switch, outlet and light switch devices are exposed to HomeKit.
See Supported Devices to see which devices can be customised using this section.
By default, a device will appear in Homebridge as a single switch. You can use the Home app to change how this accessory appears:
- a switch (by default)
- a light (useful for devices like the T1-1C, TX-1C)
- a fan (useful for an outlet connected to a fan)
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 |
See 1 | "" |
Set the model for this device.
1 Required with Eachen GD-DC5 - set to |
|
showAs |
str |
No | "default" |
Expose this device as a different HomeKit accessory type. Has no effect if
|
|
inUsePowerThreshold |
int |
No | 0 |
0 |
Only has effect when HomeKit will set the 'In Use' status of outlet devices to true when the wattage is above this number. |
isInched |
bool |
No | false |
Only has effect when If |
|
sensorType |
str |
No | "motion" |
The type of sensor to show in HomeKit if
|
|
operationTime |
int |
See 2 | 100 |
20 |
2 Required if
This setting is in deciseconds - count the time in seconds and multiply by 10, for example |
operationTimeDown |
int |
No | - |
20 |
Only has effect if If your garage door has a different operation time for up and down, use this setting to specify the operation time DOWN (in deciseconds) and the other setting to specify the operation time UP. This setting is in deciseconds - count the time in seconds and multiply by 10, for example |
sensorId |
str |
No | "" |
Only has effect if Enter the 10 digit eWeLink Device ID for a DW2 or Zigbee contact sensor that can be used to determine the current state of the garage door or lock. |
|
hideSensor |
bool |
No | false |
Only has effect if Hide the contact sensor (defined above in |
|
obstructId |
str |
No | "" |
Only has effect if An optional switch that will trigger the Obstruction Detected feature depending on its value. |
|
ipAddress |
str |
No | "" |
You can manually set the IP address for this device if it cannot be discovered by the plugin. Has no effect if |
|
overrideLogging |
str |
No | "default" |
Override global logging setting for this device.
|
An example to set a custom IP and no disabling all accessory logging:
"singleDevices": [
{
"deviceId": "10009553c8",
"deviceModel": "t",
"ipAddress": "192.168.1.13",
"overrideLogging": "disable"
}
]
An example for a POWR2 device to set the OutletInUse
state to true only when the when power is over 5W:
"singleDevices": [
{
"deviceId": "10009553c8",
"deviceModel": "pow",
"inUsePowerThreshold": 5
}
]
- 1 Lock (with single or multi channel device)
- 1 Tap/Faucet (with single or multi channel device)
- 1 Irrigation Valve (with single or multi channel device)
- 1 Sensor (with single or multi channel device)
- 1 Programmable Button (with single or multi channel device)
- 1 Doorbell (with single or multi channel device)