Skip to content

Commit

Permalink
Draw RainGauge in kvlang
Browse files Browse the repository at this point in the history
  • Loading branch information
peted-davis committed Sep 15, 2020
1 parent b706462 commit 926f433
Show file tree
Hide file tree
Showing 210 changed files with 439 additions and 28 deletions.
Binary file modified background/rainfall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed background/updateNotification.png
Binary file not shown.
Binary file added fonts/Inter-BoldItalic.ttf
Binary file not shown.
Binary file removed icons/moon/-.png
Binary file not shown.
Binary file removed icons/moon/Waning_0.png
Binary file not shown.
Binary file removed icons/moon/Waning_1.png
Binary file not shown.
Binary file removed icons/moon/Waning_10.png
Binary file not shown.
Binary file removed icons/moon/Waning_100.png
Binary file not shown.
Binary file removed icons/moon/Waning_11.png
Binary file not shown.
Binary file removed icons/moon/Waning_12.png
Binary file not shown.
Binary file removed icons/moon/Waning_13.png
Binary file not shown.
Binary file removed icons/moon/Waning_14.png
Binary file not shown.
Binary file removed icons/moon/Waning_15.png
Binary file not shown.
Binary file removed icons/moon/Waning_16.png
Binary file not shown.
Binary file removed icons/moon/Waning_17.png
Binary file not shown.
Binary file removed icons/moon/Waning_18.png
Binary file not shown.
Binary file removed icons/moon/Waning_19.png
Binary file not shown.
Binary file removed icons/moon/Waning_2.png
Binary file not shown.
Binary file removed icons/moon/Waning_20.png
Binary file not shown.
Binary file removed icons/moon/Waning_21.png
Binary file not shown.
Binary file removed icons/moon/Waning_22.png
Binary file not shown.
Binary file removed icons/moon/Waning_23.png
Binary file not shown.
Binary file removed icons/moon/Waning_24.png
Binary file not shown.
Binary file removed icons/moon/Waning_25.png
Binary file not shown.
Binary file removed icons/moon/Waning_26.png
Binary file not shown.
Binary file removed icons/moon/Waning_27.png
Binary file not shown.
Binary file removed icons/moon/Waning_28.png
Diff not rendered.
Binary file removed icons/moon/Waning_29.png
Diff not rendered.
Binary file removed icons/moon/Waning_3.png
Diff not rendered.
Binary file removed icons/moon/Waning_30.png
Diff not rendered.
Binary file removed icons/moon/Waning_31.png
Diff not rendered.
Binary file removed icons/moon/Waning_32.png
Diff not rendered.
Binary file removed icons/moon/Waning_33.png
Diff not rendered.
Binary file removed icons/moon/Waning_34.png
Diff not rendered.
Binary file removed icons/moon/Waning_35.png
Diff not rendered.
Binary file removed icons/moon/Waning_36.png
Diff not rendered.
Binary file removed icons/moon/Waning_37.png
Diff not rendered.
Binary file removed icons/moon/Waning_38.png
Diff not rendered.
Binary file removed icons/moon/Waning_39.png
Diff not rendered.
Binary file removed icons/moon/Waning_4.png
Diff not rendered.
Binary file removed icons/moon/Waning_40.png
Diff not rendered.
Binary file removed icons/moon/Waning_41.png
Diff not rendered.
Binary file removed icons/moon/Waning_42.png
Diff not rendered.
Binary file removed icons/moon/Waning_43.png
Diff not rendered.
Binary file removed icons/moon/Waning_44.png
Diff not rendered.
Binary file removed icons/moon/Waning_45.png
Diff not rendered.
Binary file removed icons/moon/Waning_46.png
Diff not rendered.
Binary file removed icons/moon/Waning_47.png
Diff not rendered.
Binary file removed icons/moon/Waning_48.png
Diff not rendered.
Binary file removed icons/moon/Waning_49.png
Diff not rendered.
Binary file removed icons/moon/Waning_5.png
Diff not rendered.
Binary file removed icons/moon/Waning_50.png
Diff not rendered.
Binary file removed icons/moon/Waning_51.png
Diff not rendered.
Binary file removed icons/moon/Waning_52.png
Diff not rendered.
Binary file removed icons/moon/Waning_53.png
Diff not rendered.
Binary file removed icons/moon/Waning_54.png
Diff not rendered.
Binary file removed icons/moon/Waning_55.png
Diff not rendered.
Binary file removed icons/moon/Waning_56.png
Diff not rendered.
Binary file removed icons/moon/Waning_57.png
Diff not rendered.
Binary file removed icons/moon/Waning_58.png
Diff not rendered.
Binary file removed icons/moon/Waning_59.png
Diff not rendered.
Binary file removed icons/moon/Waning_6.png
Diff not rendered.
Binary file removed icons/moon/Waning_60.png
Diff not rendered.
Binary file removed icons/moon/Waning_61.png
Diff not rendered.
Binary file removed icons/moon/Waning_62.png
Diff not rendered.
Binary file removed icons/moon/Waning_63.png
Diff not rendered.
Binary file removed icons/moon/Waning_64.png
Diff not rendered.
Binary file removed icons/moon/Waning_65.png
Diff not rendered.
Binary file removed icons/moon/Waning_66.png
Diff not rendered.
Binary file removed icons/moon/Waning_67.png
Diff not rendered.
Binary file removed icons/moon/Waning_68.png
Diff not rendered.
Binary file removed icons/moon/Waning_69.png
Diff not rendered.
Binary file removed icons/moon/Waning_7.png
Diff not rendered.
Binary file removed icons/moon/Waning_70.png
Diff not rendered.
Binary file removed icons/moon/Waning_71.png
Diff not rendered.
Binary file removed icons/moon/Waning_72.png
Diff not rendered.
Binary file removed icons/moon/Waning_73.png
Diff not rendered.
Binary file removed icons/moon/Waning_74.png
Diff not rendered.
Binary file removed icons/moon/Waning_75.png
Diff not rendered.
Binary file removed icons/moon/Waning_76.png
Diff not rendered.
Binary file removed icons/moon/Waning_77.png
Diff not rendered.
Binary file removed icons/moon/Waning_78.png
Diff not rendered.
Binary file removed icons/moon/Waning_79.png
Diff not rendered.
Binary file removed icons/moon/Waning_8.png
Diff not rendered.
Binary file removed icons/moon/Waning_80.png
Diff not rendered.
Binary file removed icons/moon/Waning_81.png
Diff not rendered.
Binary file removed icons/moon/Waning_82.png
Diff not rendered.
Binary file removed icons/moon/Waning_83.png
Diff not rendered.
Binary file removed icons/moon/Waning_84.png
Diff not rendered.
Binary file removed icons/moon/Waning_85.png
Diff not rendered.
Binary file removed icons/moon/Waning_86.png
Diff not rendered.
Binary file removed icons/moon/Waning_87.png
Diff not rendered.
Binary file removed icons/moon/Waning_88.png
Diff not rendered.
Binary file removed icons/moon/Waning_89.png
Diff not rendered.
Binary file removed icons/moon/Waning_9.png
Diff not rendered.
Binary file removed icons/moon/Waning_90.png
Diff not rendered.
Binary file removed icons/moon/Waning_91.png
Diff not rendered.
Binary file removed icons/moon/Waning_92.png
Diff not rendered.
Binary file removed icons/moon/Waning_93.png
Diff not rendered.
Binary file removed icons/moon/Waning_94.png
Diff not rendered.
Binary file removed icons/moon/Waning_95.png
Diff not rendered.
Binary file removed icons/moon/Waning_96.png
Diff not rendered.
Binary file removed icons/moon/Waning_97.png
Diff not rendered.
Binary file removed icons/moon/Waning_98.png
Diff not rendered.
Binary file removed icons/moon/Waning_99.png
Diff not rendered.
Binary file removed icons/moon/Waxing_0.png
Diff not rendered.
Binary file removed icons/moon/Waxing_1.png
Diff not rendered.
Binary file removed icons/moon/Waxing_10.png
Diff not rendered.
Binary file removed icons/moon/Waxing_100.png
Diff not rendered.
Binary file removed icons/moon/Waxing_11.png
Diff not rendered.
Binary file removed icons/moon/Waxing_12.png
Diff not rendered.
Binary file removed icons/moon/Waxing_13.png
Diff not rendered.
Binary file removed icons/moon/Waxing_14.png
Diff not rendered.
Binary file removed icons/moon/Waxing_15.png
Diff not rendered.
Binary file removed icons/moon/Waxing_16.png
Diff not rendered.
Binary file removed icons/moon/Waxing_17.png
Diff not rendered.
Binary file removed icons/moon/Waxing_18.png
Diff not rendered.
Binary file removed icons/moon/Waxing_19.png
Diff not rendered.
Binary file removed icons/moon/Waxing_2.png
Diff not rendered.
Binary file removed icons/moon/Waxing_20.png
Diff not rendered.
Binary file removed icons/moon/Waxing_21.png
Diff not rendered.
Binary file removed icons/moon/Waxing_22.png
Diff not rendered.
Binary file removed icons/moon/Waxing_23.png
Diff not rendered.
Binary file removed icons/moon/Waxing_24.png
Diff not rendered.
Binary file removed icons/moon/Waxing_25.png
Diff not rendered.
Binary file removed icons/moon/Waxing_26.png
Diff not rendered.
Binary file removed icons/moon/Waxing_27.png
Diff not rendered.
Binary file removed icons/moon/Waxing_28.png
Diff not rendered.
Binary file removed icons/moon/Waxing_29.png
Diff not rendered.
Binary file removed icons/moon/Waxing_3.png
Diff not rendered.
Binary file removed icons/moon/Waxing_30.png
Diff not rendered.
Binary file removed icons/moon/Waxing_31.png
Diff not rendered.
Binary file removed icons/moon/Waxing_32.png
Diff not rendered.
Binary file removed icons/moon/Waxing_33.png
Diff not rendered.
Binary file removed icons/moon/Waxing_34.png
Diff not rendered.
Binary file removed icons/moon/Waxing_35.png
Diff not rendered.
Binary file removed icons/moon/Waxing_36.png
Diff not rendered.
Binary file removed icons/moon/Waxing_37.png
Diff not rendered.
Binary file removed icons/moon/Waxing_38.png
Diff not rendered.
Binary file removed icons/moon/Waxing_39.png
Diff not rendered.
Binary file removed icons/moon/Waxing_4.png
Diff not rendered.
Binary file removed icons/moon/Waxing_40.png
Diff not rendered.
Binary file removed icons/moon/Waxing_41.png
Diff not rendered.
Binary file removed icons/moon/Waxing_42.png
Diff not rendered.
Binary file removed icons/moon/Waxing_43.png
Diff not rendered.
Binary file removed icons/moon/Waxing_44.png
Diff not rendered.
Binary file removed icons/moon/Waxing_45.png
Diff not rendered.
Binary file removed icons/moon/Waxing_46.png
Diff not rendered.
Binary file removed icons/moon/Waxing_47.png
Diff not rendered.
Binary file removed icons/moon/Waxing_48.png
Diff not rendered.
Binary file removed icons/moon/Waxing_49.png
Diff not rendered.
Binary file removed icons/moon/Waxing_5.png
Diff not rendered.
Binary file removed icons/moon/Waxing_50.png
Diff not rendered.
Binary file removed icons/moon/Waxing_51.png
Diff not rendered.
Binary file removed icons/moon/Waxing_52.png
Diff not rendered.
Binary file removed icons/moon/Waxing_53.png
Diff not rendered.
Binary file removed icons/moon/Waxing_54.png
Diff not rendered.
Binary file removed icons/moon/Waxing_55.png
Diff not rendered.
Binary file removed icons/moon/Waxing_56.png
Diff not rendered.
Binary file removed icons/moon/Waxing_57.png
Diff not rendered.
Binary file removed icons/moon/Waxing_58.png
Diff not rendered.
Binary file removed icons/moon/Waxing_59.png
Diff not rendered.
Binary file removed icons/moon/Waxing_6.png
Diff not rendered.
Binary file removed icons/moon/Waxing_60.png
Diff not rendered.
Binary file removed icons/moon/Waxing_61.png
Diff not rendered.
Binary file removed icons/moon/Waxing_62.png
Diff not rendered.
Binary file removed icons/moon/Waxing_63.png
Diff not rendered.
Binary file removed icons/moon/Waxing_64.png
Diff not rendered.
Binary file removed icons/moon/Waxing_65.png
Diff not rendered.
Binary file removed icons/moon/Waxing_66.png
Diff not rendered.
Binary file removed icons/moon/Waxing_67.png
Diff not rendered.
Binary file removed icons/moon/Waxing_68.png
Diff not rendered.
Binary file removed icons/moon/Waxing_69.png
Diff not rendered.
Binary file removed icons/moon/Waxing_7.png
Diff not rendered.
Binary file removed icons/moon/Waxing_70.png
Diff not rendered.
Binary file removed icons/moon/Waxing_71.png
Diff not rendered.
Binary file removed icons/moon/Waxing_72.png
Diff not rendered.
Binary file removed icons/moon/Waxing_73.png
Diff not rendered.
Binary file removed icons/moon/Waxing_74.png
Diff not rendered.
Binary file removed icons/moon/Waxing_75.png
Diff not rendered.
Binary file removed icons/moon/Waxing_76.png
Diff not rendered.
Binary file removed icons/moon/Waxing_77.png
Diff not rendered.
Binary file removed icons/moon/Waxing_78.png
Diff not rendered.
Binary file removed icons/moon/Waxing_79.png
Diff not rendered.
Binary file removed icons/moon/Waxing_8.png
Diff not rendered.
Binary file removed icons/moon/Waxing_80.png
Diff not rendered.
Binary file removed icons/moon/Waxing_81.png
Diff not rendered.
Binary file removed icons/moon/Waxing_82.png
Diff not rendered.
Binary file removed icons/moon/Waxing_83.png
Diff not rendered.
Binary file removed icons/moon/Waxing_84.png
Diff not rendered.
Binary file removed icons/moon/Waxing_85.png
Diff not rendered.
Binary file removed icons/moon/Waxing_86.png
Diff not rendered.
Binary file removed icons/moon/Waxing_87.png
Diff not rendered.
Binary file removed icons/moon/Waxing_88.png
Diff not rendered.
Binary file removed icons/moon/Waxing_89.png
Diff not rendered.
Binary file removed icons/moon/Waxing_9.png
Diff not rendered.
Binary file removed icons/moon/Waxing_90.png
Diff not rendered.
Binary file removed icons/moon/Waxing_91.png
Diff not rendered.
Binary file removed icons/moon/Waxing_92.png
Diff not rendered.
Binary file removed icons/moon/Waxing_93.png
Diff not rendered.
Binary file removed icons/moon/Waxing_94.png
Diff not rendered.
Binary file removed icons/moon/Waxing_95.png
Diff not rendered.
Binary file removed icons/moon/Waxing_96.png
Diff not rendered.
Binary file removed icons/moon/Waxing_97.png
Diff not rendered.
Binary file removed icons/moon/Waxing_98.png
Diff not rendered.
Binary file removed icons/moon/Waxing_99.png
Diff not rendered.
363 changes: 363 additions & 0 deletions kvlang/rainGauge.kv
Original file line number Diff line number Diff line change
@@ -0,0 +1,363 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2020 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
## Foundation, either version 3 of the License, or (at your option) any later
## version.

## This program is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
## FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
## details.

## You should have received a copy of the GNU General Public License along with
## this program. If not, see <http://www.gnu.org/licenses/>.

<RainGauge@FloatLayout>:
TitleField:
text: 'Rain Rate'
pos_hint: {'x': 182/262, 'y': 126/202}
size_hint_x: (70/262)
color: utils.rgba('#807e76ff')
canvas.before:
PushMatrix
Rotate:
angle: 90
origin: self.center
canvas.after:
PopMatrix
Widget:
pos_hint: {'x': 198/262, 'y': 187/202}
size_hint: [4/262, 1/202]
canvas.after:
Color:
rgba: utils.rgba('646464ff')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 201/262, 'y': 80/202}
size_hint: [1/262, 108/202]
canvas.after:
Color:
rgba: utils.rgba('646464ff')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 201/262, 'y': 80/202}
size_hint: [35/262, 1/202]
canvas.after:
Color:
rgba: utils.rgba('646464ff')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 235/262, 'y': 80/202}
size_hint: [1/262, 108/202]
canvas.after:
Color:
rgba: utils.rgba('646464ff')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 235/262, 'y': 187/202}
size_hint: [4/262, 1/202]
canvas.after:
Color:
rgba: utils.rgba('646464ff')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 181/202}
size_hint: [8/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('f05e40b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 174.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('e06247b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 168/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('d0674fb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 161.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('c06c57b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 155/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('b0705eb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 148.5/202}
size_hint: [8/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('a07566b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 142/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('907a6eb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 135.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('807e76b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 129/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('70837db2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 122.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('608885b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 116/202}
size_hint: [8/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('508c8db2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 109.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('409195b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 103/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('30969cb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 96.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('209aa4b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 90/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('109facb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 202/262, 'y': 83.5/202}
size_hint: [8/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('00a4b4b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 227/262, 'y': 181/202}
size_hint: [8/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('f05e40b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 174.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('e06247b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 168/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('d0674fb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 161.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('c06c57b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 155/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('b0705eb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 227/262, 'y': 148.5/202}
size_hint: [8/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('a07566b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 142/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('907a6eb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 135.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('807e76b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 129/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('70837db2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 122.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('608885b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 227/262, 'y': 116/202}
size_hint: [8/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('508c8db2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 109.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('409195b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 103/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('30969cb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 96.5/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('209aa4b2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 231/262, 'y': 90/202}
size_hint: [4/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('109facb2')
Rectangle:
pos: self.pos
size: self.size
Widget:
pos_hint: {'x': 227/262, 'y': 83.5/202}
size_hint: [8/262, 2.5/202]
canvas.after:
Color:
rgba: utils.rgba('00a4b4b2')
Rectangle:
pos: self.pos
size: self.size
2 changes: 1 addition & 1 deletion lib/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def Sky(Msg,wfpiconsole):
# Extract required observations from latest SKY Websocket JSON
Time = [Ob[0],'s']
UV = [Ob[2],'index']
Rain = [Ob[3],'mm']
Rain = [0.5,'mm'] #Ob[3]
WindSpd = [Ob[5],'mps']
WindGust = [Ob[6],'mps']
WindDir = [Ob[7],'degrees']
Expand Down
Loading

0 comments on commit 926f433

Please sign in to comment.