Closed malinovsku closed 11 months ago
Interesting idea as an additional time display screen, or as an alternate screen with getting the weather from the HA.
It's implemented in 2023.8.0. Can you please give me an example for the wiki?
@lubeda thank you, the display is the right one, but the icon moves two columns to the right, while everything is as it should be in icon_screen, as I understood it in the code, but it would be better if the icon starts from the very edge without indentation and the clock is shifted to the middle of the remaining one, since when changing displays with icons, they are like they would jump because of the difference in boundaries.
Upps, i will fix this.
@lubeda after a couple of days of using this display, I realized that there are not enough variations of icons with hours and days of the week, so that they could be created in the same amount as, for example, icon_screen and deleted by the del_screen service. as an example of usage, display both a calendar icon with a clock and a weather icon with a clock. There may be a conflict when deleting, and https://github.com/lubeda/EspHoMaTriXv2/issues/83 it would help in solving this issue, to delete by screen id
Interesting idea, it can be well developed, for example to output date with hours, or date with day of week and year, etc.
For example, for the date, we take the backing icon calendar
(any icon from the set)
And on top of that, display the current date:
And next to it we can display either time or date, also we can display the current day of the week:
And we can rooluchat let's say such a variant of the screen (here you can even safely use the crawl line). Or this one:
Since we come to an increase of screens with the same information, e.g. Clock, Icon with Clock, Date, Icon with Date, it would be nice to give the possibility to define a starting set of screens in EspHoMaTriXv2 configuration (if not specified, the default is time, date), for example:
emhtx:
screens:
- icon_time
- icon_date
Also immediately add localized abbreviations to display the current day of the week (if not specified, the default is English):
emhtx:
week_days:
- ПН
- ВТ
- СР
- ЧТ
- ПТ
- СБ
- ВС
That would solve the problem https://github.com/lubeda/EspHoMaTriXv2/issues/89
On the concept of outputting an icon and text on top of it, it is necessary to think through a convenient mechanism for specifying what to output, let's say icon_name
, value
, for example:
Upps, i will fix this.
I updated the firmware, and the icon is now in the right place, thank you, but the days of the week are not in the middle at the bottom, 3 indent on the left, and 1 indent on the right.
Hopefully finally fixed. @malinovsku Please check again
@lubeda everything is great now, thank you!
Feature Request
Describe the solution / feature you'd like
It would be great if you added an additional display option similar to icon_screen, but instead of text that would display the time and day of the week. The name of the new function could be selected icon_time, parameters to run: "icon_name", "lifetime", "screen_time", "default_font", "r", "g", "b"
Additional context
As an example of a screens, displaying the weather and time icons with the day of the week.