homebridge-dooya-dt360e
v0.1.3
Published
Homebridge plugin for Dooya DT360E Wi-Fi curtain motors
Maintainers
Readme
homebridge-dooya-dt360e
Homebridge plugin for Dooya DT360E curtain motors controlled directly over Wi-Fi.
What this does
- Exposes each curtain as a HomeKit
WindowCovering - Talks to the Dooya controller over local BroadLink UDP
- Reads the real DT360E motor position every 15 seconds by default
- Supports BroadLink DT360E devices such as type
20334(0x4f6e)
Installation
Homebridge UI
Open the Homebridge UI, go to Plugins, search for:
homebridge-dooya-dt360eInstall the plugin, add the platform config, then restart Homebridge.
npm
Install the package in the same environment where Homebridge runs:
npm install -g homebridge-dooya-dt360eThen restart Homebridge.
Docker
If your Homebridge container stores plugins in a persistent /homebridge data folder, install the package inside that environment:
cd /homebridge
npm install homebridge-dooya-dt360eThen restart the Homebridge container.
Example config
{
"platform": "DooyaDT360E",
"name": "Dooya DT360E",
"devices": [
{
"name": "Living Room Curtain",
"host": "192.168.1.50",
"mac": "aa:bb:cc:dd:ee:ff",
"invertPosition": false
}
]
}Config fields
name: accessory namehost: device IP addressmac: device MAC addressinvertPosition: optional, set totruewhen the motor reports open/closed backwardspollIntervalSeconds: optional, how often to read the real motor position. Defaults to15seconds for DT360E local mode.protocol: optional override. Normally omit it; defaults todt360e.type: optional override. Normally omit it; the plugin discovers the BroadLink type automatically and falls back to DT360E type20334(0x4f6e).
Notes
- This plugin is for direct Wi-Fi control of the Dooya controller.
- The BroadLink mobile app is only needed to pair the curtain motor to Wi-Fi. After that, the Homebridge plugin connects to the device locally.
- Local DT360E mode reads real status with
010bframes and sends target position with020bframes. - HomeKit position is resynchronized from the motor automatically every 15 seconds, so manual movement or missed state changes are corrected without extra config.
- DT360E type
20334(0x4f6e) expects the encrypted BroadLink0x6apayload to be prefixed with the little-endian inner frame length, for example0c00 + a5a55a5a...for status. - If BroadLink returns
65529(-7), check that the curtain is paired on the same WLAN and that device lock is disabled in the BroadLink mobile app, then restart Homebridge.
