bwp91 / homebridge-govee

Homebridge plugin to integrate Govee devices into HomeKit.
MIT License
468 stars 48 forks source link

Unable to select RGB Colours in Home App #341

Closed ryanlbates01 closed 7 months ago

ryanlbates01 commented 1 year ago

What issue do you have? Please be as thorough and explicit as possible.

I have two H6159 strip lights which I am unable to set to RGB colours when using the Apple Home App. Instead of changing to the selected colour, they default to a low-brightness blue/white. I am only able to change the colour using the temperature mode or going into the Goove App

I tried removing and re-adding the lights which seemed to work for a little while but it has now stopped working again. Now if I remove and re-add the lights to the Home App but do not set up adaptive lighting in the app, the Home app crashes when I select and RGB colour

I have tried setting up BLE connection, and disabling adaptive lighting, allowing API whitelisting but none of those has worked. I also tried creating automation to turn/change the lights to RGB colour, but the Automation just fails.

Photos added show the colour of the LEDs when selecting RGB Red in the home App as an example

Details of your setup.

Please paste any relevant logs below.

[10/25/2022, 8:16:42 PM] [Govee] [Desk lights] current colour [rgb 25 29 255].
[10/25/2022, 8:16:42 PM] [Govee] [Sideboard lights] [AWS] sending update {"msg":{"cmd":"color","cmdVersion":0,"data":{"r":25,"g":29,"b":255},"transaction":"v_1666725402857000","type":1}}.
[10/25/2022, 8:16:42 PM] [Govee] [Sideboard lights] current colour [rgb 25 29 255].
[10/25/2022, 8:16:43 PM] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1666725402857000\",\"sku\":\"H6159\",\"device\":\"8C:85:A4:C1:38:FA:AD:DB\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"color\",\"data\":\"{\\\"red\\\":49,\\\"green\\\":49,\\\"blue\\\":49}\"}","state":{"onOff":1,"brightness":254,"color":{"r":49,"g":49,"b":49},"colorTemInKelvin":0,"connected":"true","sku":"H6159","device":"8C:85:A4:C1:38:FA:AD:DB"}}].
[10/25/2022, 8:16:44 PM] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1666725402851000\",\"sku\":\"H6159\",\"device\":\"1F:F5:A4:C1:38:93:D9:EC\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"color\",\"data\":\"{\\\"red\\\":49,\\\"green\\\":49,\\\"blue\\\":49}\"}","state":{"onOff":1,"brightness":254,"color":{"r":49,"g":49,"b":49},"colorTemInKelvin":0,"connected":"true","sku":"H6159","device":"1F:F5:A4:C1:38:93:D9:EC"}}].
[10/25/2022, 8:16:47 PM] [Govee] [Desk lights] [AWS] sending update {"msg":{"cmd":"color","cmdVersion":0,"data":{"r":255,"g":204,"b":204},"transaction":"v_1666725407341000","type":1}}.
[10/25/2022, 8:16:47 PM] [Govee] [Desk lights] current colour [rgb 255 204 204].
[10/25/2022, 8:16:47 PM] [Govee] [Sideboard lights] [AWS] sending update {"msg":{"cmd":"color","cmdVersion":0,"data":{"r":255,"g":204,"b":204},"transaction":"v_1666725407347000","type":1}}.
[10/25/2022, 8:16:47 PM] [Govee] [Sideboard lights] current colour [rgb 255 204 204].
[10/25/2022, 8:16:48 PM] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1666725407341000\",\"sku\":\"H6159\",\"device\":\"1F:F5:A4:C1:38:93:D9:EC\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"color\",\"data\":\"{\\\"red\\\":49,\\\"green\\\":49,\\\"blue\\\":49}\"}","state":{"onOff":1,"brightness":254,"color":{"r":49,"g":49,"b":49},"colorTemInKelvin":0,"connected":"true","sku":"H6159","device":"1F:F5:A4:C1:38:93:D9:EC"}}].
[10/25/2022, 8:16:49 PM] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1666725407347000\",\"sku\":\"H6159\",\"device\":\"8C:85:A4:C1:38:FA:AD:DB\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"color\",\"data\":\"{\\\"red\\\":49,\\\"green\\\":49,\\\"blue\\\":49}\"}","state":{"onOff":1,"brightness":254,"color":{"r":49,"g":49,"b":49},"colorTemInKelvin":0,"connected":"true","sku":"H6159","device":"8C:85:A4:C1:38:FA:AD:DB"}}].
[10/25/2022, 8:16:51 PM] [Govee] [Desk lights] [AWS] sending update {"msg":{"cmd":"colorTem","cmdVersion":0,"data":{"colorTemInKelvin":2200,"color":{"r":255,"g":147,"b":44,"red":255,"green":147,"blue":44}},"transaction":"v_1666725411161000","type":1}}.
[10/25/2022, 8:16:51 PM] [Govee] [Desk lights] current colour [2200K / 454M].
[10/25/2022, 8:16:51 PM] [Govee] [Sideboard lights] [AWS] sending update {"msg":{"cmd":"colorTem","cmdVersion":0,"data":{"colorTemInKelvin":2200,"color":{"r":255,"g":147,"b":44,"red":255,"green":147,"blue":44}},"transaction":"v_1666725411168000","type":1}}.
[10/25/2022, 8:16:51 PM] [Govee] [Sideboard lights] current colour [2200K / 454M].
[10/25/2022, 8:16:51 PM] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1666725411168000\",\"sku\":\"H6159\",\"device\":\"8C:85:A4:C1:38:FA:AD:DB\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"colorTem\",\"data\":\"{\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":147,\\\"blue\\\":44},\\\"colorTemInKelvin\\\":2200}\"}","state":{"onOff":1,"brightness":254,"color":{"r":255,"g":147,"b":44},"colorTemInKelvin":2200,"connected":"true","sku":"H6159","device":"8C:85:A4:C1:38:FA:AD:DB"}}].
[10/25/2022, 8:16:52 PM] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1666725411161000\",\"sku\":\"H6159\",\"device\":\"1F:F5:A4:C1:38:93:D9:EC\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"colorTem\",\"data\":\"{\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":147,\\\"blue\\\":44},\\\"colorTemInKelvin\\\":2200}\"}","state":{"onOff":1,"brightness":254,"color":{"r":255,"g":147,"b":44},"colorTemInKelvin":2200,"connected":"true","sku":"H6159","device":"1F:F5:A4:C1:38:93:D9:EC"}}].

IMG_0041 IMG_0042

bwp91 commented 1 year ago

Hi @ryanlbates01

I think there could be a number of things going on here.

It would be useful to direct message on discord if you'd be happy to do so? Invite link is:

https://discord.gg/cMGhNtZ3tW

ryanlbates01 commented 1 year ago

Hi bwp91

sure thing, I’ve clicked on the invite link and I’ve joined your server. I’m ryanlbates01

KazemaRyukuro commented 1 year ago

Hello. I had the same issues. It don´t apply the color.

bwp91 commented 1 year ago

@GodzillaTV which model?

KazemaRyukuro commented 1 year ago

I have the Govee H6159. Hardware Version: 1.00.02.

KazemaRyukuro commented 1 year ago

ok it works again

Iverson20 commented 1 year ago

Has anyone found a fix for this? I have the exact same problem with my two light bulbs. Both are H6009

bwp91 commented 1 year ago

Has anyone found a fix for this? I have the exact same problem with my two light bulbs. Both are H6009

I think this is a per model solution. can you try updating to the beta version to see if this is fixed for your H6009?

Iverson20 commented 1 year ago

I just updated to the new beta and it did not fix the issue. I even deleted the H6009 and re-added them, changed my govee password and api key, and cleared all my caches. Im able to turn the lights on and off but not able to change the color. I am able to adjust the brightness however when the brightness gets to 99% it is at about max brightness but when I go up to 100% the night then visually dims way down to almost 1% brightness but the home app still shows it as being at 100%. I'll attach screen shot of my logs from when I try changing the colors. I have about 30 various Govee lights and this issue is only occurring with my two H6009s. Both did work as intended in the past. The H6009s in my logs are named TV Lamp and Couch Lamp. Ill also attach a text file of all my logs however it is quite long. Govee Log 1 Govee Log 2 HomeBridge Logs .txt

bwp91 commented 1 year ago

@Iverson20 can you try newer beta 7.1.3-beta.8?

bwp91 commented 1 year ago

@Iverson20 ignore my last message, can you try a newer beta I have just published? 7.1.4-beta.0

lvl03 commented 1 year ago

Hello. I had the same issues. I'm not able to change the Color. Model H615C Hardware Version 2.01.01 Thx

bwp91 commented 1 year ago

Hello. I had the same issues. I'm not able to change the Color. Model H615C Hardware Version 2.01.01 Thx

Hi @lvl03 can you enable debug logging in the plugin settings, then restart, then use the govee app to change the colour to red, and post here the logs that appear in homebridge from doing this action?

lvl03 commented 1 year ago

Hello. I had the same issues. I'm not able to change the Color. Model H615C Hardware Version 2.01.01 Thx

Hi @lvl03 can you enable debug logging in the plugin settings, then restart, then use the govee app to change the colour to red, and post here the logs that appear in homebridge from doing this action?

[Govee] [Decke Flur] current colour [rgb 255 0 0]

fifibest commented 1 year ago

Hi! I have the same issue with HS7020 light bulb strings. I can turn on/off and change the brightness, but I can only change color from the Govee App. I am using the latest 7.4.0 version, latest home bridge 1.6.0, node 18.12.1.

BTW, I tried rolling back to 7.1.x, and it was working fine there.

Here are the logs when trying to change from the Govee App (it's OK):

[03/12/2022, 02:20:57] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"colorwc","type":0,"transaction":"a_1670034056865","pactType":1,"pactCode":1,"state":{"colorTemInKelvin":0,"color":{"r":0,"g":255,"b":0},"result":1}}].
[03/12/2022, 02:20:57] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","colorTemInKelvin":0,"color":{"r":0,"g":255,"b":0},"result":1}.
[03/12/2022, 02:20:57] [Govee] [LED Bulb String Lights] current colour [rgb 0 255 0].
[03/12/2022, 02:21:05] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"colorwc","type":0,"transaction":"a_1670034064098","pactType":1,"pactCode":1,"state":{"colorTemInKelvin":0,"color":{"r":255,"g":255,"b":0},"result":1}}].
[03/12/2022, 02:21:05] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","colorTemInKelvin":0,"color":{"r":255,"g":255,"b":0},"result":1}.
[03/12/2022, 02:21:05] [Govee] [LED Bulb String Lights] current colour [rgb 255 255 0].
[03/12/2022, 02:21:09] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"colorwc","type":0,"transaction":"a_1670034068522","pactType":1,"pactCode":1,"state":{"colorTemInKelvin":0,"color":{"r":255,"g":0,"b":0},"result":1}}].
[03/12/2022, 02:21:09] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","colorTemInKelvin":0,"color":{"r":255,"g":0,"b":0},"result":1}.

Here is when changing from the Home App (2 attempts - and it seems whatever I select it defaults back to [rgb 24 58 3].

[03/12/2022, 02:41:56] [Govee] [LED Bulb String Lights] [AWS] sending update {"msg":{"cmd":"color","cmdVersion":0,"data":{"red":255,"green":24,"blue":132},"transaction":"v_1670031716262000","type":1}}.
[03/12/2022, 02:41:56] [Govee] [LED Bulb String Lights] current colour [rgb 255 24 132].
[03/12/2022, 02:41:58] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"colorwc","type":0,"transaction":"v_1670031716262000","pactType":1,"pactCode":1,"state":{"colorTemInKelvin":0,"color":{"r":24,"g":58,"b":3},"result":1}}].
[03/12/2022, 02:41:58] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","colorTemInKelvin":0,"color":{"r":24,"g":58,"b":3},"result":1}.
[03/12/2022, 02:41:58] [Govee] [LED Bulb String Lights] current colour [rgb 24 58 3].
----
[03/12/2022, 02:42:47] [Govee] [LED Bulb String Lights] [AWS] sending update {"msg":{"cmd":"color","cmdVersion":0,"data":{"red":58,"green":51,"blue":255},"transaction":"v_1670031767237000","type":1}}.
[03/12/2022, 02:42:47] [Govee] [LED Bulb String Lights] current colour [rgb 58 51 255].
[03/12/2022, 02:42:47] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"colorwc","type":0,"transaction":"v_1670031767237000","pactType":1,"pactCode":1,"state":{"colorTemInKelvin":0,"color":{"r":24,"g":58,"b":3},"result":1}}].
[03/12/2022, 02:42:47] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","colorTemInKelvin":0,"color":{"r":24,"g":58,"b":3},"result":1}.
[03/12/2022, 02:42:47] [Govee] [LED Bulb String Lights] current colour [rgb 24 58 3].

Best Regards, István

bwp91 commented 1 year ago

Hi @fifibest

If you use the govee app to turn the brightness of this light to 100%, does this update correctly in homekit? Or does it display a different brightness %?

fifibest commented 1 year ago

Hi @bwp91

Thanks for your reply, you're right, when I set the brightness from the Govee app, HomeKit displays different values: 33% in app, 13% in HomeKit:

[03/12/2022, 20:40:22] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"brightness","type":0,"transaction":"a_1670100021034","pactType":1,"pactCode":1,"state":{"brightness":33,"result":1}}].
[03/12/2022, 20:40:22] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","brightness":33,"result":1}.
[03/12/2022, 20:40:22] [Govee] [LED Bulb String Lights] current brightness [13%].
[03/12/2022, 20:40:31] [Govee] [LED Bulb String Lights] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1670096431416000","type":0}}.
[03/12/2022, 20:40:31] [Govee] [LED Bulb String Lights] [API] receiving update {"online":true,"powerState":"on","brightness":33,"color":{"r":24,"b":3,"g":58},"source":"API"}.
[03/12/2022, 20:40:33] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"status","type":0,"transaction":"v_1670096431416000","pactType":1,"pactCode":1,"state":{"onOff":1,"brightness":33,"colorTemInKelvin":0,"color":{"r":24,"g":58,"b":3},"mode":21,"result":1},"op":{"command":["qgUVAAAAAAAAAAAAAAAAAAAAALo=","qqUBZBg6A2QYOgNkGDoDAAAAAEs=","qqUCZBg6A2QYOgNkGDoDAAAAAEg=","qqUDZBg6A2QYOgNkGDoDAAAAAEk=","qqUEZBg6A2QYOgNkGDoDAAAAAE4=","qqUFZBg6A2QYOgNkGDoDAAAAAE8=","qqUGZBg6A2QYOgNkGDoDAAAAAEw=","qqUHZBg6A2QYOgNkGDoDAAAAAE0=","qqUIZBg6A2QYOgNkGDoDAAAAAEI=","qqUJZBg6A2QYOgNkGDoDAAAAAEM=","qqUKZBg6A2QYOgNkGDoDAAAAAEA=","qhEAHg8PAAAAAAAAAAAAAAAAAKU=","qhL/ZAAAgAoAAAAAAAAAAAAAAKk=","qiP/AAAAgAAAAIAAAACAAAAAgHY=","qkEBAAAAAAAAAAAAAAAAAAAAAOo=","qg8BAAAAAAAAAAAAAAAAAAAAAKQ="]}}].
[03/12/2022, 20:40:33] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","onOff":1,"brightness":33,"colorTemInKelvin":0,"color":{"r":24,"g":58,"b":3},"mode":21,"result":1,"commands":["qgUVAAAAAAAAAAAAAAAAAAAAALo=","qqUBZBg6A2QYOgNkGDoDAAAAAEs=","qqUCZBg6A2QYOgNkGDoDAAAAAEg=","qqUDZBg6A2QYOgNkGDoDAAAAAEk=","qqUEZBg6A2QYOgNkGDoDAAAAAE4=","qqUFZBg6A2QYOgNkGDoDAAAAAE8=","qqUGZBg6A2QYOgNkGDoDAAAAAEw=","qqUHZBg6A2QYOgNkGDoDAAAAAE0=","qqUIZBg6A2QYOgNkGDoDAAAAAEI=","qqUJZBg6A2QYOgNkGDoDAAAAAEM=","qqUKZBg6A2QYOgNkGDoDAAAAAEA=","qhEAHg8PAAAAAAAAAAAAAAAAAKU=","qhL/ZAAAgAoAAAAAAAAAAAAAAKk=","qiP/AAAAgAAAAIAAAACAAAAAgHY=","qkEBAAAAAAAAAAAAAAAAAAAAAOo=","qg8BAAAAAAAAAAAAAAAAAAAAAKQ="]}.
bwp91 commented 1 year ago

@fifibest

Can you install the beta version of the plugin and see whether brightness and colour are now fixed?

https://github.com/bwp91/homebridge-govee/wiki/Beta-Version

Thanks!

fifibest commented 1 year ago

I can confirm that with the latest beta, brightness and color values are passed correctly to / from HomeKit.

[03/12/2022, 22:26:54] [Govee] [LED Bulb String Lights] current colour [rgb 255 190 39].
[03/12/2022, 22:26:55] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"colorwc","type":0,"transaction":"v_1670102814829000","pactType":1,"pactCode":1,"state":{"colorTemInKelvin":0,"color":{"r":255,"g":190,"b":39},"result":1}}].
[03/12/2022, 22:26:55] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","colorTemInKelvin":0,"color":{"r":255,"g":190,"b":39},"result":1}.
[03/12/2022, 22:26:55] [Govee] [LED Bulb String Lights] current colour [rgb 255 190 39].
[03/12/2022, 22:26:56] [Govee] [LED Bulb String Lights] [AWS] sending update {"msg":{"cmd":"colorwc","cmdVersion":0,"data":{"color":{"r":23,"g":255,"b":209,"red":23,"green":255,"blue":209},"colorTemInKelvin":0},"transaction":"v_1670102816657000","type":1}}.
[03/12/2022, 22:26:56] [Govee] [LED Bulb String Lights] current colour [rgb 23 255 209].
[03/12/2022, 22:26:57] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"colorwc","type":0,"transaction":"v_1670102816657000","pactType":1,"pactCode":1,"state":{"colorTemInKelvin":0,"color":{"r":23,"g":255,"b":209},"result":1}}].
[03/12/2022, 22:26:57] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","colorTemInKelvin":0,"color":{"r":23,"g":255,"b":209},"result":1}.

[03/12/2022, 22:27:28] [Govee] [AWS] message event [{"proType":2,"sku":"H7020","device":"FB:9C:C4:32:37:35:3D:94","softVersion":"1.00.14","wifiSoftVersion":"1.00.28","cmd":"brightness","type":0,"transaction":"a_1670106447261","pactType":1,"pactCode":1,"state":{"brightness":70,"result":1}}].
[03/12/2022, 22:27:28] [Govee] [LED Bulb String Lights] [AWS] receiving update {"source":"AWS","brightness":70,"result":1}.
[03/12/2022, 22:27:28] [Govee] [LED Bulb String Lights] current brightness [70%].

Thanks for the quick reply and fix for this issue!

eyeslow commented 1 year ago

@bwp91 Hello there, first of all THANK YOU! Your Plugin is just perfect and I really admire all the hard work you've put into it.

My H6182 is having similar problems, neither the colour, nor the brightness will change trough the Home App. It was possible about three months ago but suddenly stopped working.

Device: H6182 (LED Strip); SW-Version: 1.02.16; HW-Version: 1.00.01 homebridge-govee v7.7.1 (and also in previous versions)

Logs from HomeBridge (homebridge-govee v7.7.1): While trying to change the colour with HomeKit:

[30/12/2022, 17:34:31] [Govee] [Hintergrundbeleuchtung] current colour [rgb 89 255 13].
[30/12/2022, 17:34:44] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"1234567890\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.02.16\\\",\\\"wifiSoftVersion\\\":\\\"1.02.07\\\",\\\"turn\\\":1,\\\"brightness\\\":100,\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":-1,\\\"isGroup\\\":1,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0},{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":0,\\\"blue\\\":0},\\\"colorTemInKelvin\\\":0}\"}","state":{"onOff":1,"brightness":100,"color":{"r":255,"g":0,"b":0},"colorTemInKelvin":0,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].
[30/12/2022, 17:34:58] [Govee] [Hintergrundbeleuchtung] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1672418098517000","type":0}}.
[30/12/2022, 17:34:59] [Govee] [Hintergrundbeleuchtung] [API] receiving update {"online":true,"powerState":"on","brightness":35,"color":{"r":255,"b":0,"g":0},"source":"API"}.

[30/12/2022, 17:36:35] [Govee] [Hintergrundbeleuchtung] current colour [rgb 92 92 255].
[30/12/2022, 17:36:51] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"1234567890\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.02.16\\\",\\\"wifiSoftVersion\\\":\\\"1.02.07\\\",\\\"turn\\\":1,\\\"brightness\\\":100,\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":-1,\\\"isGroup\\\":1,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0},{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":0,\\\"blue\\\":0},\\\"colorTemInKelvin\\\":0}\"}","state":{"onOff":1,"brightness":100,"color":{"r":255,"g":0,"b":0},"colorTemInKelvin":0,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].
[30/12/2022, 17:36:58] [Govee] [Hintergrundbeleuchtung] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1672418218518000","type":0}}.
[30/12/2022, 17:36:59] [Govee] [Hintergrundbeleuchtung] [API] receiving update {"online":true,"powerState":"on","brightness":35,"color":{"r":255,"b":0,"g":0},"source":"API"}.

While changing colour with Govee Home:

[30/12/2022, 17:42:30] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"1234567890\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.02.16\\\",\\\"wifiSoftVersion\\\":\\\"1.02.07\\\",\\\"turn\\\":1,\\\"brightness\\\":254,\\\"modeValue\\\":[\\\"qgUC////AP+NCwAAAAAAAAAAACs=\\\"],\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":-1,\\\"isGroup\\\":1,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0},{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":255,\\\"blue\\\":255},\\\"colorTemInKelvin\\\":0}\"}","state":{"onOff":1,"brightness":254,"color":{"r":255,"g":255,"b":255},"colorTemInKelvin":0,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].
[30/12/2022, 17:42:58] [Govee] [Hintergrundbeleuchtung] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1672418578520000","type":0}}.
[30/12/2022, 17:42:59] [Govee] [Hintergrundbeleuchtung] [API] receiving update {"online":true,"powerState":"on","brightness":100,"color":{"r":255,"b":255,"g":255},"source":"API"}.

[30/12/2022, 17:44:54] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"1234567890\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.02.16\\\",\\\"wifiSoftVersion\\\":\\\"1.02.07\\\",\\\"turn\\\":1,\\\"brightness\\\":254,\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":-1,\\\"isGroup\\\":1,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0},{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":0,\\\"blue\\\":0},\\\"colorTemInKelvin\\\":0}\"}","state":{"onOff":1,"brightness":254,"color":{"r":255,"g":0,"b":0},"colorTemInKelvin":0,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].
[30/12/2022, 17:44:58] [Govee] [Hintergrundbeleuchtung] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1672418698522000","type":0}}.
[30/12/2022, 17:44:59] [Govee] [Hintergrundbeleuchtung] [API] receiving update {"online":true,"powerState":"on","brightness":100,"color":{"r":255,"b":0,"g":0},"source":"API"}.

While trying to change the brightness with HomeKit:

[30/12/2022, 17:38:58] [Govee] [Hintergrundbeleuchtung] current brightness [100%].
[30/12/2022, 17:38:58] [Govee] [Hintergrundbeleuchtung] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1672418338517000","type":0}}.
[30/12/2022, 17:38:59] [Govee] [Hintergrundbeleuchtung] [API] receiving update {"online":true,"powerState":"on","brightness":35,"color":{"r":255,"b":0,"g":0},"source":"API"}.
[30/12/2022, 17:39:00] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1672418338496000\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"brightness\",\"data\":\"{\\\"val\\\":100}\"}","state":{"onOff":1,"brightness":100,"color":{"r":255,"g":0,"b":0},"colorTemInKelvin":0,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].
[30/12/2022, 17:39:01] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1672418338517000\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.02.16\\\",\\\"wifiSoftVersion\\\":\\\"1.02.07\\\",\\\"turn\\\":1,\\\"brightness\\\":100,\\\"modeValue\\\":[\\\"qgUC/wAAAP+NCwAAAAAAAAAAACs=\\\"],\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":-1,\\\"isGroup\\\":1,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0},{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":0,\\\"blue\\\":0},\\\"colorTemInKelvin\\\":0}\"}","state":{"onOff":1,"brightness":100,"color":{"r":255,"g":0,"b":0},"colorTemInKelvin":0,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].

[30/12/2022, 17:40:33] [Govee] [Hintergrundbeleuchtung] current brightness [7%].
[30/12/2022, 17:40:43] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"1234567890\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.02.16\\\",\\\"wifiSoftVersion\\\":\\\"1.02.07\\\",\\\"turn\\\":1,\\\"brightness\\\":100,\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":-1,\\\"isGroup\\\":1,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0},{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":0,\\\"blue\\\":0},\\\"colorTemInKelvin\\\":0}\"}","state":{"onOff":1,"brightness":100,"color":{"r":255,"g":0,"b":0},"colorTemInKelvin":0,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].
[30/12/2022, 17:40:58] [Govee] [Hintergrundbeleuchtung] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1672418458519000","type":0}}.
[30/12/2022, 17:40:59] [Govee] [Hintergrundbeleuchtung] [API] receiving update {"online":true,"powerState":"on","brightness":35,"color":{"r":255,"b":0,"g":0},"source":"API"}.
[30/12/2022, 17:41:01] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1672418458519000\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.02.16\\\",\\\"wifiSoftVersion\\\":\\\"1.02.07\\\",\\\"turn\\\":1,\\\"brightness\\\":100,\\\"modeValue\\\":[\\\"qgUC/wAAAP+NCwAAAAAAAAAAACs=\\\"],\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":-1,\\\"isGroup\\\":1,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0},{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":0,\\\"blue\\\":0},\\\"colorTemInKelvin\\\":0}\"}","state":{"onOff":1,"brightness":100,"color":{"r":255,"g":0,"b":0},"colorTemInKelvin":0,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].

While changing the brightness with Govee Home:

[30/12/2022, 17:46:58] [Govee] [Hintergrundbeleuchtung] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1672418818524000","type":0}}.
[30/12/2022, 17:46:59] [Govee] [Hintergrundbeleuchtung] [API] receiving update {"online":true,"powerState":"on","brightness":25,"colorTemInKelvin":2000,"colorTem":2000,"source":"API"}.
[30/12/2022, 17:46:59] [Govee] [Hintergrundbeleuchtung] current brightness [25%].
[30/12/2022, 17:47:00] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1672418818524000\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.02.16\\\",\\\"wifiSoftVersion\\\":\\\"1.02.07\\\",\\\"turn\\\":1,\\\"brightness\\\":75,\\\"modeValue\\\":[\\\"qgUC////Af+NCwAAAAAAAAAAACo=\\\"],\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":-1,\\\"isGroup\\\":1,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0},{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":141,\\\"blue\\\":11},\\\"colorTemInKelvin\\\":2000}\"}","state":{"onOff":1,"brightness":75,"color":{"r":255,"g":141,"b":11},"colorTemInKelvin":2000,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].

[30/12/2022, 17:47:58] [Govee] [Hintergrundbeleuchtung] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1672418878526000","type":0}}.
[30/12/2022, 17:47:59] [Govee] [Hintergrundbeleuchtung] [API] receiving update {"online":true,"powerState":"on","brightness":75,"colorTemInKelvin":2000,"colorTem":2000,"source":"API"}.
[30/12/2022, 17:47:59] [Govee] [Hintergrundbeleuchtung] current brightness [75%].
[30/12/2022, 17:48:00] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1672418878526000\",\"sku\":\"H6182\",\"device\":\"4E:03:A4:C1:38:F0:64:96\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.02.16\\\",\\\"wifiSoftVersion\\\":\\\"1.02.07\\\",\\\"turn\\\":1,\\\"brightness\\\":195,\\\"modeValue\\\":[\\\"qgUC////Af+NCwAAAAAAAAAAACo=\\\"],\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":-1,\\\"isGroup\\\":1,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0},{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59,\\\"repeat\\\":128,\\\"enable\\\":0}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":141,\\\"blue\\\":11},\\\"colorTemInKelvin\\\":2000}\"}","state":{"onOff":1,"brightness":195,"color":{"r":255,"g":141,"b":11},"colorTemInKelvin":2000,"connected":"true","sku":"H6182","device":"4E:03:A4:C1:38:F0:64:96"}}].
bwp91 commented 1 year ago

Hi @eyeslow can you install the new beta version of the plugin and see if brightness and/or colour control is fixed?

eyeslow commented 1 year ago

Hi @eyeslow can you install the new beta version of the plugin and see if brightness and/or colour control is fixed?

Wow, that was fast. Everything is working as expected, the colour changes correctly and also the brightness gets applied properly. Thank you! This change will be included in the next main release, am I right?

Have a pleasant evening and a happy new year!