This project listens to meteorological station radio signals, decodes them and records the data in history/
. Data from current day are updated every update interval and saved in temp.out
.
- This program makes use of the universal radio signal decoder
rtl-433
(https://github.com/merbanan/rtl_433). Currently supported are Realtek RTL2832 based DVB dongles. - Decoded data are processed via the Python script
temp_live.py
. - The Python script makes use of the non-standard library
pysolar
(https://pysolar.readthedocs.io/en/latest/) to calculate the position of the Sun.
- Modify your Python path in
run.sh
. - Make sure you change permissions of
run.sh
to make it executable. - Run
run.sh
.
run.sh
essentially runs two infinite while-loops: thertl-433
receiver and decoder, and thetemp_live.py
script for plotting and saving. These processes detatch from the running terminal and so can only be killed via theirPID
, or withkillall python
.- If your weather station's signals adhere to a different protocol than
AlectoV1 Weather Sensor
, you need to swap the-R
argument inrun.sh
with your device's working protocol, which you can find inrtl-433
's repository. In my case, I have added-R -53
to prevent interfering signals from a soil moisture meter sending data in the same frequency. - For the signal updates, you need to change the hard-coded
signal_every
variable intemp_live.py
to your station's updating interval. - For the position of the Sun you need to change the hard-coded goegraphical coordinates in
temp_live.py
(37.9, 23.9) to your local ones.
If you make use of this project (or part of it) please cite the link to this repository.