|
|
* **Edit `skin.conf` according to your system.**
|
|
|
> **Example:**
|
|
|
> ```
|
|
|
> vim /etc/weewx/skins/Rabenwetter/skin.conf
|
|
|
> ```
|
|
|
|
|
|
* **Edit `info.html.tmpl` and `contact.html.tmpl` according to your needs.**
|
|
|
|
|
|
* **Edit `weewx.conf` to use the new skin.**
|
|
|
Look for the parameter `"skin"` below the section `"[[StandardReport]]"` and
|
|
|
change it to `"Rabenwetter"`
|
|
|
> **Example:**
|
|
|
> ```
|
|
|
> [[StandardReport]]
|
|
|
> skin = Rabenwetter
|
|
|
> ```
|
|
|
|
|
|
* **Webcam(s) (optional)**
|
|
|
This skin can make use of up to two webcams. If you don't have of want them,
|
|
|
simply delete or comment the corresponding configuration parameters from the
|
|
|
included `skin.conf`.
|
|
|
If, however, you ARE running a webcam, you may also take a look
|
|
|
at some scripts, I wrote for several different types of webcams playing nice
|
|
|
with this template: [scripts_webcam](https://gitlab.ambhost.net/stimpy/scripts_webcam)
|
|
|
|
|
|
* **Extracams (optional)**
|
|
|
At the bottom of the starting page, there's space for three extra images, you
|
|
|
can freely configure at the `skin.conf` file.
|
|
|
If you don't want these extra images, simply comment [Line 67-75](https://gitlab.ambhost.net/stimpy/template_rabenwetter/blob/master/dist/skin.conf#L67) from `skin.conf`:
|
|
|
> ```
|
|
|
> # extracam1_title = 'Rabenwetter'
|
|
|
> # extracam1_img = 'https://www.rabenwetter.de/photocam/rabenberg-hires.jpg'
|
|
|
> # extracam1_link = 'https://www.rabenwetter.de'
|
|
|
> # extracam2_title = 'Niddastausee'
|
|
|
> # extracam2_img = 'https://www.rabenwetter.de/external/wfc.jpg'
|
|
|
> # extracam2_link = 'https://www.wfc-schotten.de/wetter'
|
|
|
> # extracam3_title = 'Ortenberg'
|
|
|
> # extracam3_img = 'https://www.rabenwetter.de/external/ortenberg2.jpg'
|
|
|
> # extracam3_link = 'http://www.wetter.ortenberg.net/'
|
|
|
> ```
|
|
|
> **Attention:** Don't only comment the content, but the whole variable!
|
|
|
> **For Example:**
|
|
|
> ```
|
|
|
> # extracam1_img = 'https://www.rabenwetter.de/photocam/rabenberg-hires.jpg'
|
|
|
> ```
|
|
|
> **NOT:**
|
|
|
> ```
|
|
|
> extracam1_img = #'https://www.rabenwetter.de/photocam/rabenberg-hires.jpg'
|
|
|
> ``` |