Seeedstudio 7.5" epaper with ESP32 life360

I’m using Seeedstudio 7.5" epaper with ESP32C to display info from Life360 - So I can see in the morning if my older teenagers are home after working in a nightclub - So I’ve managed to display the info in HA but doesnt seem to give nothing but errors when trying to get it to display on the epaper. no matter i code it as a sensor or a text.sensor I get nothing but errors. I’m show im missing something simple

Please please stop posting pictures of text files.

Full yaml (properly quoted)

Full log (properly quoted)

1 Like

Also note that 7.50inv2 is not a valid model (case matters)

Seeed epaper wilki has it a 7.50inv2 in their sample code.

https://wiki.seeedstudio.com/xiao_075inch_epaper_panel/

Full Log

INFO ESPHome 2025.4.0
INFO Reading configuration /config/esphome/life360.yaml...
WARNING GPIO8 is a strapping PIN and should only be used for I/O with care.
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
WARNING GPIO2 is a strapping PIN and should only be used for I/O with care.
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
INFO Generating C++ source...
INFO Compiling app...
Processing life360 (board: esp32-c3-devkitm-1; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash
 - toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 2.1.4
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.3.0
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- noise-c @ 0.1.6
|-- SPI @ 2.0.0
Compiling .pioenvs/life360/src/main.cpp.o
/config/esphome/life360.yaml: In lambda function:
/config/esphome/life360.yaml:106:93: error: no matching function for call to 'esphome::display::Display::print(int, int, esphome::font::Font*&, esphome::Color&, esphome::display::TextAlign, float&)'
         it.print(120, 20, id(font_weekday), color_black, TextAlign::TOP_CENTER, id(myLife360).state);
                                                                                             ^
In file included from src/esphome.h:17,
                 from src/main.cpp:3:
src/esphome/components/display/display.h:347:8: note: candidate: 'void esphome::display::Display::print(int, int, esphome::display::BaseFont*, esphome::Color, esphome::display::TextAlign, const char*, esphome::Color)'
   void print(int x, int y, BaseFont *font, Color color, TextAlign align, const char *text,
        ^~~~~
src/esphome/components/display/display.h:347:8: note:   no known conversion for argument 6 from 'float' to 'const char*'
src/esphome/components/display/display.h:359:8: note: candidate: 'void esphome::display::Display::print(int, int, esphome::display::BaseFont*, esphome::Color, const char*, esphome::Color)'
   void print(int x, int y, BaseFont *font, Color color, const char *text, Color background = COLOR_OFF);
        ^~~~~
src/esphome/components/display/display.h:359:8: note:   no known conversion for argument 5 from 'esphome::display::TextAlign' to 'const char*'
src/esphome/components/display/display.h:369:8: note: candidate: 'void esphome::display::Display::print(int, int, esphome::display::BaseFont*, esphome::display::TextAlign, const char*)'
   void print(int x, int y, BaseFont *font, TextAlign align, const char *text);
        ^~~~~
src/esphome/components/display/display.h:369:8: note:   candidate expects 5 arguments, 6 provided
src/esphome/components/display/display.h:378:8: note: candidate: 'void esphome::display::Display::print(int, int, esphome::display::BaseFont*, const char*)'
   void print(int x, int y, BaseFont *font, const char *text);
        ^~~~~
src/esphome/components/display/display.h:378:8: note:   candidate expects 4 arguments, 6 provided
*** [.pioenvs/life360/src/main.cpp.o] Error 1
========================== [FAILED] Took 3.68 seconds ==========================
esphome:
  name: life360
  friendly_name: life360

esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "xxxxx"

ota:
  - platform: esphome
    password: "xxxxx"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Life360 Fallback Hotspot"
    password: "KrAzuGFw4YwJ"

# Include custom fonts
font:
  - file: 'fonts/GothamRnd-Book.ttf'
    id: font_small_book
    size: 18
  - file: 'fonts/GothamRnd-Bold.ttf'
    id: font_large_bold
    size: 108
    glyphs: [' ', '°', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'C',]
  - file: 'fonts/GothamRnd-Bold.ttf'
    id: font_time
    size: 90
    glyphs: [' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':']
  - file: 'fonts/GothamRnd-Book.ttf'
    id: font_weekday
    size: 30
  - file: 'fonts/GothamRnd-Book.ttf'
    id: font_day
    size: 65
    glyphs: [' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
  - file: 'fonts/GothamRnd-Bold.ttf'
    id: font_month
    size: 40
  - file: 'fonts/GothamRnd-Bold.ttf'
    id: font_medium_bold
    size: 40
    #glyphs: [' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'M', 'I', 'N']
  - file: 'fonts/GothamRnd-Bold.ttf'
    id: font_small_bold
    size: 18

# Define colors
# This design is white on black so this is necessary.
color:
  - id: color_black
    red: 0%
    green: 0%
    blue: 0%
    white: 50%
  - id: color_white
    red: 0%
    green: 0%
    blue: 0%
    white: 0%

sensor:
# Life360 Section
 - platform: homeassistant
   entity_id: binary_sensor.life360_online_willfahy_gmail_com
   id: myLife360

# Pins for Waveshare ePaper ESP Board
spi:
  clk_pin: GPIO8
  mosi_pin: GPIO10


# Now render everything on the ePaper screen.
display:
  - platform: waveshare_epaper
    cs_pin: GPIO3
    dc_pin: GPIO5
    busy_pin: GPIO4
    reset_pin: GPIO2
    model: 7.50inv2
    update_interval: 1min
    rotation: 0°
    auto_clear_enabled: false
    lambda: |-
  
      // Weather Section ------------------------------------------------------------------- PLACE NAME
        // TEST it.image(120, 338, id(title_weather));
        it.print(110, 10, id(font_weekday), color_black, TextAlign::TOP_CENTER, "WESTPORT");
      // Life360 Section -------------------------------------------------------------------
        // TEST it.image(120, 338, id(title_weather));
        it.print(120, 20, id(font_weekday), color_black, TextAlign::TOP_CENTER, id(myLife360).state);

captive_portal:
    

Anyone have a working config for model 7.5in-e? I can’t get anything running.