On 18/11/2019, Bret Craytor <[email protected]> wrote:

[...]

>   Weewx version 3.9.2 detected.
>
> Station info
>   Station type: OWFS
>   Driver:       user.owfs
>
> Driver info
> [OWFS]
>     interface = /dev/i2c-1
>     driver = user.owfs
>     [[sensor_type]]
>         outTemp = /uncached/10.A3653C000000/temperature
>         inTemp = /uncached/10.39F435030800/temperature
>         windDir = /uncached/12.5EAB0D000000/
>         windSpeed = /uncached/1D.D01101000000/counters.ALL
>         rain = /uncached/1D.81B500000000/counters.ALL
>
>     [[sensor_map]]
>
> Currently installed extensions
> Extension Name    Version   Description
> owfs              0.21      driver for one-wire devices connected via owfs

Ah Ha...

In the above output, ie within weewx.conf, you have your sensor mapping
listed under sensor_type, and no sensor_type entries.


If you change the sensor_type heading to [[sensor_map]], that should fix
the bulk of it.

Additionally, unless you know otherwise (ie you've changed the hardware
connections) windSpeed can drop the counters.ALL as your new sensor_map
will allocate it as counter.A (its default within owfs.py)

        windSpeed = /uncached/1D.D01101000000


As for what should go under the now empty [[sensor_type]] section, try
the following...

       [[sensor_type]]
           windDir = aag_windvane
           windSpeed = aag_windspeed
           rain = rainwise_bucket

That's based on my memory, which recalls that you are running an
original AAG weather station?

I'm not sure what the AAG rain gauge would default to, I didn't find a
mention of anything specific in owfs.py but a rainwise_bucket returns
0.1" per tip, which owfs.py converts to 0.0254 cm. Once it's working
you can tweak its output.



>
>
> ##############################################################################
>
> #   This section controls the origin of derived values.
>
> [StdWXCalculate]
>
>     [[Calculations]]
>         # How to calculate derived quantities.  Possible values are:
>         #  hardware        - use the value provided by hardware
>         #  software        - use the value calculated by weewx
>         #  prefer_hardware - use value provide by hardware if available,
>         #                      otherwise use value calculated by weewx
>
>         pressure = prefer_hardware
>         barometer = prefer_hardware
>         altimeter = prefer_hardware
>         windchill = prefer_hardware
>         heatindex = prefer_hardware
>         dewpoint = prefer_hardware
>         inDewpoint = prefer_hardware
>         rainRate = prefer_hardware
>
> ##############################################################################

With the exception of the pressure related values (there is/was a 1-wire
pressure sensor) these will need to become prefer_software. The 1-wire
sensors will only return the sensor value, the driver adjusts some
values but it's safe to assume that no calculations are performed.
Then again, you probably require a humidity sensor to calculate most of
those so it's possibly mute.

Don't forget. If you run weewx directly from the command line you should
see LOOP values spat out at every 30 seconds or so. This can quickly
tell you what is and isn't responding.

    python /home/weewx/bin/weewxd /home/weewx/weewx.conf

You may need to tweak that command for your setup

-- 


Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

-- 
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/CAAraAzg3fk-4WNeMrsZJiOEZFPQM%3D0fF3VNaUwbNT5dS0v9Y-A%40mail.gmail.com.

Reply via email to