bwp91 / homebridge-govee

Homebridge plugin to integrate Govee devices into HomeKit.
MIT License
475 stars 49 forks source link

Notified in logs to inform you that the H6008s support colorwc #204

Closed mja00 closed 1 year ago

mja00 commented 2 years ago

All three of my newly setup H6008s support colorwc.

[2/1/2022, 6:21:46 PM] [Govee] [Door Light] device supports 'colorwc' command, let me know on Github with model number [H6008].
[2/1/2022, 6:21:46 PM] [Govee] [Bed Light] device supports 'colorwc' command, let me know on Github with model number [H6008].
[2/1/2022, 6:21:47 PM] [Govee] [Desk Light] device supports 'colorwc' command, let me know on Github with model number [H6008].

Here I am letting you know :)

bwp91 commented 2 years ago

Thanks! This message shouldn't be shown anymore in the new version I have just released. Are you able to confirm that colour is still working with the new version?

mja00 commented 2 years ago

Looks like color is not working. I tried setting my light to pure red(255,0,0) through my phone/Homebridge and it wasn't changing the color, just was an off white.

mja00 commented 2 years ago

Actually after changing colors in Govee, setting the bulbs back to adaptive in homekit, and then changing the colors in homekit it seems to work fine now. Not too sure what was up. I noticed they change quite slowly too, takes around 5-6 seconds for an update to happen.

bwp91 commented 2 years ago

Can you turn on plugin debug logging, restart the plugin, then use the govee app to change the colour (block colour for the whole strip, nothing else enabled like gradient or segments etc) and show me the logs that appear in homebridge?

mja00 commented 2 years ago
[2/2/2022, 3:21:32 PM] [Govee] [Desk Light] [API] receiving update [{"source":"API","online":true,"powerState":"on","brightness":30,"color":{"r":0,"b":0,"g":255}}].
[2/2/2022, 3:21:47 PM] [Govee] [Desk Light] [API] receiving update [{"source":"API","online":true,"powerState":"on","brightness":30,"color":{"r":0,"b":0,"g":255}}].
[2/2/2022, 3:22:02 PM] [Govee] [Desk Light] [API] receiving update [{"source":"API","online":true,"powerState":"on","brightness":30,"color":{"r":0,"b":0,"g":255}}].
[2/2/2022, 3:22:02 PM] [Govee] [Desk Light] skipping adaptive lighting update as device is off or kelvin is same as before [3300K / 303M].
[2/2/2022, 3:22:17 PM] [Govee] [Desk Light] [API] receiving update [{"source":"API","online":true,"powerState":"on","brightness":30,"color":{"r":0,"b":0,"g":255}}].
[2/2/2022, 3:22:17 PM] [Govee] [Desk Light] current colour [rgb 0 255 0].
[2/2/2022, 3:22:17 PM] [Govee] [Desk Light] adaptive lighting disabled due to significant colour change.
[2/2/2022, 3:22:32 PM] [Govee] [Desk Light] [API] receiving update [{"source":"API","online":true,"powerState":"on","brightness":30,"color":{"r":0,"b":0,"g":255}}].
[2/2/2022, 3:22:47 PM] [Govee] [Desk Light] [API] receiving update [{"source":"API","online":true,"powerState":"on","brightness":30,"color":{"r":0,"b":0,"g":255}}].
[2/2/2022, 3:23:02 PM] [Govee] [Desk Light] [API] receiving update [{"source":"API","online":true,"powerState":"on","brightness":30,"color":{"r":0,"b":0,"g":255}}].

I've isolated the logs for one of my 3 lights in my ceiling. Though they're all synced on the same scheme on Govee's app.

Oddly enough the logs say Bluetooth is available and enabled but all my bulbs fail to connect over BLE and fallback to AWS.

stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

bwp91 commented 2 years ago

I was hoping to see a

[AWS] receiving update...

log entry when you used the govee app to change the colour of the light. Could you try again? It could be the current AWS command being sent by the plugin isn't working properly and only changing when the API command is sent... this could explain why it's taking a few more seconds longer than you'd expect.

The [AWS] receiving update... will show the correct command needed for this model. The commands can vary between models so in some cases the plugin is using the wrong version.