Skip to main content

GoCardless Bank Account Data smart home integration, free and open source

GoCardless Bank Account Data integration for Gladys Assistant

European bank balances in Gladys through GoCardless free open banking.

Show the balances of your European bank accounts in Gladys, through the free open banking service GoCardless Bank Account Data (formerly Nordigen). Every account becomes a Gladys device with its balance and its available balance, kept in history, usable in your scenes and on your dashboards.

The integration only reads balances: it can never make a payment. It talks to GoCardless over the Internet (cloud).

Before you start​

  • A free account on the GoCardless Bank Account Data portal.
  • A bank covered by GoCardless: more than 2,000 banks in the European Economic Area and the United Kingdom (Austria, Belgium, Bulgaria, Croatia, Cyprus, Czechia, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, United Kingdom).

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for GoCardless Bank Account Data and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

1. GoCardless secrets​

  1. On the GoCardless portal, open User secrets and create a secret.
  2. Copy its secret ID and secret key into the Configuration tab of the integration, then save.
  3. Click Test the connection: the message confirms GoCardless accepts the secrets.

2. Connect a bank​

  1. Click Find my bank, pick your country and type part of the bank name: the message lists the matching banks with their ID (for example SANDBOXFINANCE_SFIN0000, the GoCardless test bank).
  2. Paste the ID in Bank ID and save.
  3. Click Connect my bank: your bank website opens. Sign in and approve the access. At the end you land on the Gladys website: close that tab, the integration notices the approval by itself within a few seconds.
  4. Open the Discovery tab: one device per account shows up. Add the ones you want.

Repeat for every bank. The access lasts the Access duration you chose (90 days by default, capped by the bank, often 90 or 180 days). When it expires, click Connect my bank again with the same bank: the existing devices and their history are kept.

Disconnect all banks removes every bank access, in Gladys and at GoCardless.

Refresh interval​

Banks allow about 4 balance reads per day and per account. The balances are read every 6 hours by default (between 6 and 24 hours). When a bank refuses a read because of its quota, the integration waits for the delay the bank gives before trying again.

Devices​

Each account is a device named after the bank, the account name and the masked IBAN (FR76 •••• 0185), with two features:

  • Balance: the booked balance;
  • Available balance: what can be spent right now (with the overdraft or pending operations, depending on the bank).

The unit follows the currency of the account (euro, dollar, pound sterling; other currencies are shown without unit). The values are kept in history, for charts.

Scenes and dashboards​

Scene triggers​

  • Bank balance changed: a periodic read found a new balance. Filter by account and by direction (money in / money out). Variables: account, new balance, previous balance, change, currency.
  • Bank access expiring: fired 7 days, then 1 day before the bank access expires. Filter on the step. Variables: bank, days left, expiry date. Handy to get a reminder to renew the access.
  • Bank access expired: the access expired or was revoked at the bank, the balances stop updating. Variable: bank.

To react to a threshold ("balance below 100 €"), use the standard Device state trigger on the Balance feature.

Scene actions​

  • Refresh bank balances: reads the balances now (one account, or all of them). An account read less than 30 minutes ago is skipped, to save the bank quota. Outputs: accounts refreshed, skipped, failed. This refresh never fires the triggers above, so a scene cannot loop on itself.
  • Get a bank balance: gives the last known balance of an account to the next actions, without calling the bank. Outputs: account, balance known, balance, available balance, currency, read at. For example, to put the balance in a message sent by the scene.

Dashboard widget​

The Bank balances widget shows the balance of up to 6 accounts, the days left on each bank access (orange under 7 days, red once expired), the time of the last read, and a Refresh button.

Privacy​

  • The secrets are only sent to GoCardless, and never written in the logs.
  • The IBAN never leaves the integration in clear: devices only show its first and last 4 characters, and the internal identifiers use a hash of it.
  • GoCardless also grants access to transactions (its default scope); this integration does not read them.

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.

Configuration settings​

These are the settings GoCardless Bank Account Data asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
GoCardless accountsectionNoCreate a free account on the GoCardless Bank Account Data portal, open "User secrets", create a secret, then copy its secret ID and secret key below.
Secret IDstringYes
Secret keysecretYes
Connect a banksectionNo1. Get the ID of your bank with the "Find my bank" action below. 2. Paste it in "Bank ID" and save. 3. Click "Connect my bank", sign in on your bank website and approve the access; at the end you land on the Gladys website: close that tab. 4. Your accounts show up in the Discovery tab within a minute. Repeat for another bank, and again when the access expires.
Bank IDstringNoGoCardless ID of the bank to connect, given by the "Find my bank" action.
Access duration (days)numberNoHow long the bank access stays valid before a new approval; capped to what the bank allows (often 90 or 180 days).
Connect my bankaccount_linkNoSave the bank ID first. The approval is detected by itself within a few seconds.
Refresh interval (hours)numberNoHours between two balance reads. Banks allow about 4 reads per day and per account: 6 hours minimum.

How to install GoCardless Bank Account Data in Gladys​

  1. In Gladys, open Integrations: GoCardless Bank Account Data appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/prohand/gladys-gocardless-bank-account-data:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/prohand/gladys-gocardless-bank-account-data.

GoCardless Bank Account Data requires Gladys >=5.3.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

GoCardless Bank Account Data is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by prohand, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂