Create two different report sets

44 views
Skip to first unread message

Peter Fletcher

unread,
Jun 6, 2020, 9:18:28 AM6/6/20
to weewx-user
My current weewx report site includes general weather information, but it also includes information (temperature and humidity in different locations in my house) which is of interest to me but not (presumably) to anyone else. I am looking at the possibility of making my weather information publicly accessible on the internet, but I would like to exclude the internal results from the public site, while continuing to have them available to me locally. Is there a straightforward way of configuring weewx to produce two independent sets of reports in different locations, so that I can continue to view the current site but a more concise and relevant site can be made available to others.

vince

unread,
Jun 6, 2020, 10:13:52 AM6/6/20
to weewx-user
On Saturday, June 6, 2020 at 6:18:28 AM UTC-7, Peter Fletcher wrote:
My current weewx report site includes general weather information, but it also includes information (temperature and humidity in different locations in my house) which is of interest to me but not (presumably) to anyone else. I am looking at the possibility of making my weather information publicly accessible on the internet, but I would like to exclude the internal results from the public site, while continuing to have them available to me locally. Is there a straightforward way of configuring weewx to produce two independent sets of reports in different locations, so that I can continue to view the current site but a more concise and relevant site can be made available to others.

Make a custom skin that only includes what you want to make public and only upload that skin to Internet 

Peter Fletcher

unread,
Jun 6, 2020, 10:40:22 AM6/6/20
to weewx-user
Thanks!

I was planning to host the internet-accessible site locally and access my private site using a different port on the server, but my question was intended to be a bit 'lower-level' than the one you answered. However, having looked again at the docs and the layout of weewx.conf, it seems to be just a matter of making a custom skin (as you suggest) and enabling that as an additional report in the Reports section, with a different HTML_ROOT specified within the section for the custom skin. I will experiment!

Tom Keffer

unread,
Jun 6, 2020, 10:58:44 AM6/6/20
to weewx-user
That's exactly right. Then, make sure that the HTML_ROOT that the FTP section uses points to the report that you want to upload. 

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e66945a0-e0ac-44d0-aeba-b953f2590807o%40googlegroups.com.

William Burton

unread,
Jun 6, 2020, 11:05:00 AM6/6/20
to weewx-user
Hello Peter,

Yes, multiple skin definitions as Vince suggests. This is documented at How to create a skin for multiple locales. This also implies you could have multiple definitions of the same skin type such as SeasonsPublic and SeasonsPrivate.

-Bill
Reply all
Reply to author
Forward
0 new messages