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

Josh Smith b14bb7e76d Merge branch 'master' into TabsToSpaces 7 lat temu
NOAA 0b5cc7d90e Add files via upload 8 lat temu
RSS 0b5cc7d90e Add files via upload 8 lat temu
bin 7b41dec88f Update table element tags for HTML5 7 lat temu
css ca164e9e16 Added CSS classes for camera slideshow 7 lat temu
error a399861cd9 Error message folder 8 lat temu
icons 0b5cc7d90e Add files via upload 8 lat temu
js dfbc4e1640 Add warning if the weather data is old (more than 30 min old). 8 lat temu
LICENSE 724cdd13a3 Initial commit 8 lat temu
LICENSE.txt 0b5cc7d90e Add files via upload 8 lat temu
README.md c246b08b23 Added mention of slideshow feature 7 lat temu
Screenshot.png 0b5cc7d90e Add files via upload 8 lat temu
favicon.ico 724734b237 Updated touch and favicon icons. 8 lat temu
index.html.tmpl b14bb7e76d Merge branch 'master' into TabsToSpaces 7 lat temu
month.html.tmpl efdfaadc5a Cleaned up formating in `month.html.tmpl` 7 lat temu
robots.txt 0b5cc7d90e Add files via upload 8 lat temu
skin.conf c6d256700d Updated page with a web camera slideshow feature 7 lat temu
station.html.tmpl 2d7b91786a Cleaned up formating in `station.html.tmpl` 7 lat temu
summary.html.tmpl 6507c89623 Cleaned up formating in `summary.html.tmpl` 7 lat temu
text.php.tmpl b14bb7e76d Merge branch 'master' into TabsToSpaces 7 lat temu
touch-icon.png 724734b237 Updated touch and favicon icons. 8 lat temu
week.html.tmpl b14bb7e76d Merge branch 'master' into TabsToSpaces 7 lat temu
year.html.tmpl b14bb7e76d Merge branch 'master' into TabsToSpaces 7 lat temu

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. An Italian version of these directions are available at http://micae.it/2017/12/28/sofaskin-italiano/.

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 suit my needs. I also added some code from another template by dajda.net to make the history and NOAA Tables. There is also code additions from Björn Torkelsson. A list of the changes are listed below along with instructions 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)
  • Replaced javascript code in the web camera section of index.html with CSS slideshow to allow for more than two web cameras

Responsive Menu:
I added a better responsive menu system that would use less vertical space on smaller screen sizes.

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 modify the code in historygenerator.py to create the right html links in the NOAA climate summary table and wrote a php page to view 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

You also need to put the historygenerator.py python script, in the /usr/share/weewx/user directory. The skin.conf already has the code to use the tables so you don’t need to mess with that unless you want to change the colors. 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

IMPORTANT: You should update the variables in the EXTRA section of the skin.conf file to match your station information. Example section below:

[Extras]

# Template Extras

# Website URL
# web_url = 

# Current radar image
#radar_img = 
# Current radar animation (starts on radar_img hover)
#radar_gif = 
# Hyperlink for radar
#radar_url = 

# Lightning map and hyperlink
#lightning_map = http://images.lightningmaps.org/blitzortung/america/index.php?map=usa&period=0.25
#lightning_url = http://www.lightningmaps.org/realtime 

# URL for another radar (for example full Europe, Frankfurt center)
#radar_url_alt = 
#radar_url_alt_text = 

# You. Only shows up in footer
#you = "Your Name"
#emailname = "Email"
#email = ""

# Camera link
# camera and cameratitle are arrays of the camera links and camera names. 
#cameratitle = "Linder - McMillan", "Ten Mile - McMillan"
#camera = http://www.achdidaho.org/ATIS/CCTV/CCTV_677.jpg, http://www.achdidaho.org/ATIS/CCTV/CCTV_664.jpg

# Google Analytics ID
#googleAnalyticsId = 

#CWOP
#cwop = 
#cwop_url = 

#mesowest
#mwest = 
#mwest_url = 

#weather underground
#wunderground = 
#wu_url = 

#CoCoRaHS
#crahs = 
#crahs_url = 

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