Questions tagged [philips-hue]

Philips Hue is a personal wireless lighting system using lightbulbs with multi-colored LEDs.

The Philips hue lightbulbs can be controlled directly via ZigBee Light Link or via the SmartBridge provided with the hue Starter Kit, which supplies a RESTful web-interface.

Philips has launched an official Hue website:

The documentation:

Various APIs are available:

There is an official hue Developers forum:

208 questions
1
vote
1 answer

Sending a PUT request with an arduino

I'm trying to send a JSON string via PUT from an arduino in order to control a philips Hue smart light. I've googled and found a lot about POST and GET, but not much on PUT. I'm attempting to PUT "{"on":false}" to my local Hue bridge…
nonlinearmind
  • 141
  • 4
  • 13
1
vote
2 answers

How to parse a RESTful URL

I'm trying to much around the Philips Hue API. I got the debug CLIP working just fine. Now I'd like to use this more dynamically, get it purring with Processing. The problem: I have no idea where to even start formatting that request. According to…
GilloD
  • 561
  • 2
  • 6
  • 18
1
vote
1 answer

Deserialize json with Json.NET

I have JSON that looks like this (from the Philips HUE API): { "1": {"name": "Bedroom"}, "2": {"name": "Kitchen"} } When I try to deserialize this document I run into problems because the document is structured the way it is. If it had been…
MrThornell
  • 13
  • 1
  • 3
0
votes
0 answers

Triggering a Philips Hue button event by the Hue API

I have a Hue Dimmer Switch that toggles between a few different scenes when tapping the "on" button repeatedly. I would like to be able to "press" the buttons on the switch programmatically - in essence manipulating a physical press via an API call…
0
votes
0 answers

Authorization process not working if i not logged in on philips hue app

when i am trying to connect our app to the philips hue app in android authorization url redirect to application instead of browser that's because app register urls. but if user not logged in philips hue app. Authorization process will fail. is that…
0
votes
0 answers

How to establish a handshake between a custom app and a Philips Hue bridge?

I know little to nothing about networking. I am trying to make a program using Dart to talk to my Hue bridge. I am using this certificate from the official API documentation, but it isn't working. I don't even know if that is what I am supposed to…
0
votes
0 answers

Get the last time Philips Hue resource status changed

Using Philips Hue CLIP v2 API, I'm looking to get the last time the resource (a light or a smart plug in my case) status changed (on/off). It seems so simple but I can't find an answer in API reference. Is it possible ?
Nicolas Pepinster
  • 5,413
  • 2
  • 30
  • 48
0
votes
0 answers

Phillips hue color change during set time

So i have 3 led strips, and i want the to change color during a set time period (For example 8:00-9:30). The phillips hue app does not allow for this, so i decided i want to program it. I have already got it setup in visual studio, but i need to…
Kake
  • 1
  • 2
0
votes
2 answers

Make Requests to IP on Client's private network from the browser?

I'm trying to make a web UI for the Philips Hue API. This involves sending http requests over the users' private network to communicate with their hue bridge device. Is this possible? I'm currently trying to do it on a page load using axios, but it…
0
votes
0 answers

philips hue "xy" color value to hex value in node.js

When calling to the api of my philips hue bridge to get the data of a lamp I get a JSON result like this: { "state": { "on": true, "bri": 254, "hue": 23573, "sat": 254, "effect": "none", "xy": [ …
Lars
  • 1
  • 1
0
votes
1 answer

Philips Hue API V2 - CORS Error "No 'Access-Control-Allow-Origin' header"

I have an HTML page that includes JavaScript and jQuery code to control my Philips Hue hub. Using their v1 API everything works, but this API is being deprecated so I am moving to v2. I am trying to do a simple jQuery ajax call to the hub to…
Shoeless
  • 666
  • 1
  • 5
  • 20
0
votes
0 answers

How to check in an efficient way if a Philips HUE motion sensor detects motion?

I am coding a little app that is checking whenever a Philips HUE motion sensor detects presence in a quite reactive way. At the moment I am polling its presence status every 2 seconds using the HUE V1 API: get-sensor I am wondering if there is a…
Kill KRT
  • 1,101
  • 2
  • 17
  • 37
0
votes
0 answers

Unable to trun on philipse Hue LED light via REST api

I want to turn the HUE LED strip on and off using an android application. So I have created the application using HUE API V2. When I send the request to turn ON, I am getting the response 200 code with as follows but the light is not turned…
Midhun PM
  • 512
  • 1
  • 7
  • 24
0
votes
1 answer

Change entertainment area via Hue Sync Box API

I am leveraging the Hue Sync Box API and I am able to control the settings like sync mode, and intensity. However, I am unable to change hueTarget to change the entertainment area in use. This is my request: PUT…
nitobuendia
  • 1,228
  • 7
  • 18
0
votes
1 answer

Philips Hue Android app - common name validation (with Retrofit)

Having trouble with API calls to Hue. I'm using Retrofit, and calling their v1 API. I think the problem is "common name validation", from their docs: "The other part of the certificate validation is checking that the common name on the certificate…
Adam
  • 1,486
  • 3
  • 20
  • 35