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

executeDelayed executions increases #110

Open
GSzabados opened this issue Jun 27, 2022 · 0 comments
Open

executeDelayed executions increases #110

GSzabados opened this issue Jun 27, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@GSzabados
Copy link

Description of the problem

Versions

  • ESPMQTTClient lib: -put version number here-
  • PubSubClient lib: -put version number here-
  • Arduino ESP32 / ESP8622 core: -put version number here- (To update it go to the arduino board manager and update ESP32 / ESP8266)

Hardware

  • Board type : ESP32 or ESP8266 ?
  • Board model : (ex: Wemos D1 Mini)

Logs

Content of the log here

C++ code

Put the content of your code here when needed

It is just a general question about executeDelayed, as I can see some weird behavior that I cannot explain.

My code does a reading of a remote sensor, and delays the next reading by 24 hours, which generally works. Unless the remote sensor is not replying, then it does an executeDelayed for 1 hour to repeat and try again.

After an extended period of time, I can see an increased number of sensor reads for a 24 hour period. It started with 2, then increased to 4, then 7, now I have 13, maybe 14 of executions. It really should be 1 read per every 24 hour.

Does the executeDelayed is persistent between reboots/power cycles. Or what is the right way to flush any executeDelayed tasks.

Thanks in advance for the answer.

@GSzabados GSzabados added the bug Something isn't working label Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant