-
-
Notifications
You must be signed in to change notification settings - Fork 127
1 Window (with multi channel device)
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'.
Or if you prefer to edit the configuration directly, set the deviceId
and choose the showAs
option to "window"
. For example:
"multiDevices": [
{
"deviceId": "10009553c8",
"deviceModel": "4ch",
"showAs": "window",
"operationTime": 100
}
]
- channel 0 connected to the 'open' motor and
- channel 1 connected to the 'close' motor
When fully opening/closing the window, 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 window 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 and multiply this by ten. If the window has a different OPEN and CLOSE time then you can set operationTime
for the time OPEN and operationTimeDown
for the time CLOSE.
Since it is impossible for the device to report the correct position of the window to Homebridge, the plugin relies on a cached state which changes each time the window is opened/closed. There may be times when this becomes out of sync. If this happens, please make sure the window 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 window.