Skip to content

Display should show something different after 10s #6641

Answered by bluhminga
bluhminga asked this question in Q&A
Discussion options

You must be logged in to vote

Solved.

I connected the display's power supply to a pin.
I set the pin as "output" and "inverted: true" so that the pin is always provided with voltage.
If the ESP now goes into “DeepSleep”, the pin becomes de-energized and the display is dark/off.

If I press a button that sets the "RST pin" to ground, the ESP is taken out of DeepSleep and the display shows the data from the scale. Until DeepSleep arrives after the specified time.

Here my code.

`captive_portal:

Deep Sleep

deep_sleep:
run_duration: 60s

dashboard_import:
package_import_url: github://esphome/example-configs/esphome-web/esp8266.yaml@main
import_full_config: true

To have a "next url" for improv serial

web_server:

sensor:

  • plat…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bluhminga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant