- Notifications
You must be signed in to change notification settings - Fork36
Power efficient dashboard for Kindle 4 NT devices
License
pascalw/kindle-dash
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Turns out old Kindle devices make great, energy efficient dashboards :-)
This repo only contains the code that runs on the Kindle. It periodically fetches an image to be displayed on the screen and suspends the device to RAM (which is very power efficient) until the next screen update.
This codedoes not render the dashboard itself. It's expected that what to display on the screen is rendered elsewhere and can be fetchd via HTTP(s). This is both more power efficient and allows you to use any tool you like to produce the dashboard image.
In my case I use adashbling dashboard that I render into a PNG screenshot on a server. Seehere for information on how these PNGs should be produced, including some sample code.
- A jailbroken Kindle, with Wi-Fi configured.
- An SSH server on the Kindle (viaUSBNetwork)
- Tested only on a Kindle 4 NT. Should work on other Kindle devices as well with minor modifications.
- Download thelatest release on your computer and extract it.
- Modify
local/fetch-dashboard.sh
and optionallylocal/env.sh
. - Copy the files to the Kindle, for example:
rsync -vr ./ kindle:/mnt/us/dashboard
. - Start dashboard with
/mnt/us/dashboard/start.sh
.
Note that the device will go into suspend about 10-15 seconds after you start the dashboard.
If you're running kindle-dash already and want to update to the latest version follow the following steps.
- Download thelatest release on your computer and extract it.
- Review the release notes. Some releases might require changes to files in
local/
. - Copy the files to the Kindle, excluding the
local
directory. For example:rsync -vur --exclude=local ./ kindle:/mnt/us/dashboard
. - Modify files in
/mnt/us/dashboard/local
if applicable. - Start dashboard with
/mnt/us/dashboard/start.sh
.
Note that the device will go into suspend about 10-15 seconds after you start the dashboard.
If you're using KUAL you can use simple extension to start this Dashboard
- Copy folder
kindle-dash
fromKUAL
folder to the kualextensions
folder. (located in/mnt/us/extensions
)
- This code periodically downloads a dashboard image from an HTTP(s) endpoint.
- The interval can be configured in
dist/local/env.sh
using a cron expression. - During the update intervals the device is suspended to RAM to save power.
- The releases contain a pre-compiled binary of theht command-line HTTP client. This fully supports modern HTTPS crypto, wheras the built-in
curl
andwget
commands don't (because they rely on a very oldopenssl
library).
Thanks todavidhampgonsalves/life-dashboard for the inspiration!
About
Power efficient dashboard for Kindle 4 NT devices