swttt / com.swttt.homekit

Homekit for Homey
https://apps.athom.com/app/com.swttt.homekit
GNU Affero General Public License v3.0
35 stars 20 forks source link

Somfy mixes curtains and sunscreens in group #162

Open josbmw opened 5 years ago

josbmw commented 5 years ago

HomeyKit v3.0.11 Homey 2.1.2

We have 4 curtains and a sunscreen in our living room.

But when I create an accessory group in Woning called "Living Gordijnen" with only the 4 curtains included, things get messed up.

This group works fine when you control it on the iPad. But when I ask Siri to open or close "Living Gordijnen", also the sunscreen in the Living reacts, despite not being part of the group "Living Gordijnen". And when I ask Siri to open or close the sunscreen in the living room, Siri responds with "ok, the curtains are open" and everything opens. Siri never responds with sunscreen is open (it does in another room where there are no curtains, and it did before I installed the Somfy controlled curtains in the living room).

Sunscreens in other rooms don't react. I think it has something to do with the curtains and sunscreen being in the same room and all being RTS. Siri doesn't seem to be able to seperate the curtains group from the sunscreen.

Any idea what causes this?

josbmw commented 5 years ago

And another issue: I use virtual device buttons made with Virtual Devices form Arjan Kranenburg. One to start a flow to close the curtains and one to set the curtains to the My position (open position, this is the 50% setting in Woning). These virtual buttons are not available in HomeyKit. Otherwise I could use these in Woning instead of creating a group in Woning. Now I have to manage groups at two places. Not so convenient...

robertklep commented 5 years ago

Siri doesn't seem to be able to seperate the curtains group from the sunscreen.

This is probably the reason. Homeykit cannot control how Siri acts on certain words, and in my experience, it sometimes does more than it's being asked to. For instance, in my case, when I tell it to "turn off all lights", it also turns off a switch that isn't in any way related to an actual light. If I tell it to "turn off all lights in the living room" (the same room where that switch is located), it only turns off the lights and not the switch.

These virtual buttons are not available in HomeyKit.

That depends on what device class and which capabilities are assigned to those virtual buttons. For instance, if you assign it the class "button", Homeykit will create a HomeKit "switch" device, which doesn't have any of the capabilities that are related to curtains. Only if you create a "virtual curtain" will Homeykit be able to map it to a more useful HomeKit device.