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

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

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