-
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
Hue app does not work when gradient lightstrip added #1035
Comments
Just adding that this same issue also happens when adding LCX006 (Hue Play Gradient Lightstrip) via Zigbee2MQTT. |
Hi, please look at the diyhue docs at https://diyhue.readthedocs.io/en/latest/lights/lightTypes.html The lcx types in diyhue only work with diyhue lights and not with other lights. |
I landed there before, but as someone who doesn't build their own lights I did not understand what "only use with native gradient sketch" meant. I do now, and thank you for the clarification. Just to confirm before I pull out my old bridge, does this also mean that as of now there is no way to use an actual Philips Hue Play gradient lightstrip with duyHue as intended (behind a TV, syncing with the colors around the border via the Hue Sync app or HDMI box)? |
You can use the other light types, I suggest you use LST002. The important part is what features the light have, bri, ct, xy, hue, sat |
Hi, i did some more research and this function is not yet in HA, it is in Z2M. |
I can absolutely test. All of my other Philips lights are Z2m, but I still use a Philips bridge for my for my gradient lightstrips and hue smart play lights so that I can sync them to my displays with Hue Sync. If this allows me to properly use Hue Sync with diyHue I can finally ditch my bridge. |
the new version with the changes are online, now if you change the light type on the webui it should work. |
Just finished testing. The good news is that you can select the LCX002 profile on genuine Philips Hue lightstrips now and the system remains functional. I am also able to control and adjust the lights appropriately. The only problem is that the Hue Sync app still does not work properly. When I selected my lightstrip and started to sync the lights to my display it caused the lightstrip to continuously flash random colors and it became unresponsive. I had to manually pull the plug and start it back up. |
Thanks for the feedback, if i understand correctly you can set the gradient via the hue app and the light displays the correct colors? |
Issue does not already exist?
I have searched and found no existing issue
Select Environment
Docker
Home Assistant related?
No
Description
Hey,
I have Hue Play gradient lightstrip 65 connected to Zigbee2Mqtt. It's recognized as LCX002
I added this light to Diyhue as LCX002.
But whenever I add this light to Diyhue, Hue App does not work. If I remove it, everything backs to normal.
I attached the logs of Diyhue when Hue app tries to connect.
Errorlog:
2024-08-04 19:19:25,558 - werkzeug - 225 - INFO - 192.168.1.123 - - [04/Aug/2024 19:19:25] "GET /clip/v2/resource HTTP/1.1" 500 -
2024-08-04 19:19:25,964 - werkzeug - 225 - INFO - 192.168.1.67 - - [04/Aug/2024 19:19:25] "GET /lights HTTP/1.1" 200 -
2024-08-04 19:19:26,525 - werkzeug - 225 - INFO - 192.168.1.123 - - [04/Aug/2024 19:19:26] "GET /clip/v2/resource/bridge HTTP/1.1" 200 -
2024-08-04 19:19:26,538 - werkzeug - 225 - INFO - 192.168.1.123 - - [04/Aug/2024 19:19:26] "GET /eventstream/clip/v2 HTTP/1.1" 200 -
[2024-08-04 19:19:26,558] 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 244, in get
data.append(light.getV2Api())
^^^^^^^^^^^^^^^^
File "/opt/hue-emulator/HueObjects/Light.py", line 281, in getV2Api
"points_capable": self.protocol_cfg["points_capable"]}
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'points_capable'
2024-08-04 19:19:26,560 - werkzeug - 225 - INFO - 192.168.1.123 - - [04/Aug/2024 19:19:26] "GET /clip/v2/resource HTTP/1.1" 500 -
2024-08-04 19:19:26,662 - werkzeug - 225 - INFO - 172.18.0.12 - - [04/Aug/2024 19:19:26] "GET /api/config HTTP/1.0" 200 -
Steps to reproduce
Please enter your operating system details here
Hue-Emulator Version: 2024-08-02 20:11:46.000000000 +0300
WebUI Version: 2024-08-02 20:10:26.000000000 +0300
Architecture: x86_64
OS: Linux
Linux version: #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15)
Linux release: 6.1.0-23-amd64
Hardware: %Hardware%
Upload debug tar
The text was updated successfully, but these errors were encountered: