Niculskin is a skin for the weewx project. See the README for more information.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin/user
skins
.gitignore
CHANGELOG
CONTRIBUTING.md
LICENSE
README.md
install.py
screenshot_1.png
screenshot_2.png

README.md

Theme for weewx weather station

Niculskin is a skin for the weewx project. It is based on two other skins:

  1. Sofaskin for Weewx
  2. Bootstrap skin for Weewx

Canonical source

The cannonical source of Niculskin is hosted on GitLab.com.

Installation

The skins have been testet with weewx 3.5.0 and sqlite database.

With extension package

  1. Clone this repository to your machine, where weewx is installed.
  2. Create an extension archive:
$ git archive master --prefix=niculskin/ | gzip > ../niculskin.tar.gz

Install it using the Weewx extension installer.

  • If you have installed weewx yourself:
$ cd /home/weewx # or where your base install is /home/weewx
$ bin/wee_extension --install=[wherever you have put the .tar.gz archive]
  • If you used the Debian installer:
$ sudo wee_extension --install=[wherever you have put the .tar.gz archive]

Manual installation

In order to install this skin into your weewx installation follow these steps:

  1. Clone this repository to your machine, where weewx is installed.
  2. Stop the weewx service.
  3. Copy the files in bin/user to $WEEWX_ROOT/user. default: /usr/share/weewx/user
  4. Copy the directories skins/languages and skins/niculskin to $WEEWX_ROOT/skins.

Configuration

No matter how you installed the skin, you should configure it afterwards to you needs. Here's how:

  1. Edit your $WEEWX_ROOT/weewx.conf and set skin in the section StdReport so it will look something like this:
[StdReport]

    # Where the skins reside, relative to WEEWX_ROOT
    SKIN_ROOT = skins

    # Where the generated reports should go, relative to WEEWX_ROOT
    HTML_ROOT = public_html

    # The database binding indicates which data should be used in reports.
    data_binding = wx_binding

    # Each of the following subsections defines a report that will be run.

    [[StandardReport]]
        # See the customizing guide to change the units, plot types and line
        # colors, modify the fonts, display additional sensor data, and other
        # customizations. Many of those changes can be made here by overriding
        # parameters, or by modifying templates within the skin itself.

        # The StandardReport uses the 'Standard' skin, which contains the
        # images, templates and plots for the report.
        #        skin = Standard
        skin = niculskin
  1. Edit $WEEWX_ROOT/skins/niculskin/skin.conf and set Language to your language. It should look like this:
[Language]

    #
    # Set a language below and labels will be overridden with any that are specified in
    # skins/languages/[language].conf
    #
    # Choices are: dutch, espanol, finnish, francais, italian, german

    language = german
  1. Set the page title and page footer through the [niculskinLabels] section in skins/niculskin/skin.conf.
[niculskinLabels]
    title = "The weather, [where you are]"
    location_href = ["#" for nothing, or a hyperlink to some more information on your location]
    footer = "© [who you are]"

Customization

  1. You may customize the labels in your language for your needs. The language labels can be found in the appropriate language file in the language skin, e.g. $WEEWX_ROOT/skins/language/german.conf for the German language.
  2. If your language is not available, simply copy one of the present language configuration files, change to labels appropriately and refer to it in the Niculskin skin.conf at WEEWX_ROOT/skins/niculskin/skin.conf. If you would like to contribute your language file, please open a merge request according to the Contribution Guideline. Your contribution is welcome.

Screenshots

screenshot_1.png

screenshot_2.png

Contribution

Please see the Contribution Guideline for more details.

License

See LICENSE file.

Credits

Thanks to Sven Reifschneider, the creator of Sofaskin. I liked his skin most as I was looking for something different in the look and feel of weewx.

And thanks to Nick Dajda. He had the history for the weather data. I'm glad I found his code.