# Alexa voice output when light switch is pressed

**URL:** <https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656>\
**Category:** General\
**Created:** [20 June 2020 10:43 UTC](https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656 "2020-06-20T10:43:55Z")\
**Posts on this page:** 8\
**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:** [20 June 2020 10:43 UTC](https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656/1 "2020-06-20T10:43:56Z")

</div>

Please excuse my bad english 😉

for example, i would like to switch my light switch in the kitchen and alexa should give me a voice output, for example the kitchen is now on

I use i o broker and node red 1.06  
node-red-contrib-alexa-remote2

node-red-contrib-alexa-local

thanks for your help

---

<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:** [20 June 2020 10:58 UTC](https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656/2 "2020-06-20T10:58:40Z")

</div>

Hello 🙂

Is the light switch voice controlled by Alexa?

---

<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:** [20 June 2020 11:44 UTC](https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656/3 "2020-06-20T11:44:32Z")

</div>

Yes about a shelly 1pm

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [20 June 2020 12:53 UTC](https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656/4 "2020-06-20T12:53:21Z")

</div>

With [node-red-contrib-alexa-remote2](https://flows.nodered.org/node/node-red-contrib-alexa-remote2) and this example [https://peyanski.com/alexa-tts-how-to/](https://peyanski.com/alexa-tts-how-to/) you can Alexa let say anything you want.  
So even that the light in the kitchen are on.

---

<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:** [20 June 2020 13:36 UTC](https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656/5 "2020-06-20T13:36:09Z")

</div>

i don't know how to do that i need an example and it should be integrated into my circuit with a switch

 ![Unbenannt2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/9/49c57554e020a767bddaeabbd9d8dd1cc18fa06d.png)

---

<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:** [20 June 2020 13:39 UTC](https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656/6 "2020-06-20T13:39:21Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/5/a555e029ae335a461d4b703ca5c942ed996f9a39.png)

and this is not the right example

---

<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:** [20 June 2020 13:43 UTC](https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656/7 "2020-06-20T13:43:40Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/2/e22394e7aa6a76c6588b8c9f7f007bcf37d33892.png)

and this is my test but i can only action my event wehn i press timestamp, but i want action when i pressed on off switch

---

<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:** [19 August 2020 13:43 UTC](https://discourse.nodered.org/t/alexa-voice-output-when-light-switch-is-pressed/28656/8 "2020-08-19T13:43:56Z")

</div>

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