On Sunday, December 11, 2016 at 2:24:53 PM UTC-5, Sam Roza wrote:
>
> I'm very thankful for the attentiveness you show when issues come up.
>
> Where can I find the sensor map? I've combed weewx.conf, and looked in all 
> the directories, and searched online for where this can be modified, but 
> haven't come up with it.
>

the sensor map associates the names/identifiers of each sensor with a field 
in the database.  for simple weather stations, these are hard-coded into 
the driver.  for hardware that supports multiple types and configurations 
of sensors, the driver has a default map, but that map can be overridden in 
weewx.conf.

for the interceptor driver and the LW30x hardware, the map looks like this:

[Interceptor]
    ...
    [[sensor_map]]
        pressure = baro.*.*
        outTemp = ot.?:*.*
        outHumidity = oh.?:*.*
        windSpeed = ws.?:*.*
        windGust = wg.?:*.*
        windDir = wd.?:*.*
        rainRate = rr.?:*.*
        rain = rain.?:*.*
        UV = uvh.?:*.*

the left-hand side is the database field, the right-hand side is a tuple 
consisting of

<observation_name>.<sensor_identifier>.<bridge_identifier>

glob matching works for each part of the tuple.

you can put this in your weewx.conf.  or you could update to 0.21, which 
fixes the 'pressure' value in the default sensor map for LW30x.

m

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to