Closed thomas-lentz closed 5 years ago
Teleperiod get resetted with every deepsleep. It is not stored in rtc memory. If you set teleperiod to 10 the device will do a measurement ASAP and go back to sleep, if you set it to 20 then the device will wait 20 sec after restart to do the measurements. Letting other stuff stabilize. Then do the measurements and go to deepsleep. All my garden sensors work with teleperiod 10.
Hi Stefan, thanks for the explanation and responding so fast.
If the deepsleep period is smaller than the teleperiod period the device consequently never goes to sleep or am I wrong?
wrong. deepsleep is always the sleep time and does not recalculate the time is awake. Therefore it is nearly impossible to let the device wake-up every hour exact at the same time. An interesting feature, but not implemented now. the time between two measurements is deepsleep + online time. The last can vary a bit from time to time depending on how fast the network came up an e.g. the time-server response.
Okay, I understood - thank you.
Hi Stefan, first a short but big "Thank You" for your excellent work!
ISSUE DESCRIPTION - TROUBLESHOOTING
Before asking I checked your Wiki, but couldn't find any detailled Information. Here what I could get and what I couldn't get:
deepsleep=xxx [sec, 15s<=xxx<=136 Years] xxx defines the time in seconds the device goes to sleep until it wakes up again (without external triggers).
teleperiod=xxx [sec, 10s<=xxx<=300s] Intervall the sensor data is reported
REQUESTED INFORMATION
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED