Somfy-Developer / Somfy-TaHoma-Developer-Mode

A collection of requests to use a local API with Somfy TaHoma gateways
147 stars 12 forks source link

How to execute commands to control devices #31

Closed MichalRcz closed 2 years ago

MichalRcz commented 2 years ago

Hello, I just start to implement some small app for control Somfy Switch hub and external shutters. I have no problems with access to local API, but I don't know how to call commands on particular device.

I am not able to find some examples or documentation, how the json content for /exec/apply should be correctly constructed. I am able to find the Open API examples, but I guess there is a different structure of calls and attributes. https://developer.somfy.com/products/blinds-interior-and-exterior

Please, could you give me some advice or examples, how to call the commands on devices. Thank you very much Best regards

an-mediola commented 2 years ago

Probably this helps you : https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode/issues/15#issuecomment-1115840769

MichalRcz commented 2 years ago

Perfect, thank you very much. I missed it in closed issues stream.