Skip to content
New issue

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

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

Already on GitHub? # to your account

Curtain commands from Assistant are incorrect #433

Open
julesbike opened this issue Jan 5, 2023 · 3 comments
Open

Curtain commands from Assistant are incorrect #433

julesbike opened this issue Jan 5, 2023 · 3 comments

Comments

@julesbike
Copy link

I have electric curtains set up as follows:

Rollershutter left_dining_curtain "Left Dining Curtain" { ga="Curtain" }

When I ask google to open or close I get either

2023-01-05 18:40:09.267 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'left_dining_curtain' received command MOVE
2023-01-05 18:41:38.020 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'left_dining_curtain' received command DOWN
2023-01-05 18:41:54.315 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'left_dining_curtain' received command UP

It's not a major issue as I can trap this in rules but I think TOGGLE OPEN CLOSE would seem more appropriate

@michikrug
Copy link
Collaborator

A bit unsure of what your problem is...

OpenHAB Rollershutter items do only know the UP/DOWN commands (besides move and stop).

What behavior would you expect in more detail?

@julesbike
Copy link
Author

julesbike commented Jan 6, 2023

Ok I just read in the openhab Google assistant action documents that the traits open and close are supported. I guess I need to set them up as switches for this. What is sent back by Google , is it a number?

@michikrug
Copy link
Collaborator

michikrug commented Jan 16, 2023

Yes, Google responds with "openPercent" ranging from 0 to 100.

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

No branches or pull requests

2 participants