App to capture data from a Davis Vantage Vue weather station using an RTL-SDR dongle, written in Go.
When I moved the weather station there wasn't anywhere convenient to locate the large console. As I was mainly interested in the data and it was transmitted wirelessly I opted to try and capture the data using an RTL/SDR dongle. This was my first venture into the world of capturing raw data from the dongle and so the majority of the code contained in this app is very simple and can likely be much improved. I welcome suggestions and comments :-)
Inspiration came from the rtldavis project from Douglas Hall - https://github.com/bemasher/rtldavis
Instead of following the strategy of trying to follow the frequency hopping this app simply uses a single frequency to keep things simpler.
I've tried to keep the dependancies to a minimum, but have used a number of go libraries. The liquid DSP processing library is used for the frequency downmixing.
- Go Lang https://golang.org/doc/code.html
- liquid-dsp https://github.com/jgaeddert/liquid-dsp
- rtl-sdr https://github.com/steve-m/librtlsdr
The app is very simple and if run without any arguments will simply try and gather data from a nearby weather station. Running with the --capture flag will attempt to capture 200 seconds worth of data into a file called capture_868066711.cu8. Using the --replay flag allows you to provide a filename that will be processed. To view all messages processed in real time, use --show.
The only other option is to provide a different database name for storing the messages processed. By default this is records.db and needs to be created to be used.