I think I’ve got it working now. I ran a variation of the test you suggested, I just put a 60 second deep sleep in the Trunk commands. When I hit the trunk button on my webapp it put the Core into sleep for 60 seconds. So I knew the problem must be in my if or time commands. I deleted the Serial.print (see below) and retested and now the deep sleep works.
Thanks again for your help!
/* This function loops forever --------------------------------------------*/
void loop()
{
//Go to sleep at 11:00PM CST till 6:30AM
if(Time.hour() == 5)
{
Spark.sleep(SLEEP_MODE_DEEP,27000);
}
if(pressUnlock == true)
I’ve edited your post to properly format the code. Please check out this post, so you know how to do this yourself in the future. Thanks in advance! ~Jordy