Skip to content

Conversation

@gantonayde
Copy link

  • Make weather icons use a palette of 3 colours.
  • Remove mask from weather icons.
  • Define separate Celsius to Fahrenheit function.
  • Add TEMP_THRESHOLD env variable. Default value is 25 C (77 F). Above this value the temperature reading is shown in colour on colour displays.
  • Add colour display weather font adjustments. Add X_OFFSET and Y_OFFSET to text. Increase text font size by 2.
  • Add function that swaps two colours.
  • Swap the black and colour pixels of night weather icons.
  • Add DARK_MODE as environment variable. It swaps black and white pixels on the final image.

Change-type: minor
Signed-off-by: Genadi Naydenov [email protected]

Make weather icons use a palette of 3 colours.
Add COLOUR variable if the display supports a third colour.
User can set a variable above which T will be shown in colour
if the display supports it.
Only for WAVESHARE and WEATHER_INVERT
Add X_OFFSET and Y_OFFSET to text.
Increase text font size by 2.
@gantonayde gantonayde force-pushed the update-weather-app branch 5 times, most recently from 8507157 to d0e37c8 Compare October 11, 2022 07:33
Swap the black and colour pixels of night weather icons.
Add `DARK_MODE` as environment variable. It swaps black and white
pixels of the final image.
Make weather text scaling and icon positioning based on display height.
Make swap colours False by defualt.
Fix 02d.png and 02n.png position for small screens.
Limit dark mode to weather mode.
Update README.
Switch to flowzone.

Change-type: minor
Signed-off-by: Genadi Naydenov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant