Ameren Power Smart Pricing smart home integration, free and open source

Real-time hourly electricity prices from Ameren Illinois
Real-time hourly electricity prices from Ameren Illinois (Power Smart Pricing).
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for Ameren Power Smart Pricing and click Install.
- Wait for the container to start: the integration shows up in the list.
Configuration
Open the Configuration tab. No account or API key is needed: the integration reads the public Ameren Illinois prices (United States only).
- Low / high price threshold ($/kWh): below the low one the level is low, from the high one it is high, in between normal (defaults 0.04 and 0.12).
- Refresh interval: how often prices are read (300 s by default).
- Test the connection button: reads the prices now.
Usage
Add the Ameren Power Smart Pricing device from the Discovery tab. It has four sensors in $/kWh: current price, next hour price, average and maximum of the day. Prices are hourly, in Central time, and are energy prices without delivery charges. Ameren publishes tomorrow's prices in the afternoon: around 23:00 the next hour price may be missing, and an hour without a price is skipped (never published as 0).
Scenes and dashboards
- Trigger "Price level changed": fires when the level moves between low, normal and high (not on the first read). Filter on the new level; variables:
level,price,next_price. - Action "Refresh the prices": reads the prices now; outputs:
current_price,next_price,level. - Widget "Electricity price": current and next hour price, level, day average and maximum, with 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 Ameren Power Smart Pricing asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Reads the public Ameren Illinois Power Smart Pricing hourly prices. No account, no API key. Prices are energy prices in $/kWh, without delivery charges. |
| Low price threshold ($/kWh) | number | No | Below this price, the level is "low". |
| High price threshold ($/kWh) | number | No | From this price, the level is "high". |
| Refresh interval (s) | number | No | How often prices are read, in seconds (one minute minimum). |
How to install Ameren Power Smart Pricing in Gladys
- In Gladys, open Integrations: Ameren Power Smart Pricing appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/gboulvin/gladys-ameren-power-smart-pricing: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-ameren-power-smart-pricing.
Ameren Power Smart Pricing 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
Ameren Power Smart Pricing 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