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

H8072 Not Supported #101

Open
jxt1009 opened this issue Jan 16, 2025 · 4 comments
Open

H8072 Not Supported #101

jxt1009 opened this issue Jan 16, 2025 · 4 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@jxt1009
Copy link

jxt1009 commented Jan 16, 2025

🚀 Light Support Template for Govee LAN API Library


💡 Light Details

Provide information about the Govee light(s) features:

  • Model:
  • Supported Functionalities:
    • [ x ] RGB
    • [ x ] Brightness
    • [ x ] White Temperature
    • [ x ] Scenes
  • Number of Segments: I think like 64, it might be a bit more. Tried counting in the app under the Sketch option, so somewhere around there

I'd also be curious to take on this issue, I'd like to contribute and it seems like this light is just starting to show up. Not sure what makes it different from the H6072, but it's listed in the app as the H8072 while Best Buy lists it as H8072A82/H6072A82

https://www.bestbuy.com/site/govee-rgbic-floor-lamp-multi/6541269.p?skuId=6541269

@jxt1009 jxt1009 added the enhancement New feature or request label Jan 16, 2025
@jxt1009
Copy link
Author

jxt1009 commented Jan 16, 2025

Looks like adding the model to the light_capabilities list was all that was needed. Got it built and tested it on my homeassistant instance.
image

I can't seem to push my branch to open a PR, its a simple change if someone else needs to make it.

Added "H8072": BASIC_CAPABILITIES, to the dict in light_capabilities.py

@mainTAP
Copy link

mainTAP commented Jan 16, 2025

Hi, how did you integrate your updated version into home assistant? thank you

@jxt1009
Copy link
Author

jxt1009 commented Jan 16, 2025

@mainTAP

how did you integrate your updated version into home assistant?

It took a bit of work to get poetry all set up on my Windows machine, but once it was working, I ran the poetry build to generate the govee_local_api-2.0.0a0-py3-none-any.whl package.

I have HA running in docker on Ubuntu Server, so I used scp to transfer that package to the server.
Then I used docker cp to move the .whl into my HA container.
Finally I exec'ed into the container and ran python3 -m pip install govee_local_api-2.0.0a0-py3-none-any.whl to replace the existing govee_local_api package with my own.

After restarting HA, the integration imported my new version of the package and my light was updated immediately.

I've considered adding a CONTRIBUTING or GETTING_STARTED doc to the repo, there was a lot of issues I had to solve while setting up the dev env that I think we could alleviate, but I'm not sure how to contribute at the moment.

@Galorhallen
Copy link
Owner

Hi @jxt1009,
64 seems a lot of segments, are you sure about the number? From their site it doesn't look like it have that much.

I've opened a PR to Home Assisant to update the library to version 2.0.0, which also include a partial scene support.
This model is not yet included in version 2.0.0, so if they accept the PR and you update the installation the library will roll back to version 2.0.0 without your modifications, which I should include version 2.0.1 soon

Image

@Galorhallen Galorhallen added the question Further information is requested label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants