Google Calendar integration for Hubble. Displays upcoming events from your Google Calendar in a clean agenda view.
- Go to Google Cloud Console
- Create a new project (or select an existing one)
- Enable the Google Calendar API in APIs & Services > Library
- Go to APIs & Services > Credentials
- Click "Create Credentials" > "OAuth client ID"
- Choose "Web application" as the application type
- Under "Authorized redirect URIs", add:
http://localhost:3000/api/oauth/callback
- Copy the Client ID and Client Secret
- Open the Hubble Admin panel
- Find "Gmail Calendar" in the Installed Modules list and click to expand
- Enter your Client ID and Client Secret
- Click "Save Configuration"
- Click "Authorize with Google" and complete the consent flow
If you're accessing the admin panel from a device other than the one running Hubble (e.g., the Pi), the OAuth redirect won't reach your browser. In that case:
- Click "Authorize with Google" — it will open a new tab
- Complete the Google consent flow
- When redirected, copy the full URL from your browser's address bar
- Paste it into the "Paste authorization URL or code here" field in the admin panel
- Click "Submit"
| Property | Description | Default |
|---|---|---|
clientId |
Your Google OAuth Client ID | (required) |
clientSecret |
Your Google OAuth Client Secret | (required) |
calendarId |
Which calendar to display | primary |
refreshInterval |
How often to fetch events (seconds) | 300 |
daysAhead |
How many days ahead to show | 7 |