-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some enhancements #5
Comments
Thanks, Regarding windgust, what you do at the moment is choosing the max wind speed not gust - this more advanced, it takes from 1 sec to only up to 20 sec + it's more than 5m/s above average speed and usually counted only >=12m/s. This is on my wish list... but i can understand your approach it's simple and quite efective. About the ADC calibration, you are right, this could be done better like passing an array instead of defining a table in lib. Do you want to submit a PR for that? Lines 50 to 67 in afb156e
BTW checkout my MeteoFunctions library i'm sure you will find it interesting too |
I'm already using it, partially 😄 Some calculations are the same as mine (which I've done 5-6 years ago) but the Apparent temperature calculations in that lib is way off 😄 Currently I'm doing the rain rate calculations, collecting the past 5 min rain data and using the this formula: (rainrate = rain accumulated / 5 mintues * 60 min ->
Yep, in my earlier version of my Weather Station I've measured the wind speed on 10-15 second intervals too for looking for wind gusts, but that was based on esp-open-rtos and I can't find the source files 😂 This is why I'm chosen the simple solution 😄
That would be great to pass an (optional) for the ADC values on init 😄 |
This looks perfect. Don't you want to make a lib for all of those features? it feels like you know what you are doing which is unfortunately uncommon these days.
i'm not sure if it should be optional, i would rather make it mandatory - calibration table will always be in the sketch rather than a lib itself. If done this way, you can save some flash, otherwise you will end up with two tables in which only one being used. What do you think? |
Hi!
First of all I'm appreciate the work you've put into this library! 😄
Some more features would be great to have in the library, because most of the metrics are needed for most Weather APIs (e.g.: WeatherUnderground, etc..)
Like:
I've already made an array for collecting Wind speeds for 1min average, also I can get the Windgust by searching for the highest number in the 1 min array 😄
The other thing can be useful is calibrating the Wind direction, since ADC values can be off and this can effect the whole wind direction. Currently i'm just simply adding/subtracting a value from the actual (degree) reading. It works for most of the time, but some wind positions are still wrong since its not related to the actual position rather than the ADC values.
The text was updated successfully, but these errors were encountered: