LoginSignup
4
2

More than 1 year has passed since last update.

Node-RedでAlexa Home Skill Bridgeを設定する

Last updated at Posted at 2021-07-22

前提

  • Node-Redをインストール、起動している

Node-Redインストールの方法はこちらの記事を参考にしてください。

Node-RED Alexa Home Skill Bredgeの設定

アカウントの作成

こちらのリンクからregisterでアカウントを作成する

既にアカウントがある場合はログインしてください。
image.png

デバイスの追加

Add Deviceをクリックします。
image.png

デバイスを設定します。
- Name: デバイスのの名前(今回はテスト)
- Description: デバイスの説明
- Actions: 操作が出来る項目を設定します。(今回はOn/Off)
- Application Type: デバイスのタイプ(今回はSWITCH)

設定したらOKをクリック
image.png

image.png

Editで修正、Deleteで削除できます。

node-red-contrib-alexa-home-skillの設定

インストール

Node-Redにアクセスします。
右のメニューのSettingsをクリック

image.png

PaletteInstallタブを選択し、検索欄にnode-red-contrib-alexa-home-skillを入力しinstallをクリックする
image.png

インストールをクリック
image.png

ノードの作成

左上の検索欄にalexaと入力する
image.png

alexa-homeをフロー上にドラッグ&ドロップする
image.png

フロー上のAlexa Homeをダブルクリックする
image.png

Acountの右の編集ボタンをクリックしNode-RED Alexa Home Skill Bredgeのサイトのユーザー名とパスワードを入力してADDをクリックする
image.png

一度Doneクリックしもう一度Alexa Homeをダブルクリックしてデバイスを選択します。

アレクサのスキルの設定

スキルを有効にする

こちらのリンクからリンクを有効にする

端末を検出する

image.png

テスト

Node-Redを開き右のノード一覧からDebugをフロー上にドラッグ&ドロップする。
Alexa HomeDebugと接続し右上のDeployをクリックします。

image.png

右のデバッグボタン(虫のアイコン)をクリックし、Alexaに音声入力します。
※今回は「Alexa テストをオン]、「Alexa テストをオフ」

オンの時はtrueがオフの時はfalseが表示されます。

image.png

My Accounts

4
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2