arachnetech / homebridge-mqttthing

A plugin for Homebridge allowing the integration of many different accessory types using MQTT.
Apache License 2.0
462 stars 104 forks source link

Which type to use for projector canvas enabling Siri commands "up" and "down"? #448

Open TheChatty opened 3 years ago

TheChatty commented 3 years ago

I have a projector canvas and I could control it with two stateless switches and naming them "canvas up" and "canvas down". But then I can't see its current position (can be stopped at any height).

I'd love one element "canvas" controllable by "up", "down" and "stop".

arachnetech commented 3 years ago

You might be able to use something like a Window or a Window covering (blind) for this?

TheChatty commented 3 years ago

But this is to be used with "open" and "close", right?

galzil commented 3 years ago

You have to use a Curtain\Blinds\Shutter module and not 2 seperate switches as you might burn the motor if both actions (up\Down) would operate at the same time. If you want to control it by using a different text than open and close, you can either add a scene or dummy switches

TheChatty commented 3 years ago

I didn't use a "two switches config" yet - I'm using "Window Covering" from the beginning but my family dislikes the according voice commands. There is no "Curtain" etc. type in mqttthing. I was aware of other plugins but I liked the idea of keeping the plugins to a minimum.

arachnetech commented 3 years ago

I can only expose services defined by Apple, as listed in https://github.com/homebridge/HAP-NodeJS/blob/master/src/lib/definitions/ServiceDefinitions.ts. Is there anything more suitable there?

arachnetech commented 3 years ago

Pretty certain I support Window Covering already - that's the closest HomeKit comes to "curtain" I believe.

TheChatty commented 3 years ago

I said I'm using Window Covering. But Siri wants me to say open/close instead of up/down.

arachnetech commented 3 years ago

Sorry, missed that. Siri commands are entirely down to Apple. Not sure whether you can do something with the Shortcuts App?

Let me know if there's a more suitable service that you'd like to see supported in mqttthing from https://github.com/homebridge/HAP-NodeJS/blob/master/src/lib/definitions/ServiceDefinitions.ts, otherwise I'll close this.