faster
(Dom)
December 21, 2019, 2:28am
1
Hi there,
I was wondering if anyone can tell me how to get the HueMagic - Philips Hue nodes for Node-RED working in hassio.
Here is the url to the plugin. in mentions installing via npm. I’m not sure how
https://flows.nodered.org/node/node-red-contrib-huemagic
Jdruwe
(Jeroen Druwé)
June 13, 2020, 8:59pm
2
Was looking for the same thing, not sure if you already found it as I am answering some months later but there is a simple way to do this under the manage palette option:
HueMagic setup is a bit confusing, but I learned how to set it up in Node Red (& likewise Home Assistant): https://www.youtube.com/watch?v=G4h1X8eq5kA
Pre-req:
Reserve your Hue Bridge IP address on your router and note the IP address.
You need to obtain your Hue API Key, go here: https://developers.meethue.com/develop/get-started-2/
Ignore most of it, scroll down to Step 3, and you’ll see this:
https://<bridge ip address>/debug/clip.html
Replace with your IP address and plug it into a browser
You may get a “security” warning, ignore it and advance to the site
You should be on a page now that says “CLIP API Debugger”
Under URL, paste in: /api/newdeveloper
Click “GET”
Under “Command Responses” you should see something in there that says “Unauthorized User.” Don’t worry, you’re on the right track
Under URL, paste in: /api
In Message Body, paste in: {“devicetype”:“my_hue_app#iphone peter”}
Click “POST”
Under “Command Response” you should see something in there that says: “link button not pressed.”
Go to your Hue Bridge and Press the Hue Bridge button
Immediately click “POST” again
Under “Command Response” you should see (in JSON): “username”: “STRING OF LETTERS AND NUMBERS”
This “STRING OF LETTERS AND NUMBERS” is your Hue Bridge API key. SAVE THIS.
Install the HueMagic Node-RED palette
Drag any one of the HueMagic nodes to your work area, double-click on it
In the “Bridge” section, click the edit/pencil icon
“Properties” panel should appear
Under IP: Put in your Hue Bridge IP Address
Under API Key: Put in your API Key
Click Done, then Deploy
You should be set. Above looks like a lot of steps, but it’s honestly no more difficult then the typical custom component setup in Home Assistant.
fxx
October 30, 2021, 6:59pm
4
It may be a long shot, but is it possible to use another bridge instead of the Philips bridge?
Currently my Zzh stick is running all things z2m related, and quite well I must add.
In the documentation of this node, it says to use alert (float) to make the lights flash. How do you pass “alert” as a float value in node red?
Inferno
November 20, 2024, 10:48am
6
I know it is a very old topic but is there a way to connect HueMagic to Z2M ? I’ve ditched the Hue bridge but would like to be able to use Node-Red with the specific nodes from this extension