Skip to content

Changing color with color code #513

@tromphakvoort

Description

@tromphakvoort

Hi, this isn't probably the place to ask this question but I don't really know where else to ask it.
When I request the data from my RGBW lamp it returns dps 20-26 with 24 containing the color, brightness and saturation in colour mode.
I can't seem to understand how this code is build. I've read a lot of issues on GitHub with possible explanations but none have completely worked for me.

My Bulb returns the following data:

dps: {
    '20': true,
    '21': 'colour',
    '22': 1000,
    '23': 1000,
    '24': '015303e803e8',
    '25': '000e0d0000000000000000c80000',
    '26': 0
  }

From what i can find on the internet the color is in HSV separating the values with a 0.

What i can't seem to figure out is why my color code contains letters and what they mean.

Could anyone help me out with this or point me in the right direction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions