Skip to content

jac459/NeeoHueDriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED - THIS DRIVER IS NOW INCLUDED INSIDE THE META. USE ONLY IF YOU WANT TO USE THE ZONING FEATURE.

Hue Driver for Neeo

This driver allows advanced interactions with Philips Hue (colors, multi-rooms, zones) and NEEO Remote (legacy). If you don't have the remote, you don't want this driver. It is essentially leveraging on this excellent node.js library:
https://github.com/peter-murray/node-hue-api.
So 99.9% of the Kudos comes to Peter Murray.

This driver was developed quick and dirty essentially for me but requested by some users so don't panic if there are some bugs on your setup (there is none on mine) and let me know so I can fix.

SETUP:

  • Step 0:
    You should have the last version of node.js installed, preferably on a rasppberry pi for convenience.
  • Step 1:
    To install you thus first have to install the node.js API hode-hue-api as described in the previous link. $ npm install node-hue-api
  • Step 2:
    Clone this repository on a path of your choice.
  • Step 3:
    Inside your directory, type:
    $ npm install
  • Step 4:
    you can run the application by typing:
    $ node Hue
    In the initial setup, the driver will do a lot of things. It will connect to the Hue bridge, get the password (when you press the bridge button), save it for later, discover your neeo brain, get the IP and port and save it for later.
  • Step 5:
    Know you need to edit the settings file:
    "rooms":[
    {"name":"living", "lamps":[12,16,20,19,14,18,17]},
    {"name":"bedroom", "lamps":[13,15]},
    {"name":"kidsroom", "lamps":[11]}],
    "imagesurl": "https://raw.githubusercontent.com/jac459/NeeoHueDriver/master/Resources/"

rooms is a table which can contain as many rooms as you need, basically all the rooms of your house where you have an Hue bulb.
In each room, you need to list all the bulbs/lamps you have, the list of bulb discovered by the driver are listed when you start the driver, as the interface will autoconfigure based on it. If you change the numbers of lamps in a room, you need to delete the driver from the neeo app and recreate it. For now, if you have 3 lamp in only your kitchen for example, you should have:
"rooms":[{"name":"kitchen", "lamps":[1,2,3]}]
BE CAREFUL: the order in which you put the lamps in the lamps table matters as it will define the order in which the lamps swich on with the zone slider. The best is to follow the location order of your lamp so you can illumiate zones flawlessly. When you have many lamps in one room the effect is really good (for example to have a dinner and a living zone). To have all the lamps switched on, you need to have the zone slider in the midle.

You can save the settings file now and restart the driver (ctrl-C and node Hue).

  • Step 6:
    Now you can go to your Neeo App and get the driver. It is seen as a mediacenter and not just a light as it requires more advanced feature than just a light. It is not a problem as you can call it through a recipe with the right lamp logo. For now, just change the default name 'mediacenter' to HUE as the name will still be visible in the interface.
  • Step 7:
    Create a recipe with Lamp logo to invoke your HUE and chose the following shortcuts: ZONE (if you have more than one bulb), BRIGHTNESS and COLORS.
    Others can be directly invoked by the hardware buttons of your remote.
    Don't forget also to call the power On button when starting the recipe. If you don't do, both power on and power off won't work. If you do, everything work perfectly.

Note: If you are new to Neeo drivers, I strongly recommend you to install PM2 in your raspberry, it allows you to run the drivers as daemon and restart when needed.

About

Advanced Hue driver for Neeo with zoning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages