Skip to content

Commit

Permalink
Corrected wind calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuoppa authored Apr 6, 2019
1 parent 19d9e6b commit 1e1513d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions weatherstation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ sensor:
falling_edge: INCREMENT
internal_filter: 50us
update_interval: 60s
#rotations = pulses/2
#circ_m=0.09*2*3.14
#mps = 1.18*circ_m*rotations
#mps = 1.18*0,0005652/2=0,02000808
#rotations_per_sec = pulses/2/60
#circ_m=0.09*2*3.14 = 0.5652
#mps = 1.18*circ_m*rotations_per_sec
#mps = 1.18*0.5652/2/60 =0,0055578
filters:
- multiply: 0.02
- multiply: 0.0055578

- platform: pulse_counter
pin:
Expand Down

0 comments on commit 1e1513d

Please sign in to comment.