Giter Club home page Giter Club logo

kindleweatherdisplay's Introduction

Kindle Weather Display

All original files were created by Matthew Petroff and can be found here: http://www.mpetroff.net/archives/2012/09/14/kindle-weather-display/. I've included a copy of his original files for reference but I highly recommend reading his blogpost on this process.

Sever files were modified by shatteredhaven. Tutorial and files can be found here: http://www.shatteredhaven.com/2012/11/1347365-kindle-weather-display.html. Leave a comment or send a tweet (@shatteredhaven) if you have any questions or concerns.

Folder Contents

Modified Files

The Raspberry Pi folder contains the files I customized to run the Kindle Weather Display with date/time display on a Raspberry Pi web server.

Raspberry Pi folder (contents to be placed on linux webserver)

  • weathercrontab - example of crontab job to run weather-script.sh at 2 hour intervals
  • weather-script.py - modified version to add date and time calculations. NOTE: This file will need to be modified to reflect your proper latitude and longitude.
  • weather-script-output.png - PNG of latest weather data fetch
  • weather-script-output.svg - SVG of latest weather data fetch
  • weather-script-preprocess.svg - template for weather data. Includes place holder for date and time (called DATE_VALPLACE)

5 Days of the Week Defined (to replace files on linux webserver)

  • weather-script.py - modified to print each day of the week as opposed to Today, Tomorrow, etc
  • weather-script-preprocess.svg - modified to shift the current day's

Original Files By Matthew Petroff

These are the unmodified files by Matthew Petroff

Server Folder

  • weather-script.py - python script
  • weather-script.sh - shell script to run python script, write to SVG and generate a PNG file
  • weather-script-output.svg - SVG with data written to it
  • weather-script-preprocess.svg - template SVG file

Kindle Folder

  • display-weather.sh - to be placed in weather folder on Kindle (you must create this folder)
  • init-weather.sh - to be placed in kite/ondrop folder (once created)
  • weather-image-error.png - to be placed in weather folder on Kindle

kindleweatherdisplay's People

Contributors

shatteredhaven avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.