I think there is something wrong with my ESPHome fonts are unknown

I have installed ESPhome on my raspPi5, and bought a eps32 device(CYD) some months go on impulse, i did not know what it was, i just wanted something to play with to learn esp32. i finnaly got to it, and found a github with some exaples.
but when i try to install it on my device i get thiss error:

INFO ESPHome 2024.9.0
INFO Reading configuration /config/esphome/esphome-web-496850.yaml…
ERROR Error while reading config: Could not load truetype file /config/esphome/fonts/Arimo-Regular.ttf: unknown file format

i have tried installing pypi pillow(but i am not sure) it took me half a day and i think i did it va Custom deps deployment addon, and by typing in pillow 10.4.0 pillow, 10.2.0 in config and saving it and running the addon. did i do that right?

Please you beautiful people, help me out if you can!! :slight_smile:

This font file is mentioned in your esp yaml file, but the file cannot be found. So all you need to do is either find this font file and put it in your config folder in the place that it says, or find a different font to place there, and adjust the esp yaml file to point to that.

Some Googling suggests it is a Google font, you’ll probably be able to get it here:

You should not need pypi for this, but maybe it is a requirement for your specific project for a different reason. Are you running ESPHome as an addon to Home Assistant, or separately? From the Home Assistant addon for ESPHome I never needed to install pypi.

1 Like

Thank you very much sir, using a different font seemed to resolve the issue

1 Like