bwp91 / homebridge-govee

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

Error on Seemingly Proper Scene Code & Inability to Correct in the Config Editor #477

Closed iSteve-O closed 1 year ago

iSteve-O commented 1 year ago

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

When I installed the latest version it said my scene codes were not configured properly and that I should reconfigure in the UI, however there are no spaces for scene codes in the config UI

Details of your setup.

I use Homebridge UI-X

Please paste any relevant logs below.

[20/03/2023, 23:58:52] [Govee] lightDevices.E6:86:CC:31:30:30:38:2D.videoMode incorrectly configured - please use the config screen to reconfigure this item:
[20/03/2023, 23:58:52] [Govee] lightDevices.E6:86:CC:31:30:30:38:2D.videoMode: 3305000001030032000000000000000000000006
[20/03/2023, 23:58:52] [Govee] Config entry [lightDevices.E6:86:CC:31:30:30:38:2D.videoMode] is not configured correctly so ignoring.

Here is my config portion with the scene code:

"label": "LG Backlight",
"deviceId": "E6:86:CC:31:30:30:38:2D",
"brightnessStep": 5,
"adaptiveLightingShift": -1,
"videoMode": "3305000001030032000000000000000000000006"

See this screenshot where there is nowhere to configure scenes: Screen Shot 2023-03-21 at 12 06 25 AM

insimbi-stuart commented 1 year ago

I also have this issue, there doesn't seem to be any documentation on what the new scene configuration JSON should look like, and the config interface in UI-X is broken.

iSteve-O commented 1 year ago

Version 8.0.2 seems to address this issue.

New config for scene codes:

"label": "LG Backlight",
"deviceId": "E6:86:CC:31:30:30:38:2D",
"brightnessStep": 5,
"adaptiveLightingShift": -1,
"videoMode": {
    "sceneCode": "3305000001030032000000000000000000000006"
    }

I appreciate your work on this!

bwp91 commented 1 year ago

Hi all, yep 6.0.2 should fix the scene codes in the config screen. wanted to make this change to be able to add more options to a particular scene code in the future - for example to expose as a switch instead of an Eve-only button. there’s a lot of home assistant users who have been requesting to expose as a switch instead!