# Serious HueMagic Problem

**URL:** <https://discourse.nodered.org/t/serious-huemagic-problem/56429>\
**Category:** General\
**Created:** [10 January 2022 21:56 UTC](https://discourse.nodered.org/t/serious-huemagic-problem/56429 "2022-01-10T21:56:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ascarsy](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@Ascarsy](https://discourse.nodered.org/u/Ascarsy)\
**Post date:** [10 January 2022 21:56 UTC](https://discourse.nodered.org/t/serious-huemagic-problem/56429/1 "2022-01-10T21:56:07Z")

</div>

Hi,  
I have a serious problem with HueMagic. I have several light control flows created with a rather complicated logic. Everything worked fine until I updated to the new version 4.0.2.  
Now I have very strange behaviour:

1. I have a hometic switch that changes the lights by iterating through the scnarios. (Works fine). Then I have a Switch that is supposed to turn the lights off. That does not work anymore.

 ![Screenshot 2022-01-10 224939](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/b/8ba0847819fe2a8946eec43a513e74c23ffac84b.png)

When I click the button (on the left) then I get exactly the same debug messages as when I click the Inject-Node. However the button does not turn off the lights, the Inject-Node does. It is exactly the same??

1. For my bedroom I have different light szenarios during day and in the night (so I dont get blinded). I have a flow that tries to activate them but I get an error message:

 ![Screenshot 2022-01-10 225402](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/4/e439e838c8fc674ded0a3a8141facbf79bbae31c.png)

The lights wont go on and I have no clue what to do.

Is there any way I can get the old version of HueMagic back? This one is too buggy!

thanx in advance  
Guido

---

<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:** [10 January 2022 22:06 UTC](https://discourse.nodered.org/t/serious-huemagic-problem/56429/2 "2022-01-10T22:06:49Z")

</div>

> [@Ascarsy](#):
>
> Is there any way I can get the old version of HueMagic back? This one is too buggy

Yes.

In a terminal/CMD window, cd into the .node-red folder, npm uninstall the\_node then npm install the\_node@xxx where xxx is the version you want. Then restart node-red.

Do you need more help?

---

<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:** [10 January 2022 22:11 UTC](https://discourse.nodered.org/t/serious-huemagic-problem/56429/3 "2022-01-10T22:11:26Z")

</div>

Ps, you should really post an issue on the GitHub repository so the author knows there is a problem.

Note: there may already be an issue raised - have a look see.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [10 January 2022 22:19 UTC](https://discourse.nodered.org/t/serious-huemagic-problem/56429/4 "2022-01-10T22:19:23Z")

</div>

> [@Ascarsy](#):
>
> When I click the button (on the left) then I get exactly the same debug messages as when I click the Inject-Node. However the button does not turn off the lights, the Inject-Node does. It is exactly the same??

If the later nodes react differently then there must be a difference in the messages. Add a debug node connected to the button and the inject, set the debug node to Output Complete Message and show us the results for the two messages.

---

<div class="post-metadata">

**Author:** ![Ascarsy](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@Ascarsy](https://discourse.nodered.org/u/Ascarsy)\
**Post date:** [11 January 2022 17:36 UTC](https://discourse.nodered.org/t/serious-huemagic-problem/56429/5 "2022-01-11T17:36:54Z")

</div>

I have found the problem. HuieMagic 4.x is for a certain firmware in the Hue Bridge. Although I have my bridge updated to the newest firmware, it is not the required one. Probably my bridge is too old. I have downgraded to 3.0.0 (THX Steve-Mcl:)) and now everything works just fine.  
Thanx for alle the input and help!

---

<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:** [12 March 2022 17:37 UTC](https://discourse.nodered.org/t/serious-huemagic-problem/56429/6 "2022-03-12T17:37:38Z")

</div>

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