Nope, something is wrong… I am trying to install an OLED 0.96. I can validate but I can’t install, I am getting this error:
ERROR Could not load truetype file /config/fonts/arial.ttf: unknown file format
DOWNLOAD LOGSRETRYCLOSE
Althought, i am running HA latest version on VirtualBox, which mean the python pillow package is already installed.
here is the code
font:
#https://github.com/JotJunior/PHP-Boleto-ZF2/blob/35a1c1431d7daf507b31b84acab64ea686591df7/public/assets/fonts/arial.ttf
- file: "/config/fonts/arial.ttf"
id: font1
size: 9
- file: "/config/fonts/arial.ttf"
id: font2
size: 12
i2c:
sda: D2
scl: D1
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
reset_pin: D0
address: 0x3C
lambda: |-
it.print(0, 0, id(font1), "Wasserentrhärter");
I tried different setup. If I put the arial.tiff dans /config/esphome I can’t validate, I get this error: Could not find file ‘/config/esphome/arial.ttf’. Please make sure it exists (full path: /config/esphome/arial.ttf).
Thank you in advance.