# Exec node - trying to pass command to virtual environment

**URL:** <https://discourse.nodered.org/t/exec-node-trying-to-pass-command-to-virtual-environment/31008>\
**Category:** General\
**Created:** [1 August 2020 08:53 UTC](https://discourse.nodered.org/t/exec-node-trying-to-pass-command-to-virtual-environment/31008 "2020-08-01T08:53:33Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![AlanW77](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanw77/32/26700_2.png) [@AlanW77](https://discourse.nodered.org/u/AlanW77)\
**Post date:** [2 August 2020 10:10 UTC](https://discourse.nodered.org/t/exec-node-trying-to-pass-command-to-virtual-environment/31008/21 "2020-08-02T10:10:12Z")

</div>

Yes, I have done exactly that with my test rig which has 2 downlights, an original A1000, the LIFX switch and an in-line switch that lets me simulate power-fails.

 ![F85999B7FAF149768F3183FE2AA58F04.png](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/7/677f06bdf711468707faf594c72c7993f90d2513.png)

---

<div class="post-metadata">

**Author:** ![AlanW77](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanw77/32/26700_2.png) [@AlanW77](https://discourse.nodered.org/u/AlanW77)\
**Post date:** [2 August 2020 10:22 UTC](https://discourse.nodered.org/t/exec-node-trying-to-pass-command-to-virtual-environment/31008/22 "2020-08-02T10:22:50Z")

</div>

Agreed, each install will have it’s own issues. The Mylight ones look great – if I do add some I would consider having the builder create 90mm square wall cavities that let me mount them flush – I would also run some in-wall cable around to power them with 3v so that battery replacement isn’t an issue. Thanks for the links, I was going to ask about the ESPB266. Now I am really off topic!

 ![F85999B7FAF149768F3183FE2AA58F04.png](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/7/677f06bdf711468707faf594c72c7993f90d2513.png)

---

<div class="post-metadata">

**Author:** ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)\
**Post date:** [2 August 2020 11:29 UTC](https://discourse.nodered.org/t/exec-node-trying-to-pass-command-to-virtual-environment/31008/23 "2020-08-02T11:29:56Z")

</div>

They also have equivalent units you can mount in the place of a normal switch. Only thing that might be an issue is that the range of the NRF24L01 radios aren't very good (like any 2.4GHz radio) so if you have a huge house you might need several of these gateways. One covers our 75m2 apartment quite well. If you consider trying these out, send me a PM first and I can recommend a good NRF radio module and a good AliExpress seller (not the same as I linked, used this one just because it happened to have both devices I use in the same picture).

Edit: for completeness sake. Here's the ones that are installed in place of normal switches: [https://www.aliexpress.com/item/32830377497.html](https://www.aliexpress.com/item/32830377497.html) (this is also a seller I've bought Milight/Mi-boxer products several time and the service has been excellent)

... and this is the good quality shielded NRF radio module to attach to an ESP8266: [https://www.aliexpress.com/item/33013542366.html](https://www.aliexpress.com/item/33013542366.html) (Note: I bought from another seller but the module doesn't seem to be available there anymore)

---

<div class="post-metadata">

**Author:** ![AlanW77](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanw77/32/26700_2.png) [@AlanW77](https://discourse.nodered.org/u/AlanW77)\
**Post date:** [4 August 2020 07:53 UTC](https://discourse.nodered.org/t/exec-node-trying-to-pass-command-to-virtual-environment/31008/24 "2020-08-04T07:53:09Z")

</div>

Hi, I couldn’t work out how to PM you on the forum so perhaps you could initiate that. I will order a few of the Milight components and an radio. The ESP8266 is readily available here.

Alan Williamson +61 411 407 777

Victoria, Australia

![2F0D69C78C454067B142C5ECB3B11BA7.jpg](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/1/c1ad9ac9dfc52e350a51ff68472faeedbd2a35a1.jpeg)

 ![F85999B7FAF149768F3183FE2AA58F04.png](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/7/677f06bdf711468707faf594c72c7993f90d2513.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [4 August 2020 07:57 UTC](https://discourse.nodered.org/t/exec-node-trying-to-pass-command-to-virtual-environment/31008/25 "2020-08-04T07:57:38Z")

</div>

> [@AlanW77](#):
>
> how to PM you on the forum

click on someone's image icon and you should get a pop-up with a "message" button/link

---

<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:** [3 October 2020 07:57 UTC](https://discourse.nodered.org/t/exec-node-trying-to-pass-command-to-virtual-environment/31008/26 "2020-10-03T07:57:42Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/exec-node-trying-to-pass-command-to-virtual-environment/31008.md?page=1)
