-
Notifications
You must be signed in to change notification settings - Fork 5
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
Anemometer Integration & Improvements #2
Comments
Nice work @bassicrob! |
I think I may have just responded to your comment on the HA forum? The sensors are outside on my garage. I replaced the guts of the transmitter and temperature with a PCB with an LED and i2c BME280. The LED is fed with its own wire, the i2c is run off about 15' of cat5e cable to the inside of my garage where the Wemos lives. The rain, wind, and anemometer are combined from a homemade patch panel where the wires enter into my garage, and then run back to the Wemos with a 25' CAT5 cable (I ran out of cable in the pull-box and had a pre-made one on hand). I used like-colored pairs for all connections. I found this was very important to prevent cross-talk. |
Hey guys. Thanks for using this. |
Excuse my ignorance. |
First of all you need to know Home many pulsen your sensor gives per revolution/rotation and per minute. Then you must calculate the circumference of the anemomenter. Multiplying circumference and rotations per second gives roughly the wind speed. But I have added a calibration factor of 1.18 to compensate for the fact that the anemometer will not rotate at full wind speed but rather a bit slower due to friction drag and more. So basically your calculation must be adapted the size of you anemometer, pulses per revolution and losses. |
Thanks for the reply. How to Measure the Wind Speed According to the Davis Anemometer technical document 1 mile per hour is equal to 1600 revolutions per hour. Using the formula V = P(2.25/T) we can calculate the speed in miles per hour. |
To make it clearer I convert this to SI units. I suggest everyone to do all calculations in SI units and the convert to whatever you want to be displayed. 1600 rev/h = 1 miles/h = 1.609 km/h 1600 m/h So if you use update_interval: 60s |
Thank you, You rock. One question so I understand how it works |
When writing comments in code without review it tends not to be fully clarifying 😃 By the way, my 2 is for 2 pulses per revolution... |
Hi , how will be if i have 3 magnes ? ''
|
If you have 3 pulsen per revolution (3 magnets)? rotations_per_sec = pulses/3/60 ... rather than... rotations_per_sec = pulses/4/60 ... which would correspond to 4 pulsen per revolution. |
THX will check |
Hi, thx its working. But i have another problem when is connected to Esp8266 , is restarting every random minutes |
The restarts you have is not something I have experienced. Make sure you have configured your specific board correctly in esphome and seek general support in esphome forums and discord etc. |
I have set but i have ESP8266 nodemcuv3 |
Hi, |
So i have another question what will be multiply if i have only that informations ?
|
I see that you are actively working on this integration as well. I used your yaml as a basis and made some improvements of my own. It, like yours, is still a work in progress, but I do have the anemometer working. I am working to reduce the readings and "average" the headings to account for the vane swinging wildly.
I also changed my units to imperial ;) I am also using a BME280 over 15' of CAT5 cable successfully on i2c inside the monitoring unit on the mast with a status LED.
An issue I discovered was although the total rain integration works, the my_rain sensor only measures upon the bucket tip then goes back to '0' between tips.
Within Homeassistant, I created a "Average Wind Speed" sampling and record gusts. It worked pretty well for a few recent storms, and data is comparable to local PWS.
configuration.yaml
The text was updated successfully, but these errors were encountered: