So what is your reason for saying "it doesn't work", are you looking at web page output, a plot etc or did you look at the loop packet data being emitted by your driver? The former two are really at the end of the whole processing chain, so there are many opportunities for things to go awry beforehand. The latter is pretty much straight from the driver and if you observe the loop packets when running WeeWX directly you will see the effects of your [StdCalibrate]] [[Corrections]] stanza.
There is a lot of general comments and minor config snippets in this thread and it is difficult to determine exactly what is bering used and what is going on. Could I suggest we take this from the top and you: 1. Post the output from wee_debug <http://weewx.com/docs/4.10/utilities.htm#wee_debug_utility>. This will give a current and complete picture of your WeeWX config. When posting wee_debug output do check the content for sensitive information (eg user names, passwords, API keys etc), wee_debug is pretty good at obfuscating such content but it is not perfect. 2. Run WeeWX directly <http://weewx.com/docs/4.10/usersguide.htm#Running_directly>. This will display loop packets (lines starting with LOOP:) and archive records (lines starting with REC:) directly on the console. Let WeeWX run so you see at least two archive records (lines starting with REC:) and post the entire output here. Setting up a calibration correction such as this is not complex, this should be easy to troubleshoot and rectify. Gary On Monday, 2 October 2023 at 03:28:01 UTC+10 [email protected] wrote: > did it, still not working. oh well. > > On Friday, September 29, 2023 at 4:00:06 PM UTC-4 Eric K wrote: > >> You have to restart weewx before changes made to the weewx.conf file will >> take effect. >> If you've restarted weewx, you should start to see additions to the >> graphs, every 5 minutes. >> >> On Friday, September 29, 2023 at 2:49:54 PM UTC-5 Kevin Crivelli wrote: >> >>> Should it reflect in the graphs immediately? I was able to login to ssh >>> from work and make the change but I'm not seeing any change in the graphs >>> >>> On Fri, Sep 29, 2023, 3:09 PM Kevin Crivelli <[email protected]> >>> wrote: >>> >>>> Thank you! I'm gonna try this. Let ya know how it works out >>>> >>>> On Fri, Sep 29, 2023, 11:17 AM Eric Koester <[email protected]> >>>> wrote: >>>> >>>>> Kevin Crivelli,Here's what my [[Corrections]] section looks like. >>>>> Mine uses '> 0' rather than 'not None' >>>>> >>>>> [StdCalibrate] >>>>>> >>>>>> [[Corrections]] >>>>>> # For each type, an arbitrary calibration expression can be >>>>>> given. >>>>>> # It should be in the units defined in the StdConvert section. >>>>>> # Example: foo = foo + 0.2 >>>>>> radiation = luminosity * 0.00789 if luminosity > 0 else None >>>>>> lightning_distance = lightning_distance / 1.609 if >>>>>> lightning_strike_count > 0 else None #convert distance to miles >>>>> >>>>> >>>>> On Wed, Sep 27, 2023 at 6:49 PM Kevin Crivelli <[email protected]> >>>>> wrote: >>>>> >>>>>> [StdCalibrate] >>>>>> >>>>>> [[Corrections]] >>>>>> windDir = windDir if windSpeed > 0 else None >>>>>> lightning_distance = lightning_distance if >>>>>> lightning_strike_count > 0 else None >>>>>> # For each type, an arbitrary calibration expression can be >>>>>> given. >>>>>> # It should be in the units defined in the StdConvert >>>>>> section. >>>>>> # Example: >>>>>> foo = foo + 0.2 >>>>>> radiation = luminosity/126.7 if luminosity is not None else >>>>>> None >>>>>> >>>>>> >>>>>> On Wednesday, September 27, 2023 at 7:11:05 PM UTC-4 Eric K wrote: >>>>>> >>>>>>> Share the [StdCalibrate] [[Corrections]] section of your weewx.conf >>>>>>> file with us. >>>>>>> >>>>>>> On Wednesday, September 27, 2023 at 5:53:10 PM UTC-5 Kevin Crivelli >>>>>>> wrote: >>>>>>> >>>>>>> I have the same problem but this didn't work for me. any ideas? >>>>>>> >>>>>>> On Tuesday, May 18, 2021 at 6:04:08 PM UTC-4 Greg Troxel wrote: >>>>>>> >>>>>>> >>>>>>> Eric K <> writes: >>>>>>> >>>>>>> > 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 >>>>>>> >>>>>>> See also >>>>>>> >>>>>>> https://github.com/weewx/weewx/wiki/Watts-and-lux >>>>>>> >>>>>>> -- >>>>>> You received this message because you are subscribed to a topic in >>>>>> the Google Groups "weewx-user" group. >>>>>> To unsubscribe from this topic, visit >>>>>> https://groups.google.com/d/topic/weewx-user/oWp-9LivDJo/unsubscribe. >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/fc6b65b0-69be-4ec7-9763-675f62302f48n%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/fc6b65b0-69be-4ec7-9763-675f62302f48n%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/CADh_orjKiziRwWUTK%3DgGN2Kao%3DB3n4FGRvvmTDGn355iLpDRqQ%40mail.gmail.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/CADh_orjKiziRwWUTK%3DgGN2Kao%3DB3n4FGRvvmTDGn355iLpDRqQ%40mail.gmail.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/8851aa79-8a75-4082-b4a6-38d0887fb19an%40googlegroups.com.
