-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
points_capable error when connecting Hue app #1062
Comments
Thank you, I missed the solution there. I tried your suggestion to switch to LST002 per #1035, but something isn't quite right. The Hue app sees it, and I can do basic control, that works well. However, any kind of effect from either the Candle/Fireplace effects in the Hue app or an entertainment/sync effect in Hue Essentials on my TV only set one color, and not always one that seems correct, with no motion. |
that is true, you have not added your light good.
there is only 1 light in your config. |
Right, why would there be more than 1? It's 1 lightstrip.
|
Issue does not already exist?
I have searched and found no existing issue
Select Environment
Docker
Home Assistant related?
Yes
Description
I have a Phillips Play Gradient lightstrip I am trying to connect using diyHue. I connected it successfully in Home Assistant, and have added it to diyHue as well.
I open the Hue app and got it to connect to the bridge, but then it gets stuck and diyHue starts generating a lot of errors:
2025-01-01 20:53:33,547 - werkzeug - 225 - INFO - 192.168.1.112 - - [01/Jan/2025 20:53:33] "GET /clip/v2/resource HTTP/1.1" 500 -
2025-01-01 20:53:33,673 - werkzeug - 225 - INFO - 192.168.1.32 - - [01/Jan/2025 20:53:33] "GET /api/ff5c153ec8c311ef88361c697a63c8d8/groups/0 HTTP/1.1" 200 -
2025-01-01 20:53:33,676 - werkzeug - 225 - INFO - 192.168.1.32 - - [01/Jan/2025 20:53:33] "GET /api/ff5c153ec8c311ef88361c697a63c8d8/config/swupdate2 HTTP/1.1" 200 -
2025-01-01 20:53:34,494 - werkzeug - 225 - INFO - 192.168.1.112 - - [01/Jan/2025 20:53:34] "GET /clip/v2/resource/bridge HTTP/1.1" 200 -
2025-01-01 20:53:34,520 - werkzeug - 225 - INFO - 192.168.1.112 - - [01/Jan/2025 20:53:34] "GET /eventstream/clip/v2 HTTP/1.1" 200 -
[2025-01-01 20:53:34,544] ERROR in app: Exception on /clip/v2/resource [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask_restful/init.py", line 467, in wrapper
resp = resource(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 84, in view
return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask_restful/init.py", line 582, in dispatch_request
resp = meth(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/hue-emulator/flaskUI/v2restapi.py", line 274, in get
data.append(light.getV2Api())
^^^^^^^^^^^^^^^^
File "/opt/hue-emulator/HueObjects/Light.py", line 292, in getV2Api
"points_capable": self.protocol_cfg["points_capable"]}
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'points_capable'
Errorlog:
Steps to reproduce
Open Hue app and try to connect.
Please enter your operating system details here
If diyHue does not star use "uname -mrs"
Hue-Emulator Version: 2024-12-17 13:34:18.000000000 -0800
WebUI Version: 2024-12-01 02:25:10.000000000 -0800
Architecture: x86_64
OS: Linux
Linux version: #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024
Linux release: 6.8.0-51-generic
Hardware: %Hardware%
Upload debug tar
config_debug_2.zip
What DiyHue version(branch) are you using?
master (latest)
The text was updated successfully, but these errors were encountered: