A Dashboard for Raspberry PI Module 3 with the Raspberry 7" Touch Screen
Upgraded to Python 3
- Time
- Date
- Reads Number of local Media Files on MiniDLNA or Serviio (Music/Video)
- Gets local Weather and forecast from OpenWeather
- Checks to see if Owner is home (Pings mobile phone)
- Gets Owner's Calendar Information from Office365
- Changes Screen colour and display brightness dependant on Time of Daytime
- Interacts with Local Z-Wave Setup to have a small selection of actions
- Saves data to JSON files so does not flood online services, called
data_*.txt - Saves images to
icon_*.png - Saves a backup of current data/images which are used incase of data update failure
- Config file eClock.cfg, this is created using
setup.py - Config Password information encrypted and locked to local machine
- Register with OpenWeatherMap
- Install system requirements
sudo apt-get install python-pygame python-pil python-imaging-tk- Install Python requirements
sudo pip install requests
sudo pip install pycryptodome
sudo pip install base64
sudo python3 -m pip install ConfigParser
sudo python3 -m pip install PIL
sudo python3 -m pip install pi_heif- Install
O365Python Library, using custom version from Github (topcats/python-o365) - Install
zWaveAPIPython Library, using custom version from Github (topcats/raspberry-zwave-python) - Run
setup.pyto create config file - Read Backlight Setup manual
- Read Auto run manual
mkdir data
cd data
mkdir calendar
mkdir menu
mkdir photo
mkdir weather
mkdir web
chmod -R a+w calendar
chmod -R a+w menu
chmod -R a+w web