|
Post by javajoe on Nov 16, 2021 13:13:56 GMT -8
I would like to look around in the code for the weather station. Is there any documents that show structure of the app, etc? Please let me know. Thanks!
|
|
|
Post by SDL on Nov 16, 2021 18:40:19 GMT -8
WeatherRack2 unit? We don't own the code inside the WeatherRack2 so we can't release it.
We do own the code for reading the WeahterRack2 and the Python software. Look at the WeatherRack2 product page for links. It's all open source.
BP
|
|
|
Post by javajoe on Nov 17, 2021 8:36:27 GMT -8
I think what is confusing is that I see posts about interrupts, debounce, etc, related to wind readings such as one of your replies. The code I see in rtl_433 is just the decoder from what I can see. Is the code you are referencing in that post run in the weatherrack2 unit?
So the question is what can we do as users to affect the readings? Just trying to understand the architecture a little. Thanks!
Tim
"Sounds like you are getting two interrupts when you should be just getting one. I'm not sure why this is, but you might put a divide by 2 in the code to fix this."
|
|
|
Post by doxidad on Nov 17, 2021 9:34:47 GMT -8
I think what is confusing is that I see posts about interrupts, debounce, etc, related to wind readings such as one of your replies. The code I see in rtl_433 is just the decoder from what I can see. Is the code you are referencing in that post run in the weatherrack2 unit? So the question is what can we do as users to affect the readings? Just trying to understand the architecture a little. Thanks! Tim "Sounds like you are getting two interrupts when you should be just getting one. I'm not sure why this is, but you might put a divide by 2 in the code to fix this." The quote you have above is for the SkyWeather - NOT SkyWeather2. SkyWeather used a different set of sensors. The data - counts, analog values were presented to the WeatherPIArduino board through wires and then the semi-processed data was read by the raspberry PI where it was stored.
SkyWeather2 uses the SkyWeather2 weather rack which totally self contained. It pops out a 433mhz JSON string and the Raspberry PI just reads, parses and stores it.
The SkyWeather2 rack is a 3rd party product - thus Switchdoc does not have the source code.
For the SkyWeather2, all of the code that resides in the PI is available and you can modify it to whatever your needs/wants are.
|
|
|
Post by javajoe on Nov 17, 2021 11:01:21 GMT -8
Yes, I was not clear on which model I had....apologize for that. I have the Weathersense Wireless WeatherRack2 which is a self contained weather station. So you get what you get from weather station in terms of data. Thanks!
Tim
|
|