Skip to content

Add support for CCT #977

@haim-b

Description

@haim-b

Problem/Motivation

WLED 0.13.0 added a new parameter in the API for changing the color temperature of the white color, for lights that support cold and warm whites. It's called "cct". See here https://kno.wled.ge/interfaces/json-api/
It will be nice to have a support for this.

Expected behavior

Providing this ability will allow us to control the temperature of the white color.

Actual behavior

I don't see any way to control the temperature of the white color.

Steps to reproduce

Check out the current API.

Proposed changes

In the segment method of the WLED class, add another "cct" argument. This argument should be translated to the "cct" parameter in the JSON that is sent to the WLED controller.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThere has not been activity on this issue or PR for quite some time.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions