File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " pi-inky-weather-epd"
3- version = " 0.5.2 "
3+ version = " 0.5.3 "
44edition = " 2021"
55authors = [" MT" ]
66description = " A weather display application for the Raspberry Pi using an EPD (e-paper display)."
Original file line number Diff line number Diff line change @@ -24,7 +24,19 @@ This is a weather display powered by a Raspberry Pi and a 7.3in 7 colour E-Paper
2424 unzip < YOUR_DOWNLOAD_RELEASE> .tar.gz
2525 chmod +x pi-inky-weather-epd
2626 ```
27- 3 . Obtain a six-character geohash for your location from https://geohash.softeng.co
27+ 3 . Australia -> Bom API
28+ 1 . Obtain a six-character geohash of your location from https://geohash.softeng.co
29+ 2 . Create a configuration file with your geohash:
30+ ``` bash
31+ echo -e ' [api]\nlocation = "YOUR_GEOHASH"' > ~ /.config/pi-inky-weather-epd.toml
32+ ```
33+ Worldwide -> Open-Metro (WIP)
34+ 1 . Obtain a Longitude and Latitude of your location from https://geohash.softeng.co
35+ 2 . Create a configuration file with your geohash:
36+ ``` bash
37+ echo -e ' [api]\lon_lat = "LON,Lat"' > ~ /.config/pi-inky-weather-epd.toml
38+ ```
39+
2840
29414 . Create a configuration file with your geohash:
3042 ``` bash
Original file line number Diff line number Diff line change @@ -479,10 +479,10 @@ impl HourlyForecastGraph {
479479 x = x_coor,
480480 chart_height = self . height,
481481 x_text = x_coor + 10.0 ,
482- y_text = self . height / 2.0 ,
482+ y_text = ( self . height / 2.0 ) + 20 .0,
483483 font_style = FontStyle :: Italic ,
484484 rotate_x_text = x_coor + 10.0 - 30.0 ,
485- rotate_y_text = ( self . height / 2.0 ) - 35 .0,
485+ rotate_y_text = ( self . height / 2.0 ) - 15 .0,
486486 colour = self . text_colour,
487487 tomorrow_day_name = tomorrow_day_name
488488 )
You can’t perform that action at this time.
0 commit comments