Questions tagged [philips-hue]
Philips Hue is a personal wireless lighting system using lightbulbs with multi-colored LEDs.
205
questions
-1
votes
0
answers
35
views
How to apply a scene using the API V2
I am trying to apply a scene to a group of lights. I have already created the group and the scene using the mobile app.
I send a PUT request to this URL: https://<bridge_ip>/clip/v2/resource/...
0
votes
0
answers
44
views
How to execute javascript file/code from java?
I'm trying to make a background app in java, which will change my philips hue bulb's color depending on which button I press. I made a javascript code which succesfuly change it's color. I also made a ...
0
votes
0
answers
27
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
67
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
0
answers
53
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 ...
0
votes
0
answers
39
views
react-native-ble-plx && react-native-ble-manager ---react-native
As am trying to retrieve the data from Philips CPAP by connecting it to a BlueTooth device by pairing in react native & only characteristics and services are retrieving, could you please let me ...
2
votes
1
answer
811
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
116
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
93
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 ...
0
votes
0
answers
62
views
Control Hue Philips Wifi Bulbs API via myStrom WiFi Button
I've just bought a myStrom WiFi Button.
The API docs say that you can assign a REST Api command to the (for example) single button press like this:
curl --location -g --request POST 'http://[Button IP]...
1
vote
1
answer
162
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
49
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
281
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
0
answers
44
views
Philips Hue AuthorizationCode
I hope someone can help, I am about to intergrate with Philips Hue Bridge, I have followed instructions I have authrorised the app. I can't find anywhere for "authorization_code"
Am I ...
0
votes
1
answer
53
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 ...
1
vote
0
answers
214
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
285
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
54
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
713
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
71
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::...
0
votes
0
answers
205
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
115
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
92
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
902
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
110
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
195
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
344
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
117
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 ...
0
votes
2
answers
3k
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
54
views
WiFi connected LED without app requirement
I want to switch the color of a wifi LED light from my computer for a project. Ive looked around and found that the LIFX LEDs and the Philips Hue both have pretty ok APIs for this, however they ...
0
votes
1
answer
391
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
424
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
700
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
111
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
113
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
1k
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
52
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
936
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
836
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
702
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
136
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 ...
1
vote
2
answers
8k
views
How to control Philips Hue lights using Python script
I am trying to write a Philips Hue script using python that needs to be able to communicate with the bridge from a different network. I have a VPS that the scripts will be running on.
I have already ...
-1
votes
1
answer
174
views
Sharing connection between scripts for node-red application
I've been using node-red to trigger communication to a philips hue gateway. I have succeeded in triggering it the way I want. The issue is that I need the action to take place more immediately than my ...
2
votes
2
answers
5k
views
convert RGB color to XY
I have using RUCKUS API for changing color of lamp and I need to convert color from RGB to XY to call an API.
I have tried this code:
1) Get the RGB values from your color object and convert them to ...
0
votes
1
answer
893
views
Error getting token from philips hue remote API
I'm following the remote api docs (https://developers.meethue.com/develop/hue-api/remote-authentication/), but i'm getting a server error when requesting the token via digest authentication.
I'm ...
1
vote
1
answer
3k
views
'unauthorized user' reponse from philips-hue bridge
Now I'm trying to control Hue bridge with IoTivity framework.
When I send GET message from MPMClientSample (MiniPluginManager)
response message was
[{
"error": {
"type": 1,
"...
0
votes
1
answer
265
views
Packet Manager on Hue bridge
I have successfully jailbreaked my Hue Bridge 2.1 and now have Root Access over SSH to it.
But I don't know how I can Install a Packet Manager (like opkg) on it.
It looks like wget is installed, but ...