mendhak / waveshare-epaper-display

At-a-glance dashboard for Raspberry Pi with a Waveshare ePaper 7.5 Inch HAT. Date/Time, Weather, Alerts, Google/Outlook Calendar
https://code.mendhak.com/raspberrypi-epaper-dashboard/
449 stars 66 forks source link

I want to remove the PiHole section #10

Closed mendhak closed 3 years ago

mendhak commented 3 years ago

Out of everything on the dashboard, the only thing I don't look at is the PiHole section. I would like to remove it.

I also noticed this from other issues and other users like @feh123 who have modified the SVG to show more calendar entries, that the PiHole section is not that useful.

Tracking in pull request: https://github.com/mendhak/waveshare-epaper-display/pull/12

lifeofbrian commented 3 years ago

I agree - in my local branch, I have commented out that code.

What are your thoughts on a LayoutManager / Widget framework for these modules? This might afford more flexibility for varying use cases (e.g. a "Countdown to X event", Sports scores, breaking news, etc.) and the ability to alternate layouts at intervals.

If interested, I may take a stab at it this weekend.

mendhak commented 3 years ago

Hmm interesting idea but to be honest not very interested in that, the current setup is hacky but is seldom changed, so I'm happy to manually modify it for now.

lifeofbrian commented 3 years ago

Sounds good -- appreciate the feedback.

I still may give it a try later this month. I like the idea of a flexible layout for a couple of these e-Paper dashboards around the house.

mendhak commented 3 years ago

@feh123

Just to update, I'm still playing around. I was able to add the time to the date line (it stays empty for all day events). Anything beyond that was too crowded and unable to pass the Significant Other test.

image

feh123 commented 3 years ago

Hi @mendhak thanks looks very nice. Interesting that Climacell V4 gives a better weather forecast. My V3 justs says snow!

mendhak commented 3 years ago

Added today's day name, and moved day name + date to top right area. Moved weather icon a bit higher, giving it some space.

mendhak commented 3 years ago

Added weather description.

mendhak commented 3 years ago

It feels like the space is being better used now.

I've also been rendering the PNG directly rather than converting to BMP, because the time it takes to draw them on screen is the same. Visually the PNG one looks good, but when I look very closely I see all this jagged edges, I don't know what that is (but I suspect nothing much I can do about it)

mendhak commented 3 years ago

Climacell provide some weather icons corresponding to most (not all) of their weather codes: https://github.com/climacell-api/weather-code-icons

I've added some and referenced them in the icon dictionary, and attributed them in the readme. Not all of them referenced, just where the Climacell provided ones were better than what was already there.

The icon for light freezing rain (my current weather) is a bit odd, but I'll get used to it. https://github.com/ClimaCell-API/weather-code-icons/blob/master/black/freezing_rain_light.svg

mendhak commented 3 years ago

I think it's done, planning on merging the changes today into the master branch.

image

image

mendhak commented 3 years ago

Merged into master.