Hey,
I want to control my covers with Alexa.
This needs to be based on the room (alexa group) - like “turn on lights”.
I added the cover to the sleeping room group and when I say alexa, cover to 100% it already uses the right one - that works.
The problem is that I just want to say “cover up” or “open cover” or something like that,
but the answer is always “this command doesn’t work with the device sleeping room cover”
Works:
Alexa, Cover to 100%
Alexa, Cover to 0%
Doesn’t Work:
Alexa, close the Cover
Alexa, Cover off
Alexa, Cover on
Alexa, open Cover
…
The devices is exposed as Cover in the Alexa App.
Is this a limitation of Alexa or is something wrong with my config?
- platform: template
covers:
living_room_rollo:
device_class: shutter
friendly_name: " Wohnzimmer Rollo"
position_template: "{{ states('sensor.living_room_rollo_position') }}"
open_cover:
- service: rest_command.belt_winder_up
data:
did: 2 # This is the Device ID also used in sensor.yaml
close_cover:
- service: rest_command.belt_winder_down
data:
did: 2 # This is the Device ID also used in sensor.yaml
stop_cover:
- service: rest_command.belt_winder_stop
data:
did: 2 # This is the Device ID also used in sensor.yaml
set_cover_position:
- service: rest_command.belt_winder_set_position
data_template:
did: 2 # This is the Device ID also used in sensor.yaml
position: "{{position}}"
belt_winder_up:
url: 'http://192.168.178.79/devices/{{ did }}'
method: PUT
payload: '{"name":"POS_UP_CMD"}'
belt_winder_down:
url: 'http://192.168.178.79/devices/{{ did }}'
method: PUT
payload: '{"name":"POS_DOWN_CMD"}'
belt_winder_stop:
url: 'http://192.168.178.79/devices/{{ did }}'
method: PUT
payload: '{"name":"STOP_CMD"}'
belt_winder_set_position:
url: 'http://192.168.178.79/devices/{{ did }}'
method: PUT
payload: '{"name":"GOTO_POS_CMD","value":"{{ 100 - float(position)|int }}"}'
Cheers!