weewx extra sensors

120 views
Skip to first unread message

hajsek...@gmail.com

unread,
May 31, 2022, 7:57:12 AM5/31/22
to weewx-user
I see in skin.conf there are added multiple sensors, like example below.
how to enable those sensors to shou up data on web page.
Is there any tuttorial?
Also is it possible to create public web page where only certain data is show up and private page, locked with password to show up all sensors and data?

        [[[dayhumext]]]
            [[[[extraHumid1]]]]
            [[[[extraHumid2]]]]
            [[[[extraHumid3]]]]
            [[[[extraHumid4]]]]

        [[[dayhumext2]]]
            [[[[extraHumid5]]]]
            [[[[extraHumid6]]]]
            [[[[extraHumid7]]]]
            [[[[extraHumid8]]]]

        [[[daytempleaf]]]
            [[[[leafTemp1]]]]
            [[[[leafTemp2]]]]

        [[[daywetleaf]]]
            [[[[leafWet1]]]]
            [[[[leafWet2]]]]

        [[[daytempsoil]]]
            [[[[soilTemp1]]]]
            [[[[soilTemp2]]]]
            [[[[soilTemp3]]]]
            [[[[soilTemp4]]]]

        [[[daymoistsoil]]]
            [[[[soilMoist1]]]]
            [[[[soilMoist2]]]]
            [[[[soilMoist3]]]]
            [[[[soilMoist4]]]]

f4n...@gmail.com

unread,
May 31, 2022, 9:00:58 AM5/31/22
to weewx-user
In the skin.conf, make sure the added sensors are listed/added in:

 observations_current =
 plot_groups =  

e.g. add them like this:
    plot_groups = extraHumid1, extraTemp2, extraHumid2, soilMoist1, soilMoist2,  

Given that your station driver or in case of sdr the sensor map has any data input for these values.

Not sure about the public/private page thing, you could use an additional skin for all values and protect the web output folder for this skin with htpasswd.

Peter Fletcher

unread,
Jun 1, 2022, 4:00:29 PM6/1/22
to weewx-user
I handle the public/private page issue by having an additional skin enabled with the sensors I want to be publicly visible pointing at a local directory and then using weewx's FTP pseudo-report option to upload the contents of that directory to a folder on (and linked to) my public website. I do this mainly because my sites are hosted remotely with a commercial ISP, but it is also more secure than giving outsiders access to my internal network.

hajsek...@gmail.com

unread,
Jun 2, 2022, 6:03:54 AM6/2/22
to weewx-user
Ok so if I enable another skin, I can have that.
So I just add another skin in weewx,conf?
how can I make this skin to create files in another folder and not the same as first skin?
After that I can lock that folder in apache with password.
I use interceptor driver on my Froggit HP1000SE weather station, because weather station is at home and server with weewx is on another location.
And I have alot of extra sensors for water leak, soil humidity, temperature, lightning, etc.
And I like to add some to my web page.

sreda, 1. junij 2022 ob 22:00:29 UTC+2 je oseba Peter Fletcher napisala:

Peter Fletcher

unread,
Jun 2, 2022, 9:09:54 AM6/2/22
to weewx-user
In the StdReport section, you add and enable a new named subsection specifying the skin you want to use for the public report, and with an HTML_ROOT specifier within that subsection, declaring the folder you want to put it in. If you use the FTP approach, as I do, you also have to add the necessary parameters to the FTP subsection, and enable it.
Reply all
Reply to author
Forward
0 new messages