Send captured data to Weewx

81 views
Skip to first unread message

DrBytes

unread,
Jun 23, 2020, 7:47:22 AM6/23/20
to weewx-user
Hi

TIL: I trap the data my Bresser Pro 5-in-1 Weatherstation sends to Weatyher Underground at the router and redirect it to my Homeassistant server that then parses the results and throws it onto MQTT.

Anyways, in the thread Weewx was suggested, as it can trap the data using a SDR Dongle and so it would be an alternative to what I'm doing. I don't really need another dongle but the idea of having weewx running was intriguing so I installed it so it can send the data I capture to the openweathermap and such.

So is there a way I can pipe my data into Weewx? I've now set up a software weather station, I have the data I capture in MQTT and also in Mysql/mariadb
If someone can point me in the right direction, that'd be great.


Regards

Greg Troxel

unread,
Jun 23, 2020, 8:08:49 AM6/23/20
to DrBytes, weewx-user
DrBytes <drb...@gmail.com> writes:

> Hi
>
> Two weeks back I did this :
> https://www.reddit.com/r/homeassistant/comments/h7vnrb/weather_station_and_weather_underground_work/
> TIL: I trap the data my Bresser Pro 5-in-1 Weatherstation sends to Weatyher
> Underground at the router and redirect it to my Homeassistant server that
> then parses the results and throws it onto MQTT.

There are two parts to weather processing: getting the data out of the
station, and storing it / making display pages / sending it to various
places. weewx does both halves. If you are doing the "get data" half
otherwise, that's fine, but you may want to replumb that into weewx.

> Anyways, in the thread Weewx was suggested, as it can trap the data using a
> SDR Dongle and so it would be an alternative to what I'm doing. I don't
> really need another dongle but the idea of having weewx running was
> intriguing so I installed it so it can send the data I capture to the
> openweathermap and such.
>
> So is there a way I can pipe my data into Weewx? I've now set up a software
> weather station, I have the data I capture in MQTT and also in Mysql/mariadb
> If someone can point me in the right direction, that'd be great.

* option 1 is replumb to have the interception into weewx.

Probably this is the right approach; I'm not sure the existing code
deals with your station but I would expect there is support someplace.
See https://github.com/matthewwall/weewx-interceptor

Once you do, you can publish to mqtt from weewx.
See https://github.com/weewx/weewx/wiki/mqtt

* option 2 is to have weewx ingest the data you are already capturing
from mqtt.

See https://github.com/bellrichm/WeeWX-MQTTSubscribe

This is the easy path for you, given where you are now.
Reply all
Reply to author
Forward
0 new messages