Use ESPHome with e-ink Displays to blend in with your home decor!

can you share your code?

Sure

Hello, I’m very inspired by this setup!

I’ve been trying to replicate the setup and get Waveshare ESP32 eInk Driver Board with a Waveshare 7.5 inch display to work. But to no avail.

I can successfully compile code to, and then connect via Wifi to the Waveshare ESp32 eInk Driver Board via ESPHome, but no luck getting the display to do anything, or refresh etc.

I’m not sure if there is something wrong with my code (see below for simple test code I’m using), dodgy hardware, or if I’ve wired it incorrectly (see images below)

Any pointers much appreciated, I’ve hit a wall!

Thanks

Matt


esphome:
  name: epaper
  compile_process_limit: 1

esp32:
  board: esp32dev
  framework:
    type: Arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
ota:
  
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: !secret weatherman_ap_ssid
    password: !secret weatherman_ap_password

# Pins for Waveshare ePaper ESP Board
spi:
  clk_pin: GPIO13
  mosi_pin: GPIO14

# Now render everything on the ePaper screen.
display:
  - platform: waveshare_epaper
    id: eink_display
    cs_pin: GPIO15
    dc_pin: GPIO27
    busy_pin: GPIO25
    reset_pin: GPIO26
    reset_duration: 2ms
    model: 7.50inV2
    update_interval: 60s
    rotation: 90°
    auto_clear_enabled: false
1 Like

You did not supply anything to be displayed (lambda) under display?
See example Waveshare E-Paper Display — ESPHome

thanks I did discover this. Unfortunately it seems I cant power up my waveshare display still… even testing with running the demo from waveshare. I’ve just received a new esp32 though, are you able to tell me the easiest way I can run something to test whether the display actually works?

@tinkererer @mattwl are the switches on the board in the right position?

yeah I’ve tried both A and B and made sure it’s on. Actually just trying another of the same board and running the demo on arduino ide but I have the same issue. It uploads fine and gets to the point where it says ‘Hard resetting via RTS pin…’ so I know that side of things has succeeded. But nothing comes up on the epaper screen, so perhaps its dead?

Are you using the ESPHome add-on for Home Assistant? You shouldn’t need to go through any command lines.

add on store isnt available for when home assistant is running in a docker container. But I’m pretty sure theres an issue with the screen as I cant get it t run regardless of adding to HA

can confirm it was a screen issue. Got a new one and it’s working now :slight_smile:

1 Like

Hey guys. Sorry for being such a noob but I’m going round and round in circles trying to figure out how to get this to work. I have my display connected and it has ‘WAITING FOR DATA…’ on there. I’ve removed the parts of the code that waits for motion sensor and the train stuff but I cant figure out how to at least get the weather loading… what do I have to do exactly in home assistant to retrieve this? Thank you

Please post your code.

its not about the code. I’ve just copied OPs and extracted certain parts. I just have no idea what I need to do in HA to tie it together. What is weatherman_data for example as I cant see that sensor information in the weatherman integration on HA. How do I include my own weather integration into this? I’m sure it takes just a little instruction to understand and I will eventually get there but for some reason theres a lack of tutorials out there that explain this side of things.

  1. Add integration Meteorologisk institutt (Met.no) - Home Assistant
    (hourly)
  2. in the configuration.yaml file add
    image

template: !include template.yaml

  1. Create a template.yaml file in the location where configuration.yaml is
    Paste the code below the template text line 41 from the sensor.yaml file from the first post (if you use this code in your project)
    GitHub - Madelena/esphome-weatherman-dashboard: A simple dashboard with weather and NYC subway information for ESPHome
  2. Check, possibly replace the name of the weather sensor in the Weatherman data attributes and Weatherman Motion Detected.
  3. Restart Home Assistant
  4. Check the status of sensor.weatherman_data is OK
1 Like

Thanks for this. That should be enough for me to make some progress. At least for now I am able to print some text as well as use HA to get date and print that also :slight_smile:
Do you happen to know any good resources (not Youtube) where we can learn all about templates and sensors? Everything I come across seems to just explain how to add things via the UI but the real power is of course writing this code. Cheers

Edit: perhaps ESPHome site has most of what I need.
Automations and Templates — ESPHome - Templates (Lambdas)

1 Like

First step. Hourly entity is disabled (by integration). Cant see how to enable?

Select it with the tick box and you should get “enable selected” top right corner (next to filter).
Or press the entity and chose settings menu, there you should have enabled, disabled and hidden to choose from.
Writing this from memory so maybe not exactly right but should point you in the right direction.

1 Like

that did it. Thank you.

Hello. I have waveshare 7.5 display black/white. It was working all good for a few months. But then I started to see some shadowing (?) on the display. And that shadowing was still getting bigger. There is no problem with ESP32 controller. I switched to another one, and the problem was occurring still.


When refreshing - there is a short moment, when there are no smudges. You can see it in the video.

Do you have any idea what is wrong with my display?

Seems like IKEA Ribba is more or less discontinued by IKEA now (not possible to buy in Sweden at least). Anyone have an alternative frame that can be used/recommended?

1 Like