Added 'windGustDir' to the list of types retrieved from the database for Ambient-like protocols.

This commit is contained in:
Tom Keffer
2013-01-16 14:21:54 +00:00
parent f45bc628f1
commit 8308b366e2

View File

@@ -40,7 +40,7 @@ class REST(object):
# The types to be retrieved from the arhive database:
archive_types = ['dateTime', 'usUnits', 'barometer', 'outTemp', 'outHumidity',
'windSpeed', 'windDir', 'windGust', 'dewpoint', 'radiation', 'UV']
'windSpeed', 'windDir', 'windGust', 'windGustDir', 'dewpoint', 'radiation', 'UV']
# A SQL statement to do the retrieval:
sql_select = "SELECT " + ", ".join(archive_types) + " FROM archive WHERE dateTime=?"