CoinGecko smart home integration, free and open source

Cryptocurrency prices from CoinGecko, with price alerts
Cryptocurrency prices from CoinGecko, with price alerts.
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for CoinGecko and click Install.
- Wait for the container to start: the integration shows up in the list.
Configuration
Open the Configuration tab:
- Coins to track: CoinGecko API ids separated by commas (20 at most), e.g.
bitcoin, ethereum, bitcoin-cash. The id is in the URL of the coin page on coingecko.com. - Currency: Euro, US dollar or pound sterling.
- Alert threshold (%): Percentage of move over 24 h that fires the Price alert trigger.
0turns it off. - CoinGecko demo API key: Optional. A free demo key raises the rate limit; leave empty to use the public API.
- Refresh interval (s): How often prices are read (one minute minimum).
The Test CoinGecko button checks the connection and names the coin ids CoinGecko does not know.
Usage
Each coin becomes a device with two features: its price and its change over 24 h (%). Add them to your dashboards and use them in your scenes. The integration needs Internet access (cloud only) and works in every country.
Scenes and dashboards
- Trigger — Price alert: fires once when a coin crosses the alert threshold over 24 h (filter by coin and by direction, up or down). Variables: name, coin id, direction, price, change over 24 h, currency.
- Action — Get a coin price: reads a coin now. Outputs: price, change over 24 h, currency.
- Action — Refresh all prices: reads every coin now. Output: number of coins updated.
- Widget — Crypto prices: live price tiles (6 coins at most), the currency, and a refresh button.
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 CoinGecko asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Each coin you list becomes a device with its price and its 24 h change. The free CoinGecko API needs no account. |
| Coins to track | string | Yes | CoinGecko API ids separated by commas (20 at most), e.g. bitcoin, ethereum, bitcoin-cash. |
| Currency | select | No | |
| Alert threshold (%) | number | No | The “Price alert” scene trigger fires when a coin moves by this percentage over 24 h. 0 turns it off. |
| CoinGecko demo API key (optional) | secret | No | A free demo key raises the rate limit. Leave empty to use the public API. |
| Refresh interval (s) | number | No | How often prices are read, in seconds (one minute minimum). |
How to install CoinGecko in Gladys
- In Gladys, open Integrations: CoinGecko appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/gboulvin/gladys-coingecko:1.2.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/gboulvin/gladys-coingecko.
CoinGecko requires Gladys >=5.1.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
CoinGecko 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 gboulvin, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub — source of this documentation