Mon problème
Je n’arrive pas à faire fonctionner correctement mon Epaper Waveshare avec mon esp32 (waveshare)
Voici mon code yaml :
esphome:
name: esphome-web-e0e4b0
friendly_name: EPAPER
on_boot:
- delay: 15s
- script.execute: update_screen
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "//////////"
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-E0E4B0"
password: "//////////"
captive_portal:
script:
- id: update_screen
then:
- component.update: eink_display
spi:
clk_pin: 13
mosi_pin: 14
font:
######### REGULAR #################
- file: "Fonts/GothamRnd-Book.ttf"
id: book20
size: 20
glyphs: &font-glyphs
['!', '"', '%', '(', ')', '+', '=', ',', '-', '_', '.', ':', '°', ' ',
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'é', 'à', 'è', 'ç', 'ù', 'É', 'À', 'È', 'Ç', 'Ù']
- file: "Fonts/GothamRnd-Book.ttf"
id: book25
size: 25
glyphs : *font-glyphs
########## BOLD ##################
- file: "Fonts/GothamRnd-Bold.ttf"
id: bold15
size: 15
glyphs : *font-glyphs
- file: "Fonts/GothamRnd-Bold.ttf"
id: bold35
size: 35
glyphs : *font-glyphs
display:
- platform: waveshare_epaper
id: eink_display
cs_pin: 15
dc_pin: 27
busy_pin: 25
reset_pin: 26
reset_duration: 2ms
model: 7.50in
rotation: 270°
update_interval: never
lambda: |
it.filled_rectangle(50, 120, 380, 2);
it.printf(20, 0, id(bold35), "X10 Y0");
Voici le lien vers mon équipement :
https://www.amazon.fr/gp/product/B075R69T93/
https://www.amazon.fr/Waveshare-Universal-Bluetooth-Wireless-Supports/dp/B07RM1BBVF/
Je pense que mon Epaper est une V1
Premier problème :
lorsque je lance les logs ou que j’installe la configuration, j’ai cette information qui apparait :
WARNING GPIO15 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
Je ne suis pas certain de bien comprendre ce que cela implique et comment le corriger (j’ai consulté la page indiquée).
Je me suis pourtant référé à la doc constructeur pour le pin out.
Quelqu’un d’entre vous pourrait-il éclairer ma lanterne ?
Deuxième problème :
Lorsque je charge la configuration sur l’ESP, voici que je je peux lire dans les logs :
Cela ne correspond pas à la définition de l’écran qui est de 800x480.
Ais-je raté quelque chose dans la configuration ?
Merci par avance pour l’aide que vous pourrez m’apporter.
Ma configuration
System Information
version | core-2023.10.3 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.11.5 |
os_name | Linux |
os_version | 6.1.56 |
arch | x86_64 |
timezone | Europe/Paris |
config_dir | /config |
Home Assistant Community Store
GitHub API | ok |
---|---|
GitHub Content | ok |
GitHub Web | ok |
GitHub API Calls Remaining | 5000 |
Installed Version | 1.33.0 |
Stage | running |
Available Repositories | 1305 |
Downloaded Repositories | 6 |
Home Assistant Cloud
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Home Assistant Supervisor
host_os | Home Assistant OS 11.0 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2023.10.0 |
agent_version | 1.6.0 |
docker_version | 24.0.6 |
disk_total | 38.7 GB |
disk_used | 9.8 GB |
healthy | true |
supported | true |
board | ova |
supervisor_api | ok |
version_api | ok |
installed_addons | Mosquitto broker (6.3.1), Zigbee2MQTT (1.33.1-1), Studio Code Server (5.11.0), File editor (5.6.0), Terminal & SSH (9.7.1), Node-RED (14.6.1), ESPHome (2023.9.3) |
Dashboards
dashboards | 1 |
---|---|
resources | 4 |
views | 4 |
mode | storage |
Recorder
oldest_recorder_run | 5 octobre 2023 à 20:14 |
---|---|
current_recorder_run | 14 octobre 2023 à 19:56 |
estimated_db_size | 52.97 MiB |
database_engine | sqlite |
database_version | 3.41.2 |