Close

PiClock gets Config Swapping feature (Day/Night mode for Bedside Clock)

A project log for PiClock - A Raspberry Pi Clock & Weather Display

This project is a fancy Clock and weather display built around a monitor and a Raspberry Pi.

kevin-uhlirKevin Uhlir 07/27/2016 at 16:170 Comments

#RaspberryPi #Piclock

fter introducing some dimming features to the PiClock last week, and including a dimmer configuration example, I was asked if the dim config could be swapped out at night, and then back again during the day.

Well it didn't seem too tough a challenge, so the PiClock now includes swapper.sh, which is meant to be run from cron. It restarts the main python script with a config that you specify.

b_200_200_16777215_00_images_20160727_102702.jpgb_200_200_16777215_00_images_20160727_102632.jpg

So my bedside piclock now switches between day and night modes.

Previously it was continuously dimmed. Of course the project is on GitHub ( https://github.com/n0bel/PiClock ) and switcher.sh has been added. The Install instructions have been updated.

Discussions