Open rweijnen opened 7 months ago
I don't believe this option is in the API:
Yes I'm indeed looking for how to do exactly what the app is able to do but from the api. If that's not available, how does the app handle it (bluetooth?). Could you confirm if possible with the api? If not, could this be added in the future?
I've just run into this same issue. Writing my own home automation script and I can open and close the curtains but I can't control just the left or right curtain only. This appears in the app so the API should support it?
Current Situation
In switchbot app it's possible to open just left or right side of my curtains but how to do this using switchbot api? I tried to do this by changing the index in the
setPosition
call to the group and changing the index to 1 or 2 but this just opens or closes both curtains.I also tried obtaining the deviceId of the individual curtains and set
turnOff
,turnOn
andsetPosition
but this returns174 Device's cloud service not enable
.How to select just one curtain with api?
Logs
Configuration
Environment
Additional Context
Opening and closing the group (both curtains) works fine.