Quote:
Originally Posted by FalconFour
Excellent win here... by the power of Claude Code ripping through the codebase and applying ideas and transformations, I managed to create a near-entirely-new version of this extension that takes a totally different approach. Instead of relying on complex internal timers and recovery techniques, we just ask the OS framework to do our bidding. Everything is now entirely based on events - device wakes? Update the image. Device is about to enter deep sleep? Set a future RTC wake time based on the scheduler. That's it.
By dramatically simplifying the code paths, I'm now on target for a full week of battery life on a charge, updating every 8 minutes during the day and 30 minutes at night. It hasn't missed a single update.
Check it out: https://github.com/FalconFour/onlinescreensaverPW2
I'll keep the Github repo updated with whatever new fixes I find it needs.
|
Thanks a lot for this, I've got it almost working and I hope you can help. So my Kindle (PW2 - 6th gen, DP75SDI) seems to be updating images from my server but it does distort them. When I update manually, or just put Kindle to sleep it looks good but just for a few seconds and then it distorts the image. When it updates itself from server it's distorted straight away and again when I put it to sleep it looks good just for a few seconds. I've attached photos of my test grid working and distorted (only horizontally).
I suspect it'll be something with resolution of my images? I've tried 758x1024 and 768x1024 px both with the same results. I did nothing special to images, just exported them out from Figma.
I'm nearly there, maybe I'm missing something?
Thanks!