Help with RESTful API and Sonoff

Post Reply
113grantp
Posts: 3
Joined: Tue May 09, 2017 12:12 pm

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
User avatar
pzygmunt
Posts: 18277
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

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
113grantp
Posts: 3
Joined: Tue May 09, 2017 12:12 pm

Thanks, Pzygmunt. The first link is dead, however.
User avatar
pzygmunt
Posts: 18277
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Check now
Post Reply

Return to “Help”