ioBroker.octopus-energy-monitor
Tests:
ioBroker.octopus-energy-monitor
The Octopus Energy Monitor adapter periodically fetches daily electricity consumption data from Octopus Energy (Kraken API) and Inexogy (Discovergy/Statistics API), saving it automatically within your ioBroker object tree.
Its key purpose is identifying discrepancies in billing/measurement between your intelligent smart meter (Inexogy) and your energy supplier (Octopus Energy). Every night, the adapter compares both datasets and flags daily discrepancies that exceed a configurable threshold mathematically.
Features
- Full Kraken GraphQL Support: Authenticates via your Octopus JWT tokens and dynamically resolves account properties to fetch precise consumption data.
- Dynamic Tariff & Slot Support: Automatically detects your active Octopus tariff (e.g., Intelligent Octopus Go) and its specific time-of-use slots. No manual configuration of "Go" hours needed!
- Automated Cost Calculation: Automatically calculates daily, monthly, and yearly energy costs in Euro (€) based on your actual tariff rates.
- Hierarchical History: Structures data in a clean
history.YYYY.MM.DDtree with automatic aggregation of consumption and costs for months and years. - Estimated Meter Reading: Calculates your current electricity meter reading by combining the latest official Kraken reading with your subsequent daily consumptions.
- Inexogy (Discovergy) Comparison: Leverages the Inexogy API to compare consumption data against your provider's data, helping identify billing discrepancies.
- Master Data Insight: Provides transparency into your account balance, meter details, and involved network operators (MOP/DNO).
- Smart Charging Control: Dynamically fetch Intelligent Octopus devices (EVs/chargers) and toggle Smart Charging (Suspend/Resume) directly from ioBroker.
- Inexogy Master Data & Live Reading: Fetch serial numbers, location details, and current meter readings (Bezug/Einspeisung) from Inexogy.
- Smart Caching: Minimizes API load by retroactively syncing only missing data points (30-day default).
- §14a EnWG Price Calculation: Optional tariff calculation for controllable consumption devices (Steuerbare Verbrauchseinrichtung) with custom time windows (NT/HT) and automatic standard tariff (ST) fallback.
- Custom Billing Periods: Aggregates and tracks energy consumption and costs based on your custom billing period start day (e.g., 18th to 17th) under the
octopus.periodschannel, split by standard rate slots (e.g. Go/Standard) with a staticcurrentfolder for easy visualization.
Installation
To install this adapter in your ioBroker environment:
- Open your ioBroker Admin UI.
- Navigate to the "Adapters" tab.
- Search for "Octopus Energy Monitor" (or
octopus-energy-monitor). - Click the + (add) button next to the adapter to create a new instance.
Configuration
Octopus Energy (Kraken):
- Enter your standard Octopus login credentials (Email & Password).
- Input your Account Number (usually starts with
A-). - Billing Period Start Day: Day of the month on which your billing cycle starts (default is
1for normal calendar month). If your cycle is from the 18th of one month to the 17th of the next, select18to generate the billing period folders underoctopus.periods.<startDate>and a staticoctopus.periods.currentalias, including slot-split metrics.
Inexogy:
- Enter your Inexogy portal Email & Password. The adapter automatically manages Basic Auth parsing and translates it into Discovergy API queries.
General Settings:
- Discrepancy Threshold: Defines how many
kWhdifference must be present between Octopus and Inexogy to trigger thehasDiscrepancy: truestate flag. Default is0.1 kWh.
- Discrepancy Threshold: Defines how many
§14a EnWG Settings (Optional):
- Enable § 14a EnWG Calculation: If activated, calculates daily energy prices taking into account reduced grid fees for controllable consumption devices.
- Applicable From Date (YYYY-MM-DD): Defines when the EnWG calculation should start. Changing this date (or grid fees/time windows) triggers an automatic retroactive recalculation of all historical data.
- Grid Fees: Input your local NT, HT, and ST grid fees. Use the checkbox to specify whether the input values are gross (including 19% VAT) or net.
- Configured Time Windows: Define your local NT (low tariff) and HT (high tariff) times per month. Times that are not defined automatically fallback to ST (standard tariff). Windows must not overlap within the same month.
Once configured, the adapter handles the rest! It sets an internal Cronjob scaling back 30 days every night. Data manifests under the octopus-energy-monitor.0.history.YYYY.MM.DD path.
Changelog
0.6.7 (2026-07-01)
- (tipp88) Fixed missing UI translations for the
updateIntervalminimum warning. - (tipp88) Fixed missing external object ID sanitization (ioBroker repo compliance).
- (tipp88) Enforced a 15-minute minimum for
updateIntervalto prevent excessive cloud polling. - (tipp88) Refactored
fetchInexogyand optimized object scanning overhead during history aggregation. - (tipp88) Capped
syncDaysretroactive data fetching toretentionDaysto avoid fetching data that would immediately be deleted.
0.6.6 (2026-06-29)
- (ioBroker-Bot) Adapter requires admin >= 7.8.23 now.
0.6.5 (2026-06-29)
- (tipp88) Fixed ioBroker repository PR compliance issues (added API timeouts, refactored timer logic, removed dead config, implemented data retention, and updated translation keys).
- (tipp88) Upgraded
@iobroker/typesdevDependency to 7.2.2.
0.6.4 (2026-06-22)
- (tipp88) Evaluated and upgraded
@iobroker/adapter-coredependency from 3.3.2 to 3.4.1. - (tipp88) Changed German adapter title in
io-package.jsonto "Octopus Energy Monitor".
0.6.3 (2026-06-11)
- (tipp88) Fixed repository compliance issues by removing custom GitHub/NPM installation instructions from README.md.
- (tipp88) Upgraded dependencies (axios to ^1.17.0, @tsconfig/node22 to ^22.0.5).
Older changelogs can be found there
License
MIT License
Copyright (c) 2026 tipp88
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
