n0bel / PiClock

A Fancy Clock built around a monitor and a Raspberry Pi
MIT License
566 stars 182 forks source link

Blank PI-Clock #217

Closed maserowik closed 2 years ago

maserowik commented 3 years ago

I like to have my display shut off at night. I made a new config file and it call correctly but I still get the radar on the screen.

Here is part of the config that call a blank screen.

location = LatLng(primary_coordinates[0], primary_coordinates[1]) primary_location = LatLng(primary_coordinates[0], primary_coordinates[1]) noaastream = ' ' background = ' ' squares1 = ' ' squares2 = ' ' icons = ' ' textcolor = ' ' clockface = ' ' hourhand = ' ' minhand = ' ' sechand = ' '

here is what i put in the crontab to call the Config-off

0 0 * sh /home/pi/PiClock/switcher.sh Config-Off

xenon462 commented 2 years ago

To turn off the display at night, you can add the command to sudo crontab -e

00 22 * /usr/bin/vcgencmd display_power 0

0 6 * /usr/bin/vcgencmd display_power 1

n0bel commented 2 years ago

closed after no more activity