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

Data for newer scales #254

Open
jefflewis opened this issue Jan 22, 2023 · 1 comment
Open

Data for newer scales #254

jefflewis opened this issue Jan 22, 2023 · 1 comment

Comments

@jefflewis
Copy link

I bought this scale on Amazon last week. The data on mine does not match up to the research here. I don't know if I'll open a PR here for some of the documentation, or just link to a new repo with my test data.

I've so far been doing the detection and parsing in Swift, so it wouldn't be a drop in replacement.

Of note: the services are different and the UInt8 data array has a different length and position of values than what I see in the packet package here.

Thanks for the inspiration in this repo! It really help bootstrap me and where to look in the array for the various values and to combine the two UInt8 values for a single UInt16 for the weight value.

@hertzg
Copy link
Owner

hertzg commented Feb 1, 2023

Hi Jeff! Glad you found this useful.

You can use the demo script to run the demo app in the browser and test it.

$ yarn run demo

should do the trick.

Regarding objects not matching, that's most likely due to a newer firmware, I have the old one still and it works like a charm. If you can provide the data samples maybe we can incorportate that version as well.

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