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

I have an issue while using NORA #315

Open
umibozu83 opened this issue Dec 11, 2024 · 1 comment
Open

I have an issue while using NORA #315

umibozu83 opened this issue Dec 11, 2024 · 1 comment

Comments

@umibozu83
Copy link

Hello I noticed that when I control a light with multicolor via the Google Home app and set the color red, I have these values:
1

and the light turns red.

While if I give the voice command to set the red light with a Google device (I only have the Nest Mini) it gives me these values:

2

and the light becomes white.

Is it possible to fix the problem?

My user id is: sdO5br9JYEhkrONvPckchS1zt5t2

@andrei-tatar
Copy link
Owner

Hi @umibozu83 ,

Google Home uses HSV or RGB models for colors, which can be changed from the following dropdown:
image

In HSV, a value of full red would be represented as: hue: 0, saturation: 100%, value: 100% https://colorpicker.me/#ff0000

Google Home returns the values in the object in the following range:

  • hue from 0 (inclusive) to 360 (exclusive)
  • saturation from 0 to 1 (with digits)
  • value from 0 to 1 (with digits)

You can find more details in their documentation: https://developers.home.google.com/cloud-to-cloud/traits/colorsetting#rgb,-hsv,-and-color-temperature

When you say and the light becomes white. What do you mean? There might be a problem in the way you map the above values to the actual light color. If you need help with this, please post your flow or the way the values are being mapped.

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

No branches or pull requests

2 participants