Dominevo
Integrations

Google Calendar and Gmail

Connect a Google account as a Dominevo broker — OAuth client setup, Sign in, Calendar for rules, and Gmail as an email sender.

Dominevo can use a Google account for calendars (notification calendar-events and Administration → Calendars) and for sending email through Gmail. Each connected Google account is a broker under Connectivity — the same place as other message brokers — not a person signing in with Google.

To let people sign in to Dominevo with a Google account, use single sign-on instead.

What you get

CapabilityWhat it does
CalendarReadable Google calendars appear as calendar sources for calendar-events rules.
Email (Gmail)The hub can send notification mail through the Gmail API for that account.

You can connect more than one Google account. Calendar ids are stamped with the broker so two accounts never collide. When several accounts can send mail, the From address picks the matching account; otherwise the first connected broker is used.

Set it up

1. Google Cloud Console

  1. Create or pick a Google Cloud project.
  2. Enable Google Calendar API and/or Gmail API for what you need.
  3. Under Google Auth Platform → Audience (or the OAuth consent screen), choose External. Testing is fine for a personal hub. Add every Google account that will Sign in as a Test user — otherwise Google returns 403: access_denied. Publishing the app is optional for a private hub.
  4. Create an OAuth client of type Web application.
  5. Add this authorized redirect URI (exact host, HTTPS):
https://<your-public-hub-origin>/addon/google-services/oauth/callback

Use the hub's Public endpoint from Network — the address outside services use. Google rejects non-localhost http:// redirects; do not register only the LAN address.

2. Add the broker in Dominevo

  1. Open Administration → Connectivity → Message brokers.
  2. Select Google, then Add broker.
  3. Paste the Client ID and Client secret.
  4. Test connection checks the OAuth client with Google (not yet a signed-in account).
  5. Add broker — the admin UI opens Google Sign in in a popup. Approve the scopes (calendar read and/or Gmail send). If you cancel, use Sign in on the broker row later.

Optional on the broker form: a calendar id filter (comma-separated Google calendar ids; empty means all readable calendars), and a Gmail From address that must match the connected account or a verified alias.

3. Turn capabilities on

Under Connectivity, Calendars and Email list what the Google brokers offer. Use Enable there to turn a capability off without removing the broker.

Sign-in problems

SymptomWhat to try
403: access_denied on Sign inAdd the Google account under Test users on the OAuth consent screen.
Sign in succeeds but the hub refuses the tokensGoogle often omits a refresh token on a second consent. Revoke Dominevo under the Google account's security settings, then Sign in again from the broker row.
Redirect URI mismatchThe URI in Google Cloud must match the public hub origin exactly, including /addon/google-services/oauth/callback.
Popup closes with no connectionAllow popups for the admin UI, then use Sign in on the broker row.

Auth at a glance

The hub keeps the Google refresh token in the encrypted keychain. Operators manage the connection from Connectivity, not from Identity share links. For how this fits next to Alexa and Home Assistant credentials, see Outside services.

Then