Skip to content

Commit

Permalink
Report wind speed in km/h
Browse files Browse the repository at this point in the history
  • Loading branch information
frimtec committed Jan 5, 2024
1 parent 2fb8687 commit c5550c9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,18 @@ as follows:
| Awning | Select awning entity to control |
| Min/Max sun azimuth | Define Min/Max sun azimuth |


### Calibrate the wind sensor
The wind sensor reports the wind speed in km/h.
To have accurate results two characteristics of the used cup anemometer needs to be configured in the home assistant device:
* radius: cup anemometer radius in millimeter (default value: 38 mm)
* impulses_per_rotation: cup anemometer impulses per full rotation (default value: 1)

The wind speed is measured as impulses per minute (x) and then converted into km/h with the following formula:
```
v = x * ((2 * Pi * radius * 60) / (impulses_per_rotation * 1'000'000))
```

### Example Dashboard
![Dashboard example](images/dashboard.png)

Expand Down

0 comments on commit c5550c9

Please sign in to comment.