hsakoh / switchbot-mqtt

SwitchBot MQTT Home Assistant add-on
MIT License
30 stars 1 forks source link

Grouped Curtains #14

Open jpiscaer opened 5 months ago

jpiscaer commented 5 months ago

Hi! I can't see a way to control a set of grouped curtains, even though it does report on grouped status. Is it possible to add this?

hsakoh commented 5 months ago

Thank you for the feedback.

As I only have one actual device, I have only conducted verification for individual Curtain devices.

The API specifications only define operations for individual devices, and I am not aware of how to control specific devices within a group or what commands to send when they are grouped.

I have a feeling that the first parameter (Index) in the setPosition command might indicate something... Alternatively, it might be possible to achieve control by simply sending commands to the master and configured devices.

Could you try experimenting with various commands in a grouped state and see if you can find the right input to make it work?

I apologize for not being able to provide more assistance.

jpiscaer commented 4 months ago

I tried various commands with these parameters, but didn't have any luck...