Skip to content

Empty values after deep sleep #7

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

Open
guillebot opened this issue Jun 8, 2023 · 2 comments
Open

Empty values after deep sleep #7

guillebot opened this issue Jun 8, 2023 · 2 comments

Comments

@guillebot
Copy link

Hi! I'm trying to use your project, since I'm finding it very nice and tidy. Congrats, and thank you.

It works mostly, but sometimes after deep sleep it just sends a empty payload and goes to sleep again.

Even with correct DHT measurements (I had to add a little delay there in order to give it time to turn on). Could be that?

I added 3 seconds split in 3 delay() calls.

Any hint would be very welcomed.

Thanks

@guillebot
Copy link
Author

More info:

It seems like it just wake up and send the message, then goes to taking the measures and sleep again

PowerUp...
21326936: EV_TXSTART <----- sends empty packet
Delay ...done! <--- my delay
DHT: OK
DHT Model: 2
27.80 %
27.40 °C
A0: 166
Packet queued
21706732: EV_TXCOMPLETE . .
PowerDown...

@guillebot
Copy link
Author

This gets a lot worse with 8 seconds sleep, when I change the internal timer to 0.5 or 1.0 seconds it works almost allways.

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

1 participant