Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update weather app #75

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Oct 6, 2022

  1. Update weather icons.

    Make weather icons use a palette of 3 colours.
    gantonayde committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    a1ff480 View commit details
    Browse the repository at this point in the history
  2. Remove mask from weather icons.

    Add COLOUR variable if the display supports a third colour.
    gantonayde committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    bcbdaf7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d33ae78 View commit details
    Browse the repository at this point in the history
  4. Add TEMP_THRESHOLD env variable.

    User can set a variable above which T will be shown in colour
    if the display supports it.
    gantonayde committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    a279ae1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c40363b View commit details
    Browse the repository at this point in the history
  6. Apply create_mask only some cases.

    Only for WAVESHARE and WEATHER_INVERT
    gantonayde committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    a302b0a View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. Add colour display weather font adjustments.

    Add X_OFFSET and Y_OFFSET to text.
    Increase text font size by 2.
    gantonayde committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    6018b0c View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. 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 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]>
    gantonayde committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    965865a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into update-weather-app.

    Add repo.yml
    gantonayde committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    09c70d0 View commit details
    Browse the repository at this point in the history