Page 1 of 1

Google Home behavior?

Posted: Mon Oct 28, 2024 4:55 pm
by themindfactory
I have created a light device, it gets all the data correctly in the callback hue, brightness, power....

How ever when Google Home changes the hue, I receive the value in the callback, then then I do a update and report... the brightness on Google Home will jump to 100% from where ever it was, and the hue will be shown on the slider for a few seconds and then revert back to what looks like a default color.

Once you leave the device and come back to it, it also looses the hue value on the selector...

Anyone get this to work successfully?

Richard.

Re: Google Home behavior?

Posted: Mon Oct 28, 2024 5:48 pm
by ESP_Piyush
Are you using the default led_light example or is this with your own project? Have you checked the serial terminal logs to see if there's any discrepancy?

Re: Google Home behavior?

Posted: Mon Oct 28, 2024 11:04 pm
by themindfactory
I have found a couple things.

I was not implementing Saturation and I think google did not like that so added that...

Also for some reason, when you pick a new hue from the wheel in google home, it cranks up the brightness to almost 100% at times, I understand why due to HSV values that define a color, but would be nice if they left V out of the picture so your whole string of nicely dim leds don't suddenly go full bright!

R.

Re: Google Home behavior?

Posted: Tue Oct 29, 2024 5:53 am
by themindfactory
With some more playing around Alexa however does not adjust brightness when you pick a new color.

So with some code, I got around the google issue and I only allow brightness changes when the data received only includes brightness, no hue or sat data... voila!

R.