Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H6022 No scenes #324

Open
lomdar67 opened this issue Dec 4, 2024 · 2 comments
Open

H6022 No scenes #324

lomdar67 opened this issue Dec 4, 2024 · 2 comments

Comments

@lomdar67
Copy link

lomdar67 commented Dec 4, 2024

Govee Device SKU

H6022

Govee2MQTT Version

2024.07.13-82ddc6e9

Describe the issue

The H6022 shows up under MQTT devices, but without any scenes.
It seems that the response can't be parsed:

[2024-12-04T16:53:37 WARN govee::cache] request https://app2.govee.com/appsku/v1/light-effect-libraries?sku=H6022 status 200: OK: parsing https://app2.govee.com/appsku/v1/light-effect-libraries?sku=H6022 response: govee::undoc_api::LightEffectLibraryResponse data.categories[1].scenes[11].lightEffects[0].cmdVersion: invalid type: null, expected u32 at line 1 column 51225.

Data is to long to post it here, sorry....

Startup Diagnostics

Do we need this? I don't think that's the problem...

Additional Logs

No response

Home Assistant Logs

No response

Anything else?

No response

@lomdar67
Copy link
Author

lomdar67 commented Dec 4, 2024

H6022.log

@r00tness
Copy link

r00tness commented Dec 12, 2024

Seen this too, seems parser is not expecting the cmdVersion to be null. Checking the JSON it seems from 67 scenes 63 of them do have cmdVersion set 0 and 4 of them do have a null value. Looks like an issue in the data provided, but should be fixable by simply checking for the null value here.
Update: checked the proved log too now and data is exactly the same as mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants