Hello GimpArm,
i’m using REST. Yes, it works with the offical App from SmartFriends. This is my output:
[
{
"id": 16551,
"name": "Rolladen Balkon rechts",
"room": "DiningRoom",
"gatewayDevice": "SmartFriendsBox",
"kind": "RollingShutter",
"manufacturer": "Alfred Schellenberg GmbH",
"state": "Down",
"devices": {
"rollingShutter": {
"Id": 16551,
"description": "SchellenbergRadioMotor_Unidirectional",
"commands": {
"Stop": 0,
"Up": 1,
"Down": 2
},
"currentValue": "Down"
}
}
},
{
"id": 5055,
"name": "Rolladen Balkon links",
"room": "DiningRoom",
"gatewayDevice": "SmartFriendsBox",
"kind": "RollingShutter",
"manufacturer": "Alfred Schellenberg GmbH",
"state": "Down",
"devices": {
"rollingShutter": {
"Id": 5055,
"description": "SchellenbergRadioMotor_Unidirectional",
"commands": {
"Stop": 0,
"Up": 1,
"Down": 2
},
"currentValue": "Down"
}
}
}
]
And this is my entry in configuration.yaml:
cover:
- platform: template
covers:
shutter_balkon_rechts:
friendly_name: "Rolladen Balkon rechts"
device_class: shutter
position_template: "{{ states('sensor.shutter_position_balkon_rechts') }}"
open_cover:
service: shell_command.shutter_up
data:
device_id: 16551
close_cover:
service: shell_command.shutter_down
data:
device_id: 16551
stop_cover:
service: shell_command.shutter_stop
data:
device_id: 16551
set_cover_position:
service: shell_command.shutter_position
data_template:
device_id: 16551
position: "{{ position }}"