Thanks again.  My mistake was using this:

rtl_433 -F json -M utc -d:00000002 -f 915.00M | mosquitto_pub -t
weather/radio -h localhost -l

instead of this:

rtl_433 -F "mqtt://localhost:1883,devices=rtl_433[/id]"

Now I'm seeing each separate device as its own topic whereas before they
were all landing in weather/radio and I didn't have (or know) a way to
filter.  Now I can just ignore anything with device ID 2849 for the wind
data.

Thanks again!
Bryan

On Wed, Nov 16, 2022 at 1:30 PM vince <vinceska...@gmail.com> wrote:

> On Wednesday, November 16, 2022 at 10:06:05 AM UTC-8 bryan...@gmail.com
> wrote:
>
>> 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.
>>
>
> No, I read your question.
>
> What I did here was publish to a different topic from each station. That
> made it easy to ignore the one I wanted to.
>
> For me, it was something like "weather/radio/12345678" for device id
> 12345678, as an example.   Each device publishing to MQTT used its unique
> device id to publish to a device-specific topic.  Then I'd subscribe to
> only the ones I wanted.
>
> --
> 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
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/b8eabcf1-36f4-42c0-8cce-5c3e383469efn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/b8eabcf1-36f4-42c0-8cce-5c3e383469efn%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/CAPXDAYZWsLAagHc_rkgbPUN%2BBwD78FdZXWZhv%3D__ctiMJ6Teng%40mail.gmail.com.

Reply via email to