Thanks for the reply, however, if I ignore it, it will ignore it entirely,
not just for the one with bad data.  Maybe you didn't see that part of my
question.  2 stations are reporting weather data with the same field name
*wind_avg_km_h * which I map to windSpeed.  One of the stations, with ID
2849 has a bad wind sensor so I want to ignore only the wind data from that
station, but want to continue to receive and map the wind data from the
other station with ID 3522.

On Wed, Nov 16, 2022 at 12:58 PM vince <[email protected]> wrote:

> Add ignore=true to the ones you want to.....ignore...
>
>         [[[ecowitt/loop]]]
>             [[[[outTemp_F]]]]
>                 name = extraTemp1
>                 units = degree_F
>             [[[[extraTemp5_F]]]]
>                 name = extraTemp5
>                 units = degree_F
>             [[[[dateTime]]]]
>                 ignore = True
>             [[[[usUnits]]]]
>                 ignore = True
>
>
> On Wednesday, November 16, 2022 at 9:48:36 AM UTC-8 [email protected]
> wrote:
>
>> I'm currently running Weewx 4.9.1 and using WeeWX-MQTTSubscribe to
>> capture data from 2 separate RTL SDR's.  One of the RTL-SDR devices is
>> listening on 433.92 and is picking up weather data from a couple nearby
>> weather stations.  One of the weather stations I'm listening to has a bad
>> wind sensor, so I do not want the wind data from that station, the other
>> station has good wind data so I do want that data.  These two stations are
>> from the same manufacturer and fall under the same device decoding protocol
>> ( [40] Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning,
>> 899 Rain, 3N1, Atlas).
>>
>> The other RTL-SDR is listening on 915.00 in order to pick up pressure
>> data from another sensor.
>>
>> When using
>> `rtl_433 -F json -M utc -R 40 | mosquitto_pub -t weather/radio -h
>> localhost -l`
>>
>> I receive all packets from both stations and pass that to the
>> WeeWX-MQTTSubscribe driver where I have set up the various fields and map
>> them to weewx.  For example, the wind data:
>>
>>  [[topics]]
>>         unit_system = US
>>         [[[weather/radio]]]
>>
>> ... snip ...
>>                 [[[[*wind_avg_km_h*]]]]
>>                 name = windSpeed
>>
>>                 [[[[*wind_dir_deg*]]]]
>>                 name = windDir
>>
>> ... snip ...
>>
>> since both stations emit, for example, 'wind_avg_km_h', I don't have a
>> way to filter out one of them (the bad one) so I end up getting some
>> garbage data in the mix with good data.
>>
>> My question is this: since these two stations are the same 'device
>> decoding protocol' (40) is there a way to differentiate between the json
>> data coming from the one vs the other?  The both have different [[[[id]]]]
>> fields, the one I want has an ID of 3522 and the one I don't want wind data
>> from is ID 2849.
>>
>> Essentially I want to keep data from both devices but exclude just the
>> wind data from one of them.
>>
>> Thanks much for any help you all can provide.
>>
>> Bryan
>>
> --
> 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/yzk4qXDa87o/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/08d74afd-f68a-4f0a-a808-666498b6b4d2n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/08d74afd-f68a-4f0a-a808-666498b6b4d2n%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/CAPXDAYYomuoBf-2QA98yUF-MmufPMyz1AGMO7E6frCtiyTqx1A%40mail.gmail.com.

Reply via email to