# Control Eufy Lumos LED Bulb

**URL:** <https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326>\
**Category:** General\
**Created:** [14 August 2019 19:15 UTC](https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326 "2019-08-14T19:15:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flixm](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/flixm/32/17122_2.png) [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Post date:** [14 August 2019 19:15 UTC](https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326/1 "2019-08-14T19:15:54Z")

</div>

hi,

i´m still searchin for a solution to control the Anker Eufy lumos smart bulb. In the meantime i found something on NPM: [NPM Link](https://www.npmjs.com/package/node-eufy-api?activeTab=readme)

Is there any tip or trick how i can use this as a node in node red ?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [15 August 2019 21:44 UTC](https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326/2 "2019-08-15T21:44:40Z")

</div>

Assuming that there isn't already a node that has been created (check the flows site). There are two main ways to use a package like this with Node-RED.

1. Install the package and reference it in settings.js (assign it to a global) then access that global variable in a function node.
2. Write a custom node to wrap the package.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [15 August 2019 21:54 UTC](https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326/3 "2019-08-15T21:54:16Z")

</div>

What about the [npm](https://www.npmjs.com/package/node-red-contrib-npm) node? I've not used it nor do I know if it will work but I know it exists.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [15 August 2019 21:55 UTC](https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326/4 "2019-08-15T21:55:57Z")

</div>

Good call, I'd forgotten about that.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [15 August 2019 21:57 UTC](https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326/5 "2019-08-15T21:57:09Z")

</div>

Have you used it? Not sure how it fits together or if it's suitable for this use case?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [15 August 2019 22:03 UTC](https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326/6 "2019-08-15T22:03:15Z")

</div>

No, not used it I'm afraid. Not had a need.

Hard to predict whether it would work without trying it I think. It will depend how the package operates.

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [16 August 2019 07:00 UTC](https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326/7 "2019-08-16T07:00:49Z")

</div>

Thanks for the tip Steve, pretty sure I can use it for other things 🙂

---

<div class="post-metadata">

**Author:** ![Flixm](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/flixm/32/17122_2.png) [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Post date:** [17 August 2019 12:27 UTC](https://discourse.nodered.org/t/control-eufy-lumos-led-bulb/14326/8 "2019-08-17T12:27:28Z")

</div>

for me it´s not the solution ... hopefully someone with more experience can do an "easy to use" node in the future.
