]> git.basschouten.com Git - openhab-addons.git/blob
19f8fb7fecff57cff308e0b331ce8c5ebe109f6d
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.ecobee.internal.dto.thermostat;
14
15 import java.util.Date;
16
17 /**
18  * The {@link WeatherForecastDTO} contains the weather forecast information for
19  * the thermostat. The first forecast is the most accurate, later forecasts
20  * become less accurate in distance and time.
21  *
22  * Weather Symbol Mappings
23  *
24  * @author Mark Hilbush - Initial contribution
25  */
26 public class WeatherForecastDTO {
27
28     /*
29      * The Integer value used to map to a weatherSymbol.
30      */
31     public Integer weatherSymbol;
32
33     /*
34      * The time stamp of the weather forecast.
35      */
36     public Date dateTime;
37
38     /*
39      * A text value representing the current weather condition.
40      */
41     public String condition;
42
43     /*
44      * The current temperature.
45      */
46     public Integer temperature;
47
48     /*
49      * The current barometric pressure.
50      */
51     public Integer pressure;
52
53     /*
54      * The current humidity.
55      */
56     public Integer relativeHumidity;
57
58     /*
59      * he dewpoint.
60      */
61     public Integer dewpoint;
62
63     /*
64      * The visibility in meters; 0 - 70,000.
65      */
66     public Integer visibility;
67
68     /*
69      * The wind speed as an integer in mph * 1000.
70      */
71     public Integer windSpeed;
72
73     /*
74      * The wind gust speed.
75      */
76     public Integer windGust;
77
78     /*
79      * The wind direction.
80      */
81     public String windDirection;
82
83     /*
84      * The wind bearing.
85      */
86     public Integer windBearing;
87
88     /*
89      * The probability of precipitation.
90      */
91     public Integer pop;
92
93     /*
94      * The predicted high temperature for the day.
95      */
96     public Integer tempHigh;
97
98     /*
99      * The predicted low temperature for the day.
100      */
101     public Integer tempLow;
102
103     /*
104      * The cloud cover condition.
105      */
106     public Integer sky;
107 }