Kindle/Weather Display

From Wiki
< Kindle
Revision as of 15:56, 27 October 2012 by Marcluer (talk | contribs)

Based on http://www.mpetroff.net/archives/2012/09/14/kindle-weather-display/

modified for Kindle Touch 5.1.2


/mnt/us/scripts/init-weather.sh

#!/bin/sh

initctl stop framework
initctl stop powerd

/mnt/us/scripts/display-weather.sh


/mnt/us/scripts/display-weather.sh

#!/bin/sh

cd "$(dirname "$0")"

rm weather-script-output.png
eips -c
eips -c

if wget http://server/path/to/weather-script-output.png; then
	eips -g weather-script-output.png
else
	eips -g weather-image-error.png
fi