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
0
votes
1 answer

How to properly read objects returned by philips hue

I am attempting to write a function in Nodejs that returns all of the devices that are in my network. I am using this code: var fs = require('fs'); var axios = require('axios'); var token = await…
JR Buda
  • 29
  • 3
0
votes
1 answer

Control for dimming lights with programming language

I'm planning on showing my sound work for a show, I'm just wondering if it's possible to control the lights getting darker and brighter slowly? It starts from the pitch black at the beginning, and getting brighter and darker, and it turned back to…
0
votes
1 answer

Implement DTLS Handshake with Philips Hue Bridge using iOS Swift Network Framework

I'm having trouble with implementing a handshake with a Philips Hue Bridge for home light automation app. The problem lies with my implementation of Apples Network framework. I don't know how to use it basically :) and this is the first time I have…
0
votes
1 answer

Build Xcode project from Philips Hue EDK using cmake

I have downloaded an SDK from GitHub here: https://github.com/PhilipsHue/EDK that I want access to using Xcode. The README for this repo give these instructions to do this: cd root-of-repo mkdir build cd build cmake .. cmake --build . Everything…
0
votes
2 answers

Can't Send Command to BLE Device Philips Hue Bulb (Connection Drops)

I am trying to turn my bluetooth Hue bulb on/off and change brightness using my Raspberry Pi 4B. The bulb is on, and I have successfully connected to it using bluez. When I try to run 'char-write-req 0x0027 01' to turn it on, I get this…
Anvar
  • 1
  • 2
0
votes
0 answers

Javascript AJAX detecting different POST errors

My program prompts the user to enter an IP address of an API, and then makes a call to that IP address. 2 of the error cases are 1: An invalid IP Address is entered. The POST call returns "net::ERR_ADDRESS_UNREACHABLE" 2: The certificate of the site…
Devan
  • 1
0
votes
2 answers

Solve boost.asio certificate failed error -without- access to source code, to find out what information Philips Hue Bridge shares

This is a bit of a super duper specific question, but who knows there's someone out there that can help me. I happen to have Philips Hue Bridge and I would love to know what personal information it is sharing with the outside world. Using tcpdump on…
Elmer
  • 255
  • 1
  • 2
  • 10
0
votes
3 answers

My Batch file is only executing if it is in the right mood

I am trying to change my wallpaper with a relatively simple batch file: reg add "HKEY_CURRENT_USER\control panel\desktop" /v wallpaper /t REG_SZ /d C:\Users\*censored*\Picture.jpg /f RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters exit…
0
votes
0 answers

SyntaxError: Unexpected token u in JSON at position 0 Nodejs hue api

I try to make an API call with Node Js. My Goal is to get the current state of my Phillips hue light. But i always get an error message: SyntaxError: Unexpected token u in JSON at position 0 I searched the web but couldn't find a solution to solve…
0
votes
2 answers

How to send a correct HTTP PUT request in Java

I want to turn my lights off with Java using the Philips HUE Api. For this, I have the following API: http://192.168.0.53/api/HZ3bJqN3MIb35uNcI4FfsGcqstwbW6qgvuxd7Tmt/lights/1/ This returns: { "state": { "on": true, "bri": 178, "hue":…
WhySoToxic
  • 155
  • 1
  • 9
0
votes
1 answer

How do I access Hue Lights from outside the local network using node/python?

Is it possible to use node/python for remote access to hue lights? All the 3rd party libraries seem to assume local access and don't address remote access.
0
votes
2 answers

Python TypeError - list indices must be integers or slices, not str

I have a Lambda function that is designed to turn ON/OFF my Philip HUE lightbulbs. I am able to execute the python script & it runs (error-free) on my local machine. However, when I trigger the Lambda function (using an IoT Button) I get the…
anengelsen
  • 73
  • 1
  • 10
0
votes
2 answers

How to send a PUT request with payload using POST or GET?

I need to send a PUT request with a payload to an API (Philips Hue Bridge), but I have some limitations in javascript. I can only use: XMLHttpRequest methods: open(method, url [, async = true [, username = null [, password = null]]]) Sets the…
0
votes
1 answer

Philips Hue Alexa Skill Authorization

I'm creating an Alexa Skill to control my Philips Hue lights. Everything works as expected, however the token expires after a couple of weeks and Alexa does not refresh the token. I am assuming this is because the Alexa skill setup only takes one…
ragurney
  • 424
  • 5
  • 16
0
votes
1 answer

Basic Transition Issues

I'm trying to write a basic script which uses the remote API to turn on my lights, then transition them to a certain color. The code for doing so using a custom SDK looks something like this: group.SetState(hue.State{On: true, Bri: 0, Hue: 4000,…
ragurney
  • 424
  • 5
  • 16