Hey,
I've installed Node-RED alongside openHab on a Raspberry Pi. For Philips HUE, I was using "node-red-contrib-huemagic 4.2.2".
At some point, I noticed that the HUE Bridge / HUE Lamps stopped working. I'm not sure if this was after some reinstallations or updates - the HUE Bridge just couldn't be addressed anymore. Now, I've reinstalled everything:
-
Stopped Node-RED, then removed it with "sudo npm remove -g node-red".
-
Uninstalled Node.js via "apt", cleaned everything up, deleted old directories, rebooted, and reinstalled node.js + Node-RED on the Raspberry Pi:
- Node-RED version: v3.1.8
- Node.js version: v18.20.0
- Linux 5.15.32-v7l+ arm LE
- Loading palette nodes
- Settings file: /home/openhabian/.node-red/settings.js
- Context store: 'default' [module=memory]
- User directory: /home/openhabian/.node-red
- Flows file: /home/openhabian/.node-red/flows.json
In the "new" Node-RED, I've only integrated "node-red-contrib-huemagic 4.2.2", no other external nodes or flows!
The IP address of the HUE Bridge was recognized, the API key transmitted. However, I still get the error message "something went wrong, please try again", and I can't select any lights from the HUE Bridge!
With all other systems like openHAB, HUE App, GoogleHome, Home Assistant... the HUE Bridge can be addressed!
Is it because HueMagic was written for Node.js 14+ and Node-RED v2.1+? What can be the solution?
Thanks