[Xastir] Xastir and OWW

Hiroshi Iwamoto sx7h-iwmt at asahi-net.or.jp
Fri May 30 07:28:13 EDT 2008


Hi Walter

JH4XSY-1 is using XASTIR 1.9.2 & OWW 0.82.1
via network connected WX, port 8888.

> under View - Own Weather Data
> i can not see any Weather Data from OWW.

XASTIR can't get weather data from OWW.
Because XASTIR expect 19 variables but OWW send only 12 variables.

Do you have a barometer or humidity sensor?
If so, you must edit oww source code to add extra 7 variables.

Here is a dirty hack. arne.c around 292 line ...

   sprintf(buffer,
     "%2.1f %2.1f %2.1f %2.1f %2.1f %2.1f %d %d %3.3f %3.3f %3.3f %3.3f 
%2.1f 0.0 0.0 %4.4f 0.0 0.0 0.0\r\n",
     ...
     (wd->rain >= 0.0F) ? 0.01F * (float)
                                  (wd->rain_count - wd->rain_offset[7]) :
     wd->RH[0],  /* Humidity in % */
     wd->barom[0]/33.864 /* Barometer in inHg */
                          );

Just filling humidity and barometer is enough.

-- 
de JH4XSY/1, Hiroshi Iwamoto
    sx7h-iwmt (at) asahi-net.or.jp




More information about the Xastir mailing list