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

Freeze BMP readings before deepsleep #18720

Conversation

barbudor
Copy link
Contributor

Description:

Related issue (if applicable): fixes #18710

When DeepSleep is used, once BMP has been put to low-power/sleep mode, freezes all measurments until next restarts.
Prevent UI to display wrong value between the start of the deepsleep process and the actual deepsleep (as it seems there is a ~2 sec windows during which the GUI oculd be refreshed with wrong values)

To be tested by @FOTH156 - do not merge before

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.4.9
  • The code change is tested and works with Tasmota core ESP32 V.2.0.9
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@barbudor barbudor changed the title freeze readings before deepsleep Freeze BMP readings before deepsleep May 24, 2023
@arendst arendst marked this pull request as ready for review May 25, 2023 10:19
@arendst arendst merged commit 75f634d into arendst:development May 25, 2023
@barbudor barbudor deleted the issue-18710_bme_display_wrong_values_before_deepsleep branch June 9, 2023 19:03
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.

Web-UI displays wrong BMx280 results during deepsleep
2 participants