Questions tagged [philips-hue]
Philips Hue is a personal wireless lighting system using lightbulbs with multi-colored LEDs.
187
questions
0
votes
1answer
93 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:
{
"...
0
votes
0answers
30 views
How do I access Hue Lights from outside the local network using C#,Postman?
Is it possible to use C#, Postman for remote access to Philips hue bridge 2nd generation? All the 3rd party libraries seem to assume local access and don't address remote access.
1
vote
1answer
54 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
1answer
55 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
0answers
18 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
1answer
27 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.
0
votes
1answer
70 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 try using it in a Dart file, it can only control ...
0
votes
0answers
20 views
How to get color of a lamp during a stream
I am trying to sync the colors of my lamps to ICUE, to control my keyboard color etc.
My problem is that i cant find a way to get the colors of the lamps when the colors are updated over the ...
1
vote
0answers
233 views
API request for username (Philips Hue lights, Python 3.7 - requests)
I am trying to remotely access and command Philips Hue lights.
Going through the OAuth2 3-legged procedure from the Philips Developer website, I managed to make a function that successfully retrieves ...
0
votes
0answers
19 views
Capture and replay smart bulb traffic
I have a smart bulb (Wiz/Philips) which I want to control through my raspberry pi's command line. I need to capture the message sent from the app or IFTTT to the bulb and replay it whenever I want. I ...
0
votes
2answers
293 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
0answers
263 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
2answers
398 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
1answer
58 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
1answer
59 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
1answer
364 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":"...
-1
votes
1answer
44 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"...
0
votes
0answers
8 views
Os there a single iOS app which can control both Nest Camera (On/Off) and Hue lights?
I tried google home, It can indeed show video feed, but It doesn't have switches for turning camera On/Off from the app itself, It would need to direct me to the Nest app, and I don't want that.
1
vote
3answers
2k 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
1answer
249 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
0answers
93 views
Get request to philips hue bridge won't work
I try to make my own web interface to make routines for my philps hue lights. for starters i tried to just get the json for all the lights and display it via my express server
I already tried ...
-1
votes
1answer
168 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
0answers
74 views
Delete a created hue API user
I am currently developing a JavaScript application to control Hue devices. I created an API user via the Hue REST API. I would like to delete this user for testing purposes. Previously this was ...
0
votes
0answers
204 views
Trouble getting authorization code using oauth2 auth Remote API
Dear Philips Hue and other related Developers,
I added a new Remote Hue API app with callback URL as http://my-personal-server.com/test and also tried using localhost:1234 (which is what I have reset ...
0
votes
1answer
197 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
1answer
49 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 ...
0
votes
2answers
3k 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
1answer
133 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 ...
1
vote
2answers
2k 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
1answer
502 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
1answer
2k 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
1answer
174 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 ...
-1
votes
1answer
58 views
philps hue reachable attribute, how can I fix it
I made some window app that can control Bulbs. it works okay for about three months
but one of blubs makes problem. So I was trying to find out what is wrong.
here's xmlhttpRequest (I used CLIP API ...
0
votes
1answer
1k views
How to send Philips Hue activity data to a Google Sheet
Is there an easy way to have my Philips Hue export all its activity as a log to a Google Sheet? I looked on ifttt but all I could see were triggers for activating Hue lights based on certain criteria....
2
votes
1answer
629 views
C# Hue Bridge PUT sending OK response. No API response [closed]
SO I've searched around and even asked on the neigh dead official forums. I've searched here but the responses are years old and oft contain dead links.
I'm simply trying to toggle a light in my ...
1
vote
0answers
152 views
Connecting to a third-party service that has a self-signed certificate
I am building a website, which access a Philips HUE bridge over local network.
The site is https.
My problem is, that the certificate of the bridge is self-signed, which causes an error when I try to ...
0
votes
1answer
313 views
Is it possible to make a raspberry pi look like a hue bulb to a hue hub
As the title says I'm looking to have my phillips hue hub recognize my raspberry pi as a hue light bulb. From there I want to read the input to change some led light strips I have attached to it.
-1
votes
1answer
319 views
Azure IoT Hub, connecting two devices and make them communicate
i am new to IoT and Azure but at the moment i want to connect a raspberry pi and the philips hue bulb to the IoT Hub. I already did this and i can communicate between the raspberry pi and the IoT Hub. ...
0
votes
1answer
444 views
Is there a remote API Authentication wrapper library for Philips Hue (in JavaScript/Node.js)?
I'd like to control a light-bulb from outside my home network (ideally from an AWS Lambda function).
I understand that doing this is possible, as per this page (authentication required).
I have ...
2
votes
1answer
1k views
Hue API remote Basic Authentication
I'm having issues using the Basic Authentication method for the Hue remote API.
When POSTing to https://api.meethue.com/oauth2/token?code={code}&grant_type=authorization_code with the built ...
4
votes
1answer
1k views
Get data from Hue in realtime
I'm checking the hue API and I'm wondering if I understand it correctly that the motion sensor is able to switch lights on directly via the "rules", but it is impossible to get notified via the bridge ...
-1
votes
1answer
100 views
Getting Compiler Error [CS0103] error when programming the Philips HUE [closed]
I am trying to program a Philips HUE bulb but I am not even able to send a command to the light. I am programming in C# with the Q42.HueApi.
This is how I tried to turn on the lights if I press a ...
1
vote
1answer
335 views
Light sensors and Phillips hue
I am designing a system where a light sensor detects light in a room and based on that it adjusts the output of a few light bulbs. The goal is to maintain a standard level of light in the room based ...
0
votes
1answer
252 views
Hue SDK Groups ios App Integration - Swift 4 Xcode 9
So I am developing an app integrating Philips Hue smart lights. I am using Hue SDK in swift 4. I want to show available groups in a Table View just like the bridge, and then allow the selection of a ...
-2
votes
1answer
71 views
Can't get CoffeeScript to recognize a function in a js file
I am writing a simple app in Coffeescript to control a Philips Hue light. I have included this module into my project. The below code seems to work fine up until I try to set the color of the lights ...
-1
votes
1answer
556 views
No response from Philips HUE using ‘Philips Hue Entertainment’ (via DTLS)
I am trying to make working Philips Hue using ‘Philips Hue Entertainment’. I follow Philips's manual (I use OpenSSL):
https://developers.meethue.com/documentation/hue-entertainment-api#DTLS
I ...
1
vote
0answers
415 views
AJAX PUT request to Phillips Hue Hub Local
I have created a file with the following:
<form id="myForm" name="myForm">
<div>
<button type="submit">Turn Light on</button>
</div>
</form>
<script> $('#...
0
votes
1answer
95 views
How to get array in json using java?
Please help me how to get the value of xy i have tried the code below but its not working. Is my code below wrong? Please help me. Thanks in advance
Json example below
{"name":"room ko","lights":["3"...
-1
votes
1answer
1k views
Phillips Hue and integration with website
Okay so hopefully there is a solution out there. I am looking to have one of my Phillips Hue bulbs blink when someone visits my website. I have tooled around with Hue API some and can get it working ...
0
votes
1answer
299 views
can't send PUT to Philips Hue (same origin policy)
I'm trying to send a PUT-request to a Philips Hue bridge, so I can change the current state in which the lamp is. I do this from a webserver on my PC. With CORS I already managed to send GET and POST- ...