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

feat: add support for H70C4 & H70C5 #80

Merged

Conversation

ramundomario
Copy link
Contributor

@ramundomario ramundomario commented Dec 4, 2024

Support new Govee Christmas String Lights 2 H70C4 (20m) & H70C5 (30m)

Resolves #62

Second bonus commit to add prompt_toolkit to dev dependencies to be able to run the CLI

Support new Govee Christmas String Lights 2 H70C4(20m) & H70C5 (30m)

See Galorhallen#62
To be able to run the `example/main.py` CLI
Comment on lines +215 to +216
"H70C4": create_with_capabilities(True, True, True, 10, True),
"H70C5": create_with_capabilities(True, True, True, 10, True),
Copy link
Contributor Author

@ramundomario ramundomario Dec 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 Verified with the app that my lights H70C5 has ten segments.
Not sure for the H70C4 since I don't have it.
I don't know if we could take the info from somewhere, at least on the website seems not mentioned.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
first of all, thanks for the PR
In this case I would leave the H70C4 with the segments control disabled (segments count to 0).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋
Done in 48089a7 🚀

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
I have H70C4 and I can control 10 segments through an app
IMG_1579

Copy link
Contributor Author

@ramundomario ramundomario Dec 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice @matiqos, thanks for the check!
@Galorhallen so previous commit dropped 😅

@ramundomario ramundomario marked this pull request as ready for review December 5, 2024 18:38
ramundomario added a commit to ramundomario/govee-local-api that referenced this pull request Dec 6, 2024
Since we don't know exactly the segments of this strip

See Galorhallen#80 (comment)
@ramundomario ramundomario force-pushed the feature/support-H70C4-H70C5 branch from 48089a7 to 9ba8cc4 Compare December 6, 2024 09:04
@Galorhallen Galorhallen merged commit 10c7c00 into Galorhallen:develop Dec 10, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

Please add support for H70C4
3 participants