1 Window Blind (with multi channel device) - homebridge-plugins/homebridge-ewelink GitHub Wiki
This simulation can be setup via the Homebridge/HOOBS UI, adding an entry in the 'Multi Channel Devices' section and setting the Device ID and the 'Show As' to '1 Window Blind/Covering'.
Or if you prefer to edit the configuration directly, set the deviceId
and choose the showAs
option to "blind"
. For example:
"multiDevices": [
{
"deviceId": "10009553c8",
"deviceModel": "4ch",
"showAs": "blind",
"operationTime": 100
}
]
⚠️ It is important to have:
- channel 0 connected to the 'up' motor and
- channel 1 connected to the 'down' motor
When fully opening/closing the blind, the plugin will turn the appropriate channel ON for the duration of the specified operationTime
and then turn the channel OFF. When opening/closing the blinds to a custom position (e.g. 50% open) then the plugin will calculate the time that the channels need to be ON based on the operationTime
.
The operationTime
is defined in deciseconds so time how long it takes to open/close the window blind and multiply this by ten. If the blind has a different UP and DOWN time then you can set operationTime
for the time UP and operationTimeDown
for the time DOWN.
Since it is impossible for the device to report the correct position of the window blind to Homebridge, the plugin relies on a cached state which changes each time the blind is opened/closed. There may be times when this becomes out of sync. If this happens, please make sure the blind is fully closed, then remove the accessory from the Homebridge cache. The accessory will be added again with a CLOSED status which will match the blind.