1
0
Fork 0
forked from wezm/wezm.net

Bug fixes (to content)

This commit is contained in:
Wesley Moore 2013-01-13 12:20:55 +11:00
parent 5c88d97cdd
commit d4f00409a1
3 changed files with 8 additions and 7 deletions

View file

@ -54,14 +54,14 @@ what I'm most interested in.
<figure> <figure>
<a href="/images/2010/09/_IM_9078-9080.jpg" rel="prettyPhoto[weather]"><img src="/images/2010/09/_IM_9078-9080-small.jpg" width="266" height="400" alt="The Finished Installation" /></a> <a href="/images/2010/09/_IM_9078-9080.jpg" rel="prettyPhoto[weather]"><img src="/images/2010/09/_IM_9078-9080-small.jpg" width="266" height="400" alt="The Finished Installation" /></a>
<figcaption>The Finished Installation</figcaption> <figcaption>The Finished Installation</figcaption>
<figure> </figure>
To log and upload the weather readings to [http://weather.wezm.net/][weather] To log and upload the weather readings to [http://weather.wezm.net/][weather]
I'm using the [wview][wview] weather station software. wview is running on the I'm using the [wview][wview] weather station software. wview is running on the
Mac mini connected to our TV. The site layout is pretty basic so I hope to come Mac mini connected to our TV. The site layout is pretty basic so I hope to come
up with a cleaner design in the coming weeks. up with a cleaner design in the coming weeks.
**Update:** I build a custom logging and charting solution. See the post, **Update:** I built a custom logging and charting solution. See the post,
[Weather Station Software][software]. [Weather Station Software][software].
[software]: /technical/2010/09/weather-station-software/ [software]: /technical/2010/09/weather-station-software/

View file

@ -16,7 +16,7 @@ functions for communicating with a LaCrosse WS-23xx weather station and a set
of tools. wview logged its observations to an SQLite database, which seemed of tools. wview logged its observations to an SQLite database, which seemed
appropriate for this application. There were tools in Open2300 to log current appropriate for this application. There were tools in Open2300 to log current
conditions to MySQL and PostgreSQL databases but not SQLite. So last weekend conditions to MySQL and PostgreSQL databases but not SQLite. So last weekend
I spend some of the afternoon learning enough of the SQLite C API to add I spent some of the afternoon learning enough of the SQLite C API to add
such a tool. The result is in my such a tool. The result is in my
[git mirror of the Open2300 SVN repo][open2300git]. Once the SQLite tool is [git mirror of the Open2300 SVN repo][open2300git]. Once the SQLite tool is
tidied up a bit more I'll submit it upstream. tidied up a bit more I'll submit it upstream.
@ -29,9 +29,10 @@ that wview was previously generated. To do this I wrote a small
[Lua tool][weather-tools] [Lua tool][weather-tools]
to query the database and output the results to a [JSON][json] file. The to query the database and output the results to a [JSON][json] file. The
JSON is used on the new [weather page][weather], which is largely populated JSON is used on the new [weather page][weather], which is largely populated
by Javascript and uses the [flot charting library][flot] to graph the by Javascript and uses the [flot][flot] and [dygraphs][dygraphs] libraries
temperature history. visualise the weather data.
[json]: http://www.json.org/ [json]: http://www.json.org/
[flot]: http://code.google.com/p/flot/ [flot]: http://code.google.com/p/flot/
[dygraphs]: http://dygraphs.com/
[weather-tools]: http://github.com/wezm/weather-tools [weather-tools]: http://github.com/wezm/weather-tools

View file

@ -26,7 +26,7 @@
<div class="rainfall week chart"></div> <div class="rainfall week chart"></div>
</section> </section>
<small>Forecast icons by <a href="http://lavana.deviantart.com/art/Flat-Weather-Icons-32021664">LavAna</a></small> <small>Forecast icons by <a href="http://lavana.deviantart.com/art/Flat-Weather-Icons-32021664">LavAna</a>. Data from my <a href="/personal/2010/09/weather-station/">weather station</a>.</small>
<script id="current-template" type="text/x-handlebars-template"> <script id="current-template" type="text/x-handlebars-template">
<div id="current"> <div id="current">
<figure class="forecast"> <figure class="forecast">