[Xastir] Xastir + One Wire Weather (OWW)

Phil - w2lie w2lie at w2lie.net
Thu Oct 27 23:33:09 EDT 2011


  

I started digging and found wx.c in the Xastir Source
file.
Scrolling down, I found the 1-wire info... 

// The format of the
data originates here:
 // http://weather.henriksens.net/

 // tmp1:
primary temp (C)
 // tmp2: temp max (C)
 // tmp3: temp min (C)
 // tmp4:
anemometer (mps)
 // tmp5: anemometer gust (peak speed MS)
 // tmp6:
anemometer speed max * 0.447040972 (max speed MS)
 // tmp7: vane bearing
- 1 (current wind direction)
 // tmp8: vane mode (max dir)
 // tmp9:
rain rate
 // tmp10: rain total today
 // tmp11: rain total week
 //
tmp12: rain since month
 // tmp13: Current Humidity
 // tmp14: Max
Humidity
 // tmp15: Min Humidity
 // tmp16: Current Barometer
 // tmp17:
Max Barometer
 // tmp18: Min Barometer
 // tmp19: Barometer Rate 

OWW
Sends: 

3.8 12.5 3.8 1.5 4.4 7.3 14 12 0.000 0.730 0.730 0.730 29.7 0.0
0.0 0.0000 0.0 0.0 0.0

Or Easier to read:

 // tmp1: primary temp (C) =
3.8 
 // tmp2: temp max (C) = 12.5 
 // tmp3: temp min (C) = 3.8
 //
tmp4: anemometer (mps) = 1.5 
 // tmp5: anemometer gust (peak speed MS)
= 4.4 
 // tmp6: anemometer speed max * 0.447040972 (max speed MS) = 7.3

 // tmp7: vane bearing - 1 (current wind direction)= 14

 // tmp8: vane
mode (max dir) = 12

 // tmp9: rain rate = 0.000 

 // tmp10: rain total
today = 0.730

 // tmp11: rain total week = 0.730 
 // tmp12: rain since
month = 0.730 
 // tmp13: Current Humidity = 29.7
 // tmp14: Max
Humidity = 0.0
 // tmp15: Min Humidity = 0.0 
 // tmp16: Current
Barometer = 0.0000 
 // tmp17: Max Barometer = 0.0 
 // tmp18: Min
Barometer = 0.0 
 // tmp19: Barometer Rate = 0.0

I'm sending the
Barometer with 1 decimal place where the current Humidity should be. OWW
Does not seem to be sending out the humidity values. 

Looks like OWW
changed their format? Curt, how hard is it to juggle the Xastir side of
the code? Simply rearranging the values up and down the [tmp] should fix
the reading, correct? 

I also see you have comments in the source file
for the rain guage / tipping bucket. What type of info did you need, or
is that not required since it looks like the actual data is coming from
the OWW daemon? 

73 

---
Phil / w2lie
http://www.w2lie.net
  



More information about the Xastir mailing list