I saw a link to someone using a Kindle as a weather display (Kindle Weather Display | Matthew Petroff) a few months back and was intrigued, but not quite enough to actually start on the project.
A week or so ago, I was trying to describe the E-9A TOU rates to my wife and her main comment was that it sounded complicated. I'm sure the fact that I kept confusing the E-9A times with the Schedule EV times was a significant contributor to her confusion (nothing causes more confusion than getting an explanation from someone who is already confused). Thus was born the Weather+EV display project:
Technical details:
It basically follows the flow from the original project, though with a few simplifications, especially on the Kindle side:
- There is only one script on the Kindle which is called from cron. It checks for the power process and stops it if necessary, eliminating the init script
- The server constructs the image on the fly rather than having dueling-banjos cron jobs. It takes a second or so to pull in all the information, but blocking one server process for 1 second seems like a small price to pay for the simplification
- The car information comes from the last output from my logging program rather than hitting the Tesla REST server again.
Unfortunately, because of the trickiness of jailbreaking the Kindle and the server config, it's not really something that's possible to package up for others to use, but hopefully can serve as inspiration for others of a technical bent.
In the next phase of the project, I'm hoping to move it to a wood frame like Kindle Weather Recycling Station - Imgur with help from a friend of mine who is expert at woodworking, in exchange for making a METAR display version of the same.
A week or so ago, I was trying to describe the E-9A TOU rates to my wife and her main comment was that it sounded complicated. I'm sure the fact that I kept confusing the E-9A times with the Schedule EV times was a significant contributor to her confusion (nothing causes more confusion than getting an explanation from someone who is already confused). Thus was born the Weather+EV display project:
Technical details:
It basically follows the flow from the original project, though with a few simplifications, especially on the Kindle side:
- There is only one script on the Kindle which is called from cron. It checks for the power process and stops it if necessary, eliminating the init script
- The server constructs the image on the fly rather than having dueling-banjos cron jobs. It takes a second or so to pull in all the information, but blocking one server process for 1 second seems like a small price to pay for the simplification
- The car information comes from the last output from my logging program rather than hitting the Tesla REST server again.
Unfortunately, because of the trickiness of jailbreaking the Kindle and the server config, it's not really something that's possible to package up for others to use, but hopefully can serve as inspiration for others of a technical bent.
In the next phase of the project, I'm hoping to move it to a wood frame like Kindle Weather Recycling Station - Imgur with help from a friend of mine who is expert at woodworking, in exchange for making a METAR display version of the same.