Thermostat Devices - homebridge-plugins/homebridge-ewelink GitHub Wiki
Use the 'Thermostat Devices' (thDevices[]
) configuration section to customise how your thermostat and TH10/16 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 |
See 1 | "" |
Set the model for this device.
|
|
showAs |
str |
No | "default" |
Only has effect if Expose this device as a different HomeKit accessory type.
|
|
hideSwitch |
bool |
No | false |
Only has effect if If |
|
offset |
num |
No | 0 |
You can offset the temperature that the sensor reads. An offset of |
|
humidityOffset |
int |
No | 0 |
You can offset the humidity that the sensor reads. An offset of |
|
minTarget |
int |
No | 10 |
0 |
Only has effect if Minimum target temperature to show in HomeKit apps. |
maxTarget |
int |
No | 30 |
1 |
Only has effect if Maximum target temperature to show in HomeKit apps. |
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, hide the switch and set a temperature offset of 5.5
for a Sonoff TH16:
"thDevices": [
{
"deviceId": "10009553c8",
"deviceModel": "th",
"showAs": "default",
"hideSwitch": true,
"offset": 5.5,
"ipAddress": "192.168.1.16"
}
]