weather


[ Пред. ] [ Содержание ] [ След. ]

weather


Created Пятница 13 апреля 2018
272/010g006t069r010p030P020h61b10150
Format of the file
The first line is the time the file was created in local PC time. Please note that the day of the month, the hour and the minute must be padded to two digits with zeros if needed.
The second line is the wx report, in the format used in APRS "complete weather reports". The format is:
272 - wind direction - 272 degrees
010 - wind speed - 10 mph
g006 - wind gust - 6 mph
t069 - temperature - 69 degrees F
r010 - rain in last hour in hundredths of an inch - 0.1 inches
p030 - rain in last 24 hours in hundredths of an inch - 0.3 inches (Cumulus does not supply this value)
P020 - rain since midnight in hundredths of an inch - 0.2 inches
h61 - humidity 61% (00 = 100%)
b10150 - barometric pressure in tenths of a millibar - 1015.0 millibars
From build 1028 of version 1.9.2:
Fix negative (F) temperatures
From Build 1097 of version 1.9.4:
Selecting APRS/CWOP option to send solar radiation now also adds it to wxnow.txt
Pressure in wxnow.txt is now 'altimeter' rather than MSLP

Отправка погоды из DireWolf


CBEACON sendto=IG delay=:30 every=30 infocmd="/root/bin/wx.sh"
1 wx.sh
date=date +%m%d%H%M
printf "_%sc000s000g000t%03.0fr000p000P000h%db00000wRSW" $date $temp $humidity
2 PBEACON LAT=42^37.14N LONG=71^20.83W SYMBOL=”weather station” COMMENTCMD=”tail -1 wxnow.txt”



Содержание