-
Notifications
You must be signed in to change notification settings - Fork 78
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
Device eventually stops waking from sleep using RTCZero 1.6.0 #62
Comments
Seems that I see a similar behavior using RTCZero in combination with the Radiohead library. I also make use of a Adafruit Feather M0-based with Lora 433 module on it. Also BME280 library is in use. While it was working for some years now, it started to stop from waking up after some random time (hours) with current build. I will do some tests now to see if this can be fixed using RTCZero 1.5.2. |
@moeskerv, Great to hear someone else is experiencing a similar behavior. Yes, please let us know the result of your test. |
Some results from my tests:
I now started to add the changes done between the two versions step by step to identify what change caused the issue. This will take some days.... |
@moeskerv, got it. This is my exact same experience as well. I'm glad to hear it is consistent between our setups and applications. Great, I look forward to your findings! Thank you |
As it seems this part of the changes done between version 1.5.2 and 1.6.0 causes the issue:
I will dig deeper to check which part exactly it is. |
Great sleuthing. Was there any progress here? |
@ryandamico, I'm still using 1.5.2 as a result in order to avoid the issue. |
Tossing my hat into the ring, I've got almost the same setup and noticed the same failure to wake from sleep after a few hours with 1.6.0, going to try 1.5.2 now to see if it stays working correctly. Hardware is the Adafruit Feather M0 with the built-in SX1276 LoRa module using RadioHead for interfacing with the module. |
I use RTCZero and MKRWAN and both separately work fine. |
Sounds like you're using 1.5.2! Perhaps there is a separate issue going on? I am using arduino-lmic successfully with 1.5.2. Either way there could be some sort of interactional issue in both of our cases. 1.5.2 fixed it for me w/ arduino-lmic, but that may not work with MKRWAN. |
Hello Everyone,
Great library, and it has served me well over the past couple years. Thank you for your hard work.
I recently encountered an issue with my Adafruit Feather M0-based board (SAMD21) when combining LMIC with RTCZero (same combo I have used successfully for two years). Essentially, RTCZero is used to sleep in-between Lorawan transmits.
It seems there is an issue with the combination of LMIC v3.2 (or later) and RTCZero 1.6.0. It's a bit sneaky, as if you test each library's functionality individually, everything functions correctly. However, when combined, the device becomes unresponsive (seemingly stuck in sleep, and does not emerge back to life) about a day of sleeps (at transmits every 15s, for testing reproducing purposes).
See cross-posted issue at LMIC: mcci-catena/arduino-lmic#588
tl;dr: It seems that downgrading RTCZero from 1.6.0 -> 1.5.2 solved the problem without breaking anything. Does this ring a bell for anyone?
Please note that in the LMIC issue, I note that the millis() values eventually turn negative. That is no longer happening with 1.5.2.
Thanks!
The text was updated successfully, but these errors were encountered: