User Tools

Site Tools


packet:xrouter:weather

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packet:xrouter:weather [2025/02/22 02:46] g8pztpacket:xrouter:weather [2025/02/22 05:17] (current) – [Publishing Your Weather Data] g8pzt
Line 17: Line 17:
 ===== Remote Weather ===== ===== Remote Weather =====
  
-If the argument to the WX command is another XRouter that's in the local nodes table, the weather information is fetched from that node's weather server, for example **WX KIDDER** returns this:+Every XRouter contains a "weather server", reached via [[packet:xrouter:netromx|NetRomX]] service number 16. This server reports the weather from the closest source to that node. 
 + 
 +If the argument to the WX command is another XRouter that's in the local nodes table, the weather information is fetched from the distant node's weather server, via the Packet Network. 
 + 
 +For example **WX KIDDER** returns this:
  
 {{wx3.png}} {{wx3.png}}
Line 23: Line 27:
 ===== Your Own Weather Station ===== ===== Your Own Weather Station =====
  
-You can specify a file from which XRouter will import weather data, making it available to the WX command. The file can be in WXNOW, CUMULUS or <name>: <value> format.+If you have your own weather station, you may be able to hook it up to XRouter, to make the data available to others. Why? Because it is interesting! 
 + 
 +Even if you don't have your own sensor, you may be able to sniff data from nearby sensors on the 433MHz or 868 MHz bands, or just source it from the web. 
 + 
 +==== Data via REST ==== 
 + 
 +Some home weather stations can export data to the cloud, and/or to local servers, including XRouter. In the following example, the raw data was received by REST from a Youshiko weather station, with XRouter archiving the data and maintaining the statistics. 
 + 
 +{{packet:xrouter:xrwxlocal1.png}} 
 + 
 +==== Data via MQTT ==== 
 + 
 +In the following example, the data was captured off-air from an old Excelvan 433 MHz weather station using a cheap TV dongle and the RTL-433 program. The latter exported the data into XRouter's MQTT server. //Unfortunately this weather station gets barometric pressure from the indoor display unit, so the RF data broadcast does not include pressure.// 
 + 
 +{{packet:xrouter:xrwxlocal2.png}} 
 + 
 +==== Data via File ==== 
 + 
 +Some weather stations can export their data to a computer file. 
 + 
 +You can specify a file from which XRouter will import weather data at regular intervals. The file can be in WXNOW, CUMULUS or <name>: <value> format. 
 + 
 +==== Data from Cloud ==== 
 + 
 +If you don't have your own weather station, XRouter can be configured to pull data from cloud services such as Wunderground etc.  Any weather data is better than no weather data! 
 + 
 +===== Publishing Your Weather Data ===== 
 + 
 +XRouter can publish APRS weather beacons, both on-air, and via its [[packet:xrouter:igate|APRS IGATE]]. 
 + 
 +It can also publish weather data via its integral [[packet:xrouter:mqtt-iface|MQTT broker]]. 
 + 
 +Weather data can also be obtained via REST, and via the HTML interface. 
 + 
 +{{packet:xrouter:wxhtml.png}}
  
-All you have to do is arrange for your weather station to output data to a file in one of those formats. 
  
-Or you can pull data from Wunderground etc. 
  
-Let's make Packet interesting again!+**"Let's make Packet interesting again!"**
  
 **Prev:** [[info | Information System]] **Prev:** [[info | Information System]]
packet/xrouter/weather.1740192360.txt.gz · Last modified: 2025/02/22 02:46 by g8pzt