4

i'm developing app in iOS...i have smart home bulb device and also amazon alexa echo dot...i have created the skill on alexa cloud for turn on and turn off the smart home bulb device...its good working with the alexa echo dot.

but i just wanted to know that is there any way to manage the turn on and turn off bulb device via alexa api with my app.?

like just send text commands to the alexa api and alexa will turn on the my device through my app.i don't want to use voice service

Thank you

Akshay Savaliya
  • 133
  • 1
  • 12
  • What is API documentation says? Check amazon alexa app – canister_exister Jan 09 '19 at 17:22
  • api documentation doesn't say anything about this...and alxa app have this functionality..but this app is also record voice and then control the smart device – Akshay Savaliya Jan 09 '19 at 17:25
  • Amazon alexa app working great with all devices without voice – canister_exister Jan 09 '19 at 17:31
  • that's i know....i'm asking for api – Akshay Savaliya Jan 09 '19 at 17:39
  • `{ "header": { "messageId": "01ebf625-0b89-4c4d-b3aa-32340e894688", "name": "TurnOnRequest", "namespace": "Alexa.ConnectedHome.Control", "payloadVersion": "2" }, "payload": { "accessToken": "[OAuth token here]", "appliance": { "additionalApplianceDetails": {}, "applianceId": "[Device ID for Your Light Bulb]" } } }` this request to turn on device – canister_exister Jan 09 '19 at 17:46
  • 1
    You can directly send the response to your server from your app and then update Alexa about the state changes. If you have included Display category and Capability you will be able to control the device using Alexa app under "Devices" section . More info here: https://developer.amazon.com/docs/smarthome/connect-a-color-changing-light-bulb-to-alexa.html – hungryspider Apr 03 '19 at 10:02

0 Answers0