Google Home behavior?

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Google Home behavior?

Postby themindfactory » Mon Oct 28, 2024 4:55 pm

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.

ESP_Piyush
Posts: 309
Joined: Wed Feb 20, 2019 7:02 am

Re: Google Home behavior?

Postby ESP_Piyush » Mon Oct 28, 2024 5:48 pm

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?

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Re: Google Home behavior?

Postby themindfactory » Mon Oct 28, 2024 11:04 pm

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.

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Re: Google Home behavior?

Postby themindfactory » Tue Oct 29, 2024 5:53 am

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.

Who is online

Users browsing this forum: No registered users and 15 guests