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/
438 stars 65 forks source link

Strange result #2

Closed iroQuai closed 3 years ago

iroQuai commented 4 years ago

Followed your instructions. Script works, but gives a different result than I'd expected!

Example: Http://imgur.com/a/nrQgNok

mendhak commented 4 years ago

I wonder why the train templates are just being written instead of hidden.

In your .svg can you look for the train summary bits, and just remove them.

image

Also in the run.sh, just get rid of the condition

if (( $current_hour >= 7 )) && (( $current_hour <= 9 )); then
    figlet Pihole info
    sudo -E python3 screen-pihole-get.py hide

    figlet Train summary
    sudo -E python3 screen-traintimes-get.py show
else
    figlet Pihole info
    sudo -E python3 screen-pihole-get.py show

    figlet Train summary
    sudo -E python3 screen-traintimes-get.py hide
fi

should become

    figlet Pihole info
    sudo -E python3 screen-pihole-get.py show