A clone of Sofaskin-CW9009 https://wx.unbl.ink
|
8 سال پیش | |
---|---|---|
NOAA | 8 سال پیش | |
RSS | 8 سال پیش | |
bin | 8 سال پیش | |
css | 8 سال پیش | |
icons | 8 سال پیش | |
js | 8 سال پیش | |
404.html | 8 سال پیش | |
LICENSE | 8 سال پیش | |
LICENSE.txt | 8 سال پیش | |
README.md | 8 سال پیش | |
Screenshot.png | 8 سال پیش | |
favicon.ico | 8 سال پیش | |
index.html.tmpl | 8 سال پیش | |
month.html.tmpl | 8 سال پیش | |
robots.txt | 8 سال پیش | |
skin.conf | 8 سال پیش | |
station.html.tmpl | 8 سال پیش | |
summary.html.tmpl | 8 سال پیش | |
text.php.tmpl | 8 سال پیش | |
touch-icon.png | 8 سال پیش | |
week.html.tmpl | 8 سال پیش | |
year.html.tmpl | 8 سال پیش |
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.
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.
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.
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.
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