Open hiscorebob opened 1 week ago
Similar issues here with 2024.11.1 I first fixed the issue with the Glyphs, but then I also had the issue with the icon_screen. No Icons anymore, just flickering... I did a roll-back to 2024.10.3
Icons are messed up for me also after updating to ESPHome 2024.11.1. Icons are not displayed correctly and the scrolling text enters the icon area.
Hi, i think this is because of: https://github.com/esphome/esphome/pull/7631
@ hiscorebob Do you use the home-assistant-addon from esphome? Can you send me your rain.gif?
I created a transparent gif which works in my setup! (esphome add-on and transparent gif as file)
@ hiscorebob Do you use the home-assistant-addon from esphome? Can you send me your rain.gif?
Yes I use the official ESPHome Add-On in Home Assistant. I have attached the rain.gif to this message.
I'm also using the official esphome add-on and took all of my gifs from la metric.
Having the same issue with icons messed up but running ESPHome in a LXC container under Proxmox.
Example lameids from LaMetric:
Could it possibly be related to this: https://github.com/esphome/esphome/pull/7566
I'm still searching for the cause and the cure. I found a major bug which wasted memory but no cure to this problem
please try the latest branch, this is at least a workaround. @clydebarrow may find a better solution.
Note: I have already updated to ESPHome 2024.11.2, but this has no effect.
Then I tried with the latest branch, and can confirm that this fixes the messed up icons. Static and animated icons are now displayed correctly
But I did notice 2 new issues: Compile error when leaving the following section under "icons":
- id: sleep8x32
#file: pixel-icons-8x8/sleep.gif
url: https://user-images.githubusercontent.com/16407309/224850723-634c9b2d-55d9-44f2-9f93-765c0485b090.gif
(tried both url and file options) the compile error log :
INFO Preparing icons, this may take some seconds.
WARNING icon snowy has transparency!
WARNING icon fog has transparency!
WARNING icon sleep8x32 has transparency!
Traceback (most recent call last):
File "/usr/local/bin/esphome", line 8, in <module>
sys.exit(main())
^^^^^^
File "/esphome/esphome/__main__.py", line 1036, in main
return run_esphome(sys.argv)
^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/__main__.py", line 1023, in run_esphome
rc = POST_CONFIG_ACTIONS[args.command](args, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/__main__.py", line 503, in command_run
exit_code = write_cpp(config)
^^^^^^^^^^^^^^^^^
File "/esphome/esphome/__main__.py", line 212, in write_cpp
generate_cpp_contents(config)
File "/esphome/esphome/__main__.py", line 224, in generate_cpp_contents
CORE.flush_tasks()
File "/esphome/esphome/core/__init__.py", line 684, in flush_tasks
self.event_loop.flush_tasks()
File "/esphome/esphome/coroutine.py", line 246, in flush_tasks
next(task.iterator)
File "/esphome/esphome/__main__.py", line 204, in wrapped
await coro(conf)
File "/data/external_components/0d442204/components/ehmtxv2/__init__.py", line 481, in to_code
data[pos] = rgb >> 8
~~~~^^^^^
IndexError: list assignment index out of range
Disabling this icon, and the code compiles.
But the biggest issue, the Ulanzi does not display date or time, it only displays the notifications sent to it. When the notifications expire, the screen turns black.
Bug report
Describe the bug
I had to update my Ulanzi TC001 to ESPHome2024.11.1 because I had a missing weather state icon. Now, when Home Assistant calls the service 'esphome.ulanzi_icon_screen' , the icon and text are displayed, but the text scrolls visibly behind the icon, which was not the case before.
Additional information
To Reproduce
Steps to reproduce the behavior: Update Ulanzi to Esphome 2024.11.1 Use Home Assistant Action/Service Call 'esphome.ulanzi_icon_screen' with an icon and text
Expected behavior
Scrolling Text should not be visible behind Icon
Configuration
Screenshots
Logs
Services calls