The short answer is yes, it is possible. However, what you need to do
depends. I assume you are using the SDR driver, if that is the case it
should be providing you with the 'light' reading in Lux mapped to whatever
WeeWX field you have specified in the sensor map (the usual mapping would
be to the 'luminosity' field in the WeeWX extended schema). You can have
WeeWX derive/estimate the radiation field from this data by adding an entry
under [StdCalibrate] [[Corrections]] in weewx.conf, something like:
[StdCalibrate]
....
[[Corrections]]
radiation = luminosity/126.7 if luminosity is not None else None
should see WeeWX calculate WeeWX field radiation from the WeeWX field
luminosity and add it to any loop packet/archive records where luminosity
appears.
What you do from here depends on your current skin arrangement and what you
wish to display. If your database is using the extended schema both
radiation and luminosity will be stored in your database allowing you to
use any radiation or luminosity tags in your reports as well as using
radiation or luminosity in plots. If you are using the legacy wview schema
then only radiation will be saved to database meaning only the current
luminosity value can be displayed, ie no luminosity stats or plots. To
display luminosity stats or plots you would need to add luminosity to your
schema or change to the extended schema.
You don't mention what skin your are using, if it is the WeeWX 4.6 or later
Seasons skin then radiation will be automatically displayed, but you will
need to edit the [DisplayOptions] settings in the Seasons skin config file
skin.conf and add luminosity. If you are using some other skin or wish to
display some other radiation or luminosity stats then you would need to
follow the skin authors suggestion or add the appropriate tags to the skin
you are using.
Gary
On Saturday, 26 February 2022 at 18:26:30 UTC+10 [email protected] wrote:
> Hi, i have a WH65 sensor and receive the data with an sdr stick. The WH65
> sensor array sends its radiation readings in lux and is being converted
> back to w/m2 on the console, with the correction factor of /126.7, which
> gives an approximate value in w/m2, i guess this is the usual way to do in
> weewx too, so it can be compared with the ecowitt data.
>
> But since this is only an approximation as stated here:
> https://github.com/weewx/weewx/wiki/Watts-and-lux
>
> I wonder if it would be possible to get both values into the report, so
> the original lux value would also be visible. Is this somehow possible?
>
--
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/d62e72f2-4d34-4100-a872-fd522fc3c0a4n%40googlegroups.com.