Compare commits

...

4 Commits

Author SHA1 Message Date
Madelena Mak c461b16ad4
Add features list
1 year ago
Madelena Mak 973fdd0434 Move AP SSID and password to secret
1 year ago
Madelena Mak 9f75606543 Add glyphs to small bold font
1 year ago
Madelena Mak 42722bd3db Clean up sensor code
1 year ago

@ -31,6 +31,25 @@ This is part of the ecosystem for [my Home Assistant configuration](https://gith
5. Once booted, flash `weatherman.yaml` the ESP32 board using ESPHome.
6. Enjoy!
## Features
## 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.
## Last Refreshed Timestamp
The last update timestamp can be displayed on the screen itself. No more wondering when the screen was last refreshed!
## 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.
![List of available sensors and buttons](https://user-images.githubusercontent.com/4341881/210636590-40ec6a53-2bae-40db-afe2-6246cfc785a4.png)
![Refresh Screen Count example](https://user-images.githubusercontent.com/4341881/210636618-c59e18d6-d31a-4ddd-98a9-2b5a1094be67.png)
Other changes:
* Negative temperatures can now be displayed. Perfect for winter.
* A nice loading screen is shown before any data is received.
* Titles are now in text rather than bitmaps. Much easier to change it to anything you like.
## Data Sources
- Metno Hourly Weather Forecast HA integration

@ -103,8 +103,8 @@ wifi:
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-901078"
password: "2JOrpBYEHQsV"
ssid: !secret weatherman_ap_ssid
password: !secret weatherman_ap_password
# Include custom fonts
@ -127,7 +127,7 @@ font:
- file: 'fonts/GothamRnd-Bold.ttf'
id: font_small_bold
size: 18
# glyphs: ['°', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'C', 'M', 'I', 'N']
# glyphs: [' ', '-', '°', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'C', 'M', 'I', 'N']
# Include Material Design Icons font
@ -189,8 +189,8 @@ binary_sensor:
id: motion_detected
sensor:
# Create sensors for monitoring Weatherman remotely.
- platform: template
name: "Weatherman - Display Last Update"
device_class: timestamp
@ -200,11 +200,18 @@ sensor:
- platform: template
name: "Weatherman - Recorded Display Refresh"
accuracy_decimals: 0
unit_of_measurement: "Refreshs"
unit_of_measurement: "Refreshes"
state_class: "total_increasing"
entity_category: "diagnostic"
lambda: 'return id(recorded_display_refresh);'
- platform: wifi_signal
name: "Weatherman - WiFi Signal Strength"
id: wifisignal
unit_of_measurement: "dBm"
entity_category: "diagnostic"
update_interval: 60s
# Call Subway and Weather sensors from HA.
- platform: homeassistant
entity_id: sensor.gtfs_mta_subway_manhattan
@ -276,12 +283,6 @@ sensor:
then:
- lambda: 'id(data_updated) = true;'
- platform: wifi_signal
name: "WiFi Signal Sensor"
id: wifisignal
entity_category: "diagnostic"
update_interval: 60s
text_sensor:
- platform: homeassistant

Loading…
Cancel
Save