|
Post by Jason on Dec 14, 2020 4:15:11 GMT -8
My rack has almost completed 24 hours of operation. In looking at the data collected in PostgreSQL, I noticed that I'm seeing duplicate timestamps for the readings recorded. Right now I'm running the readWeatherSensors.py script in an interactive terminal on the RPi that has the connected antenna. I can also see the duplicated readings in the interactive terminal. Is this expected behavior?
Thanks,
Jason
|
|
|
Post by SDL on Dec 14, 2020 9:50:10 GMT -8
Yes, that is correct. What is happening is that the WeatherRack2 433Mhz channel sends out each sample twice, one right after the other. Our SDR program on the Pi is quick enough to pick up both.
BP
|
|
|
Post by Jason on Dec 14, 2020 15:18:32 GMT -8
Thanks for the info! I’ll add a unique constraint to the database.
Jason
|
|