# Alexa ai node red Phrasen does somebody has any idea...?

**URL:** <https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470>\
**Category:** General\
**Created:** [5 September 2020 11:21 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470 "2020-09-05T11:21:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![matze85](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@matze85](https://discourse.nodered.org/u/matze85)\
**Post date:** [5 September 2020 11:21 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/1 "2020-09-05T11:21:21Z")

</div>

it would be very nice if someone could help me with a HOME AI with node red

i think the best way is about node-red-contrib-alexa or....????

by matze

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [5 September 2020 11:31 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/2 "2020-09-05T11:31:37Z")

</div>

This is a very big question.

Do you have any existing devices that you want to control?

What sort/type are they?

---

<div class="post-metadata">

**Author:** ![matze85](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@matze85](https://discourse.nodered.org/u/matze85)\
**Post date:** [5 September 2020 11:41 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/3 "2020-09-05T11:41:15Z")

</div>

of course there are devices to control because i use shellys for all lights in the house but i would like to program some entertainment possibilities with alexa

example if i say alexa how are you should alexa answer me well and you or i am bored  
........  
like a kai with whom I can talk and react and respond to different conditions

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 September 2020 12:21 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/4 "2020-09-05T12:21:26Z")

</div>

> [@matze85](#):
>
> if i say alexa how are you should alexa answer me well and you or i am bored

Can you explain what that has got to do with node-red?

---

<div class="post-metadata">

**Author:** ![matze85](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@matze85](https://discourse.nodered.org/u/matze85)\
**Post date:** [5 September 2020 12:44 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/5 "2020-09-05T12:44:09Z")

</div>

excuse me, my english is not the best my goal is to have a conversation that i have defined with alexa

[image]

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 September 2020 14:12 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/6 "2020-09-05T14:12:14Z")

</div>

Did you mean to post an image? It did not come through. You paste the image directly into here.

---

<div class="post-metadata">

**Author:** ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Post date:** [5 September 2020 14:29 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/7 "2020-09-05T14:29:57Z")

</div>

Hi matze,  
but that example has nothing to do with Node-RED!?  
You can talk to Alexa about the weather, but your Shellys won't start like this.  
What do you have beside these Shellys, since "of course" we do not have any clue about that?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [5 September 2020 15:10 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/8 "2020-09-05T15:10:11Z")

</div>

If you want to define responses to spoken text, you can do that with routines in the alexa app.

---

<div class="post-metadata">

**Author:** ![matze85](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@matze85](https://discourse.nodered.org/u/matze85)\
**Post date:** [5 September 2020 17:11 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/9 "2020-09-05T17:11:34Z")

</div>

I know I can about this in Alexa app but I search a possible for node red

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [5 September 2020 18:37 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/10 "2020-09-05T18:37:16Z")

</div>

Yes use the node-red-contrib-alexa-remote2 or node-red-contrib-alexa-home-skill or node-red-contrib-amazon-echo. All work differently, but should be possible with limitations

---

<div class="post-metadata">

**Author:** ![matze85](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@matze85](https://discourse.nodered.org/u/matze85)\
**Post date:** [6 September 2020 05:09 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/11 "2020-09-06T05:09:31Z")

</div>

Good morning yes exactly but I think with contribe alexa it is better possible just don't know exactly how someone might have an idea

[image]

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [6 September 2020 06:23 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/12 "2020-09-06T06:23:08Z")

</div>

with thr remote2 nodes  
alexa event node set to device activity, you can get the spoken words from

```auto
msg.payload.description.summary.

```

then using routine node set to custom you can feed a json to get alexa to speak

```auto
{ type: 'speak', payload: { type: 'regular', text: 'Hello!', devices: ['My Echo']}

```

---

<div class="post-metadata">

**Author:** ![matze85](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@matze85](https://discourse.nodered.org/u/matze85)\
**Post date:** [6 September 2020 06:28 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/13 "2020-09-06T06:28:56Z")

</div>

thanks for your effort to help me am an absolute newcomer to node red  
i need a finished example to understand it and to expand it, thank you gruß matze

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [6 September 2020 06:45 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/14 "2020-09-06T06:45:10Z")

</div>

```auto
[{"id":"5da98f85.8cb3a","type":"function","z":"4484ee28.caa3c","name":"","func":"if (msg.payload.description.summary == \"computer hi good day\") {\n msg.payload = { type: 'speak', payload: { type: 'regular', text: 'Hello', devices: ['Lounge']}}\n}else{\n return [null,msg];\n}\nreturn msg;","outputs":2,"noerr":0,"initialize":"","finalize":"","x":380,"y":660,"wires":[["edab54d5.ac30e8"],[]]},{"id":"db208dee.bc539","type":"alexa-remote-event","z":"4484ee28.caa3c","name":"","account":"c9677242.dca69","event":"ws-device-activity","x":150,"y":660,"wires":[["5da98f85.8cb3a","b734f44.e9a4b08"]]},{"id":"edab54d5.ac30e8","type":"alexa-remote-routine","z":"4484ee28.caa3c","name":"","account":"c9677242.dca69","routineNode":{"type":"custom","payload":{"type":"msg","value":"payload"}},"x":580,"y":660,"wires":[[]]},{"id":"c9677242.dca69","type":"alexa-remote-account","z":"","name":"alexaremote2","authMethod":"proxy","proxyOwnIp":"192.168.1.25","proxyPort":"3456","cookieFile":"alexa-remote2.txt","refreshInterval":"14","alexaServiceHost":"layla.amazon.co.uk","amazonPage":"amazon.co.uk","acceptLanguage":"en-UK","userAgent":"","useWsMqtt":"on","autoInit":"on"}]

```

simple example, limitation you have to configure the spoken words in routines or a blue print question and answer to remove the alexa response i do not understand. This example uses the wake word computer, edit for alexa, echo, etc

---

<div class="post-metadata">

**Author:** ![matze85](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@matze85](https://discourse.nodered.org/u/matze85)\
**Post date:** [6 September 2020 17:14 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/15 "2020-09-06T17:14:11Z")

</div>

hi good evening so i have tested it almost only alexa has to listen to a request and then be able to answer.  
but otherwise that's very cool, thank you for your help.  
if you still want to develop it further, I would be very happy.

By the way, I'm the matze and you ...

---

<div class="post-metadata">

**Author:** ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Post date:** [6 September 2020 17:33 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/16 "2020-09-06T17:33:54Z")

</div>

> [@matze85](#):
>
> By the way, I'm the matze and you ...

... der Stefan 😀

---

<div class="post-metadata">

**Author:** ![matze85](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@matze85](https://discourse.nodered.org/u/matze85)\
**Post date:** [8 September 2020 05:23 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/17 "2020-09-08T05:23:19Z")

</div>

freut mich stefan woher kommst du den ..??

---

<div class="post-metadata">

**Author:** ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Post date:** [8 September 2020 06:19 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/18 "2020-09-08T06:19:35Z")

</div>

see my message ...

---

<div class="post-metadata">

**Author:** ![matze85](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@matze85](https://discourse.nodered.org/u/matze85)\
**Post date:** [8 September 2020 08:01 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/19 "2020-09-08T08:01:42Z")

</div>

Ja schon klar 😊 ich meine aus welcher stadt / Bundesland

Aber wie auch immer 😉 hast du vielleicht eine Idee wie man den listening Modus der alexa im payload offen hält, so dass man mehrere Dinge abfragen und ausführen kann

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 November 2020 08:01 UTC](https://discourse.nodered.org/t/alexa-ai-node-red-phrasen-does-somebody-has-any-idea/32470/20 "2020-11-07T08:01:53Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
