# How to use Node-RED to switch ioBroker scenes

**URL:** <https://discourse.nodered.org/t/how-to-use-node-red-to-switch-iobroker-scenes/30289>\
**Category:** General\
**Created:** [18 July 2020 08:56 UTC](https://discourse.nodered.org/t/how-to-use-node-red-to-switch-iobroker-scenes/30289 "2020-07-18T08:56:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bravestarr](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bravestarr/32/25960_2.png) [@Bravestarr](https://discourse.nodered.org/u/Bravestarr)\
**Post date:** [18 July 2020 08:56 UTC](https://discourse.nodered.org/t/how-to-use-node-red-to-switch-iobroker-scenes/30289/1 "2020-07-18T08:56:47Z")

</div>

I try to switch a iobroker scene. I successfully receive a boolean from my alexa node-red node. I can see the output of msg.payload with the debug node. That switches from true to false and vice-versa if I use the alexa command. The connected scenes can be switch on/off manually in iobroker.

How do I control the scene with the true/false of the alexa node? What part am I missing? What does the scene need as input?

 ![Screen Shot 2020-07-18 at 10.36.57](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/b/eb15fc4b8a28b2d586317f324fb4c20237fded82.png)

---

<div class="post-metadata">

**Author:** ![Bravestarr](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bravestarr/32/25960_2.png) [@Bravestarr](https://discourse.nodered.org/u/Bravestarr)\
**Post date:** [18 July 2020 20:10 UTC](https://discourse.nodered.org/t/how-to-use-node-red-to-switch-iobroker-scenes/30289/2 "2020-07-18T20:10:45Z")

</div>

Did it without scenes. Worked right away.

 ![Screen Shot 2020-07-18 at 22.08.52](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/c/cc3e8cd1a4013e42514a7f5d4489cb4ee8b8deb5.png)

---

<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:** [16 September 2020 20:10 UTC](https://discourse.nodered.org/t/how-to-use-node-red-to-switch-iobroker-scenes/30289/3 "2020-09-16T20:10:54Z")

</div>

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