You can run multiple reports (skins) from a single instance. Just make sure
they have different HTML_ROOT values, so they don't overwrite each other.
For example, say you wanted to run both the Standard skin, and the Seasons
skin. The Standard skin will be FTP'd to your webserver, the Seasons skin
is for your private viewing. The following would do 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
# Whether to log a successful operation
log_success = True
# Whether to log an unsuccessful operation
log_failure = False
[[SeasonsReport]]
# The SeasonsReport uses the 'Seasons' skin, which contains the
# images, templates and plots for the report.
skin = Seasons
enable = true
HTML_ROOT=private/Seasons
[[StandardReport]]
skin = Standard
enable = true
[[FTP]]
skin = Ftp
enable = true
user = replace_me
password = "replace_me"
server = replace_me # The ftp server name, e.g, www.myserver.org
path = replace_me # The destination directory, e.g., /weather
Note how the results of the Seasons skin is put in a private directory,
outside of the tree to be FTP'd to your webserver.
-tk
On Wed, Aug 5, 2020 at 12:01 PM 'Hans Cilker' via weewx-user <
[email protected]> wrote:
> galfert, thats nice, shit, my nexus dont like it from different instanzes,
> therefore its very tedious to work with the file, copy them to the right
> place, look whats happening and copy them back if its running shit.
>
> galfert schrieb am Mittwoch, 5. August 2020 um 20:41:54 UTC+2:
>
>> I'm actually running multiple copies of WeeWX. One is the production
>> system that I don't make changes to unless tested successfully in the test
>> system. My weather station allows me to query it from multiple software
>> simultaneously. I have an Ecowitt GW1000, but you could do the same with a
>> Davis WLL system. Great use for a VM if you don't have multiple hardware.
>>
>>
>> On Wednesday, August 5, 2020 at 12:59:28 PM UTC-4, Andy Sloane wrote:
>>>
>>> I am using the standard skin on Weewx, and would like to create a
>>> "staging area" where I can experiment with different skins. This area
>>> would be completely hidden from public view, unless you had the URL. Is
>>> this possible?
>>>
>>> Thanks.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/fce33ce5-a276-4242-b1b5-a2c9aab3b3b7n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/fce33ce5-a276-4242-b1b5-a2c9aab3b3b7n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CAPq0zECs3mooEGk2wviJuTnS-j2kaef48D-JQQvroXUn-z3ycw%40mail.gmail.com.