Hi Hugo, thanks for the response. I realized I made a slight mistake in my original post. After re-seating the batteries on the sensor yesterday after making the post, it continued to wakeup and sleep every 30 minutes as intended, so it doesn’t seem as cut and dry as only waking up once after a power cycle as I had initially reported.
I had initially thought this was a hardware issue, but after reading your response, a software issue seems more likely. The code I used was mostly the same as the example code line I posted above, but I had modified these two variables to be the same, which I think may have introduced a race condition into my code, which produced the symptoms I was seeing. I went ahead and re-wrote the code to collect exactly one data point before reporting to the server, and it seems to be working better now. I will report back here if I start seeing the same behavior again.
Thanks for the help!