On Wednesday, November 16, 2022 at 10:06:05 AM UTC-8 [email protected] 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 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/b8eabcf1-36f4-42c0-8cce-5c3e383469efn%40googlegroups.com.
