# Simple button to do actions inside the NodeRed

**URL:** <https://forum.ewelink.cc/t/simple-button-to-do-actions-inside-the-nodered/19213>\
**Category:** eWeLink CUBE\
**Created:** [June 27, 2023, 2:25am UTC](https://forum.ewelink.cc/t/simple-button-to-do-actions-inside-the-nodered/19213 "2023-06-27T02:25:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julhio](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@Julhio](https://forum.ewelink.cc/u/Julhio)\
**Post date:** [June 27, 2023, 2:25am UTC](https://forum.ewelink.cc/t/simple-button-to-do-actions-inside-the-nodered/19213/1 "2023-06-27T02:25:02Z")

</div>

@yitie ,

Answering your question from the closed topic about CAST:

> [@「NEW feature arrival」Meet eWeLink Cast and let us know your ideas](https://forum.ewelink.cc/t/new-feature-arrival-meet-ewelink-cast-and-let-us-know-your-ideas/3717/50):
>
> Hey Julhio, for now, the web-based CAST and the CAST app for Android tablet have the tiles for trigger manual scenes, as for a “button” linked to NodeRed, would you please detail it for better evaluation, thanks in advance.

I would like a simple button to do actions inside the NodeRed.  
When I try to configure a manual scenes to do this task, only is possible to do actions with a device or delay:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/f/f48071ce00b865d27b6d113f455d7a54b22a7e23.png)

My intention is change the Inject Nodes of NodeRed by buttons on CAST:

![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/d/df317a70a5f5e408cef25e972b79422784b0e933.png)

With this I will be able to ON and OFF devices, trigger scenes and automations using the NodeRed.

Can you tell me if I can do this now or if it could be included on next update ?

Thanks

---

<div class="post-metadata">

**Author:** ![Julhio](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@Julhio](https://forum.ewelink.cc/u/Julhio)\
**Post date:** [June 29, 2023, 4:17am UTC](https://forum.ewelink.cc/t/simple-button-to-do-actions-inside-the-nodered/19213/2 "2023-06-29T04:17:51Z")

</div>

@yitie,

Do you have any solution for the problem above ?

---

<div class="post-metadata">

**Author:** ![yitie](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/yitie/32/3613_2.png) [@yitie](https://forum.ewelink.cc/u/yitie)\
**Post date:** [June 29, 2023, 6:33am UTC](https://forum.ewelink.cc/t/simple-button-to-do-actions-inside-the-nodered/19213/3 "2023-06-29T06:33:46Z")

</div>

Hey @Julhio, i have created a dedicated new topic here and move the post here, considering it’s CUBE related and should not be mixed with the web-based CAST discussion.

@Teki is NodeRed expert from our team, i have ring him to check and get back to you when he is available.

I saw you have same discuss in here [iHost: Using ESPHome on NodeRed (without Home Assistant) - #4 by Julhio](https://forum.ewelink.cc/t/ihost-using-esphome-on-nodered-without-home-assistant/18947/4), hoping Jordan could give some help too.

---

<div class="post-metadata">

**Author:** ![Julhio](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@Julhio](https://forum.ewelink.cc/u/Julhio)\
**Post date:** [June 29, 2023, 12:12pm UTC](https://forum.ewelink.cc/t/simple-button-to-do-actions-inside-the-nodered/19213/4 "2023-06-29T12:12:03Z")

</div>

I understood. Thanks for the answer.

---

<div class="post-metadata">

**Author:** ![Julhio](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@Julhio](https://forum.ewelink.cc/u/Julhio)\
**Post date:** [July 1, 2023, 3:43am UTC](https://forum.ewelink.cc/t/simple-button-to-do-actions-inside-the-nodered/19213/6 "2023-07-01T03:43:01Z")

</div>

I found the answer on youtube:

[![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/1/1a42c51e1394ad2f3f57790091e154898ea12cd1.jpeg "SONOFF iHost: Virtual Device Tutorial") ](https://www.youtube.com/watch?v=SK4EtCqhWY8)

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [July 3, 2023, 2:42am UTC](https://forum.ewelink.cc/t/simple-button-to-do-actions-inside-the-nodered/19213/7 "2023-07-03T02:42:12Z")

</div>

Yes, this is made by our partner, I thought I’d post it today, but you saw it yourself first 😀
