Skip to content

Chrivers/normalization #44

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

Merged
merged 103 commits into from
Jan 17, 2025
Merged

Chrivers/normalization #44

merged 103 commits into from
Jan 17, 2025

Conversation

chrivers
Copy link
Owner

This MR integrates a large number of fixes for the Hue Api model.

It is based on testing the API models on real-world data samples provided by volunteers.

Thanks to @hendriksen-mark @tbgoose @AndersTrier @joeblack2k and others for providing sample data for testing.

Also new in this MR is the program examples/normalize-hue-get.rs, which reads data dumps from hue bridges, and encodes/decodes them through the Bifrost hue api models.

Anything that does not come out exactly the same, is reported as an error.

This has helped tremendously in finding weird edge cases in the api models.

@chrivers chrivers force-pushed the chrivers/normalization branch 2 times, most recently from abbe324 to 18c8673 Compare January 15, 2025 20:58
…odels. Use clap_stdin to simplify stdin handling
…wer-case mac address (as seen in real hue dumps)
@chrivers chrivers force-pushed the chrivers/normalization branch from 18c8673 to f3f5c82 Compare January 17, 2025 17:12
@chrivers chrivers merged commit 14ae248 into master Jan 17, 2025
1 check passed
@chrivers chrivers deleted the chrivers/normalization branch January 17, 2025 17:16
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.

2 participants