Difference between pages "Stations/de" and "Add-On Services"

From meteoplug
(Difference between pages)
Jump to: navigation, search
(Created page with "{| style="background:none" border="1" cellpadding="5" cellspacing="0" |+ align="bottom"|''supported weather stations'' !colspan="2"|Wetterstation ! Beschreibung |- |<center>[[...")
 
 
Line 1: Line 1:
<languages /><br />Meteobridge unterstützt eine breite Palette an Wetterstationen, die von Einsteigermodellen bis hin zu semiprofessionellen Station van Davis, Rainwise oder PeetBros reicht.   
+
__NOTOC__
 +
<languages /><translate>
 +
<br />Web server of Meteobridge client, which presents web interface for adminstration to you, can also deliver weather data. There are two URLs defined that can be polled to get most recent sensor data in XML or plain text. Although we don't recommend this for security reasons, you can make that URLs accessible from the Internet by configuring your router appropriately. However, when you want to bring sensor data to one of your own servers in the Internet we recommend to make use of Meteobridge's [[Push Services]], which will not need you to open up your firewall.
 +
   
 +
===Live Data as XML=== <!--T:1-->
 +
By sending the meteobridge a HTTP request like "http://ip-of-meteobridge/cgi-bin/livedataxml.cgi" (where "ip-of-meteobridge" must be replaced by the IP itself) meteobridge returns current weather data in XML notation. Each reply starts witch tag <logger> and ends with </logger> with the sensor data as records with sensor specific tags "THB", "TH", "WIND", "RAIN", "UV", "SOLAR". Example below illustrates the XML format:
  
{| style="background:none" border="1" cellpadding="5" cellspacing="0"
+
<!--T:2-->
|+ align="bottom"|''supported weather stations''
+
<pre><logger>
!colspan="2"|Wetterstation
+
  <THB date="20121227224318" id="thb0" temp="26.0" hum="37" dew="10.2"  
! Beschreibung
+
      press="1008.8" seapress="1010.1" fc="2"/>
|-
+
  <TH date="20130104141909" id="th0" temp="9.1" hum="95" dew="8.3"/>
|<center>[[File:vantage.png]]</center>
+
  <RAIN date="20130104141856" id="rain0" rate="0.0" total="3.0" delta="0.0"/>
|'''Davis''' Vantage Pro2, Pro1 (ausgenommen Firmware A) (*)
+
  <WIND date="20130104141916" id="wind0" dir="109" gust="0.9" wind="2.2" chill="9.1"/>
|Vantage Pro mit Sensoren für Wind, Regen, Luftdruck, UV, Solarstrahlung, Innentemperatur, Außentemperatur. Um die Davis-Stationen mit der Meteobridge zu verbinden, ist ein Davis-Datenlogger (seriell oder USB) erforderlich. Wenn ein serieller Logger verwendet wird, muss dieser auf die Baudrate 19.200 eingestellt werden und man benötigt einen RS232-USB-Konverter mit einem Prolific pl2303 oder FTDI Chipsatz. Dier interne Speicher des Davis Datenloggers wird nicht verwendet.
+
</logger></pre>
|-
+
|<center>[[File:vue.png]]</center>
+
|'''Davis''' Vantage Vue (*)
+
|Vantage Vue mit Sensoren für Wind, Regen, Luftdruck, Innentemperatur, Außentemperatur. Um die Davis-Stationen mit der Meteobridge zu verbinden, ist ein Davis-Datenlogger (seriell oder USB) erforderlich. Wenn ein serieller Logger verwendet wird, muss dieser auf die Baudrate 19.200 eingestellt werden und man benötigt einen RS232-USB-Konverter mit einem Prolific pl2303 oder FTDI Chipsatz. Dier interne Speicher des Davis Datenloggers wird nicht verwendet.
+
|-
+
|<center>[[File:wmr928.png]]</center>
+
|'''Oregon''' WMR968 (US), WMR928 (EU)
+
|Dieses Modell benötigt einen RS232-USB-Konverter (mit einem FTDI oder Prolific pl2303 Chipsatz), um an die Meteobridge angeschlossen werden zu können. UV und Solarstrahlung werden von dieser Station nicht gemessen.
+
|-
+
|<center>[[File:wmr200.png]]</center>
+
|'''Oregon''' WMR200 *
+
|This model has a USB connector that can be connected to the Meteobridge client (with a USB 2.0 hub inbetween). Internal Datalogger of WMR200 will not be used by Meteobridge. WMR200 has problems in reporting actual sensor readings, when data logger is completely filled. It is recommended to set the data logging interval to the maximum (longest duration). This takes care that the data logger will not reach its capacity for months. However, you should take care to empty the data logger's buffer from time to time manually at the WMR200 base station. Beside the standard sensors it can also support UV sensors.
+
|-
+
|<center>[[File:wmr100.png]]</center>
+
|'''Oregon''' WMR100, WMR88 *
+
|This model has a USB connector that can be connected to the Meteobridge client (with a USB 2.0 hub inbetween). An optional UV sensor is supported as well.
+
|-
+
|<center>[[File:wmrs200.png]]</center>
+
|'''Oregon''' WMRS200 *
+
|This station is like a WMR100 with sensors from WMR200 but without any display. WMRS200 is connected to Meteobidge USB port (as WMR200) and is also powered by the USB connector.
+
|-
+
|<center>[[File:te923.png]]</center>
+
|'''Meade''' TE923, TE827, TE821, DV928 *
+
|These weather stations are connected via USB and are sold with various brand names (Mebus, Irox, Honeywell, Nexus). Meteobridge supports recent hardware versions which provide live weather data on the USB port. Internal data logger functionality of TE923 is not used by Meteobridge. Station is connected via USB (with a USB 2.0 hub inbetween).
+
|-
+
|<center>[[File:wh1080.png]]</center>
+
|'''Ambient Weather ''' WS1090, WS2080 *
+
|These weather stations manufactured by Fine Offset Electronics (WH-1080, WH-2080, WH-3080) are also branded as Watson W-8681, WX-2008, National Geographic 265 NE, Elecsa 6975/ 6976, etc. Meteobridge makes use of live data, internal data logger functionality is not used. Stations can be connected via USB. UV sensors is used if present.
+
|-
+
|<center>[[File:ultimeter.png]]</center>
+
|'''Peet Bros''' Ultimeter 100, 800, 2100
+
| Ultimeter weather stations from Peet Bros are supported. Wind, rain, pressure, indoor and outdoor temperature and humidity are used. Station needs to be set to "data logging", "packet" or "complete record (preffered) mode with 2400 baud transfer rate. Station needs a RS232-USB converter based on Prolific pl2303 or FTDI chipset".
+
|-
+
|<center>[[File:mk3.png]]</center>
+
|'''RainWise''' MkIII
+
|MkIII weather station from RainWise is supported including wind, rain, pressure, outdoor temperature and humidity. Meteobridge needs Rainwise Computer Interface MKIIICC and a RS232-USB converter (based on pl2303 or FTDI).
+
|-
+
|<center>[[File:ws2300.png]]</center>
+
|'''La Crosse''' WS2300
+
|WS2300 weather station is supported. Warning: WS2300 can deliver sporadic false weather data readings caused by interface problems. WS2300 needs a RS232-USB converter witch pl2303 or FTDI chipset.
+
|-
+
|<center>[[File:ws300.png]]</center>
+
|'''La Crosse / ELV''' WS300PC/444/500 and various clones (WS550/777/888)
+
|WS300 weather station and clones are supported and connected via USB.
+
|}
+
  
Remark: Stations marked with a "*" still use the old USB 1.x protocol and need a small cheap USB 2.0 hub to be connected to meteobridge. Davis Vantage and Vue do also need the hub when used with Davis weatherlink USB data logger.
+
<!--T:3-->
 +
Each sensor data record has a mandatory "date" and "id" parameter. The other parameters are sensor specific. Meaning of parameters is:
 +
* '''date''': UTC timestamp of reception of sensor data in format "YYYYMMDDhhmmss"
 +
* '''id''': Unique ID of sensor, consists of a sensor type description shortcut followed by a number, which is always "0" in Meteobridge, as additional sensors are not supported
 +
* '''temp''': temperature in degrees Celsius (with one decimal)
 +
* '''hum''': relative humidity in percent (no decimals)
 +
* '''dew''': dew point temperature in degrees Celsius (with one decimal)
 +
* '''press''': station pressure (without altitude correction) in hPa (with one decimal)
 +
* '''seapress''': normalized pressure with altitude correction (also called sea level pressure) in hPa (with one decimal)
 +
* '''fc''': stations forecast code, if provided. As this has low evidence and also largely varies between stations, meteobridge does not recommend to make use of this data.
 +
* '''rate''': measured rain rate in mm per hour (with one decimal).
 +
* '''total''': current value of rain bucket counter, converted to mm (with one decimal).
 +
* '''delta''': additional rain fall in mm since previous readout of this data (with one decimal).
 +
* '''wind''': current average wind speed im m/s (with one decimal).
 +
* '''gust''': curent not avergaed wind speed in m/s (with one decimal).
 +
* '''dir''': wind direction in degrees (0-359, no decimals).
 +
* '''chill''': wind chill temperature in degrees Celsius (with one decimal).
 +
* more to come...
  
Not supported stations are La Crosse 3600, 2800 and the ones from Accurite.
+
===Live Data as Plain Text=== <!--T:4-->
 +
By sending the meteobridge a HTTP request like "http://ip-of-meteobridge/cgi-bin/livedata.cgi" (where "ip-of-meteobridge" must be replaced by the IP itself) meteobridge returns current weather data as plain text. Each reply consists of a series of lines, where each line represnets a sensor. Lines do start with a time stamp and a unique sensor id followed by sensor specific parameters. Example below illustrates the format:
 +
 
 +
<!--T:5-->
 +
<pre>20130104142614 thb0 26.9 38 11.4 1020.4 1021.7 2
 +
20130104142610 rain0 0.0 3.0 0.0
 +
20130104142636 th0 9.1 95 8.3
 +
20130104142652 wind0 160 2.2 1.8 8.0</pre>
 +
</translate>
 +
 
 +
===Data via Socket Connection===
 +
Methods introduced above do need HTTP authentification like all elements of Meteobridge web interface. A look at the script "livedataxml.cgi" shows that this just reads data from socket 5557, gives it a suitable HTTP header and returns that to the requesting browser:
 +
 
 +
<pre>#!/bin/sh
 +
echo -ne "Content-type: text/xml; charset=UTF-8\n\n"
 +
nc 127.0.0.1 5557 2>/dev/null
 +
</pre>
 +
 
 +
Therefore, reading data from socket 5557 is equivalent to calling "livedataxml.cgi" and socket 5556 reports same data as delivered by "livedata.cgi".

Revision as of 09:53, 20 April 2013


Web server of Meteobridge client, which presents web interface for adminstration to you, can also deliver weather data. There are two URLs defined that can be polled to get most recent sensor data in XML or plain text. Although we don't recommend this for security reasons, you can make that URLs accessible from the Internet by configuring your router appropriately. However, when you want to bring sensor data to one of your own servers in the Internet we recommend to make use of Meteobridge's Push Services, which will not need you to open up your firewall.

Live Data as XML

By sending the meteobridge a HTTP request like "http://ip-of-meteobridge/cgi-bin/livedataxml.cgi" (where "ip-of-meteobridge" must be replaced by the IP itself) meteobridge returns current weather data in XML notation. Each reply starts witch tag <logger> and ends with </logger> with the sensor data as records with sensor specific tags "THB", "TH", "WIND", "RAIN", "UV", "SOLAR". Example below illustrates the XML format:

<logger>
  <THB date="20121227224318" id="thb0" temp="26.0" hum="37" dew="10.2" 
       press="1008.8" seapress="1010.1" fc="2"/>
  <TH date="20130104141909" id="th0" temp="9.1" hum="95" dew="8.3"/>
  <RAIN date="20130104141856" id="rain0" rate="0.0" total="3.0" delta="0.0"/>
  <WIND date="20130104141916" id="wind0" dir="109" gust="0.9" wind="2.2" chill="9.1"/>
</logger>

Each sensor data record has a mandatory "date" and "id" parameter. The other parameters are sensor specific. Meaning of parameters is:

  • date: UTC timestamp of reception of sensor data in format "YYYYMMDDhhmmss"
  • id: Unique ID of sensor, consists of a sensor type description shortcut followed by a number, which is always "0" in Meteobridge, as additional sensors are not supported
  • temp: temperature in degrees Celsius (with one decimal)
  • hum: relative humidity in percent (no decimals)
  • dew: dew point temperature in degrees Celsius (with one decimal)
  • press: station pressure (without altitude correction) in hPa (with one decimal)
  • seapress: normalized pressure with altitude correction (also called sea level pressure) in hPa (with one decimal)
  • fc: stations forecast code, if provided. As this has low evidence and also largely varies between stations, meteobridge does not recommend to make use of this data.
  • rate: measured rain rate in mm per hour (with one decimal).
  • total: current value of rain bucket counter, converted to mm (with one decimal).
  • delta: additional rain fall in mm since previous readout of this data (with one decimal).
  • wind: current average wind speed im m/s (with one decimal).
  • gust: curent not avergaed wind speed in m/s (with one decimal).
  • dir: wind direction in degrees (0-359, no decimals).
  • chill: wind chill temperature in degrees Celsius (with one decimal).
  • more to come...

Live Data as Plain Text

By sending the meteobridge a HTTP request like "http://ip-of-meteobridge/cgi-bin/livedata.cgi" (where "ip-of-meteobridge" must be replaced by the IP itself) meteobridge returns current weather data as plain text. Each reply consists of a series of lines, where each line represnets a sensor. Lines do start with a time stamp and a unique sensor id followed by sensor specific parameters. Example below illustrates the format:

20130104142614 thb0 26.9 38 11.4 1020.4 1021.7 2
20130104142610 rain0 0.0 3.0 0.0
20130104142636 th0 9.1 95 8.3
20130104142652 wind0 160 2.2 1.8 8.0

Data via Socket Connection

Methods introduced above do need HTTP authentification like all elements of Meteobridge web interface. A look at the script "livedataxml.cgi" shows that this just reads data from socket 5557, gives it a suitable HTTP header and returns that to the requesting browser:

#!/bin/sh
echo -ne "Content-type: text/xml; charset=UTF-8\n\n"
nc 127.0.0.1 5557 2>/dev/null

Therefore, reading data from socket 5557 is equivalent to calling "livedataxml.cgi" and socket 5556 reports same data as delivered by "livedata.cgi".