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

Josh Smith aa9d0ebb96 Update text.php.tmpl 8 anos atrás
NOAA 0b5cc7d90e Add files via upload 8 anos atrás
RSS 0b5cc7d90e Add files via upload 8 anos atrás
bin 2884c2c264 historygenerator.py 8 anos atrás
css 0b5cc7d90e Add files via upload 8 anos atrás
icons 0b5cc7d90e Add files via upload 8 anos atrás
js 0b5cc7d90e Add files via upload 8 anos atrás
404.html 0b5cc7d90e Add files via upload 8 anos atrás
LICENSE 724cdd13a3 Initial commit 8 anos atrás
LICENSE.txt 0b5cc7d90e Add files via upload 8 anos atrás
README.md e6954f1485 Create README.md 8 anos atrás
Screenshot.png 0b5cc7d90e Add files via upload 8 anos atrás
favicon.ico 0b5cc7d90e Add files via upload 8 anos atrás
index.html.tmpl 0b5cc7d90e Add files via upload 8 anos atrás
month.html.tmpl 0b5cc7d90e Add files via upload 8 anos atrás
robots.txt 0b5cc7d90e Add files via upload 8 anos atrás
skin.conf 3116493496 Update skin.conf 8 anos atrás
station.html.tmpl 0b5cc7d90e Add files via upload 8 anos atrás
summary.html.tmpl 0b5cc7d90e Add files via upload 8 anos atrás
text.php.tmpl aa9d0ebb96 Update text.php.tmpl 8 anos atrás
touch-icon.png 0b5cc7d90e Add files via upload 8 anos atrás
week.html.tmpl 0b5cc7d90e Add files via upload 8 anos atrás
year.html.tmpl 0b5cc7d90e Add files via upload 8 anos atrás

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 http://www.dajda.net to make the history and NOAA Tables. 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.

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

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