Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Add support for shutters #95

Open
Owlbertz opened this issue May 12, 2020 · 2 comments
Open

Request: Add support for shutters #95

Owlbertz opened this issue May 12, 2020 · 2 comments

Comments

@Owlbertz
Copy link

Hi,

from what I got from the docs I am currently not able to control shutters using commands like "open"/"close" or "up"/"down".
I feel like it should be quite easy to add this - but unfortunately I am unfamilar with Python and therefore cannot do this myself.
Is there any chance that this gets added in?

@FloatingBoater
Copy link

My suggestion would be to create a proxy item (such as a Switch or Dimmer) and add a rule to set the state of the shutter from the proxy. A Switch could be map ON / OFF into OPEN / CLOSE, or a Dimmer could map % brightness into % open.

Dimmer	ProxyItem1	"Proxy 1 [%d %%]"	<light>	["Lighting"]
Switch	ProxyItem2	"Proxy 2 [%s]"	                        ["Switchable"]

@Owlbertz
Copy link
Author

Hi @FloatingBoater,

I already came up with the additional logic myself in PR #101.
While of course your suggestion would work, I think the more natural language commands for opening and closing are better than having to control the shutters via ON/OFF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants