I've got a monitor one running a custom monitor edge firmware. I am using a very basic sleep hibernate setup. After a minute or 2 the device wakes up with pin_reset. I am using the protoboard with a couple wires soldered onto analog input pins and a wire for 3v3 and gnd. Why would this be waking up after a minute?
You need to use the Monitor Edge EdgeSleep functions instead of the base Device OS sleep functions when using Monitor Edge.
The reason is that the Device OS sleep functions won't shut down the Monitor One peripherals, including the watchdog timer, and that's probably what's waking up the device.
Thanks @rickkas7
It appears in all my logs that the sleep function is never entered into and it is always disabled. I see here in the console that I cannot enable the sleep function. When I run this in the code I get a return value of 1:
Edge::instance().init();
Serial.printlnf("Sleep mode disabled? %d", (int)EdgeSleep::instance().isSleepDisabled());
This is the console for the device. But monitor-edge only has a v1 and v2.
How do I enable the EdgeSleep?
I think your product may be configured as a Tracker One product, not a Monitor One product. You can change it using the Configuration Schema tool. Once you change it and enable sleep in the console it should report sleep as enabled.


