Google Calendar Module - mwellck/shella-modules GitHub Wiki
Google Calendar Module
Developed by: Marc Poul Joseph Laventure
Contributions: @dansinclair25, @swcraig and @mwellck
- Login to Google developer Console and complete the following
- The Client ID in Google needs to be for a native application.
Select a project.
In the sidebar on the left, select APIs & auth. In the list of APIs, make sure the status is ON for the Google Calendar API.
In the sidebar on the left, select Credentials.
Get Client ID and Client Secret (Save for later)
- Run the "Modules Configuration Tool" (~/shella/client/config_modules.py)
or add the Client ID and Client Secret manually to your profile.yml
:
google:
client_id: ClientID
client_secret: ClientSecret
- Kill Shella (the following will return all processes of Shella that are running):
ps ax | grep shella
- Then run (Where is the PID of each process from the previous command):
sudo kill <pid>
- Restart Shella from Terminal on the Pi (i.e. don't SSH in)
./shella.py
-
This should then open a web browser asking you to accept the authentication request. Accept it.
-
Once accepted, Shella will start up as normal.
-
Restart the Pi:
sudo reboot
You: Add Calendar event
JASPER: What would you like to add?
You: Movie with jodie Friday at 5 pm
JASPER: Added event Movie with jodie on June 06 at 5:00 pm
JASPER: Is this what you wanted?
You: Yes
JASPER: Okay, I added it to your calendar
You: Do I have any Calendar events tomorrow
JASPER: Dinner with jodie at 9:00 pm
You: Do I have any Calendar Events Today
JASPER: Dinner with jodie at 6:00 pm