Howto:Fetch live aloft data: Difference between revisions

Jump to navigation Jump to search
m
Line 15: Line 15:
metarstationid.xml and save it to your data/Protocol directory.
metarstationid.xml and save it to your data/Protocol directory.
<source>
<source>
<?xml version="1.0"?>
<?xml version="1.0"?>
<PropertyList>
<PropertyList>
  <comment>
<comment>
  <![CDATA[
  <![CDATA[
    Usage:  
    Usage:  
    fgfs --generic=socket,out,1,localhost,5500,udp,metarstationid
    fgfs --generic=socket,out,1,localhost,5500,udp,metarstationid
  ]]>
  ]]>
  </comment>
</comment>
  <generic>
<generic>
  <output>
  <output>
    <line_separator>newline</line_separator>
  <line_separator>newline</line_separator>
    <var_separator>,</var_separator>
  <var_separator>,</var_separator>
    <chunk>
  <chunk>
    <name>metar-station-id</name>
    <name>metar-station-id</name>
    <format>%s</format>
    <format>%s</format>
    <type>string</type>
    <type>string</type>
    <node>/environment/metar/station-id</node>
    <node>/environment/metar/station-id</node>
    </chunk>
  </chunk>
  </output>
  </output>
  </generic>
</generic>
</PropertyList>
</PropertyList>
</source>
</source>


Navigation menu