Skip to content
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

Nanoleaf Matter thread lightstrip sluggish color translation #119981

Closed
nchieffo opened this issue Jun 19, 2024 · 7 comments
Closed

Nanoleaf Matter thread lightstrip sluggish color translation #119981

nchieffo opened this issue Jun 19, 2024 · 7 comments

Comments

@nchieffo
Copy link

The problem

When I invoke the light.turn on on my Nanoleaf Lightstrip Matter, the light changes color in a super sluggish way, by performing non-smooth steps.
This happens both if I use and don't use a transition in seconds.
This does not happen when I use the Nanoleaf APP (but I guess it uses bluetooth to connect)

What version of Home Assistant Core has the issue?

core-2024.6.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Matter

Link to integration documentation on our website

No response

Diagnostics information

matter server log.txt
open thread border router log.txt

Example YAML snippet

alias: New Script
sequence:
  - service: light.turn_on
    target:
      entity_id: light.barra_led_bagno
    data:
      transition: 2
      color_temp: 255
  - service: light.turn_on
    target:
      entity_id: light.barra_led_bagno
    data:
      transition: 2
      color_temp: 400

Anything in the logs that might be useful for us?

No response

Additional information

Nanoleaf lightstrip

Firmware: 3.6.196
Hardware: 4.1.8

Thread USB key ZB-GW04 (v1.2)

Flashed default firmware using https://darkxst.github.io/silabs-firmware-builder/
Openthread RCP 2.3.1.0

Open Thread Border Router config

device: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
baudrate: "230400"
flow_control: true
autoflash_firmware: true
otbr_log_level: notice
firewall: true
nat64: false
@nchieffo nchieffo changed the title Matter light sluggish color translation Matter thread light sluggish color translation Jun 19, 2024
@home-assistant
Copy link

Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration (matter) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of matter can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign matter Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


matter documentation
matter source
(message by IssueLinks)

@nchieffo nchieffo changed the title Matter thread light sluggish color translation Nanoleaf Matter thread light sluggish color translation Jun 19, 2024
@nchieffo nchieffo changed the title Nanoleaf Matter thread light sluggish color translation Nanoleaf Matter thread lightstrip sluggish color translation Jun 19, 2024
@marcelveldt
Copy link
Member

This is a device issue, not a HA issue. Please report the issue to Nanoleaf.

@nchieffo
Copy link
Author

I don't think it's a device issue.

The reason why I say that is because if I control the light with my nanoleaf APP having Bluetooth disabled on my phone, color transitions are smooth.

It seems home assistant may use a different way to change the color than the Nanoleaf app.

Do you still believe I should open an issue with nanoleaf itself?

Thanks for your support

@marcelveldt
Copy link
Member

marcelveldt commented Jun 23, 2024

Home Assistant is the only controller actually implementing transitions and we figured out that some devices really have difficulties with that, while for others it works great. So far we found out that its troublesome on ESP32 based devices, running the 1.0 version of the SDK.

As this is not an ESP32 based device but Thread it should work fine, at least it works for the other Nanoleaf lights we have tested, such as the E27 and GU10 bulbs.

Can you provide a bit more detail on what is sluggish exactly ?
Only a color to color transition or also a turn on/off ? What about brightness changes ?

@nchieffo
Copy link
Author

nchieffo commented Jun 24, 2024

I think I can take a video of the color transition which will clarify what happens: basically instead of changing from color A to B in a straight line in the color 'globe', it starts to move around with a curved line following a strange trajectory, causing weired color changes to the light.
https://github.com/home-assistant/core/assets/632266/3a476a16-0b78-4976-8032-a316a5e8f1ce

See what happens when changing via nanoleaf app, HASSIO is able to track color change even if it's done via nanoleaf
https://github.com/home-assistant/core/assets/632266/ab3b7584-cf00-4b22-b4d2-bae79f0abb32

Similar thing when changing TEMPERATURE. In the following video there's a comparison between nanoleaf APP and hassio
https://github.com/home-assistant/core/assets/632266/f6c5be67-a7fd-418b-98a4-c4d1bab84e7e

Turn on from off is smooth only if the color is the same. If I'm in red, switch off, and turn on with blue, I still get the strange color route

Brightness change seems OK

@jvmahon
Copy link
Contributor

jvmahon commented Jul 8, 2024

Have you tried updating the Nanoleaf firmware to the latest version. Recent updates in the Essentials line brought the device up to Matter 1.2 and greatly improved reliability. Not sure if there is a similar update for your product, but check to be sure.

@mocelet
Copy link

mocelet commented Jul 10, 2024

I can confirm it's a problem with Nanoleaf and their Matter implementation. I've been testing transitions with SmartThings and the same happens in my Nanoleaf Matter over Thread smart bulbs. WiZ on the other side has perfect colour transitions (although they flood the controller with reports but that's another story).

Transitions in Matter are handled by the devices, the home platform just sends a command like "move to that colour in 4 seconds", it's not the platform updating the lights periodically so when a transition is not smooth it's the device doing it wrong.

In current firmware, Nanoleaf does smooth brightness Matter transitions but some transitions like temperature or colour are done by steps instead of a continuous change. If the transition time is short there will be few steps and hence the stuttery / sluggish transition.

P.D: By the way, brightness transitions in Nanoleaf are only smooth for short times, if the time is long they clearly change step by step too. I have a wind-down routine that will transition to 0% brightness over 10 minutes and I can tell every time it drops one brightness level. Again, the same routine with my WiZ lights is buttery smooth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants