Closed TheGroundZero closed 1 year ago
Guru Meditation / Panic Errors are usually CPU errors. I don't see anything wrong with your YAML...
How are you flashing the new firmware? Are you doing an OTA flash or connecting directly to your computer via USB?
First, have you tried other ways of flashing the Ulanzi? My recommendation is to download the BIN file and trying flashing with something else, perhaps https://github.com/esphome/esphome-flasher ? Or if you're comfortable with command line, the Python esptool program. (but esphome-flasher uses that internally anyways). The idea here is to clear the memory completely before flashing, something that OTA flashing may not be doing completely.
If that fails, try flashing a more basic ESPHome YAML. ie, nothing in it just something that makes the WebUI and/or connects to your Home Assistant. BTW, don't forget to delete your old clock device from HA. If you're still getting that error still, at least you know there's nothing wrong with your YAML.
First tried OTA (device was already flashed with v1), but that already got it stuck (constant beeping, no display). Then I tried usin the web flasher over USB.
Basic ESPHome Config (from ESPHome web flasher - Prepare for first use) did work
Hi, move the light component before the display component and it should work. The definition order in the YAML determines the order of initialization of the components. In your case, ehmtx will start its thing before the underlying components are working.
Hope it helps, please close the issue if it is working
Moving the light component between the font and display components fixed the issue :)
@lubeda Another issue has popped up however, the new font it too big and the top of the time and date is chopped off... So either mateine is bigger than Calcium, of there's been a change to the font size compared to v1. Will open a new issue for it to track it (#72)
Bug report
Describe the bug
I flashed a Ulanzi Pixel clock that used to run the v1 code with the latest YAML version of this v2 and now it enters a bootloop.
Additional information
To Reproduce
Steps to reproduce the behavior:
Copy YAML example and files according to documentation and flash device.
Expected behavior
Clockface to display time and date like it used to in older versions
Configuration
Based on https://github.com/lubeda/EspHoMaTriXv2/blob/main/copy2esphome/ulanzi-easy.yaml (with fixed font name)
Screenshots
Logs
Services calls