Re:Show HN: Low-power Kindle-based dashboard
by misterdata on Thursday January 28, 2021 @01:41PM
(#25946742)
I wrote something like this using reqwest for a Waveshare 7.5inch display. Also includes a dithering step so all that is needed is a web server serving an image. No conditional requests though but should be easy to add. It is fully statically compiled (even uses musl and rustls), runs on a very bare-bones Linux environment on a Raspberry.
Re:Show HN: Low-power Kindle-based dashboard
by PascalW on Thursday January 28, 2021 @03:00PM
(#25948156)
Nice work!
Re:Show HN: Low-power Kindle-based dashboard
by tyingq on Thursday January 28, 2021 @01:27PM
(#25946442)
If it's really just the screen refresh that's to be avoided, I think just comparing old download /new download with "diff -q" would be a reasonable solution. Of course, perhaps the Kindle doesn't have a diff binary. But maybe it has "sum" or "md5sum" or something else in that space.
If anyone knows an easy way to compile curl with statically linked openssl, let me know!
It would also not be difficult to build a small custom client based on Hyper or Reqwest.
Though I'm not sure if it would actually make a large difference with only 20 screen refreshes per day.