Skip to content
Thermostat control via Raspberry Pi and Google Calendar
Branch: pygame-testing
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
control
tiny26 @ fe323d0
.gitignore
.gitmodules
README.md
bright.sh
dim.sh
thermostat.service

README.md

Thermostat

Thermostat control via Raspberry Pi and Google Calendar

Systemd setup

We can't run Pygame over SSH, so instead we run it as a systemd service.

sudo cp thermostat.service /etc/systemd/system/
sudo sysmemctl daemon-reload
sudo systemctl enable thermostat
sudo systemctl start thermostat

To reload the service for testing changes, try

sudo systemctl restart thermostat

Based off the Google Calendar Python Quickstart

Complete the steps described in the Google Calendar Python Quickstart, and in about five minutes you'll have a simple Python command-line application that makes requests to the Google Calendar API.

Install

pip install -r requirements.txt

Run

python quickstart.py
You can’t perform that action at this time.