Is there a simple little code snippet I can use to test the wakeup from battery is working okay on my new Inky Frame (Spectra 7.3”)
I have written some code which works well both powered by either USB or battery and at the end of it I am calling inky_frame.sleep_for(x) which shuts the frame down when on battery.
My expected behaviour is that the frame will restart and the program will be rerun after x minutes, or I should be able to wake the frame up using one of the front buttons. But this never happens. The only way I can wake the frame up is using the reset button. I am following all of the steps I can see such as holding power up at the start of the program (even tried putting that im boot.py on its own) RTC clock has been set, alarm flags cleared etc and I have tried different batteries/battery packs with the same result in all cases.
What I would like to try is a simple bit of code that is known to work and behave properly - so I can rule in our out my own code and/or hardware. Firmware is pico2_w_inky v1.26.1
Just to add to this, I found “inky_frame_rtc_demo.py” in the examples provided with the 1.26.1 firmware - it doesn’t work as written as it calls NetworkManager which isn’t included ! but I replaced that, and that only in the script importing inky_helper and using network_connect instead.
The results are the same. On battery it runs once and once only after pressing the reset button. It doesn’t wake up again either from rtc or via the buttons (except for reset button).
I am concluding its either a hardware problem or a firmware/library functions issue.
I bought the inky frame to run on batteries, waking up every 30 minutes, do an update and shutdown, so if I can’t do that its not much use!
Obviously if anyone can find time to run that example and let me know if it works for you or not that would be appreciated.
Ok, this is strange, since the wakeup (which is actually a power-up) is implemented in hardware. So I would suggest to email support and ask for help. I don’t have this specific Inky-Frame, so I can’t check myself.