ESP32 结合 Alexa 智能家具套件开发过程

ESP32 结合 Alexa 智能家具套件开发过程

TONYLABS 10 Mar, 2019
  • 0
  • 0

Login with Amazon (LWA) 服务

使用 LWA 服务,实现OAuth 用户登录。

  1. 打开 并登录你的 Amazon 账户
  2. 点击 “Apps & Services”, 然后 “Login with Amazon”
  3. 点击 “Create a New Security Profile” 创建安全档案
  4. Fill in all three required fields to create your security profile and click “Save”.
  5. Before you complete this step, be sure to click on the link named “Show Client ID and Client Secret” and save these values to a secure location so they're easily available later. You’ll need these values later in a future step.



创建 Lambda 功能



Now that you have all the components, let's put everything together. These steps assume you're using LWA for account linking:

  1. Go back to and sign in as needed
  2. Go to Alexa > Alexa Skills Kit > the test skill you created earlier
  3. In the Configuration tab:
    • Lambda ARN default = enter your Lambda ARN noted from the previous step
    • Authorization URI =
    • Client ID = your client ID from LWA noted in a previous step
    • Scope: profile (click Add Scope first to add)
    • Access Token URI:
    • Client Secret: your client secret from LWA noted in a previous step
    • Client Authentication Scheme: HTTP Basic (Recommended)
    • Click Save
  4. Provide Redirect URL's to LWA:
    • The Configuration page for your Skill lists several Redirect URL's. Open the LWA security profile you created earlier and visit the Web Settings dialog. Provide each of the Redirect URL values from your Skill in the Allowed Return URL's field.




ESP32 WROOM 系列模组包括 ESP32-WROOM-3...

HUZZAH32 ESP32 Feather

HUZZAH32 ESP32 Feather

Amazon Alexa Echo Dot 智能语音助理音箱

Amazon Alexa Echo Dot 智能语音助理音箱



输入您的电子邮箱即可在第一时间获得 TONYLABS 资讯