Tibber Smart-Home-Integration, kostenlos und Open Source

Unofficial connector: Tibber prices, cheap hours, consumption, Pulse live power and contracts.
Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.
Unofficial connector, not affiliated with Tibber. It brings your Tibber account into Gladys: the hourly electricity prices of your home (today and tomorrow), Tibber's price level, your consumption, and, with a Tibber Pulse or Watty, the live power. Tibber is a trademark of Tibber AS. Available where Tibber sells electricity: Norway, Sweden, Germany and the Netherlands.
What you get
| Surface | Content |
|---|---|
| One device per home | price now, next price, today's average, minimum and maximum (per kWh, VAT included), Tibber's level (very cheap to very expensive), a "cheap period" sensor, the 30-minute consumption for the Gladys energy monitoring, yesterday's consumption and cost |
| With a Pulse / Watty | live power, production, today's consumption and cost, voltages and currents of the three phases |
| Scene triggers | cheap period started / ended (the N cheapest hours of the day), price level changed, tomorrow's prices published, live power crossed a mark (500 W to 11 kW, up or down) |
| Scene actions | price now (price, level, cheap hours, next price, today's figures, cheapest window) and cheapest hours (the cheapest N consecutive hours of the next 24 hours, today or tomorrow) |
| Dashboard widgets | Tibber prices (now, next, averages, level, cheapest hours, the curve of today and tomorrow) and Tibber live power (gauge, kWh and cost of the day, peak, voltages, currents) |
| Energy contract (Gladys 5.2+) | a Tibber template per country: every half hour of your meter is priced from your Tibber hourly prices, plus the monthly subscription |
Setup
- On developer.tibber.com, sign in with your Tibber account and create a personal access token.
- Install the integration, paste the token in Access token, save, then click Test the connection: it lists your homes with their current price.
- Open Discovery and add the device of each home.
- Put the Tibber prices widget (and Tibber live power with a Pulse) on a dashboard, pick the home.
The prices are read at start and every hour; tomorrow's prices are asked from 12:45 every 10 minutes until Tibber publishes them (around 13:00). The sensors move at every price slot (hourly, or every 15 minutes where Tibber moved to it). The consumption is read every hour.
Scenes
- Cheap period started / ended: the current slot enters or leaves the N cheapest hours of the day (N = Cheap hours per day, 4 by default). Start the water heater, the car charger, the washing machine.
- Price level changed: Tibber's own level of the price (against the average of the last days) changed; filter on the new levels.
- Tomorrow's prices published: once a day, with the average, the extremes and the cheapest window of tomorrow, ready for a notification.
- Live power crossed a mark: the power of the Pulse went above or below the chosen number of watts. Warn when the oven and the charger run at the same time.
Two scene actions for a condition or a message that follows: price now
gives {{price}}, {{level}}, {{cheap}}, {{next_price}},
{{avg_price}}, {{window_start_time}}…; cheapest hours gives the
start and end ({{start_time}}, {{end_time}}, {{start}} and {{end}}
as ISO dates for a "wait until"), {{minutes_until_start}} and the saving
against the period.
Energy monitoring (Gladys 5.2 or newer)
In Energy monitoring → Contracts, create a contract from the Tibber template of your country, pick the Tibber home device as the meter, and fill in the monthly subscription. Gladys then asks the integration to price every half hour from your own Tibber price history (energy price, VAT included); the costs appear next to the consumption like any contract. The consumption of the device is the hourly consumption Tibber reports, split in two equal halves, published with about one hour of delay.
If you own a Pulse, Gladys also shows the live power and today's cost straight from Tibber.
Troubleshooting
- "Tibber refused the access token": the token was revoked or mistyped; create a new one on developer.tibber.com.
- "No home with an active subscription": the account has no running Tibber contract yet.
- No live power: the home needs a Tibber Pulse or Watty with real-time consumption enabled in the Tibber app, and the Live power option on. The status line says "live power on <home>" when the stream is connected.
- Tomorrow's prices missing: Tibber publishes them around 13:00 local time; the integration keeps asking every 10 minutes.
- Logs: the integration's log level is set with the
LOG_LEVELvariable.
Privacy
The token is stored encrypted by Gladys and only sent to Tibber's servers
(api.tibber.com, websocket-api.tibber.com). Your address is only used to
name the device when the home has no nickname.
Konfigurationseinstellungen
Diese Einstellungen fragt Tibber in seinem Konfigurationsbildschirm in Gladys ab.
| Einstellung | Typ | Pflichtfeld | Beschreibung |
|---|---|---|---|
| Tibber account | section | Nein | Unofficial connector, not affiliated with Tibber. Create a personal access token on developer.tibber.com (Settings → Access token) and paste it below: the integration discovers your homes, reads the hourly prices (today and tomorrow), your consumption, and, with a Tibber Pulse or Watty, the live power. It also offers a Tibber contract template for the Gladys energy monitoring. Tibber is a trademark of Tibber AS. |
| Access token | secret | Ja | Stored encrypted by Gladys and only sent to api.tibber.com. |
| Cheap hours per day | number | Nein | The N cheapest hours of the day make the "cheap period" (sensor, triggers, widget). |
| Live power from a Tibber Pulse / Watty | boolean | Nein | Keeps a websocket open to Tibber for the homes with real-time consumption enabled. |
So installierst du Tibber in Gladys
- Öffne in Gladys Integrationen: Tibber erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
- Klicke auf Installieren. Gladys lädt das Docker-Image (
ghcr.io/lm1lc3n7/gladys-tibber:0.1.1) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration). - Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
- Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/LM1LC3N7/gladys-tibber.
Tibber benötigt Gladys >=5.2.0. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.
Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.
Über externe Integrationen
Tibber ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von LM1LC3N7 veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.
- Alle externen Integrationen durchsuchen
- Die nativen Integrationen entdecken, die in Gladys eingebaut sind
- Deine eigene externe Integration bauen und veröffentlichen
- Quellcode auf GitHub — Quelle dieser Dokumentation