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

Enhancement Add IMO better Climate page UI #2361

Open
JoeyGE0 opened this issue Nov 3, 2024 · 2 comments
Open

Enhancement Add IMO better Climate page UI #2361

JoeyGE0 opened this issue Nov 3, 2024 · 2 comments
Labels
Enhancement For suggestions that add new features or improve existing functionalities.

Comments

@JoeyGE0
Copy link

JoeyGE0 commented Nov 3, 2024

Enhancement Summary

Add IMO better Climate page UI

Detailed Description

I have designed a better looking climate interface. All that would need to be done is replace old climate image with new one simply swap image.

new
new sonoff climate page (us)

old

old

i have also removed background which i can include. all my other backgrounds have been removed as i don't like the look of this.

happy to redesign some pages if it helps.

Additional Context

No response

@JoeyGE0 JoeyGE0 added the Enhancement For suggestions that add new features or improve existing functionalities. label Nov 3, 2024
@edwardtfn
Copy link
Collaborator

happy to redesign some pages if it helps.

I will take your offer... 😂

I'm fact, we have too many requests to change the background. I'm fine with the existing one, but I would also like to have more flexibility.
However, there are some challenges here... First, and probably biggest, is the fact that Nextion does not supports transparency on pictures or backgrounds.
This imposes some limitations in two specific cases:

  • The weather pics on home page. Those are currently pics with black background, so it must be over a black area of the page.
    One option here would be using MDI icons with bigger size, however that limits the multi-colored icons used now.
    Another option would be to have a few pre-selected background colors for those pics and arrange an engine to show the right one (this is the easy part).
  • The rounded buttons are also pics, so if we want selectable backgrounds, we need to make those squared or use paint tools to dynamically plot those (I'm afraid of performance issues - must be tested). Or have pre-selected colors.

Please let me know your thoughts.

@JoeyGE0
Copy link
Author

JoeyGE0 commented Nov 4, 2024

However, there are some challenges here... First, and probably biggest, is the fact that Nextion does not supports transparency on pictures or backgrounds.

This imposes some limitations in two specific cases:

  • The weather pics on home page. Those are currently pics with black background, so it must be over a black area of the page.

Very interesting they don't support transparency and does make changes harder. I have actually tweaked the Home Screen. I have changed fonts and changed weather icons. I used transparent icons which ended up adding a white background which looked horrible. Went into the nextion settings and changed replace transparency colour to 0 and now looks great.
image

I have limited experience with these displays but can get get by with changing simple things on these.

@edwardtfn edwardtfn changed the title Enhancement Enhancement Add IMO better Climate page UI Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For suggestions that add new features or improve existing functionalities.
Projects
None yet
Development

No branches or pull requests

2 participants