Skip to content

Commit

Permalink
Update ambientweather-poly.py, editors.xml, and 6 more files...first …
Browse files Browse the repository at this point in the history
…stage of re-design to better support all Ambient Weather systems.
  • Loading branch information
simplextech committed Nov 29, 2019
1 parent 31e906e commit d96fc59
Show file tree
Hide file tree
Showing 8 changed files with 1,389 additions and 140 deletions.
1,113 changes: 994 additions & 119 deletions ambientweather-poly.py

Large diffs are not rendered by default.

22 changes: 17 additions & 5 deletions profile/editor/editors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,33 @@
<range uom="2" subset="0,1" />
</editor>

<editor id="BATLVL">
<range uom="2" subset="0,1" />
</editor>

<editor id="CLITEMP">
<range uom="17" min="-40" max="149" step="1" prec="1" />
</editor>

<editor id="CLIHUM">
<range uom="22" min="10" max="100" prec="0" />
</editor>
<editor id="inhg">

<editor id="INHG">
<range uom="23" min="8.25" max="32.50" prec="2" />
</editor>

<editor id="LUMIN">
<range uom="36" min="0" max="200000" prec="0" />
</editor>
</editor>

<editor id="MOIST">
<range uom="22" min="0" max="100" prec="0" />
</editor>

<editor id="PPM">
<range uom="54" min="0" max="1000" prec="3" />
</editor>

<editor id="UV">
<range uom="71" min="0" max="20" prec="1" />
Expand All @@ -28,11 +40,11 @@
<range uom="74" min="0" max="200000" prec="1" />
</editor>

<editor id="mph">
<editor id="MPH">
<range uom="48" min="0" max="100" prec="1" />
</editor>

<editor id="inches">
<editor id="INCH">
<range uom="105" min="0" max="288" prec="3" />
</editor>

Expand Down
78 changes: 77 additions & 1 deletion profile/nls/en_us.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,80 @@ EN_WIND_DIRECTION-12 = West-Southwest
EN_WIND_DIRECTION-13 = West
EN_WIND_DIRECTION-14 = West-Northwest
EN_WIND_DIRECTION-15 = Northwest
EN_WIND_DIRECTION-16 = North-Northwest
EN_WIND_DIRECTION-16 = North-Northwest

# PWS_NODE
ND-PWS_NODE-NAME = Personal Weather Station
ND-PWS_NODE-ICON = Weather
ST-PWS-ST-NAME = Online

ND-BATTIN_NODE-NAME = Battery Inside
ND-BATTIN_NODE-ICON = Input

ND-BATT_NODE-NAME = Battery Outside
ND-BATT_NODE-ICON = Input

ND-TEMPINF_NODE-NAME = Temperature Inside
ND-TEMPINF_NODE-ICON = Input

ND-TEMPF_NODE-NAME = Temperature Outside
ND-TEMPF_NODE-ICON = Input

ND-FEELSLIKEIN_NODE-NAME = Feels Like Inside
ND-FEELSLIKEIN_NODE-ICON = Input

ND-FEELSLIKE_NODE-NAME = Feels Like Outside
ND-FEELSLIKE_NODE-ICON = Input

ND-DEWPOINTIN_NODE-NAME = Dew Point Inside
ND-DEWPOINTIN_NODE-ICON = Input

ND-DEWPOINT_NODE-NAME = Dew Point Outside
ND-DEWPOINT_NODE-ICON = Input

ND-HUMIDITYIN_NODE-NAME = Humidity Inside
ND-HUMIDITYIN_NODE-ICON = Input

ND-HUMIDITY_NODE-NAME = Humidity Outside
ND-HUMIDITY_NODE-ICON = Input

ND-PRESSURE_NODE-NAME = Barometric Pressure
ND-PRESSURE_NODE-ICON = Input

ND-RAINHOUR_NODE-NAME = Rain Hour
ND-RAINHOUR_NODE-ICON = Input

ND-RAINDAY_NODE-NAME = Rain Day
ND-RAINDAY_NODE-ICON = Input

ND-RAINWEEK_NODE-NAME = Rain Week
ND-RAINWEEK_NODE-ICON = Input

ND-RAINMONTH_NODE-NAME = Rain Month
ND-RAINMONTH_NODE-ICON = Input

ND-RAINYEAR_NODE-NAME = Rain Year
ND-RAINYEAR_NODE-ICON = Input

ND-RAINTOTAL_NODE-NAME = Rain Total
ND-RAINTOTAL_NODE-ICON = Input

ND-RAINEVENT_NODE-NAME = Rain Event
ND-RAINEVENT_NODE-ICON = Input

ND-SOLAR_NODE-NAME = Solar
ND-SOLAR_NODE-ICON = Input

ND-WIND_NODE-NAME = Wind
ND-WIND_NODE-ICON = Input

ND-WH31_NODE-NAME = WH31 Sensor
ND-WH31_NODE-ICON = Input


ST-WIND-GV0-NAME = Wind Direction (cardinal)
ST-WIND-GV1-NAME = Wind Gust
ST-WIND-GV2-NAME = Wind Max Daily Gust

ST-WH31-GV0-NAME = Feels Like
ST-WH31-GV1-NAME = Dew Point
Loading

0 comments on commit d96fc59

Please sign in to comment.