-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweather-davis-vantage-vue.proto
65 lines (51 loc) · 1.69 KB
/
weather-davis-vantage-vue.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
syntax = "proto3";
/*
* Inspired by the official protocol spec docs, and the Weather Underground upload protocol
* Weather underground: http://wiki.wunderground.com/index.php/PWS_-_Upload_Protocol
* Davis Protocol spec: https://www.davisnet.com/support/weather/download/VantageSerialProtocolDocs_v261.pdf
* Davis Sensor Details: https://www.davisnet.com/product_documents/weather/spec_sheets/6250_6351_57_SS.pdf
*/
/*
* Packet containing all weather station live data
*/
package Simulator;
message SimulatorData {
string Timestamp = 1 ;
float OutsideAirTemperatureInC = 2;
float OutsideRelativeHumidity = 3;
float OutsideDewPointTemperatureInC = 4;
float BarometricPressureInHPaPerMb = 5;
uint32 PresentWindDirection = 6;
float PresentWindSpeedInKnots = 7;
float UVIndexInRange016 = 8;
float SolarRadiationWattsPerM2InRange01800 = 9;
float RainRateInMmPerHour = 10;
float DailyRainInMm = 11;
float DailyETInMm = 12;
float MonthlyETInMm = 13;
float TenMinuteAverageWindSpeedInKnots = 14;
float TwoMinuteAverageWindSpeedInKnots = 15;
float TenMinuteWindGustSpeedInKnots = 16;
uint32 TenMinuteWindGustDirection = 17;
string deviceId = 18;
uint32 packageId = 19;
}
/*
* Packet containing all weather station alarm states
*/
message WeatherStationAlarmPacket {
string deviceId = 1;
uint32 packageId = 2;
// Inside Alarms
uint32 insideAlarms = 3;
// Rain Alarms
uint32 rainAlarms = 4;
// Outside Alarms
uint32 ousideAlarms = 5;
// Humidity Alarms
uint32 humidityAlarms = 6;
// Temp Alarms
uint32 tempAlarms = 7;
// Soil & Leaf Alarms
uint32 soilLeafAlarms = 8;
}