• Stars
    star
    1,212
  • Rank 38,665 (Top 0.8 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Power efficient dashboard for Kindle 4 NT devices

Low-power Kindle dashboard

Turns out old Kindle devices make great, energy efficient dashboards :-)

What this repo is

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 code does 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 a dashbling dashboard that I render into a PNG screenshot on a server. See here for information on how these PNGs should be produced, including some sample code.

Prerequisites

  • A jailbroken Kindle, with Wi-Fi configured.
  • An SSH server on the Kindle (via USBNetwork)
  • Tested only on a Kindle 4 NT. Should work on other Kindle devices as well with minor modifications.

Installation

  1. Download the latest release on your computer and extract it.
  2. Modify local/fetch-dashboard.sh and optionally local/env.sh.
  3. Copy the files to the Kindle, for example: rsync -vr ./ kindle:/mnt/us/dashboard.
  4. 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.

Upgrading

If you're running kindle-dash already and want to update to the latest version follow the following steps.

  1. Download the latest release on your computer and extract it.
  2. Review the release notes. Some releases might require changes to files in local/.
  3. Copy the files to the Kindle, excluding the local directory. For example: rsync -vur --exclude=local ./ kindle:/mnt/us/dashboard.
  4. Modify files in /mnt/us/dashboard/local if applicable.
  5. 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.

KUAL

If you're using KUAL you can use simple extension to start this Dashboard

  1. Copy folder kindle-dash from KUAL folder to the kual extensions folder. (located in /mnt/us/extensions)

How this works

  • 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.

Notes

  • The releases contain a pre-compiled binary of the ht command-line HTTP client. This fully supports modern HTTPS crypto, wheras the built-in curl and wget commands don't (because they rely on a very old openssl library).

Credits

Thanks to davidhampgonsalves/life-dashboard for the inspiration!

More Repositories

1

dashbling

Hackable React based dashboards for developers, inspired by Dashing.
TypeScript
469
star
2

Airplayer

Python script to make media playing software Apple Airplay compatbible. Currently supports XBMC, Plex and Boxee.
Python
333
star
3

jekyll_indextank

Jekyll + indextank = Static websites with powerful full-text search
Ruby
178
star
4

PDColoredProgressview

A UIProgressview subclass with support for setting a tint color instead of the boring default blue.
Objective-C
152
star
5

django-webpack-boilerplate

Django + Webpack without glue plugins
Python
77
star
6

pragma

Pragma is a self-hosted, open-source, personal note taking app.
OCaml
42
star
7

go-alfred

Utility library for creating lightning fast Alfred 2 workflows
Go
26
star
8

pragma-rest-client

Pragma, the pragmatic visual HTTP/REST client
JavaScript
18
star
9

remarkable-wifi-conf

Utility to configure WiFi on the Remarkable paper tablet via the CLI. For WiFi networks with password characters unsupported by the Remarkable software keyboard.
Python
6
star
10

11ty-boilerplate

11ty boilerplate with Webpack, Sass and Babel
JavaScript
4
star
11

PWFakeWeb

Stub out HTTP requests for testing HTTP related Objective-C code.
Objective-C
4
star
12

remark-js-livereload-boilerplate

Remark.js + livereload boilerplate
HTML
2
star
13

java-boot-demo

Java
1
star
14

jFactory

jFactory - easy object factories for Java
Java
1
star
15

docker-varnish-alpine-mods

Docker image for Varnish based on Alpine Linux, includes vmods
Dockerfile
1
star
16

nextcloud-on-this-day

Nextcloud photo stream of photos on this day in the past
Crystal
1
star
17

liveview-dashboard

Elixir
1
star
18

advent-of-code

OCaml
1
star