A simple dashboard with weather data, current playing music & data from Home Assistant for ESPHome.
Find a file
Stephen Ludgate 5c83360b83
Night Time Clear (sunny) and Partly Cloudy Updates
With met.no weather feed to Home Assistant - there's no difference in night time weather and daytime - specifically a clear night and partly clear night. 

A Clear sky is classed as a "sunny" state, even at night. I have added some checks in the HA yaml template to check if the Sun sensor (You need Sun in your Home Assistant install) is state = "below_horizon" and update "sunny" and "partlycloudy" to be "night" and "night-partly-cloudy". This then requests icons in the ESPHome yaml to include the Moon - which makes it look right when you are looking at the display at night, or when the upcoming forecast hours are night time - a clear night sky = the Moon, not the Sun.

Or at least it makes more sense in my eyes to see the Moon icons at night that seeing a clear Sunny day predicted for 2AM(!!) :)
2022-07-08 11:50:36 +01:00
fonts Add fonts and images 2022-06-28 00:26:54 -04:00
images Add fonts and images 2022-06-28 00:26:54 -04:00
README.md Update README.md 2022-06-29 12:15:14 -07:00
sensor.yaml Night Time Clear (sunny) and Partly Cloudy Updates 2022-07-08 11:50:36 +01:00
weatherman.yaml Add weatherman and sensor code 2022-06-28 00:27:32 -04:00

Weatherman Dashboard for ESPHome

I have multiple dashboards 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.

Context

This is part of the ecosystem for my Home Assistant configuration.

Hardware

Closeup

Software

  • ESPHome
  • Home Assistant running on a Raspberry Pi as a remote server

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.
  2. Copy /fonts, /images, and weatherman.yaml to your /.config/esphome folder.
  3. Integrate the content of sensor.yaml to your Home Assistant template configuration YAML file.
  4. Install HA-GTFS-RT to your Home Assistant using HACS.
  5. Once booted, flash weatherman.yaml the ESP32 board using ESPHome.
  6. Enjoy!

Data Sources

References

Here are some other repos that I referenced from:

Weatherman is a reference to the song Blame it on the Weatherman by B*Witched. If you're late to your date because of this, blame it on the Weatherman.