adjust docs

This commit is contained in:
Michi 2025-05-04 16:37:54 +02:00 committed by GitHub
parent a15d90546b
commit 2c71b7eaaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,40 +1,37 @@
# Weatherman Dashboard for ESPHome # E-Ink Frame/Dashboard for ESPHome
I have [multiple dashboards](https://github.com/Madelena/hass-config-public) around my apartment and they display different information depending on the context. Since this is placed near the front door, it contains concise information for what's outside with a homey style to match the rest of the wall. A simple dashboard with weather data, current playing music & data from Home Assistant for ESPHome.
<img src="https://user-images.githubusercontent.com/4341881/176365452-1e027b60-142e-4263-927b-b97c324edfd0.jpeg" width="66%" alt="Context"/> > TODO: add some images
This is part of the ecosystem for [my Home Assistant configuration](https://github.com/Madelena/hass-config-public). ## Required hardware
## Hardware - [Waveshare 7.5" E-Ink Screen 480x800px](https://amzn.to/4k6oe8k)
- [Waveshare e-Paper ESP32 Driver Board](https://amzn.to/4lW8GWx)
- [Waveshare 7.5" e-Paper Screen](https://amzn.to/3a85x5D) - 480x800 display resolution - [IKEA RÖDALM, Black, 13x18cm](https://www.ikea.com/ch/de/p/roedalm-rahmen-schwarz-10548867/)
- [Waveshare Universal e-Paper Driver Board with ESP32](https://amzn.to/3nkMRT8)
- [Ikea RIBBA Picture Frame 5"x7"](https://amzn.to/3QM3Zip)
- [Legrand 3 Way Switch + USB](https://amzn.to/3u7EKNz)
- [Micro USB Thin Ribbon Cable](https://amzn.to/3AatofQ)
- [Angled USB Thin Ribbon Cable](https://amzn.to/3blAhQT)
<img src="https://user-images.githubusercontent.com/4341881/176365459-4c61855c-7ade-44d9-84c6-0bb3b22b0b67.jpeg" width="66%" alt="Closeup"/>
## Software ## Software
- ESPHome - ESPHome
- Home Assistant running on a Raspberry Pi as a remote server - Home Assistant
## Installation ## Installation
1. No soldering is required since the e-Paper driver board was integrated into the ESP32 board. All I needed to do was to connect the e-Paper screen to the driver board, and then connect the driver board to the USB socket on my light switch. 1. No soldering is required since the e-Paper driver board was integrated into the ESP32 board. All you need to do was to connect the e-Paper screen to the driver board, and then connect the driver board to the USB socket on my light switch.
2. Copy `/fonts`, `/images`, and `weatherman.yaml` to your /.config/esphome folder. 1. Copy `/fonts` and `weatherman.yaml` to your /.config/esphome folder and adjust it your needs.
3. Integrate the content of `sensor.yaml` to your Home Assistant template configuration YAML file. 1. Flash the configuration to your ESP32 driver board via [ESPHome Web](https://web.esphome.io/)
4. Install HA-GTFS-RT to your Home Assistant using HACS. 1. Enjoy!
5. Once booted, flash `weatherman.yaml` the ESP32 board using ESPHome.
6. Enjoy!
## Features ## Features
## Weather, music & sensor information
The dashboard shows the current outdoor temperature based on a weather service of choice you added to your Home Assistant. The icon next to it shows you the weather state.
In the center of the screen the current playing media of one or more speakers can be displayed.
At the bottom you find some stats of your Home Assistant instance that you can adjust.
## Intelligent Screen Refreshing ## Intelligent Screen Refreshing
To reduce the frequency of screen refreshes and to prolong the life of the e-ink screen, the screen will now only refresh when motion (or any template criteria) sensor `binary_sensor.weatherman_motion_detected` is on. I have it set up so that it wakes up when there are any motions from my sensors in the living room. To reduce the frequency of screen refreshes and to prolong the life of the e-ink screen, the screen will now only refresh when presence is detected.
## Last Refreshed Timestamp ## Last Refreshed Timestamp
The last update timestamp can be displayed on the screen itself. No more wondering when the screen was last refreshed! The last update timestamp can be displayed on the screen itself. No more wondering when the screen was last refreshed!
@ -42,24 +39,24 @@ The last update timestamp can be displayed on the screen itself. No more wonderi
## Remote Control and Monitoring ## Remote Control and Monitoring
The screen can now be controlled and monitored remotely. The screen can be either refreshed manually, restarted, or safely shut down through buttons in your HA. The number of screen refreshes in its lifetime as well as its last update timestamp and wifi signal strength can also be monitored. The screen can now be controlled and monitored remotely. The screen can be either refreshed manually, restarted, or safely shut down through buttons in your HA. The number of screen refreshes in its lifetime as well as its last update timestamp and wifi signal strength can also be monitored.
![List of available sensors and buttons](https://user-images.githubusercontent.com/4341881/210636590-40ec6a53-2bae-40db-afe2-6246cfc785a4.png) ![List of available sensors and buttons](https://github.com/user-attachments/assets/598bbd02-08ef-4e02-9cb2-ea2aa8206435)
![Refresh Screen Count example](https://user-images.githubusercontent.com/4341881/210636618-c59e18d6-d31a-4ddd-98a9-2b5a1094be67.png) ![Refresh Screen Count example](https://github.com/user-attachments/assets/c87b3732-f07f-4b13-8dcf-361881b49c93)
Other changes: ## Easy adjustable
* Negative temperatures can now be displayed. Perfect for winter. The placing can easly be adjusted via the variables inside of the display block.
* A nice loading screen is shown before any data is received. ```c+++
* Titles are now in text rather than bitmaps. Much easier to change it to anything you like. // General settings
uint multi_info_base_x = 80;
## Data Sources uint text_offset_x = 48;
uint tab_offset_x = 170;
- Metno Hourly Weather Forecast HA integration uint multi_info_base_y = music_base_y + 220;
- Goodservice.io API uint text_offset_y = 4;
- [GTFS-RT Custom Component](https://github.com/zacs/ha-gtfs-rt) uint linebreak_offset_y = 60;
```
## References ## References
Here are some other repos that I referenced from: Here are some other repos that I referenced from:
- https://github.com/DeastinY/esphome-waveshare-e-paper-dashboard - [Madelena/esphome-weatherman-dashboard - GitHub](https://github.com/Madelena/esphome-weatherman-dashboard)
- https://github.com/savikko/smarthome - [DeastinY/esphome-waveshare-e-paper-dashboard - GitHub](https://github.com/DeastinY/esphome-waveshare-e-paper-dashboard)
- [savikko/smarthome - GitHub](https://github.com/savikko/smarthome)
*Weatherman* is a reference to the song [*Blame it on the Weatherman* by B*Witched](https://www.youtube.com/watch?v=HTwiK8z2m_Y). If you're late to your date because of this, blame it on the Weatherman.