A clone of Sofaskin-CW9009 https://wx.unbl.ink

Josh Smith a399861cd9 Error message folder 8 vuotta sitten
NOAA 0b5cc7d90e Add files via upload 8 vuotta sitten
RSS 0b5cc7d90e Add files via upload 8 vuotta sitten
bin 2884c2c264 historygenerator.py 8 vuotta sitten
css d4f5f5c3e6 Updated CSS for small screens, added wind chill records 8 vuotta sitten
error a399861cd9 Error message folder 8 vuotta sitten
icons 0b5cc7d90e Add files via upload 8 vuotta sitten
js dfbc4e1640 Add warning if the weather data is old (more than 30 min old). 8 vuotta sitten
403.html 83f744ac2d Added 403 error page 8 vuotta sitten
404.html 0b5cc7d90e Add files via upload 8 vuotta sitten
500.html 86df80b194 Added 404 and 500 error pages 8 vuotta sitten
LICENSE 724cdd13a3 Initial commit 8 vuotta sitten
LICENSE.txt 0b5cc7d90e Add files via upload 8 vuotta sitten
README.md 54fae3490c Added documentation for old data alert. 8 vuotta sitten
Screenshot.png 0b5cc7d90e Add files via upload 8 vuotta sitten
favicon.ico 724734b237 Updated touch and favicon icons. 8 vuotta sitten
index.html.tmpl a745059e89 Better handling of station ids 8 vuotta sitten
month.html.tmpl a745059e89 Better handling of station ids 8 vuotta sitten
robots.txt 0b5cc7d90e Add files via upload 8 vuotta sitten
skin.conf ff725de34b Created variables for network links 8 vuotta sitten
station.html.tmpl a745059e89 Better handling of station ids 8 vuotta sitten
summary.html.tmpl a745059e89 Better handling of station ids 8 vuotta sitten
text.php.tmpl a745059e89 Better handling of station ids 8 vuotta sitten
touch-icon.png 724734b237 Updated touch and favicon icons. 8 vuotta sitten
week.html.tmpl a745059e89 Better handling of station ids 8 vuotta sitten
year.html.tmpl a745059e89 Better handling of station ids 8 vuotta sitten

README.md

Sofaskin-CW9009

CW9009 Meridian code modifications to Sofaskin web page for Weewx originally developed by Sven at http://neoground.com/projects/weewx. Please see the readme for dependency requirements to use this skin.

Sofaskin V1.1 is developed by Sven at Neoground: http://neoground.com/projects/weewx. This is a great template but I made some modifications to his code to suit my purpose. I also added some code from another template by dajda.net to make the history and NOAA Tables. There are also template updates from Björn Torkelsson, who as made some useful modification to the original Sofaskin-CW9009 template. A list of changes are listed below along with how to setup the history tables.

  • Added more variables in the skin.conf files to help customize the pages.
  • Removed monthly and yearly summary drop down list and added a separate summaries page.
  • Used all-time records weewx variables to create records table.
  • Added a station page for station history and information along with links to weather networks where data is sent.
  • Added Menu button for smaller screens.
  • Auto page refresh every ten minutes.
  • Added code from the dajda.net to produce history tables.The historygenerator.py script must be added to WeeWx in order for the - tables to work.
  • Created a PHP page template to view the NOAA climate text files.
  • Add warning if the weather data is old (more than 30 min old). (Written by Björn Torkelsson)

Responsive Menu:
I wanted to added a better responsive menu system that would use less vertical space on smartphones. I added code to make a menu button when viewed on using smaller screens.

screenshot_20161127-062548 screenshot_20161201-124209

History Table:
The historygenerator.py script was part of a template developed by http://www.dajda.net/index.html. More information on the template is available at http://www.dajda.net/about.html and the original template is available on GitHub at https://github.com/brewster76/fuzzy-archer. I had to modify the code in historygenerator.py to create the right html links in the NOAA climate summary table. I wrote a php page to display the summary.

template

Old Data Alert:
Displays an alert message in the header when weather data is X minutes old. The default is 30 minutes but this can be adjusted in the checkdiff.js file in the js folder.

olddata

Installation instructions:
Installing the template is just like installing most other skins. You need to place the skin files in it’s own folder in the /etc/weewx/skins directory. You also need to change the skin variable to the new skin directory name in the weewx.conf file under Standard Reports.

Example:
[[StandardReport]] skin = Sofaskin

Lastly, you need to put the historygenerator.py python script, in the bin/user folder, in the /usr/share/weewx/user directory. The skin.conf already as the code to use the tables so you don’t need to mess with that unless you want to changes the colors. You should update the variables in the skin.conf file to match your station information. More information on historygenerator.py and how to use the tables is available through the links below. https://github.com/brewster76/fuzzy-archer/blob/master/INSTALL

If you have problems, you can email me at josh@cw9009.x10host.com