mirror of
https://github.com/weewx/weewx.git
synced 2026-04-20 01:26:56 -04:00
Added 'windGustDir' to the list of types retrieved from the database for Ambient-like protocols.
This commit is contained in:
@@ -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=?"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user