Closed WL-Richards closed 5 months ago
Bump I need someone to test this on a WeatherChimes device with a TippingBucket attached
Parameters for success: WeatherChimes device can fall asleep and wake back up even when a tip occurs, in the interim. In addition test to see if when the interrupt for the next sample is triggered during the currently awake period of the device it should reschedule another interrupt.
Before going to sleep we would always check the alarm to see if we should enter sleep mode or resample, however, if the device wasn't fully powered on (ie. tipping bucket tip). Attempting to access the RTC would likely result in a hang. So a check has been added to see if the device was actually powered on before calling the RTC methods. It needs to be tested.