Releases: Codibris/ioBroker.tibberconnect
v0.1.0 – Stability Release
⚠️ Letzter Feature-Release dieses AdaptersWährend dieser Adapter in einer langen Pause war, ist mit ioBroker.tibberlink von @hombach ein vollwertiger Nachfolger entstanden, der bereits im offiziellen ioBroker-Repository verfügbar ist und deutlich mehr kann (direkter lokaler Pulse-Zugriff, historische Verbrauchsdaten, Calculator-Channels für günstigste Stunden / Stundenblöcke, Smart-Battery-Buffer-Logik, FlexCharts/eCharts-Integration).
Für Neueinsteiger: Bitte direkt
tibberlinkinstallieren.
Für Bestandsnutzer: Diesesv0.1.0ist ein reiner Stabilitäts-Release als ruhiger Übergang. Geplant sind keine weiteren Feature-Releases — nur noch Sicherheits-Patches falls nötig. Mittelfristig zutibberlinkmigrieren.Großen Dank an @hombach für das tolle Nachfolge-Werk. 🙏
Erste größere Aktualisierung seit zwei Jahren. Fokus: die Crashes wegbekommen, die im Forum und in den Issues immer wieder gemeldet wurden. Keine neuen Features in diesem Release, dafür sieben Bugfixes auf die Reihe gebracht und das CI komplett modernisiert.
Behobene Bugs
🔥 Wert `0`/`false` wurde verschluckt
`liveMeasurement.power`, `powerProduction`, `signalStrength`, `accumulatedConsumptionLastHour` und ähnliche Datenpunkte wurden nie geschrieben, sobald der Wert `0` war. PV-Volleinspeisung, kein Stromverbrauch, schwaches Pulse-Signal — alle blieben auf dem alten Wert hängen und brachen Energiefluss-Adapter und PV-Berechnungen. Behoben.
🔥 Adapter crasht alle 30 Min
Hauptbeschwerde aus dem Forum. Im 5-Minuten-Intervall für Preis-Updates fehlte das `await`, dadurch wurden API-Fehler zu unhandled promise rejections und der Adapter terminierte mit `UNCAUGHT_EXCEPTION`. Viele Nutzer hatten sich Blockly-Scripts gebaut, die den Adapter alle 12–30 Minuten neu starten. Sollte ab jetzt nicht mehr nötig sein.
🔥 Multi-Home-Setups
Bei mehreren Häusern landeten alle Live-Daten auf der zuletzt iterierten `homeId` — die Tibber-Config wurde im Loop überschrieben. Ein User hatte als Workaround die Home-ID manuell in der Caller-Datei hardcoded.
Closes #221
`accumulatedReward` Config-Tippfehler
Die Aktivierung von `accumulatedReward` im Admin hat nichts bewirkt — der Code hat versehentlich `FeedConfigAccumulatedCost` zweimal abgefragt. PV-Einspeiser haben dadurch ihre Gutschriften nie gesehen.
Adapter blieb gelb statt grün
`info.connection` wurde nur durch den Pulse-`connected`-Event gesetzt. Bei Verzögerungen im Pulse-Aufbau blieb der Adapter gelb, obwohl die API-Calls schon liefen. Jetzt: grün, sobald die API antwortet.
`Error in Tibber Feed on "undefined" with message "undefined"`
`generateErrorMessage` ist auf Netzwerkfehler (kein `statusMessage`, keine `errors`-Property) ungeschützt zugegriffen. Jetzt defensiv und mit Fallback auf `error.message`.
Forum #24
Race-Condition beim Adapter-Stop
`Cannot read properties of undefined (reading 'warn')` beim Stop. Der Pulse-Reconnect-Interval wurde nicht aufgeräumt und versuchte nach Adapter-Shutdown noch auf `this.adapter.log` zuzugreifen.
Forum #29
Zusätzliche Härtungen (Copilot-Review)
- Async-Kette konsequent awaitet — `fetchPrice`/`fetchAddress`/`fetchLegalEntity` riefen ihre `checkAndSetValue*`-Helpers ohne await auf. Auch das `fetchLiveMeasurement` im Pulse — 25 State-Writes laufen jetzt parallel via `Promise.all`, der sync EventEmitter-Handler fängt Rejections via `.catch()`. Keine unhandled rejection mehr möglich.
- Re-entrancy-Guard in den 5-Min-Preis-Intervallen — wenn die Tibber-API mal lahmt und der vorige Aufruf noch läuft, wird der nächste Tick übersprungen statt parallel zu hämmern.
- Pulse-Event-Handler nach Reinit — `DisconnectPulseStream` erzeugte einen neuen `TibberFeed` ohne Event-Handler. Beim nächsten Connect wären `connected`/`data` lautlos verschluckt worden.
CI komplett modernisiert
- Node 14/16/18 raus → 20/22/24
- CodeQL Security-Scan (TypeScript)
- Dependency-Review blockt PRs mit High-Severity-CVEs
- `fail-fast: false` + Concurrency-Groups
Vielen Dank an alle, die in den letzten zwei Jahren Issues geöffnet, im Forum gepostet und Workarounds geteilt haben — ohne eure detaillierten Bug-Reports und Reproduktionen wäre dieser Release nicht möglich gewesen. 🙏
v0.0.10
What's Changed
- fix(118): store states acknowledged by @volkerrichert in #126
- Bump tibber-api from 5.0.0 to 5.0.3 by @dependabot in #142
- Bump prettier from 2.8.0 to 2.8.1 by @dependabot in #141
- Bump axios from 1.2.0 to 1.2.2 by @dependabot in #134
- Bump mocha from 10.1.0 to 10.2.0 by @dependabot in #140
- Bump sinon from 15.0.0 to 15.0.1 by @dependabot in #139
- Bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.49.0 by @dependabot in #152
- Bump tibber-api from 5.0.3 to 5.1.7 by @dependabot in #154
- Bump prettier from 2.8.1 to 2.8.3 by @dependabot in #156
- Bump rimraf from 3.0.2 to 4.1.2 by @dependabot in #161
- Bump typescript from 4.9.3 to 4.9.5 by @dependabot in #158
- Bump @types/node from 18.11.10 to 18.11.18 by @dependabot in #136
- Bump @typescript-eslint/parser from 5.45.0 to 5.50.0 by @dependabot in #160
- Bump eslint-config-prettier from 8.5.0 to 8.6.0 by @dependabot in #159
- Bump axios from 1.2.2 to 1.3.0 by @dependabot in #155
- Bump @typescript-eslint/eslint-plugin from 5.49.0 to 5.50.0 by @dependabot in #153
- Bump eslint from 8.28.0 to 8.33.0 by @dependabot in #157
- Bump typescript from 4.9.5 to 5.0.3 by @dependabot in #179
- Bump rimraf from 4.1.2 to 4.4.1 by @dependabot in #178
- Bump sinon from 15.0.1 to 15.0.3 by @dependabot in #177
- Bump @iobroker/adapter-core from 2.6.7 to 2.6.8 by @dependabot in #176
- Bump tibber-api from 5.1.7 to 5.1.8 by @dependabot in #175
- Bump eslint from 8.33.0 to 8.37.0 by @dependabot in #174
- Bump @typescript-eslint/eslint-plugin from 5.50.0 to 5.57.0 by @dependabot in #173
- Bump eslint-config-prettier from 8.6.0 to 8.8.0 by @dependabot in #172
- Bump prettier from 2.8.3 to 2.8.7 by @dependabot in #171
- Bump @typescript-eslint/parser from 5.50.0 to 5.57.1 by @dependabot in #180
- Bump @types/node from 18.11.18 to 18.15.11 by @dependabot in #170
- Bump axios from 1.3.0 to 1.3.4 by @dependabot in #165
- fixed #181 by @Codibris in #182
- fixed #130 by @Codibris in #183
- release 0.0.10 by @Codibris in #184
Full Changelog: v0.0.9...v0.0.10
v0.0.9
v0.0.8
What's Changed
- fix #101 - reset info.connection on adapter unload by @Codibris in #101
- Bump @types/node from 18.11.9 to 18.11.10 by @dependabot in #104
- Bump @types/mocha from 10.0.0 to 10.0.1 by @dependabot in #105
- Bump typescript from 4.8.4 to 4.9.3 by @dependabot in #106
- Bump @typescript-eslint/eslint-plugin from 5.43.0 to 5.45.0 by @dependabot in #107
- Bump axios from 1.1.3 to 1.2.0 by @dependabot in #108
- Bump sinon from 14.0.2 to 15.0.0 by @dependabot in #109
- Bump prettier from 2.7.1 to 2.8.0 by @dependabot in #110
- Bump @typescript-eslint/parser from 5.43.0 to 5.45.0 by @dependabot in #111
- Add some Error Handler for api calls by @Codibris in #112
Full Changelog: v0.0.7...v0.0.8
v0.0.7
v0.0.6
v0.0.4
What's Changed
- Bump typescript from 4.5.5 to 4.6.4 by @dependabot in #40
- Bump @types/chai from 4.3.0 to 4.3.1 by @dependabot in #39
- Bump @types/node from 17.0.18 to 17.0.30 by @dependabot in #36
- Bump @iobroker/adapter-core from 2.5.1 to 2.6.0 by @dependabot in #10
- Bump ts-node from 10.5.0 to 10.7.0 by @dependabot in #18
- Bump eslint-config-prettier from 8.3.0 to 8.5.0 by @dependabot in #26
- Bump eslint from 8.9.0 to 8.14.0 by @dependabot in #29
- Bump @types/mocha from 9.1.0 to 9.1.1 by @dependabot in #30
- Bump prettier from 2.5.1 to 2.6.2 by @dependabot in #31
- Bump axios from 0.25.0 to 0.27.2 by @dependabot in #32
- Bump @typescript-eslint/parser from 5.12.0 to 5.21.0 by @dependabot in #33
- Bump sinon from 13.0.1 to 13.0.2 by @dependabot in #34
- Bump @iobroker/testing from 2.5.4 to 2.6.0 by @dependabot in #38
- Bump @alcalzone/release-script from 3.5.2 to 3.5.9 by @dependabot in #42
- Bump @typescript-eslint/eslint-plugin from 5.12.0 to 5.22.0 by @dependabot in #43
- Bump mocha from 9.2.0 to 10.0.0 by @dependabot in #41
- Bump tibber-api from 4.0.0 to 4.1.0 by @dependabot in #53
- Bump eslint-plugin-prettier from 4.0.0 to 4.2.1 by @dependabot in #58
- Bump prettier from 2.6.2 to 2.7.1 by @dependabot in #60
- Bump ts-node from 10.7.0 to 10.9.1 by @dependabot in #61
- Bump @types/chai from 4.3.1 to 4.3.3 by @dependabot in #71
- Bump @iobroker/testing from 2.6.0 to 4.1.0 by @dependabot in #72
- Bump @typescript-eslint/parser from 5.21.0 to 5.38.1 by @dependabot in #74
- Bump @types/node from 17.0.30 to 18.7.23 by @dependabot in #75
- Bump @iobroker/adapter-core from 2.6.0 to 2.6.6 by @dependabot in #77
- Bump typescript from 4.6.4 to 4.8.4 by @dependabot in #78
- Bump eslint from 8.14.0 to 8.25.0 by @dependabot in #80
- Bump sinon from 13.0.2 to 14.0.1 by @dependabot in #79
- Bump @typescript-eslint/eslint-plugin from 5.22.0 to 5.39.0 by @dependabot in #81
Full Changelog: v0.0.3...v0.0.4
v0.0.3
Version 0.0.2
v0.0.2 v0.0.2
Version 0.0.1
Reading data from tibber API:
list and details of homes
details of metering point
features of account
current energy price
energy prices of today
energy prices of tomorrow
acitvate or deaktivate pulse (no data at the moment)