
Custom Philips Hue Driver
As I don't have access to cloud, I created my own Hue driver which has a few interesting features.
The most important is that it manages Zones. Basically, you are deciding which lamps should be on depending of a slider. If the slider is at the middle, all lamps of the room will be on. If you put the slider on one side or another, it will switch on the lights only on one side. I use it to light my living room or my dining room.
Here you can see an example with 4 lights, but I use it with 9 in my living.
The other feature is that you can control the colors (with a list of predefined colors) and the intensity.
-
Hello, I just published the Hue driver as requested, I tried to be very descriptive on the how to setup but please let me now as it is my first intent.
https://github.com/jac459/NeeoHueDriver
Let me know your issues and I can try to help and improve the setup process.
Rgrds,
-
NEEO Hue Custom Driver with Colour Choice and Zoning
JeanArnaud has updated his driver.
https://github.com/jac459/NeeoHueDriver
Recommend trying it now. Process and steps are very easy and automated.
Recommend installing PM2 also to manage the Node.js app running the driver.
Command: "pm2 start Hue.js --watch" from the directory you npm install the Hue Custom Driver.
-
JeanArnaud First off, thanks for you effort in making this driver, like some other people here my official hue driver just suddenly stopped working. I am having an issue running your driver, I am getting below error:
root@raspberrypi:/opt/NeeoHueDriver# node Hue.js /opt/NeeoHueDriver/node_modules/node-hue-api/lib/model/timePatterns/HueTime.js:15 const TIME_REGEX = new RegExp(dateTimeUtil.getTimePattern()); ^ SyntaxError: Invalid regular expression: /(?<hours>[0-9]{2}):(?<minutes>[0-9]{2}):(?<seconds>[0-9]{2})/: Invalid group at new RegExp (<anonymous>) at Object.<anonymous> (/opt/NeeoHueDriver/node_modules/node-hue-api/lib/model/timePatterns/HueTime.js:15:20) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3) at Module.require (module.js:579:17) at require (internal/module.js:11:18) at Object.<anonymous> (/opt/NeeoHueDriver/node_modules/node-hue-api/lib/model/timePatterns/AbsoluteTime.js:4:15) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3) at Module.require (module.js:579:17) root@raspberrypi:/opt/NeeoHueDriver#
I have tried to follow every step in the readme. Could you have an idea what it is I am doing wrong? it seems to be working for most people.
Thanks
-
Hello, I had to change my name as it seems my previous account was blocked by Neeo.
The problem you have seems to be in the library I use to interface with Hue.
Actually I wonder if I hadn't the same issue before. Let me check and get back to you.
Are you sure you correctly installed the Philips hue library?
-
https://github.com/peter-murray/node-hue-api/issues/164
Here you go. This is the bug I had. I suppose same for you.
A reboot should fix everything.
Rgrds,
-
JeanarnaudNew said:
Hello, I had to change my name as it seems my previous account was blocked by Neeo.Hi JeanarnaudNew , What‘s the problem, why are you blocked by Neeo?