Covers with Google Assistant and Alexa

Hi, I’m using the cloud (Nabu) and trying GA and Alexa. In both platforms my z-wave cover entities are working just as switches: I have to turn them on and off for cover up or down. Is there a workaround to get covers from HA work just like covers in Google Assistant and Alexa. I know that GA has its routines/actions and I could change the ‘verb/action’ for each entity, but is there a better mode to accomplish this?? Thank you!

Check this post that has an interesting take on this limitation

Thanks for sharing it and @pergola.fabio thanks for the idea!. It’s an interesting workaround and I may try it. But, anyway, I would expect that we could get the domain ‘cover’ work as expected directly. To the devs, is there any chance of getting that some day??

well , ti think its up to google first
the switches in google assistant are just limited to on/off
i think they need to implement it first, before it can be exposed as open/close

but my trick works great, i wasnt able to explain to my wife to turn On / Off a cover :slight_smile:

2 Likes

I understand…in GA switches are only on/off and it’s reasonable, but if we could take the domain ‘covers’ as ‘cover’ to GA and Alexa instead of as switches, I think it should work directly.

BTW, I agree, my wife wouldn’t accept on/off for covers, that’s why I haven’t explained to her how to do it yet. :joy:

i think the problem is that alexa does not know what a cover is.

https://developer.amazon.com/docs/device-apis/alexa-discovery.html#display-categories

1 Like

Covers coming in 91.0

1 Like

Hi @pergola.fabio !! I’ve already installed 0.91 and can’t see any difference. Do we have to set up something in a different manner?

Probably you need to sync your devices, then your icon should change from switch to cover

I se my cover in the Google Home app. But when i try a voice command. Google tells med that the device is not configured. Any idea whats wrong ?

Do you have Stateless covers?

Its a Fibaro roller Shutter 2. Zwave

But do you have the state like open/closed in HA?

Yes. See attachment

Try say open screen/close screen instead of screen open/screen close

That worked :slight_smile: But woluld be great to say “set screen to 30%”

Have a look at this thread, started it, since for me it’s not working since I have Stateless…

That’s also why I know you need to say open/close…

He created a patch, maybe that one works also with %%

Thank you. I follow that thread

Hi I have a sonoff 4 ch pro with original firmware with this template:

  • platform: template
    covers:
    tapparella_cameretta:
    friendly_name: “Tapparella cameretta”
    open_cover:
    service: switch.turn_on
    entity_id: switch.sonoff_xxx_1
    close_cover:
    service: switch.turn_on
    entity_id: switch.sonoff_xxxx_2
    stop_cover:
    service: switch.turn_off
    entity_id:
    - switch.sonoff_xxxxx_1
    - switch.sonoff_xxxxx_2
    In home assistant covers goes well and I put assumed state to cover.
    I exposed cover in Google home I see cover icon and when I say too Google open Tapparella cameretta, Google reply ok I open 2 device but nothing happen. What can I do??? Thank you

That’s a Stateless cover? See 2 posts above