Light Devices - homebridge-plugins/homebridge-ewelink GitHub Wiki
Use the 'Light Devices' (lightDevices[]
) configuration section to customise how your dimmer, bulb and LED strip 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.
|
|
brightnessStep |
int |
No | 1 |
1 |
Only has effect if A minimum step for the brightness slider in the Home app. |
adaptiveLightingShift |
int |
No | 0 |
-1 |
Only has effect if The mired for each Adaptive Lighting update will be increased by this value, making the light appear warmer. Set to |
ipAddress |
str |
No | "" |
Only has effect if You can manually set the IP address for this device if it cannot be discovered by the plugin. |
|
overrideLogging |
str |
No | "default" |
Override global logging setting for this device.
|
An example to set a custom IP and no disabling all accessory logging for a Sonoff D1:
"lightDevices": [
{
"deviceId": "10009553c8",
"deviceModel": "d1",
"ipAddress": "192.168.1.13",
"overrideLogging": "disable"
}
]
An example for a generic Zigbee Light (Dimmer + CCT) (connected to Sonoff Zigbee Hub), setting a brightness step to 10% and disabling adaptive lighting feature:
"lightDevices": [
{
"deviceId": "10009553c8",
"deviceModel": "zl_dc",
"adaptiveLightingShift": -1,
"brightnessStep": 10
}
]