Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Feature request: covers #86

Closed
rexhoffman opened this issue Jun 17, 2024 · 13 comments
Closed

Feature request: covers #86

rexhoffman opened this issue Jun 17, 2024 · 13 comments
Labels
enhancement New feature or request

Comments

@rexhoffman
Copy link

covers (aka garage door openers) - looks like the would have a LevelControlAspect aspect like lights?
locks - looks like they would just have an on/off aspect?

This project is super slick and could be a great way to integrate myq (MyQ HomeKit Bridge -> home assistant -> matter bridge -> google home), among others.

@t0bst4r t0bst4r added the enhancement New feature or request label Jun 17, 2024
@h4nnes
Copy link

h4nnes commented Jun 20, 2024

Yes, would we cool if we could expose Home Assistant Cover entities :-)

@t0bst4r
Copy link
Owner

t0bst4r commented Jun 23, 2024

I've added (basic) support for locks. Please test and provide feedback. (Release currently in progress => 1.3.0)

@t0bst4r t0bst4r changed the title Feature request: locks and covers Feature request: covers Jun 23, 2024
@rexhoffman
Copy link
Author

rexhoffman commented Jun 27, 2024

locks work well - tested in HomeKit, couldn't test in google home due to matter bridge bug. Perhaps add battery support as well? lock.{name} I believe will be back by sensor.{name}_battery_percentage from the smart locks I've had on home assistant.

@rexhoffman
Copy link
Author

Tested in google home after following the bug to attach matterbridge to google home. Luligu/matterbridge#61, found that it works well via the app (no security pin like google often demands), but google assistant will not open the lock, trying to dig in to why.

@t0bst4r t0bst4r mentioned this issue Jun 30, 2024
@t0bst4r
Copy link
Owner

t0bst4r commented Jul 17, 2024

This was also requested by @Aaroneisele55 in t0bst4r/matterbridge-home-assistant-addon#96

Domain

cover

Attributes

cover.beschattung_b1
closed

current_position: 100
device_class: awning
friendly_name: Beschattung Richtung Kienle
supported_features: 255

Services

# Close the cover
service: cover.close_cover
data: {}
target:
  entity_id: cover.beschattung_b1
# Open the cover
service: cover.open_cover
data: {}
target:
  entity_id: cover.beschattung_b1
# Set the position of the cover (0%-100%)
service: cover.set_cover_position
data:
  position: 55
target:
  entity_id: cover.beschattung_b1
# Stop the cover movement
service: cover.stop_cover
data: {}
target:
  entity_id: cover.beschattung_b1

Version

1.6.8-82

Additional comments

No response

@t0bst4r
Copy link
Owner

t0bst4r commented Jul 28, 2024

I have implemented basic support for covers. It will be released in about 5-10 minutes with version 2.3.0.

Unfortunately i cannot test it, since i dont have any covers and i cannot find a way to add a virtual cover to home assistant.
So please test and provide feedback ❤️

@t0bst4r t0bst4r closed this as completed Jul 28, 2024
@matthewdias
Copy link

@t0bst4r Works well so far for me in Google Home. Tested open, close, stop, set percentage

@Aaroneisele55
Copy link

it also works fine for me in the Amazon system

@t0bst4r
Copy link
Owner

t0bst4r commented Jul 30, 2024

Don’t you have any of those bugs as mentioned in #234 or #235 ?
If you have one of those please add a comment there to keep track. If not - just let me know somehow (here or in the other two issues).

@Aaroneisele55
Copy link

it also works fine for me in the Amazon system

Hi @Aaroneisele55 Can you use the command open and close? I can only set the cover per percentage.

I can't use open/close, but I made a routine as workaround that maps open/close to the percentages...

@h4nnes
Copy link

h4nnes commented Jul 31, 2024

it also works fine for me in the Amazon system

Hi @Aaroneisele55 Can you use the command open and close? I can only set the cover per percentage.

I can't use open/close, but I made a routine as workaround that maps open/close to the percentages...

It's seems to be inverted, at least for me. When I say "Alex open cover xxx" ---> the cover will be closed and vice versa

@Aaroneisele55
Copy link

it also works fine for me in the Amazon system

Hi @Aaroneisele55 Can you use the command open and close? I can only set the cover per percentage.

I can't use open/close, but I made a routine as workaround that maps open/close to the percentages...

It's seems to be inverted, at least for me. When I say "Alex open cover xxx" ---> the cover will be closed and vice versa

I mapped open to 0 percent and close to 100 in a routine so it isn't inverted for me....

@t0bst4r
Copy link
Owner

t0bst4r commented Jul 31, 2024

Okay that’s what others are reporting as well in #234
Thanks for the feedback. I’ll fix it on the weekend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants