Questions tagged [philips-hue]
Philips Hue is a personal wireless lighting system using lightbulbs with multi-colored LEDs.
208
questions
-1
votes
0
answers
27
views
Why do my buttons in PYQT5 not work with my Hue Light bulbs. (Phue)
Im currently creating my own smart home control panel as just a fun project for myself. Ive gotten pretty far in the project but ran into some complications. Ive created 2 buttons. Both of them should ...
0
votes
1
answer
467
views
Integrating Philips Hue with Home Assistant via Zigbee
As Philips is going to force users to create accounts and share data online with them, I embarked on a journey to integrate my Philips Hue bulbs and light strips with Home Assistant using a Zigbee ...
0
votes
0
answers
172
views
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 ...
0
votes
0
answers
150
views
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 ...
0
votes
0
answers
40
views
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 ...
0
votes
0
answers
34
views
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 ...
0
votes
2
answers
482
views
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 ...
0
votes
0
answers
76
views
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,
...
0
votes
1
answer
306
views
Philips Hue API V2 - CORS Error "No 'Access-Control-Allow-Origin' header" [duplicate]
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 ...
0
votes
0
answers
126
views
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 ...
1
vote
0
answers
356
views
Trust anchor for certification path not found Hue Certificate
I would like to ask you something related with Philips Hue Smart Lamps integration with Kotlin.
I am working with Hue API v2 and after follow all the steps I was able to connect my mobile with Hue ...
0
votes
1
answer
429
views
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 ...
1
vote
0
answers
373
views
How to fix Philips Hue API v2 404 Not Found Error
Today, I wanted to try out the Philips Hue v2 CLIP API. I managed to fetch the credentials, but am stuck when I try to fetch the devices, as I'm getting a 404 Error.
Here is a Screenshot of the CLIP ...
1
vote
0
answers
176
views
Simplest way to light up using Homekit with watchOS
I'm japanese student and I'm newbie of programing swift.
Now, I'm trying to light up the Hue lightbulb using Homekit.
As a test, I tried to check whether the system detects the home and accessories.
...
0
votes
1
answer
128
views
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 ...
3
votes
2
answers
7k
views
Getting "EHOSTUNREACH" when trying to connect to API using Axios + Express.js
I started playing around with the Philips Hue Bridge API by sending it requests using Postman. I was able to authenticate myself, create a user and even successfully turn lights on or off.
Conclusion:...
2
votes
0
answers
239
views
EventSourceHttpClient never exits
I'm trying to create some stuff on my Philips-Hue installation, using Symfony.
I'm able to control my lights, get motion sensor,... But all is working with GET requests. This is a very bad idea ;)
API ...
-1
votes
1
answer
170
views
How to select some properties from a json result
I am trying to build a simple react app which lists my philips hue bulb name and state(on or off). I have API call which results in the following json. Not sure how to pull bulb name and state.on ...
1
vote
1
answer
934
views
How to convert rgb to hue color format?
im working with the phue library and want to change the color with
b.set_group(group, "hue", color)
I have read, that color is a number between 0 and 65535.
I want to input a rgb number, so ...
0
votes
1
answer
118
views
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');
...
1
vote
1
answer
999
views
AndroidJSON parsing nested GET-Response
I'am trying to iterate over a nested JSON-Object which i get as a HTTP-GET Response from my Hue-Bridge. The Response is something like this:
{
"name": "ViKo",
"type&...
0
votes
1
answer
285
views
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 ...
2
votes
1
answer
514
views
Python - XY colour values not sending correctly using Philips Hue Entertainment API (via DTLS/PSK)
Edited to add link to github repository with the full class:
https://github.com/EvillerBobUK/pyHue-BridgeLink-Example
Requires you to have the Philips Hue hardware and various DTSL/PSK packages for ...
0
votes
1
answer
498
views
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 ...
0
votes
1
answer
113
views
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
...
0
votes
2
answers
1k
views
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 ...
0
votes
0
answers
86
views
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::...
1
vote
0
answers
334
views
Cannot login to Philips Hue developer account
I registered an account with https://developers.meethue.com/login/
verified my email
attempted to login, but it said I have incorrect password
I used the "Forgot password" to reset the ...
0
votes
2
answers
228
views
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 ...
0
votes
3
answers
130
views
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
...
1
vote
3
answers
1k
views
How to get XY value from ct in Philips Hue?
How to get XY value from ct.
Ex: ct = 217, I want to get x="0.3127569", y= "0.32908".
I'm able to convert XY value into ct value using this below code.
float R1 = [hue[0] ...
0
votes
0
answers
170
views
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 ...
1
vote
1
answer
612
views
Cant access external JS function in HTML
Hello i tried to programm my own GUI with HTML and JS for my Philips Hue Lights with huejay (https://github.com/sqmk/huejay).
When i try to use the JS function "LightOn()" from my main.js on ...
0
votes
2
answers
970
views
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:
{
"...
1
vote
1
answer
151
views
Getting no response from bridge while trying to control Philips Hue Lights
I was trying to write some C++ code to control my Philips Hue lights. After using the browser debug tool to figure out my bridge's IP and adding a user to control the lights with, I tried to replicate ...
4
votes
2
answers
13k
views
Nodejs Fetch API: unable to verify the first certificate
I'm using the fetch API module in my Philips Hue project and when I make a call to the local ip address (my hub) it produces that error in the title.
const fetch = require('node-fetch');
const gateway ...
0
votes
1
answer
823
views
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.
1
vote
1
answer
706
views
I am trying to make a flutter app to control my Philips Hue lights and I'm having problems with hue_dart
I have Philips Hue lights and I want to be able to change the colour using Dart and Flutter. I have tried using a library called hue_dart but when I run it as a Dart file, it can only control one ...
0
votes
2
answers
1k
views
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 ...
1
vote
0
answers
913
views
pygatt fails during char_read() call when trying to connect RPI3B+ with Philips Hue lamp via BLE
Description
So, I try to connect to a Philips Hue lamp via BLE with my Raspberry Pi Model 3B+. Therefore I wrote the following python script using the pygatt library.
Code
import pygatt
...
0
votes
2
answers
2k
views
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 [, ...
0
votes
1
answer
232
views
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 ...
0
votes
1
answer
202
views
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:
...
0
votes
1
answer
2k
views
Phillips Hue REST API transition time for schedule POST not working
I am communicating with the my Phillips Hue REST API. I am trying to post a schedule with a transition time. This is ultimately what the JSON looks like before it's sent to the bridge:
"{"localtime":"...
0
votes
1
answer
66
views
Ip address changing to an integer [closed]
I am making a script that will ping an ip address using the subprocess module. But when I try to run it, it says:
Traceback (most recent call last):
File "C:\Users\YUZi5\OneDrive\Desktop\huetest.py"...
1
vote
3
answers
3k
views
No response from Philips Hue debug tool
i'm trying to make a request about the debug/clip.html tool on my Philips Hue Bridge.
Unfortunately I don't get an answer back at all.
I try the following:
"/api/newdeveloper" and GET.
But the ...
3
votes
1
answer
1k
views
How can I discover the Phillips Hue Wifi lightbulbs on my network with nmap?
Phillips has these instructions (https://developers.meethue.com/develop/get-started-2/) for connecting to/playing with their Hue lights. Apparently, they each host a small server.
I've heard/seen ...
0
votes
1
answer
1k
views
How to set scenes in the new Philips HUE API node-hue-api v.3
can anyone give a description on how to set a specific scene to a specific lamp in the new node-hue-api v.3?
For example the Scene ID would be id="shshshshsh" and the Group ID group="8"
Thanks
0
votes
1
answer
1k
views
PhilipsHue XY Bri to RGB (without Philips Hue SDK)
I have managed to find code to convert RGB to XY. Can't make it work the other way around.
I have looked through Philips Hue SDK
https://github.com/johnciech/PhilipsHueSDK/blob/master/...
0
votes
1
answer
236
views
Does the Philips Hue Entertainment streaming API support remote access?
I haven't found any mention of remote access yet in the Entertainment streaming API docs.
The 'normal' (older) RESTful Hue API does have a remote API.
Does the Entertainment streaming API support ...