That worked well.  Thanks!
[image: calculated radiation value.JPG]

On Tuesday, May 18, 2021 at 2:58:31 PM UTC-5 lang....@googlemail.com wrote:

> in the [StdCalibrate] [[Corrections]] stanza in weewx.conf add the line
>
> radiation = luminosity/126.7 if luminosity is not None else None
>
> Then the calculated value will be stored as radiation in the database and 
> you can use it in your reports/skins
>
> On 18.05.2021 21:10, Eric K wrote:
>
> The Acurite Atlas weather sensor provides a UV and a lux value, but not a 
> radiation value.
> I want to use this formula to calculate solar radiation from the lux 
> sensor in the Acurite Atlas:  radiation = lux * 0.0079
>
> I've been searching the weewx documentation for details and examples of 
> how to create a data value from a calculation.  This calculated data will 
> then go into the weewx database, and graphs in the weewx web page.
>
> It looks like the StdWXCalculate section of the weewx.conf file is the 
> place to do this?
> Is that correct?
> https://weewx.com/docs/usersguide.htm#StdWXCalculate
>
> I've been looking for an example of the StdWXCalculate section showing how 
> a user-created formula is included, and I have not found one.
>
> Can someone show an example of including a user-created formula?
>
> Help appreciated.
>
> -- 
> 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/574d19fd-304c-44d9-b73a-68d203e72a82n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/574d19fd-304c-44d9-b73a-68d203e72a82n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1fca24cc-82e4-40dc-b835-3a9b22c240d9n%40googlegroups.com.

Reply via email to