AbnormalDistributions/e_paper_weather_display

Stops Updating at 0300

pjockey opened this issue · 1 comments

I started anew with Bullseye and reinstalled the program using Git. Updated all of the required info in weather.py and have been running the script for a bout 4 days and every morning, the last update is just before 0300. Terminal states

Attempting to connect to OWM.
Connection to OWM successful.
Connection to Open Weather successful.
Weather data appended to CSV.
Clearning screen to avoid burn-in. (I just see there is a spelling mistake)

I stop the script and and restart and off it goes.

Is there something I should be looking at to see why the script stops at 0300?

Here are the lines in the code handling this. If you don't want this to happen comment out this block.

# Refresh clear screen to avoid burn-in at 3:00 AM
if datetime.now().strftime('%H') == '03':
print('Clearning screen to avoid burn-in.')
epd.Clear()