Skip to content

Commit

Permalink
Config now sets correct units in weewx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
swfrx authored Jun 29, 2022
1 parent 21fca25 commit 4ba7254
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#-------- extension info -----------

VERSION = "0.2"
VERSION = "1.0"
NAME = 'SguWeewx'
DESCRIPTION = 'A highly bespoke skin used to interface the SGU weather station with the Pilot\'s Wiki'
AUTHOR = "Sally Woolrich"
Expand All @@ -30,17 +30,26 @@ def __init__(self):
'skin': 'SguWeewx',
'enable' : 'True',
'lang': 'en',
# 'HTML_ROOT': 'dokuwiki',
# 'unit_system': 'metricwx'
},
'PolarWindPlot': {
'skin': 'PolarWindPlot',
'enable' : 'True',
# 'HTML_ROOT': 'media/weather',
# 'lang': 'en',
# 'unit_system': 'metricwx'
}
}
},
'Defaults': {
'Units': {
'Groups': {
'group_altitude': 'meter',
'group_pressure': 'hPa',
'group_rain': 'mm',
'group_rainrate': 'mm_per_hour',
'group_temperature': 'degree_C',
'group_speed': 'knot',
'group_speed2': 'knot2',
'unused': 'unused',
},
},
},
},
},
files=[('bin/user', ['bin/user/sguweewx.py', 'bin/user/polarwindplot.py']),
('skins/SguWeewx',
Expand Down

0 comments on commit 4ba7254

Please sign in to comment.