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

Add sensirion SHT4x and miscale update #777

Merged
merged 3 commits into from
Mar 18, 2022
Merged

Add sensirion SHT4x and miscale update #777

merged 3 commits into from
Mar 18, 2022

Conversation

Ernst79
Copy link
Collaborator

@Ernst79 Ernst79 commented Mar 15, 2022

Old behavior
The scale reports multiple ble packets each time it is used and sends the stabilized weight before the impedance has been calculated. The scale also reports an impedance value (if calculated) when the weight is removed.

The integration reported on each ble data packet received (via different sensors). This resulted in the weight and impedance sensors being updated multiple times and at different times with the impedance attribute in the weight sensor to hold the old value initially.

New behavior
The person using the scale must wait until the white bars flash - this indicates the impedance has been calculated. If they do not wait, neither the weight sensor or impedance sensor will update.

The integration will report once per activation of the scale with a stabilized weight (weight sensor) and impedance (impedance sensor). These sensors will update almost simultaneously.

@Ernst79 Ernst79 merged commit ca88318 into master Mar 18, 2022
@delete-merged-branch delete-merged-branch bot deleted the Mi-Scale-update branch March 18, 2022 07:55
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.

1 participant