Difference between pages "Add-On Services" and "Forum"

From meteoplug
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
Meteobridge provides some additional services, which might be interesting, when you also want to use received data with your own postprocessing IT. Live data can be derived in two ways. Meteobridge client can be asked by a HTTP request to return data (pull mode) or can send data as HTTP-GET requests with user-defined URL parameters to a user-defined Internet address, or can twitter weather data or can upload data into a MYSQL database (push mode).  
+
Meteobridge is a device that is easy to use and which should not raise a demand for extensive support. However, there is a forum, where you can share experiences, questions, wishes with other users.  
  
==Pull Mode==
+
Please make use of this in favor to emails, as a wider public can participate of your insights and problem resultion recipes.  
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 mode, 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:
+
  
<pre><logger>
+
Forum is part of Meteohub Forum: [http://forum.meteohub.de/viewforum.php?f=54&sid=c8736ec03d0ef75afa55c16f324623bd Meteobridge Forum]
  <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></pre>
+
  
Each sensor data record has a mandatory "date" and "id" parameter. The other parameters are sensor specific. Meaning of parameters is:
+
===Release Log===
* '''date''': UTC timestamp of reception of sensor data in format "YYYYMMDDhhmmss"
+
To get the latest relaease running on your rig, just do a reboot or power-cycle.
* '''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:
 
  
<pre>20130104142614 thb0 26.9 38 11.4 1020.4 1021.7 2
+
====Current Version====
20130104142610 rain0 0.0 3.0 0.0
+
released 12th May 2013:
20130104142636 th0 9.1 95 8.3
+
* support for Acurite USB stations 1025/1035/1525
20130104142652 wind0 160 2.2 1.8 8.0</pre>
+
  
==Push Mode==
+
released 6th May 2013:
When you select expert mode at the bottom of "Upload Data" tab, you will see an additional entry that allows you to send sensor data to a user-defined server.
+
* fixes a bug that still prevents from altimeter pressure being used for CWOP
  
===Twitter Upload===
 
Meteobridge allows you to send weather data snippets to your twitter account. As twitter requires a bit complicated authentication you will have to run through 6 steps.
 
  
<gallery perrow=1 widths=500 heigths=350>
+
====Version 1.4====
File:twitter0.png|1. Press "Request PIN" button.
+
released 3rd May 2013:
File:twitter2.png|2. An additional window will pop-up (please make sure your browser's pop-up blocker does not block it!) where twitter asks you to log-in to your twitter account.
+
* Dutch language support (translations provided by user "Wim")
File:twitter2b.png|3. Please log-in and copy the pin that twitter does present to you.
+
* changed gust value for weatherbug network to "todays max gust"
File:twitter4.png|4. Switch back to Meteobridge page and Insert pin into input field next to "Activate PIN" button and press this button.
+
* fixes a unit conversion problem with evapotranspiration on solar sensor equipped vantage weather stations
File:twitter3.png|5. Finally, insert message text that Meteobridge should tweet and set upload interval and retry count and press save to make these settings permanent. If Authentification with twitter does fail, you can start process with pressing "Request new PIN" from the start.
+
* fixes the low humdity bug for CWOP data transfers
File:twitter5.png|6. To fill message text with weather data and/or a timestamp, you can make use of Meteobridge variables as explained in "Templates" section below. Example above is a result of this message text: <font face="Courier"><span style="background-color:yellow;">[hh]:[mm]h Outdoor temp: [th0temp-act=F.1:--]°F </span></font face>
+
</gallery>
+
  
===Individual HTTP Upload===
 
Data will be sent as HTTP GET requests with URL parmeters you can define to your liking. Parameters of a URL consist of name-value pairs seperated by '&'. You can define names yourself and can use a certain set of variables provided by Meteobridge to be used as values. Variable names will be automatically replaced by their current values, each time a HTTP request is sent. Please have a look at the example below.
 
  
 +
====Version 1.3====
 +
released 21th April 2013:
 +
* fixes a stability bug on new LOOP2 supporting Davis Vantage drivers
 +
* has some modules included to allow 3G modem support based on Huawei's E160 adapter (still experimental and to be formally released in one of the coming versions, profiles for "t-mobile.de" and "vodafone.de" do exist for testing purposes)
 +
* a new firmare release (version 1.2) is ready for download (in "getting started" section). This firmware is only needed when aiming at 3G operation.
  
[[file:http-upload.png]]
+
released 13th April 2013:
 +
* added support for LOOP2 packets when using a Davis Vantage or Vue with firmware 1.90 or newer. This makes barometer readings more precise and better in sync with Vantage console.
 +
* fixes a problem with send email authentification
  
 +
released 7th April 2013:
 +
* fxing a bug uploading average windspeed to previmeteo
 +
* reduce timeout for mysql connection setup to 6 seconds
 +
* moving static reserve LAN IP from 192.168.1.111 to 192.168.168.111 to avoid routing conficts with typical user class c networks when switching to wlan
 +
* removing evapotranspiration values (which did appear randomly) from solar sensor data, if not Vantage station.
 +
* adding a display that shows how much of internal data send buffer is currently occupied (system tab)
 +
* reducing memory footprint of data send process to avoid triggering oom linux mechanisms
 +
* doing a reboot in case of oom situations by issueing a kernel panic instead of trying to stop some applications via oom_killer.
 +
* added support for generation of wind direction strings in German (dedir) and English (endir) within templates.
  
Upload schedule is defined to every 5 seconds. URL specifies server address, where to deliver data ("http://myserver.com/upload.php" in the example above). "Success Condition" allows to specify a matching string which is compared to to the return message from the server to decide if upload was successful or not.
+
====Version 1.2====
 +
released 29th March 2013:
 +
includes all previous updates, plus
 +
* adds signal strength to SSID drop-down list
 +
* fixes a configuration bug that prevents from reading data from WS2300 type stations
  
Weather data is transported to the server by means of URL parameters. Meteobridge provides a large set of variables that can be used to feed URL parameters with current sensor data. Section [[Templates]] will explain how to use these variables to fill URL parameters with recent sensor data.
+
minor updates, added on 17th March 2013:
 +
* make remote login for support services an option that a user can permanently disable
 +
* adds better support for Vantage extra sensors
  
===Individual MYSQL Uploads===
+
minor updates, added on 16th March 2013:
When you prefre to store your weather station's data in your own MYSQL database, Meteobridge can feed sensor data to it in a very easy way. Just state
+
* fixes a bug that might have caused Meteobridge to stall after a while when sending data to CWOP
* '''Host''': server name or IP of server when DNS can' resolv the name
+
* '''Port''': port number where to reach MYSQL database on your server
+
* '''Database''': name of database to feed
+
* '''User''': name of database user to use for data upload
+
* '''Password''': passwrod for user name.
+
* '''Query''': payload that should be sent to the database. Query usually contains a MSQL insert statement followed by a table name and a list of column names and values. The query ist subject to template replacement, so you can use Meteobridge variables to upload weather data to your database.
+
  
 +
minor updates, added on 11th March 2013:
 +
* additional system variables as described in section [[Templates#System Variables]]
  
[[File:mysql.png]]
+
minor updates, added on 9th March 2013:
 +
* support of additional temp/hum sensors for vantage, additional temp data to be reported to Weather underground (if there)
 +
* setup your own weather website setup with the help of "saratoga templates" (http://saratoga-weather.org/wxtemplates/setup-Meteobridge.php)
  
 +
====Version 1.1====
 +
released 5th March 2013:
 +
* more variables for templates (full documentation at http://www.meteobridge.com/wiki/index.php/Templates)
 +
* balloon help on live data tab does show sequence of values for live data and time of min/max events for historical data.
 +
* added weather network http://www.previmeteo.com
 +
* length of paylod text fields for push services have been enlarged to 4000 characters
 +
* some bugs around swapped min/max historical values are fixed
  
Query <font face="Courier"><span style="background-color:yellow;">insert upload (temp, wind) values ([th0temp-act.1:-9999], [wind0wind-act=kmh.1:-9999])</span></font face> in example above stores actual outdoor temperature to field "temp" of table "upload" of database "test". Field "wind" is filled with current non averaged wind speed in km/h. When temperature or wind data is not there a value of -9999 is stored.
+
====Version 1.0====
 
+
* inital release
Details of using variables in templates is explained in [[Templates]] section.
+

Revision as of 15:15, 12 May 2013

Meteobridge is a device that is easy to use and which should not raise a demand for extensive support. However, there is a forum, where you can share experiences, questions, wishes with other users.

Please make use of this in favor to emails, as a wider public can participate of your insights and problem resultion recipes.

Forum is part of Meteohub Forum: Meteobridge Forum

Release Log

To get the latest relaease running on your rig, just do a reboot or power-cycle.


Current Version

released 12th May 2013:

  • support for Acurite USB stations 1025/1035/1525

released 6th May 2013:

  • fixes a bug that still prevents from altimeter pressure being used for CWOP


Version 1.4

released 3rd May 2013:

  • Dutch language support (translations provided by user "Wim")
  • changed gust value for weatherbug network to "todays max gust"
  • fixes a unit conversion problem with evapotranspiration on solar sensor equipped vantage weather stations
  • fixes the low humdity bug for CWOP data transfers


Version 1.3

released 21th April 2013:

  • fixes a stability bug on new LOOP2 supporting Davis Vantage drivers
  • has some modules included to allow 3G modem support based on Huawei's E160 adapter (still experimental and to be formally released in one of the coming versions, profiles for "t-mobile.de" and "vodafone.de" do exist for testing purposes)
  • a new firmare release (version 1.2) is ready for download (in "getting started" section). This firmware is only needed when aiming at 3G operation.

released 13th April 2013:

  • added support for LOOP2 packets when using a Davis Vantage or Vue with firmware 1.90 or newer. This makes barometer readings more precise and better in sync with Vantage console.
  • fixes a problem with send email authentification

released 7th April 2013:

  • fxing a bug uploading average windspeed to previmeteo
  • reduce timeout for mysql connection setup to 6 seconds
  • moving static reserve LAN IP from 192.168.1.111 to 192.168.168.111 to avoid routing conficts with typical user class c networks when switching to wlan
  • removing evapotranspiration values (which did appear randomly) from solar sensor data, if not Vantage station.
  • adding a display that shows how much of internal data send buffer is currently occupied (system tab)
  • reducing memory footprint of data send process to avoid triggering oom linux mechanisms
  • doing a reboot in case of oom situations by issueing a kernel panic instead of trying to stop some applications via oom_killer.
  • added support for generation of wind direction strings in German (dedir) and English (endir) within templates.

Version 1.2

released 29th March 2013: includes all previous updates, plus

  • adds signal strength to SSID drop-down list
  • fixes a configuration bug that prevents from reading data from WS2300 type stations

minor updates, added on 17th March 2013:

  • make remote login for support services an option that a user can permanently disable
  • adds better support for Vantage extra sensors

minor updates, added on 16th March 2013:

  • fixes a bug that might have caused Meteobridge to stall after a while when sending data to CWOP

minor updates, added on 11th March 2013:

minor updates, added on 9th March 2013:

Version 1.1

released 5th March 2013:

  • more variables for templates (full documentation at http://www.meteobridge.com/wiki/index.php/Templates)
  • balloon help on live data tab does show sequence of values for live data and time of min/max events for historical data.
  • added weather network http://www.previmeteo.com
  • length of paylod text fields for push services have been enlarged to 4000 characters
  • some bugs around swapped min/max historical values are fixed

Version 1.0

  • inital release