I would like to control my Sonoff devices using Amazon Alexa, using IFTTT to turn the devices on/off.
I have enabled the RESTful API in Supla Cloud, but there is no information as to how to use it. Unfortunately, I am not a developer, so step by step instructions would be fantastic. (I understand that this is a lot of effort, but some kind of instructions to help users use the API would benefit a lot of people. Perhaps some sample code into which users could input their own information from the API)
Thanks,
Grant
Help with RESTful API and Sonoff
-
- Posts: 19400
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
At this moment there is no documentation about this.
You can use examples based on php
https://github.com/SUPLA/restful-api-client
https://github.com/SUPLA/api-client-php
You can use examples based on php
https://github.com/SUPLA/restful-api-client
https://github.com/SUPLA/api-client-php
-
- Posts: 3
- Joined: Tue May 09, 2017 12:12 pm
Thanks, Pzygmunt. The first link is dead, however.