Ambient Weather Support
Awnet Advanced Settings
The console is capable of uploading directly to your own website, so you can process the data independent of the cloud services.
From the awnet app, tap Enable and enter your server IP / hostname, protocol type, path, port and upload interval, and select Save.
Weather Underground Protocol:
The Weather Underground protocol is defined here:
https://support.weather.com/s/article/PWS-Upload-Protocol?language=en_US
Ambient Weather Protocol:
The upload protocol is an https write command (port 80), separated by the & character.
The server shall support both simple text and encrypted data stings.
The weather station will always send the Station MAC (a unique identifier), and date/time sting.
The remaining string consists of measured parameters. Only parameters in the customer’s system are sent.
Here is a typical URL, and will vary in size based on the number of measured parameters:
MAC=XX.XX.XX.XX.XX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windspeedmph=12&windgustmph=12&tempf=70&hourlyrainin=0&dailyrainin=0&weeklyrainin=0.03&monthlyrainin=0.05&yearlyrainin=12.26&totalrainin=15.82&baromrelin=29.18&baromabsin=28.12&humidity=90&tempinf=77.2& humidityin=32&uv=3&solarradiation=320
The following tables define the parameter names:
No | Parameter Abbreviation | Description | Parameter Type | Default Units of Measure |
Station | ||||
1 | MAC | Device Mac address. Colons included. | String Example, 00:0E:C6:00:07:10 | |
Date and Time | ||||
2 | dateutc | YYYY-MM-DD HH:MM:SS (mysql format)] In Universal Coordinated Time (UTC) Not local time | string | |
Measured Parameters | ||||
3 | winddir | 0-360º instantaneous wind direction | integer | º (degrees) |
4 | windspeedmph | instantaneous wind speed | float | mph |
5 | windgustmph | Instantaneous wind gust | float | mph |
6 | windgustdir | Wind direction at which the wind gust occurred, 0-360º | integer | º (degrees) |
7 | maxdailygust | Max daily gust | Float | mph |
8 | windspdmph_avg2m | Average wind speed, 2 minute average | float | mph |
9 | winddir_avg2m | Average wind direction, 2 minute average | integer | º (degrees) |
10 | windspdmph_avg10m | Average wind speed, 10 minute average | float | mph |
11 | winddir_avg10m | Average wind direction, 10 minute average | integer | º (degrees) |
12 | windgustmph_interval | Max Wind Speed in update interval, the default is one minute | integer | º (degrees) |
13 | humidity | Outdoor Humidity, 0-100% | integer | % |
14 | humidity1 | Humidity 1, 0-100% | integer | % |
15 | humidity2 | Humidity 2, 0-100% | integer | % |
16 | humidity3 | Humidity 3, 0-100% | integer | % |
17 | humidity4 | Humidity 4, 0-100% | integer | % |
18 | humidity5 | Humidity 5, 0-100% | integer | % |
19 | humidity6 | Humidity 6, 0-100% | integer | % |
20 | humidity7 | Humidity 7, 0-100% | integer | % |
21 | humidity8 | Humidity 8, 0-100% | integer | % |
22 | humidity9 | Humidity 9, 0-100% | integer | % |
23 | humidity10 | Humidity 10, 0-100% | integer | % |
24 | humidityin | Indoor Humidity, 0-100% | integer | % |
25 | tempf | Outdoor Temperature | float | ºF |
26 | temp1f | Temperature 1 | float | ºF |
27 | temp2f | Temperature 2 | float | ºF |
28 | temp3f | Temperature 3 | float | ºF |
29 | temp4f | Temperature 4 | float | ºF |
30 | temp5f | Temperature 5 | float | ºF |
31 | temp6f | Temperature 6 | float | ºF |
32 | temp7f | Temperature 7 | float | ºF |
33 | temp8f | Temperature 8 | float | ºF |
34 | temp9f | Temperature 9 | float | ºF |
35 | temp10f | Temperature 10 | float | ºF |
36 | tempinf | Indoor Temperature | float | ºF |
37 | hourlyrainin | Hourly Rain | float | in |
38 | dailyrainin | Daily Rain | float | in |
39 | 24hourrainin | 24 Hour Rain | float | in |
40 | weeklyrainin | Weekly Rain | float | in |
41 | monthlyrainin | Monthly Rain | float | in |
42 | yearlyrainin | Yearly Rain | float | in |
43 | eventrainin | Event Rain | float | in |
44 | totalrain | Total Rain | float | in |
45 | baromrelin | Relative Pressure | float | inHg |
46 | baromabsin | Absolute Pressure | float | inHg |
47 | uv | Ultra-Violet Radiation Index | Integer | |
48 | solarradiation | Solar Radiation | Float | W/m^2 |
49 | co2 | CO2 Meter | int | ppm |
50 | pm25 | PM2.5 Air Quality Sensor | int | µg/m3 |
51 | pm25_24h | PM2.5 Air Quality Sensor, 24 hour running average | float | µg/m3 |
52 | pm25_in | PM2.5 Air Quality Sensor, indoor | int | µg/m3 |
53 | pm25_in_24h | PM2.5 Air Quality Sensor indoor, 24 hour running average | float | µg/m3 |
54 | pm10_in | PM1.0 Air Quality Sensor | int | µg/m3 |
55 | pm10_in_24h | PM1.0 Air Quality Sensor, 24 hour running average | float | µg/m3 |
56 | co2_in | Indoor CO2 | int | ppm |
57 | co2_in_24h | Indoor CO2, 24 hour running average | float | ppm |
58 | pm_in_temp | Indoor PM sensor temperature | float | ºF |
59 | pm_in_humidity | Indoor PM sensor humidity | int | % |
60 | relay1 | Relay 1 | discrete 0 or 1 | |
61 | relay2 | Relay 2 | discrete 0 or 1 | |
62 | relay3 | Relay 3 | discrete 0 or 1 | |
63 | relay4 | Relay 4 | discrete 0 or 1 | |
64 | relay5 | Relay 5 | discrete 0 or 1 | |
65 | relay6 | Relay 6 | discrete 0 or 1 | |
66 | relay7 | Relay 7 | discrete 0 or 1 | |
67 | relay8 | Relay 8 | discrete 0 or 1 | |
68 | relay9 | Relay 9 | discrete 0 or 1 | |
69 | relay10 | Relay 10 | discrete 0 or 1 | |
70 | soiltemp1 | Soil Temperature 1 | float | ºF |
71 | soilltemp2 | Soil Temperature 2 | float | ºF |
72 | soiltemp3 | Soil Temperature 2 | float | ºF |
73 | soiltemp4 | Soil Temperature 3 | float | ºF |
734 | soiltemp5 | Soil Temperature 4 | float | ºF |
75 | soiltemp6 | Soil Temperature 5 | float | ºF |
76 | soiltemp7 | Soil Temperature 6 | float | ºF |
77 | soiltemp8 | Soil Temperature 7 | float | ºF |
78 | soiltemp9 | Soil Temperature 8 | float | ºF |
79 | soiltemp10 | Soil Temperature 9 | float | ºF |
80 | soilhum1 | Soil Moisture 1 | integer | % |
81 | soilhum2 | Soil Moisture 2 | integer | % |
82 | soilhum3 | Soil Moisture 3 | integer | % |
83 | soilhum4 | Soil Moisture 4 | integer | % |
84 | soilhum5 | Soil Moisture 5 | integer | % |
85 | soilhum6 | Soil Moisture 6 | integer | % |
86 | soilhum7 | Soil Moisture 7 | integer | % |
87 | soilhum8 | Soil Moisture 8 | integer | % |
88 | soilhum9 | Soil Moisture 9 | integer | % |
89 | soilhum10 | Soil Moisture 10 | integer | % |
90 | leak1 | Leak Detection 1 | discrete 0 or 1 0=no leak 1=leak detected 2=loss of communication for over 10 minutes. | |
91 | leak2 | Leak Detection 2 | discrete 0 or 1 0=no leak 1=leak detected 2=loss of communication for over 10 minutes. | |
92 | leak3 | Leak Detection 3 | discrete 0 or 1 0=no leak 1=leak detected 2=loss of communication for over 10 minutes. | |
93 | leak4 | Leak Detection 4 | discrete 0 or 1 0=no leak 1=leak detected 2=loss of communication for over 10 minutes. | |
94 | lightning_time | Last strike date and time | Seconds since January 1, 1970 | |
95 | lightning_day | Number of strikes per day | count | |
96 | lightning_distance | Distance of last strike | float | km |
In addition to the database parameters described in Table 1, the following parameters may be sent by the weather station in the event there is a low battery indicator. This may trigger an alarm (if the user requests it) but is not stored in the database.
Low Battery = 0
Normal Battery = 1
No | Parameter Abbreviation | Description | Parameter Type | Default Units of Measure |
1 | battout | Low battery indication, outdoor sensor array or suite | discrete 0 or 1 | |
2 | battin | Low battery indication, indoor sensor or console | discrete 0 or 1 | |
3 | batt1 | Low battery indication, sensor 1 | discrete 0 or 1 | |
4 | batt2 | Low battery indication, sensor 2 | discrete 0 or 1 | |
5 | batt3 | Low battery indication, sensor 3 | discrete 0 or 1 | |
6 | batt4 | Low battery indication, sensor 4 | discrete 0 or 1 | |
7 | batt5 | Low battery indication, sensor 5 | discrete 0 or 1 | |
8 | batt6 | Low battery indication, sensor 6 | discrete 0 or 1 | |
9 | batt7 | Low battery indication, sensor 7 | discrete 0 or 1 | |
10 | batt8 | Low battery indication, sensor 8 | discrete 0 or 1 | |
11 | batt9 | Low battery indication, sensor 9 | discrete 0 or 1 | |
12 | batt10 | Low battery indication, sensor 10 | discrete 0 or 1 | |
13 | battr1 | Low battery indication, relay 1 | discrete 0 or 1 | |
14 | battr2 | Low battery indication, relay 2 | discrete 0 or 1 | |
15 | battr3 | Low battery indication, relay 3 | discrete 0 or 1 | |
16 | battr4 | Low battery indication, relay 4 | discrete 0 or 1 | |
17 | battr5 | Low battery indication, relay 5 | discrete 0 or 1 | |
18 | battr6 | Low battery indication, relay 6 | discrete 0 or 1 | |
19 | battr7 | Low battery indication, relay 7 | discrete 0 or 1 | |
20 | battr8 | Low battery indication, relay 8 | discrete 0 or 1 | |
21 | battr9 | Low battery indication, relay 9 | discrete 0 or 1 | |
22 | battr10 | Low battery indication, relay 10 | discrete 0 or 1 | |
23 | batt_25 | Low battery indication, PM2.5 | discrete 0 or 1 | |
24 | batt_25in | Low battery indication, PM2.5 indoor | discrete 0 or 1 | |
25 | batleak1 | Leak Detection, sensor 1 | discrete 0 or 1 | |
26 | batleak2 | Leak Detection, sensor 2 | discrete 0 or 1 | |
27 | batleak3 | Leak Detection, sensor 3 | discrete 0 or 1 | |
28 | batleak4 | Leak Detection, sensor 4 | discrete 0 or 1 | |
29 | batt_lightning | Lighting detector battery | discrete 0 or 1 | |
30 | battsm1 | Soil Moisture 1 battery | discrete 0 or 1 | |
31 | battsm2 | Soil Moisture 2 battery | discrete 0 or 1 | |
32 | battsm3 | Soil Moisture 3 battery | discrete 0 or 1 | |
33 | battsm4 | Soil Moisture 4 battery | discrete 0 or 1 | |
34 | battrain | Rain Gauge battery | discrete 0 or 1 |