abnormaldistributions / e_paper_weather_display Goto Github PK
View Code? Open in Web Editor NEWRaspberry Pi weather display using Waveshare e-paper display and Open Weather Map API
License: MIT License
Raspberry Pi weather display using Waveshare e-paper display and Open Weather Map API
License: MIT License
I realize this has nothing to do with the weather and the Trash Day is an add-on, but could someone explain how this actually works?
Unfortunately, where I live, the city changes the trash day each month due to the holiday or holidays in that month. I can change the script to match the movement of the trash day manually if I know how it works. Does the weekday == x or weekday == x depend on the day one saves the script?
## Add a reminder to take out trash
weekday = datetime.today().weekday()
if weekday == 2 or weekday == 2:
draw.rectangle((345, 13, 705, 55), fill =black)
draw.text((355, 15), 'TAKE OUT TRASH TODAY!', font=font30, fill=white)
Hi!
I keep getting those Errors:
Traceback (most recent call last):
File "/home/pi/Downloads/e_paper_weather_display-master/weather.py", line 12, in
from waveshare_epd import epd7in5_V2
File "lib/waveshare_epd/epd7in5_V2.py", line 32, in
from . import epdconfig
File "lib/waveshare_epd/epdconfig.py", line 146, in
implementation = RaspberryPi()
File "lib/waveshare_epd/epdconfig.py", line 50, in init
self.SPI = spidev.SpiDev(0, 0)
FileNotFoundError: [Errno 2] No such file or directory
Can someone help? I am a bit lost :(
The display stops updating and it does not appear to be at any specific time. The code is still running, but the display as stopped getting the information. A quick ctrl+c and then the up arrow, enter and the code starts all over again and the display updates.
Do you have any idea what might be happening?
Thanks
Hi,
Thanks so much for building this code. I have purchased the e-Paper HAT and installed the code, but I am getting two issues:
Thank you!
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?
Hello, love this - thank you for sharing and documenting. Have you explored the touch functionality of the display at all - for user input? I'm interested in using this but struggling to find any docs. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.