[122] Philips Hue support

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
gertjuhh

[122] Philips Hue support

Post by gertjuhh »

Seeing as there already is support for LimitLess/AppLamp/etc it would be nice if Philips Hue could also be supported.
They have a well documented JSON api which can be found here.
If desired I can simplify the API by providing the API calls and possible responses here to aid with development.

Tracker link
Last edited by gertjuhh on Thursday 13 March 2014 16:08, edited 2 times in total.
User avatar
tommit01
Posts: 39
Joined: Friday 12 July 2013 14:08
Target OS: Raspberry Pi / ODroid
Domoticz version: multiple
Location: Germany / SL
Contact:

Re: Philips Hue support

Post by tommit01 »

Should 'here' be a URL?
1 x RPi3
4 x RPI
3 x RPi2
1 x RPI2 + Win 10 IoT (experimental device)
2 x RPI2 Raspbian "Jessie" + Domoticz (for tenants)
2 x RPI OSMC @ 1GHz
1 RPi Zero W + Cam NOIR
1 RPi Zero W + Cam
RFXtrx 433 FW 1015
RFXtrx 433 E FW 1020
gertjuhh

Re: Philips Hue support

Post by gertjuhh »

Updated start post, URL now included :D
Was a long night for me, dug through the Domoticz implementation of LimitLess trying to figure out if I could implement it myself, but that's beyond my programming skills I'm afraid.
b0bx
Posts: 2
Joined: Friday 06 September 2013 20:45
Target OS: Linux
Domoticz version:
Location: Netherlands
Contact:

Re: Philips Hue support

Post by b0bx »

Hi Gertjuhh, do you have any updates on this? I'd love to control Hue with Domoticz. The Hue API seems not to difficult, but like you, I also don't have enough knowledge of this on the Domoticz part :(
gertjuhh

Re: Philips Hue support

Post by gertjuhh »

I lack the skills to implement this myself, so it's up to the devs to add support for Philips Hue lights.
Deranged
Posts: 6
Joined: Monday 31 March 2014 16:47
Target OS: Linux
Domoticz version:
Contact:

Re: [122] Philips Hue support

Post by Deranged »

+1

This feature would be awesome!

Is the Ambilight API the same interface?
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: [122] Philips Hue support

Post by darrepac »

I add my vote: would be great to get Philips Hue support.
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: [122] Philips Hue support

Post by Derik »

anyone have experience with the hue ..
Are they worth the money to have a wifi lamp?

A good address where they are available?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: [122] Philips Hue support

Post by Derik »

I have three.
Bizarre toys ....
And beautiful!!
Realy great light from this bulbs [ better than a applight ]

It is operated via the harmoney now. very nice .....
But I keep hoping ...

And reading ... my only limitation plays tricks on me.
Only this https://github.com/peter-murray/node-hue-api an a RPI fails me
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: [122] Philips Hue support

Post by Derik »

Would anyone in this way can help me?
https://github.com/peter-murray/node-hu ... nt-6479651
I do not get it.

But according to the author, it should operate at RPi.
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
simonrg
Posts: 329
Joined: Tuesday 16 July 2013 22:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8807
Location: North East England
Contact:

Re: [122] Philips Hue support

Post by simonrg »

The node-hue-api is a Javascript program by the looks of it, so forget about apt-get.

Node.js is a Javascript framework, which has its own installation program called npm, so once you have successfully install node.js, proved that it is working, then you can use npm to node-hue-api and control your Philips Hue lights from node.js.

So node-hue-api is designed to allow Hue lights to be controlled from a web page.

I suspect this may not be the best way to link the Philips Hue lights to Domoticz though, but good luck anyway.
Raspberry Pi 2 B - 2A@5V PSU - Raspbian + Domoticz + RFXtrx(89), LightwaveRF House(dimmers, sockets, wireless/mood switches), Owl CM113, 4 LaCross Temp / Humidity Sensors, 4 Siemens PIR, Smappee, Solaredge, ESP8266
sdh
Posts: 4
Joined: Tuesday 25 March 2014 3:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [122] Philips Hue support

Post by sdh »

I was searching around and I found a small project on github (https://github.com/pvakevai/hue-zway-bridge) which talks about Hue and Z-Way (RaZberry) integration. There are not much details and I could not understand how to make it work. If Hue bulbs get exposed via the Z-Way server, user of RaZberry+Domoticz can very easily have the Hue working in Domoticz. Any experts who can make sense out of the .js code?
gertjuhh

Re: [122] Philips Hue support

Post by gertjuhh »

There is no need to go looking for extra wrappers to control Hue.
The official api is all the devs need to implement Hue support, we just need to wait till one of devs decides to give it a go.
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: [122] Philips Hue support

Post by Derik »

Or develop it by one of us?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
gertjuhh

Re: [122] Philips Hue support

Post by gertjuhh »

You'd need to know C++ and understand the inner working of Domoticz.
I've been told it shouldn't be to hard though as support for AppLamp is already in place.
I had a look at the code, but it's beyond my skills.
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: [122] Philips Hue support

Post by Derik »

Suppose you have a third party app working.
And you can get him working in Domoticz code with a http / script button

I am looking at:
https://github.com/peter-murray/node-hue-api
https://github.com/markusproske/hue_bashlibrary
https://github.com/Josef-Friedrich/Hue-Bash

And you're right it's really difficult ...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
globalassist
Posts: 25
Joined: Monday 09 December 2013 16:51
Target OS: Windows
Domoticz version: Beta
Location: Netherlands
Contact:

Re: [122] Philips Hue support

Post by globalassist »

+1

I have 5 Hue bulbs and a light strip. It's awesome. Would be really helpfull to have support for this in Domoticz.
On my wall there is a tablet that opens the homepage of domoticz by default. To turn lights ons, you have to switch apps, which is unlogical for guests in the house (read: hard to explain ;) )
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: [122] Philips Hue support

Post by Derik »

There are http api options for a Rpi...
And there are http options in domoticz......
So

1+1=........

Only...... Who is give the answer
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
antwan
Posts: 116
Joined: Saturday 13 July 2013 13:28
Target OS: Linux
Domoticz version: Latest
Location: Hilversum, The Netherlands
Contact:

Re: [122] Philips Hue support

Post by antwan »

3
Rasp Pi 2B: 3x DS18S20 (1-wire), BME280 (i2c)
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: [122] Philips Hue support

Post by Derik »

I can turn on and off the lights via the tool from Philips.

Is there a way to convert a put a command to a json string.
So i can make http switch?

http://developers.meethue.com/gettingstarted.html


Maybe I am very stupid ..
But I try it ... :D :D :D
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest