Author Archives: gilbert

Heating, hot water and water monitoring with Grafana: what the data says about the house

After the electricity side (Monitoring a Victron + Enphase hybrid system with Grafana), this is the other half of the house: a gas condensing boiler with solar thermal support for hot water, room-by-room heating control over KNX, and the water supply with its softener. The goal is the same as before: not pretty pictures, but panels that answer concrete questions. How much gas does the house need per degree of cold? Which room is the bottleneck? Is the boiler cycling too often? And would a heat pump pay off?

Dashboard labels are in Luxembourgish; I translate the important ones.

The setup

  • Boiler: gas condensing boiler with an RC35 controller, read out via EMS-ESP over MQTT (flow and return temperatures, burner power, starts, run time, pressure, hot water).
  • Solar thermal: collector, two storage temperatures (bottom and top) and the solar pump, also via EMS-ESP.
  • Rooms: KNX room controllers and heating actuators deliver room temperatures and the valve demand per room.
  • Meters: gas and electricity from the smart meter’s P1 port, water from the water meter, plus the softener’s own data.
  • Weather: a local weather station (temperature, humidity, pressure, rain, brightness on three façades).
  • Path: everything goes into openHAB, is persisted to InfluxDB 2 and visualised in Grafana 13. Self-hosted, no vendor cloud needed.

1. The building: gas per degree of cold

If I had to keep only one heating panel, it would be this one. Each dot is one day: gas consumption against the daily mean outdoor temperature, over a year, with a linear regression. The relationship is remarkably clean, and it tells you a lot about the building:

  • The line reaches zero at about 16 °C: that is the heating limit temperature. Above it, the house heats itself from internal and solar gains.
  • The slope is about 0.71 m³ per day and kelvin. With 10.8 kWh/m³ and a boiler efficiency of 0.92, that is roughly 7 kWh of heat per kelvin per day, or about 0.3 kW per kelvin.
  • At a design temperature of around −10 °C (26 K below the heating limit), that gives a heat load of roughly 8 kW. This is the number that matters for sizing a heat pump, and it is measured, not taken from a standard calculation.
Scatter plot of daily gas consumption versus outdoor temperature with a regression line
Daily gas consumption vs. daily mean outdoor temperature over one year, with linear regression. Heating limit around 16 °C.

This is an estimate: the regression mixes in hot water (partly covered by solar), and days with unusual use (guests, holidays) scatter. For sizing decisions I would still round up, not down.

2. Rooms: where does the heat go?

The heating actuators report a valve demand per room. Shown as a state timeline per day (grey below 5 %, then blue, yellow, orange, red from 75 %), it shows at a glance which rooms actually need heat. The averages and the valve hours over the period underneath turn that into numbers.

Daily heating demand per room as a coloured timeline, with averages and valve hours per room
Heating demand per room and day, average demand and valve hours over 30 days.

The surprise here was the kitchen: its valve is open most of the time (66 % on average, almost 500 valve hours in 30 days), while the living room next to it needs 25 %. A room whose valve is permanently open is either set warmer than the others, under-supplied hydraulically, or losing heat somewhere. It is the first candidate for hydraulic balancing, and the first room to look at if the flow temperature is ever lowered for a heat pump: the room with the highest demand determines the flow temperature the whole house needs.

Room temperatures complete the picture: a bar per room for the current state, and one chart per floor over 24 hours. Unheated or lightly heated rooms (garage, utility cellar, bedrooms kept cooler) are immediately visible.

Bar gauge of current temperature in all rooms
Current temperature in all rooms.
Room temperatures over 24 hours for basement and ground floor
Basement and ground floor over 24 hours.
Room temperatures over 24 hours for the first floor and attic
First floor and attic over 24 hours. The night setback and the morning warm-up are clearly visible.

3. Boiler: flow temperatures and cycling

Flow, return, flow setpoint and outdoor temperature on a single °C axis (an earlier version had two axes, which made the gap between outdoor and flow temperature look smaller than it is). In summer the heating circuit is switched off manually and only hot water is produced; the flow setpoint then drops to its minimum. From mid-October the heating curve takes over: roughly 46 °C minus 0.84 × outdoor temperature, with a floor at 33 °C.

Flow, return, flow setpoint and outdoor temperature over 90 days on one axis
Heating temperatures over 90 days: flow, return, setpoint and outdoor temperature on one shared axis.

The boiler view adds pressure, burner starts, burner hours, return temperature and gas per day. Two things are worth watching here:

  • Return temperature: around 34 °C, well below the roughly 55 °C dew point of the flue gas. The boiler is condensing, as it should.
  • Burner starts: up to 60 starts a day with about 10 hours of burner time means many short cycles. Short cycling costs efficiency and wears the burner. It is a sign that the boiler’s minimum output is larger than the house needs on mild days; burner hysteresis and the minimum modulation are worth a look.
Boiler tiles, temperatures and burner power over 7 days, burner starts, run time and pressure per day
Boiler over 7 days: pressure, starts, burner hours, return temperature, gas; temperatures and burner modulation; starts and run time per day.
Gas meter tiles, daily gas versus outdoor temperature, weekly gas over 12 weeks
Gas: meter reading, today and yesterday (including cost), daily use vs. outdoor temperature, and weekly use over 12 weeks; the start of the heating season is obvious.

4. Hot water and solar thermal

The solar section shows the collector against the bottom and top of the storage tank, and the pump modulation. On sunny days in late October the collector still reached 70 °C and the solar pump ran three hours a day. The yield is shown in the controller’s own units (“RC35 points”), which are not kWh; it is useful for comparing days, not for an energy balance.

Solar thermal tiles, collector and storage temperatures, pump run time and yield per day
Solar thermal over 7 days: collector and storage temperatures, pump modulation, pump run time and yield per day.

The hot-water chart shows the storage temperature against its setpoint. The setpoint drops at night (night setback), so the boiler does not reheat the tank for nobody; the tank cools slowly and is reheated in the morning, or by the sun.

Hot water storage temperature and setpoint over 7 days
Hot-water storage temperature vs. setpoint over 7 days, with the night setback.

Finally, a state timeline of what is running when: heating active, heating pump, hot water active, storage charging, circulation pump and solar pump. It is the quickest way to check that automations and time programs actually do what they are meant to do.

State timeline of heating, pumps, hot water and solar pump over 7 days
What runs when: heating, heating pump, hot water, storage charging, circulation pump and solar pump.

5. Would a heat pump pay off?

With measured daily gas consumption and outdoor temperatures, the heat-pump question becomes a calculation instead of a sales pitch. The energy dashboard converts gas to delivered heat (m³ × 10.8 kWh/m³ × 0.92), models a daily COP from the outdoor temperature and the house’s actual heating curve, and compares running costs with prices I can change as variables. The full model and every price component are documented in a text panel next to the result.

Running cost tiles for gas boiler, air-water and ground-source heat pump, cost per kWh of heat and break-even SCOP, with explanation
Running costs and cost per kWh of heat for the selected period, with the calculation explained.

Read these numbers with the period in mind. This screenshot covers 90 days that are mostly summer. With little gas used, the fixed gas costs (177 € per year, pro rata) dominate, which pushes the gas price per kWh of heat to 14 ct and the break-even SCOP below 1. Over a full heating season the comparison is less extreme: without fixed costs, a kWh of heat from gas costs about 9.2 ct, and the heat pump wins from a SCOP of about 1.45. Either way the margin is large, but the honest figure comes from a whole year, not from a quarter.

6. Indoor climate and weather

The weather station supplies outdoor temperature, humidity, pressure, rain and brightness on three façades. The same brightness data also drive the PV analysis on the electricity side.

Outdoor temperature and humidity, rain per hour, air pressure and brightness over 7 days
Weather station: temperature and humidity, rain per hour, air pressure, brightness per façade.

Indoors, CO₂ in the living area is the best single indicator of whether the ventilation keeps up; here it stays between roughly 370 and 570 ppm. The dew point in the garage helps judge condensation risk in an unheated space.

Indoor CO2, temperature, humidity, noise and garage dew point
Indoors: CO₂ (living area and garage), temperature, humidity, noise level and garage dew point.

7. Water and softener

Water is not heating, but it shares the dashboards’ folder and the same questions: how much, when, and is anything leaking? Daily consumption, flow and consumption per hour make an unnoticed leak visible quickly: a leak shows up as consumption during hours when nobody uses water.

Water meter tiles, daily water use, flow and hourly use over 30 days
Water: meter reading, today, yesterday (with cost), last 7 and 30 days; daily use, flow and use per hour.

The softener reports its remaining capacity, the next regeneration, regenerations over 30 days, total salt and the next maintenance. The remaining-capacity sawtooth shows the regeneration rhythm: 20 regenerations in 30 days, at roughly 200 L of water a day.

Softener tiles: remaining capacity, next regeneration, regenerations, salt, maintenance
Softener status.
Remaining softener capacity over 30 days
Remaining capacity over 30 days: each drop to the bottom ends with a regeneration.

Lessons learned

  • Gas per degree is the most valuable heating chart. It gives the heating limit temperature and the building’s heat loss coefficient, and with them a measured heat load for heat-pump sizing.
  • Valve demand per room beats room temperature for diagnosis. A room at the right temperature with a permanently open valve is the real bottleneck, and it sets the flow temperature for the whole house.
  • Count burner starts. Run time alone hides short cycling.
  • Use one axis for one unit. Flow and outdoor temperature belong on the same °C scale; otherwise the chart lies about the distance between them.
  • Mind the period in cost comparisons. Fixed costs make a summer quarter look very different from a winter.
  • Controller units are not kWh. Solar “points” from the controller are fine for comparing days, not for an energy balance.

Stack: EMS-ESP (boiler, solar), KNX (rooms), P1 smart meter (gas, electricity), weather station, water meter and softener → openHAB → InfluxDB 2 → Grafana 13. All self-hosted.

Monitoring a Victron + Enphase hybrid system with Grafana: what turned out to be useful

A Victron ESS next to an Enphase system is two energy systems sharing one house. Each comes with its own app, and each app is confident about its own half of the truth. To see what is actually going on – where the PV goes, when the batteries cycle, when the grid is touched and at what price – I built a set of Grafana dashboards on my self-hosted stack. This post walks through the panels that turned out to be genuinely useful for monitoring such a hybrid system, and a few traps I fell into on the way.

The dashboard labels are in Luxembourgish; I translate the important ones as we go.

The setup

  • Victron side: 3× MultiPlus-II 48/6500 (three-phase ESS), Ekrano GX, two DIY 16 kWh LiFePO4 packs (EEL V6 Pro with JK BMS, 32 kWh in total), three Victron VM-3P75CT energy meters in the roles grid, loads and PV.
  • Enphase side: 37 IQ8 microinverters on two roofs, AC-coupled on the Victron AC-out, plus two IQ Battery 5P.
  • Data path: Telegraf reads the Ekrano over MQTT into InfluxDB 2 (raw data with limited retention, plus a 1-minute bucket kept indefinitely). openHAB polls the Envoy (per-panel data, Enphase battery) and stores it in its own bucket, together with the day-ahead spot price and the PV forecast. The JK BMS packs are read over an isolated RS485-to-Ethernet converter and published via MQTT, down to individual cell voltages.
  • Frontend: Grafana 13, everything self-hosted, no vendor cloud in the loop (Enphase cloud data is pulled nightly as a backup only).

A word of honesty about the data. Two current clamps are not yet where they will end up: the server circuit currently bypasses the loads meter on one phase, and the Enphase IQ batteries sit outside the PV meter, so Venus counts their charging as household load. Everything that depends on the loads meter – household consumption, autarky – is therefore biased for now, and I left those panels out of this post. What you see below is based on the PV, grid and battery measurements, which are correct.

1. Planning: forecast, spot price, state of charge

The first dashboard is the one I open in the morning. It shows today’s PV forecast against what has been produced so far, the forecast for tomorrow (here: available from 17:55), both batteries’ state of charge, the current spot price and which price source is active. The price feed queries Energy-Charts and falls back to a second source if that fails; the active source is shown so a silent failover does not go unnoticed.

Energy planning dashboard with forecast, SoC and spot price tiles and a 36-hour spot price bar chart
Planning view: forecast vs. production, SoC of both battery systems, and the spot price for the next 36 hours.

Below it, the spot price is plotted against the grid power. The blue areas are export. On the left you see the classic midday surplus at low prices; on the right, the batteries being sold into the evening price peak. The lower chart shows both batteries’ state of charge – note how differently the small Enphase batteries (blue) and the 32 kWh Victron bank (green) cycle.

Spot price versus grid export, and state of charge of Victron and Enphase batteries over 48 hours
Spot price vs. grid power (export negative), and the state of charge of both battery systems.

Since the forecast drives decisions (how much to sell in the evening, how much reserve to keep for a dark day), I track how good it is. The table compares the forecast made the evening before and the one made in the morning with actual production. On sunny days the forecast is decent; on overcast days it is off by a factor of two or more in either direction, which is exactly why the battery strategy must not trust a single forecast.

Forecast versus production for the last 14 days with a table of deltas and factors
Forecast quality: evening and morning forecast vs. actual production, with deltas and ratios per day.

2. PV: per panel and against the sun

Enphase microinverters report per panel, which makes shading and faults visible that a string inverter would hide. The tiles show the last value per panel, grouped by roof (house roof panels 1–13, garage roof 14–37). The Envoy only updates per-panel data about once an hour, so the tiles state how old the last value is.

Tiles showing the current power of each of 37 Enphase panels, grouped by roof
Per-panel power, grouped by roof. At peak, the house roof reaches about 308–318 W per panel, the garage roof about 285–293 W.

The heatmap over time and the per-panel averages are where it gets interesting. The peaks are almost identical across a roof, but the averages are not: panels 14, 15, 20, 21 and 26 on the garage roof average well below their neighbours. Same peak, lower average means partial shading during part of the day, not a defective module.

Heatmap of power per panel over two days
Power per panel over two days. Shading shows up as panels that start late or drop early.
Bar gauges of average and peak power per panel
Average (left) vs. peak (right) per panel. The low averages on panels 14, 20, 26 and others point to shading, not to faulty modules.

The array is deliberately over-panelled: 455 W modules on IQ8 microinverters that deliver at most about 330 W AC each, so 37 × 330 W ≈ 12.21 kW is the hard ceiling. Plotting PV power against the brightness measured on the south façade makes the clipping visible: above roughly 80 klx the maximum (orange) flattens at the clipping line. Over-panelling costs a little at noon in summer and gains a lot in the morning, the evening and in winter, which is what a self-consumption system needs.

PV power, sun position and brightness; PV power binned by brightness with a clipping line at 12.21 kW; PV yield per day
Top: PV power with sun azimuth, elevation and brightness on three façades. Bottom left: PV power per brightness bin, with the 12.21 kW clipping line. Bottom right: daily yield.

3. Where does the PV go?

This was the hardest panel to get right, and the most instructive. The question is simple: of every kWh the roof produces, how much is used directly, how much goes into the Victron battery, how much into the Enphase battery, and how much is exported?

My first version used daily totals: direct use = PV − export − battery charging. It produced days with zero direct use on a 70 kWh day, which is physically impossible. The reason: daily totals cannot tell where energy came from. Two flows were counted twice:

  • Evening battery export. When the Victron sells battery energy into the evening price peak, that energy appears in the export counter – but it had already been counted as PV going into the battery at midday.
  • Battery-to-battery transfers. When the Enphase batteries discharge in the morning while the Victron is charging, the same kWh is counted as charging twice.

The fix is to do the bookkeeping minute by minute (in Flux, joining the Victron 1-minute data with the Enphase battery data): in each minute, export counts at most as much as the PV produced in that minute, battery charging counts at most what is left of PV after export, and the remainder is direct use. Battery export at night and transfers between batteries then drop out automatically. The four parts add up to the PV meter’s energy counter within about half a percent.

Stacked daily bars of PV split into direct use, Victron battery, Enphase battery and export, plus the shares over 30 days
Where the PV went over 30 days: 26 % direct use, 34 % Victron battery, 16 % Enphase battery, 24 % export.

A side effect of building this panel: comparing the old and the new numbers quantifies how much energy is moved around rather than produced. Over three weeks, about 50 kWh of the export counter was battery energy sold in the evening, and several dozen kWh went into the Victron from the Enphase batteries or the grid. Every battery-to-battery kWh passes through two conversions and loses 10–15 %. That is an argument for configuring the two systems so they do not feed each other.

4. Grid: peaks and the 3 kW line

My grid tariff has a reference power of 3 kW; drawing more costs a surcharge. The peak panel shows the highest grid import per day, with a dashed line at 3 kW and red bars above it. The histogram counts minutes per 250 W bin, split into green (up to 3 kW) and red (above): 51 of roughly 41,500 minutes in 30 days. Export shows up to the left of zero.

Bar chart of the daily maximum grid import with a dashed line at 3 kW
Highest grid import per day; red bars exceed the 3 kW reference power.
Histogram of grid power in 250 W bins, red above 3 kW
Minutes per grid-power bin over 30 days. Red: above 3 kW.

The grid operator assesses peaks as 15-minute averages, while these panels use 1-minute averages. A red bar is therefore a warning, not necessarily a surcharge: a three-minute spike may well average out below 3 kW over the quarter hour.

The Victron grid meter also measures voltage, frequency, neutral current and the voltage between neutral and protective earth. These are not needed for energy accounting, but they are cheap early-warning indicators: a slowly rising PEN voltage, for instance, can hint at a deteriorating neutral connection long before anything fails.

Voltage per phase and grid frequency over 30 days
Grid quality over 30 days: 226–234 V per phase, 49.97–50.03 Hz.

5. ESS control: what is the system doing, and why?

When the ESS is steered externally (grid setpoint, minimum SoC, peak shaving), it is easy to lose track of what is currently in effect. One row of tiles mirrors the relevant Ekrano settings, next to the spot price and the grid power. If the setpoint was left at an export value by a rule that crashed, it is visible at a glance.

Spot price versus grid power, 36-hour price forecast, and tiles with current ESS settings
Spot price and grid power, plus the current ESS state: control mode, setpoint, minimum SoC, active SoC limit, peak shaving, limits.

A state timeline shows the system state over the day (discharging, external control, etc.), the AC input source and the grid alarm. It is the fastest way to see whether an automation actually did what it was supposed to do at 18:00.

State timeline of the ESS system state, grid source and grid alarm over 24 hours
System state, grid source and grid alarm over 24 hours.

6. Batteries: throughput, cells, health

Daily charge and discharge energy and equivalent full cycles give a feel for how hard the battery is worked: here about 13–14 kWh per day and 12.6 full cycles in 30 days. The daily SoC range shows how deep the cycles go; in the darker second half of October, the Victron no longer reached 100 % every day.

Daily charge and discharge energy and full cycles per day
Charge/discharge per day (415.7 / 403.1 kWh in 30 days) and full cycles per day (32 kWh = 1 cycle).
Daily SoC range and daily maximum cell spread
Daily minimum/maximum SoC and the daily maximum cell spread.

The 24-hour view combines SoC (Victron and Enphase), pack voltage and the charge voltage limit (CVL) on one chart, with power, current, minimum/maximum cell voltage and cell spread below. With LiFePO4, voltage is almost flat between roughly 20 and 90 % SoC and rises steeply only at the top, so the cell spread is mainly meaningful near full charge – which is exactly where it peaks.

SoC and voltage over 24 hours, battery power, voltage and current, min/max cell voltage and cell spread
24-hour battery view: SoC of both systems, pack voltage vs. charge voltage limit, power, min/max cell voltage and cell spread.

For the EEL packs, the JK BMS data go one level deeper. The overview shows SoC, voltage, current, cell spread, alarms and MOSFET temperature per pack; the bars below show each cell’s deviation from the pack mean. ±5 mV at rest is a healthy, well-balanced pack.

JK BMS overview of two packs with cell deviation from the pack mean
JK BMS overview for both packs and the deviation of each cell from the pack mean.
All 16 cell voltages of both packs over six hours
All 16 cells per pack during a charge. The cells stay together until the top, where balancing has to do its job.

Two panels I would recommend to anyone with a JK BMS. First, the sense-wire resistance per cell: it is the same, symmetrical pattern in both packs (highest around cell 9), so it reflects wire length rather than a bad connection – but a single cell suddenly deviating from that pattern would point to a loosening terminal. Second, the pack data table with throughput, cycles, full capacity and state of health.

Sense-wire resistance per cell for both packs and a table of pack data
Sense-wire resistance per cell, and pack data (throughput, cycles, capacity, SoH).

7. Where does the base load go?

Finally, individual consumers measured with Shelly plugs. In my case the servers and the network equipment run at around 500 W around the clock, roughly 12–13 kWh a day. That is the single biggest lever on the night-time battery drain, and it is also why consumption figures that miss the server circuit are badly off.

Power per device from Shelly plugs and energy per device over seven days
Measured devices: servers, network (with and without UPS), server network and ventilation.

Lessons learned

  • Do not trust daily totals for energy flows. As soon as batteries export or charge each other, only a per-minute calculation tells you where the PV went.
  • Never sum percentages. A legend that showed 2013 % “total” self-sufficiency taught me that one. And an unweighted mean of daily ratios lies too: weight by kWh.
  • Self-consumption in percent rewards a smaller PV array. In kWh, it is the number that matters economically. Autarky in percent is the meaningful ratio.
  • Meters have noise. The PV meter showed 6.5 W at night: CT offset and the microinverters’ filter capacitors, not moonlight. A small dead band (below 15 W shows as 0) keeps the live view honest without touching the stored data.
  • Do not draw lines across gaps for regularly sampled data; show the gap. Values from systems that only report on change (openHAB) are step lines that hold their last value.
  • Two y-axes with the same unit mislead. If both are °C or both are W, use one axis.
  • Know your CTs. Before interpreting consumption or autarky, verify what each clamp actually measures. Mine still need work, and the post shows only what is coherent today.

Stack: Victron Venus OS on Ekrano GX → MQTT → Telegraf → InfluxDB 2; Enphase Envoy and JK BMS → openHAB / MQTT → InfluxDB 2; Grafana 13. All self-hosted.

Brink Renovent Excellent 400 integration into eBus

This guide documents the complete integration of a Brink Renovent Excellent 400 ventilation system through ebusd and MQTT for monitoring in openHAB.

Architecture
  • 28+ data points monitored every 10 seconds
  • Real-time monitoring of temperatures, airflows, fan speeds
  • Filter tracking (days used, volume processed)
  • Bypass status and configuration
  • System diagnostics (frost protection, preheater, errors)
  • Operating hours and performance metrics

Hardware Requirements

  1. Brink Renovent Excellent 400 ventilation system
  2. Esera ECO 305 eBUS Controller (or compatible eBus gateway)
  3. 2-wire cable for eBus connection (polarity-sensitive
  4. Network connectivity for Esera gateway
  5. Proxmox server (or any Linux host) for LXC/VM

Configure Renovent for eBus Mode

Access the Renovent service menu: Use the menu button on the display to enter service mode and navigate to Parameter 08. Set to: eBus (Not OT – OpenTherme). Navigate to Parameter 09 (eBus mode) and configure Master (0) or Slave (1) mode.
The Renovent can operate as either eBus Master or Slave. Slave mode (1) is recommended for passive monitoring. If you experience issues, try Master mode (0).
I am running master mode.

Physical Connection

Step 1: Locate Renovent eBus Connection

CRITICAL: Find the correct connector!
X1 Connector: 2-pin green terminal block on the back of the Renovent display housing. NOT the X2 connector (used for other purposes). Refer to the Renovent service manual, page 14, for connector location diagrams.

X1 connector location on the top rear of the Renovent Excellent 400

Step 2: Connect to Esera Gateway

Wire the eBus connection: Switch off the Renovent appliance and the Esera gateway. Connect the Renovent X1 terminals to Esera eBus terminals. Polarity matters! Follow the wiring diagram. The following two pictures show which pins I connected on what device. You may use standard 2-wire cable (no shielding required for short runs). I used shielded KNX-EIB cable, as I had some spare lying around. Keep away from high-voltage AC cables. The following pictures show which pins I connected on what device.

X1 connection using a KNX-EIB shielded cable
Esera gateway connection on pins 22 and 23

Do NOT use termination resistors. eBus does not need termination! Termination resistors will prevent proper communication. The Esera gateway has built-in termination.

Verify the connection. Switch on both devices. LED indicators on Esera should show activity once connected.
PWR: Solid green means power OK.
Station: Solid green means that the eBus is ready.
Data: Flashing green ~1Hz (eBus communication)

Esera Gateway Setup

Step 1: Access Esera Web Interface

Connect your Esera gateway to your network. Access the web interface: `http://192.168.X.Y` (or your gateway IP). Default login password (eserapwd). Please change immediately.

Step 2: Configure eBus Settings

Navigate to: eBus Settings. You need to select:
Server protocol: TCP
Port: 5001
Automatic Bus Calibration: Automatic Mode
Calibration Value: 130 (auto-detected)
Compatibility: “Support ebusd enhanced protocol” (should be checked already)

Important: The “enhanced protocol” checkbox CANNOT be disabled – this is normal. Port 5001 uses the enhanced eBus protocol (required for ebusd). Port 5000 uses Esera ASCII protocol (not used in this setup).

Step 3: Verify Connection

Test the raw data flow. In your CLI, enter:

nc 192.168.X.Y 5001

You should see binary data streaming (appears as garbled characters):
ƪƪƪƪw}@Ơƴƴƪƪƪƪ…

This confirms the Esera is receiving eBus data from the Renovent.
CRITICAL: The Esera gateway only allows ONE TCP connection at a time to port 5001! If `nc` is connected, ebusd cannot connect. Always close test connections before starting ebusd.

LXC Container Setup

Step 1: Create LXC Container in Proxmox

Here is my config:
OS: Ubuntu 24.04 LTS
Hostname: ebus
Memory: 512 MB
Swap: 512 MB
CPU: 1 core
Disk: 8 GB (minimal, only needs ~2 GB)
Network: Bridge to your LAN

Step 2: Initial Setup

SSH into your container, update your system and install wget.

ebusd Installation. Important: Always use the MQTT1 variant (includes MQTT support)

cd /tmp
wget https://github.com/john30/ebusd/releases/download/v26.1/ebusd-26.1_amd64-trixie_mqtt1.deb

Step 2: Install ebusd

dpkg -i ebusd-26.1_amd64-trixie_mqtt1.deb
# Fix any dependency issues
apt-get install -f

Step 3: Verify Installation

ebusd --version
# Should show: ebusd 26.1.26.1

Configuration Files

Step 1: Create Directory Structure

mkdir -p /etc/ebusd/encon

The encon directory is for the manufacturer ENCON (Brink’s eBus identifier).

Step 2: Obtain Renovent Configuration File

Grab the custom configuration file for The Renovent Excellent 400 from Github. Find the exact file link and WGET it into your /tmp.

Step 3: Fix Character Encoding

The original file contains German umlauts (ü, ö, ä) that cause parsing errors. Convert to ASCII:

sed 's/ü/ue/g; s/ä/ae/g; s/ö/oe/g; s/Ü/Ue/g; s/Ä/Ae/g; s/Ö/Oe/g; s/ß/ss/g' \
    /tmp/7c.renovent-excellent-400.csv > /etc/ebusd/encon/7c.csv

Verify the file:

head -20 /etc/ebusd/encon/7c.csv

Step 4: Configure ebusd Service

Edit the configuration file:

nano /etc/default/ebusd

Add the following:

EBUSD_OPTS="--device=enh:192.168.X.Y:5001 \
  --latency=50 \
  --scanconfig \
  --configpath=/etc/ebusd \
  --mqtthost=10.0.10.41 \
  --mqttport=1883 \
  --mqttjson \
  --mqtttopic=ebusd \
  --log=all:notice \
  --pollinterval=10"

Parameter explanations:

  • --device=enh:192.168.X.Y:5001 – Esera gateway with enhanced protocol
  • --latency=50 – 50ms latency compensation
  • --scanconfig – Auto-detect and load device configurations
  • --configpath=/etc/ebusd – Where to find CSV configs
  • --mqtthost=192.168.A.B – Your MQTT broker IP
  • --mqttport=1883 – Standard MQTT port
  • --mqttjson – Publish in JSON format
  • --mqtttopic=ebusd – MQTT topic prefix
  • --log=all:notice – Logging level
  • --pollinterval=10 – Poll interval (not used for active polling in our setup)

Step 5: Start and Enable ebusd

systemctl enable ebusd
systemctl start ebusd

# Wait 30 seconds for initialization
sleep 30

# Verify it's running
systemctl status ebusd

Step 6: Verify ebusd Connection

ebusctl info

Expected output:
version: ebusd 26.1.26.1
device: 192.168.X.Y:5001, TCP, enhanced
signal: acquired
scan: finished
masters: 2
messages: 141
address 31: master #8, ebusd
address 36: slave #8, ebusd
address 77: master #19
address 7c: slave #19, scanned “MF=ENCON;ID= ;SW=-;HW=-“, loaded “encon/7c.csv”

Key indicators of success:
`signal: acquired` (not “no signal”)
`messages: 141` (config loaded)
`address 7c: slave #19, scanned “MF=ENCON”` (Renovent detected)
`loaded “encon/7c.csv”` (configuration file loaded)

Test reading a value:

ebusctl read -c Excellent400 Aussenlufttemperatur
# Should return a temperature value like: 10.2

Polling Script

Why a Polling Script? ebusd can passively listen to eBus telegrams, but the Renovent doesn’t broadcast all values automatically. We need to actively request data.

The Challenge: Setting `poll` in CSV files doesn’t work reliably with ebusd 26.1. Solution: External polling script that calls `ebusctl read`.

Step 1: Create Polling Script

nano /root/ebus/poll_renovent.sh

Script content:

#!/bin/bash
while true; do
    # Temperatures
    ebusctl read -c Excellent400 Aussenlufttemperatur > /dev/null 2>&1
    ebusctl read -c Excellent400 Ablufttemperatur > /dev/null 2>&1
    ebusctl read -c Excellent400 ZusaetzlicherTemperaturfuehler > /dev/null 2>&1
    
    # Airflows - Actual
    ebusctl read -c Excellent400 TatsaechlicheZuluftmenge > /dev/null 2>&1
    ebusctl read -c Excellent400 TatsaechlicheAbluftmenge > /dev/null 2>&1
    ebusctl read -c Excellent400 Zuluftmenge > /dev/null 2>&1
    ebusctl read -c Excellent400 Abluftmenge > /dev/null 2>&1
    
    # Airflow Setpoints
    ebusctl read -c Excellent400 LuftmengeStufe0 > /dev/null 2>&1
    ebusctl read -c Excellent400 LuftmengeStufe1 > /dev/null 2>&1
    ebusctl read -c Excellent400 LuftmengeStufe2 > /dev/null 2>&1
    ebusctl read -c Excellent400 LuftmengeStufe3 > /dev/null 2>&1
    
    # Fan speeds
    ebusctl read -c Excellent400 TatsaechlicheDrehzahlZuluft > /dev/null 2>&1
    ebusctl read -c Excellent400 TatsaechlicheDrehzahlAbluft > /dev/null 2>&1
    
    # Operating Mode & Status
    ebusctl read -c Excellent400 Ventilatorbetrieb > /dev/null 2>&1
    ebusctl read -c Excellent400 StatusBypass > /dev/null 2>&1
    ebusctl read -c Excellent400 StatusVentilator > /dev/null 2>&1
    ebusctl read -c Excellent400 StatusFrostschutz > /dev/null 2>&1
    ebusctl read -c Excellent400 StatusVorheizregister > /dev/null 2>&1
    ebusctl read -c Excellent400 LeistungVorheizregister > /dev/null 2>&1
    
    # Switch position
    ebusctl read -c Excellent400 PositionStufenschalter > /dev/null 2>&1
    
    # Bypass
    ebusctl read -c Excellent400 BypassTemperatur > /dev/null 2>&1
    ebusctl read -c Excellent400 BypassHysterese > /dev/null 2>&1
    
    # Filter
    ebusctl read -c Excellent400 Filtermeldung > /dev/null 2>&1
    ebusctl read -c Excellent400 FilterverwendungTage > /dev/null 2>&1
    ebusctl read -c Excellent400 Filterverwendung > /dev/null 2>&1
    
    # Pressure
    ebusctl read -c Excellent400 IstwertZuluftdruck > /dev/null 2>&1
    ebusctl read -c Excellent400 IstwertAbluftdruck > /dev/null 2>&1
    
    sleep 10
done

Make it executable:

chmod +x /root/ebus/poll_renovent.sh

Script details:
Polls **28 data points** every 10 seconds. Each read is redirected to `/dev/null` (we only care about MQTT publication). `sleep 10` controls update frequency.
Customization: Increase `sleep 10` to `sleep 30` for less frequent updates (lower CPU usage). Remove unwanted data points to reduce eBus traffic (these are the ones I use). Add more data points from the CSV file as needed.

Step 2: Create Systemd Service

nano /etc/systemd/system/ebusd-poll.service
[Unit]
Description=eBus Renovent Polling Script
After=ebusd.service
Requires=ebusd.service

[Service]
Type=simple
ExecStart=/root/ebus/poll_renovent.sh
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

Enable and start:

systemctl daemon-reload
systemctl enable ebusd-poll
systemctl start ebusd-poll

# Check status
systemctl status ebusd-poll

Step 3: Verify Polling

Check that values are being updated. Wait 15 seconds, then check:

ebusctl find -c Excellent400 | grep -v "no data" | head -10

You should see values instead of “no data stored”:
Excellent400 Aussenlufttemperatur = 10.2
Excellent400 Ablufttemperatur = 22.0
Excellent400 TatsaechlicheZuluftmenge = 180

MQTT Integration

Verify MQTT Publishing

apt install mosquitto-clients

Subscribe to all ebusd topics:

mosquitto_sub -h 192.168.A.B -p 1883 -v -t 'ebusd/#'

Expected output (updates every 10 seconds):
json
ebusd/Excellent400/Aussenlufttemperatur {
“0”: {“name”: “”, “value”: 10.1}}
ebusd/Excellent400/Ablufttemperatur {
“0”: {“name”: “”, “value”: 22.0}}
ebusd/Excellent400/TatsaechlicheZuluftmenge {
“0”: {“name”: “”, “value”: 180}}
ebusd/Excellent400/Ventilatorbetrieb {
“0”: {“name”: “”, “value”: “Normal”}}
ebusd/Excellent400/StatusBypass {
“0”: {“name”: “”, “value”: “Closed”}}
ebusd/Excellent400/Filtermeldung {
“0”: {“name”: “”, “value”: “Clean”}}

MQTT Message Format:
All Excellent400 values: `{“0”: {“name”: “”, “value”: <VALUE>}}`
Error messages: `{“error”: {“value”: “E100”}}`
Global values: May vary in format
JSON Path for extraction: $.0.value (for most messages)

openHAB Configuration

Step 1: Install Required Add-ons

In openHAB UI:
Settings – Add-ons – Bindings:
Install: MQTT Binding
Settings – Add-ons – Transformations:
Install: JSONPath Transformation
Install: MAP Transformation
Install: REGEX Transformation (for multi-value fields)

Step 2: Configure MQTT Broker Thing

Settings → Things → + → MQTT Binding → MQTT Broker
Configuration:
Broker Hostname/IP: 192.162.A.B
Port: 1883
Client ID: openhab
Save and ensure status shows ONLINE.

Step 3: Create VMC MQTT Thing

Settings → Things → + → MQTT Binding → Generic MQTT Thing
Thing ID: MqttVMC
Label: VMC MQTT
Bridge: Select your MQTT Broker

Step 4: Add Channels

For each data point, add a channel. Here is one example:

Channel ID: VmcAussenlufttemperatur
Label: VMC Aussenluft Temperatur
Channel Type: Number Value
State Topic: ebusd/Excellent400/Aussenlufttemperatur
Incoming Value Transformations: JSONPATH:$.0.value
Unit of Measurement: °C


Here is a different example. Error uses different JSON path: $.error.value instead of $.0.value:

Channel ID: VMC_errorCode
Label: VMC Error Code
Channel Type: Text Value
State Topic: ebusd/Broadcast/Error
Incoming Value Transformations: JSONPATH:$.error.value

Step 5: Create MAP Transformation Files

Bypass Status Map: /etc/openhab/transform/vmc_bypass.map

0=Initializing
1=Opening
2=Closing
3=Open
4=Closed
5=Error
6=Calibrating
255=Error
-=Unknown
NULL=Unknown
UNDEF=Unknown

Filter Status Map: /etc/openhab/transform/vmc_filter.map

0=Clean
1=Dirty
Clean=Clean
Dirty=Dirty
-=Unknown
NULL=Unknown
UNDEF=Unknown

Switch Position Map: /etc/openhab/transform/vmc_switch.map

0=Standby
1=Position_1
2=Position_2
3=Position_3
Position_0=Standby
Position_1=1
Position_2=2
Position_3=3
-=Unknown
NULL=Unknown
UNDEF=Unknown

Step 6: Link Channels to Items

For each channel, create an Item and link it:
Settings → Items → Create Item
Select “Link to Channel”
Choose the VMC MQTT Thing and specific channel
Configure Item:

Type: Match channel type (Number/String)
Name: e.g., `VMC_Aussenluft_Temperatur`
Label: e.g., `Outside Temperature`
Category: Choose appropriate icon
State Description Pattern: Add MAP transformation if needed
- Example: `MAP(vmc_bypass.map):%s` for bypass status

Step 7: Understanding multi-value fields

Some values return multiple fields separated by semicolons:
Format: Current;Min;Max;Step;Default
Example: FilterverwendungTage returns 6;0;32767;1;0

- Current: 6 days
- Min: 0 days
- Max: 32767 days
- Step: 1 day
- Default: 0 days

This was one of the most complicated configurations I went through until now.

Reverse Proxy Protection by Authentik

auth_basic is a lousy protection for your websites. Better use en SSO solution like Authentik. Here is my NGINX reverse proxy host configuration:

server {
    server_name HOST.DOMAIN.NAME;
    access_log /var/log/nginx/HOST.DOMAIN.NAME.access.log;
    error_log /var/log/nginx/HOST.DOMAIN.NAME.error.log;
    
    # Increase buffer size for large headers from Authentik
    proxy_buffers 8 16k;
    proxy_buffer_size 32k;
    
    # All requests to /outpost.goauthentik.io must be accessible without authentication
    location /outpost.goauthentik.io {
        # When using the embedded outpost, proxy to Authentik backend
        proxy_pass http://AUTHENTIK_IP:9000/outpost.goauthentik.io;
        
        # CRITICAL: Set Host to auth.DOMAIN.NAME so Authentik knows which provider to use
        proxy_set_header Host auth.DOMAIN.NAME;
        
        proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
        add_header Set-Cookie $auth_cookie;
        auth_request_set $auth_cookie $upstream_http_set_cookie;
        proxy_pass_request_body off;
        proxy_set_header Content-Length "";
    }
    
    # Special location for when the /auth endpoint returns a 401
    # For domain level, redirect to your authentik server with the full redirect path
    location @goauthentik_proxy_signin {
        internal;
        add_header Set-Cookie $auth_cookie;
        # CHANGED: Use full auth.DOMAIN.NAME URL for domain-level auth
        return 302 https://auth.DOMAIN.NAME/outpost.goauthentik.io/start?rd=$scheme://$http_host$request_uri;
    }
    
    location / {
        # -------------------------
        # BYPASS AUTH FOR LOCAL IPS
        # -------------------------
        satisfy any;
        allow 192.168.1.0/24;
        deny all;

        ##############################
        # authentik-specific config
        ##############################
        auth_request /outpost.goauthentik.io/auth/nginx;
        error_page 401 = @goauthentik_proxy_signin;
        auth_request_set $auth_cookie $upstream_http_set_cookie;
        add_header Set-Cookie $auth_cookie;

        # Translate headers from the outposts back to the actual upstream
        auth_request_set $authentik_username $upstream_http_x_authentik_username;
        auth_request_set $authentik_groups $upstream_http_x_authentik_groups;
        auth_request_set $authentik_entitlements $upstream_http_x_authentik_entitlements;
        auth_request_set $authentik_email $upstream_http_x_authentik_email;
        auth_request_set $authentik_name $upstream_http_x_authentik_name;
        auth_request_set $authentik_uid $upstream_http_x_authentik_uid;

        proxy_set_header X-authentik-username $authentik_username;
        proxy_set_header X-authentik-groups $authentik_groups;
        proxy_set_header X-authentik-entitlements $authentik_entitlements;
        proxy_set_header X-authentik-email $authentik_email;
        proxy_set_header X-authentik-name $authentik_name;
        proxy_set_header X-authentik-uid $authentik_uid;
        
        # Your original proxy settings to Homer
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $host;
        
        # Support for websocket
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        
        proxy_pass http://AUTHENTIK_IP:8090;
     }
    
    listen 443 ssl;
    ssl_certificate /etc/letsencrypt/live/HOST.DOMAIN.NAME/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/HOST.DOMAIN.NAME/privkey.pem;
    include /etc/letsencrypt/options-ssl-nginx.conf;
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
}

server {
    if ($host = HOST.DOMAIN.NAME) {
        return 301 https://$host$request_uri;
    }
    listen 80;
    server_name HOST.DOMAIN.NAME;
    return 404;
}

In Authentik, you have to create a Provider:

In Authentik, create an Application:

Funkwhale: installation

Funkwhale is a very nice audio hosting platform. We’ll install it using docker-compose in Portainer.

services:
  funkwhale:
    image: funkwhale/all-in-one:latest
    container_name: funkwhale2 #I have 2 instances of funkwhale on this docker host
    restart: unless-stopped
    depends_on:
      - postgres
      - redis
    environment:
      - FUNKWHALE_HOSTNAME=audio.MYSITE.COM
      - FUNKWHALE_PROTOCOL=https
      - FUNKWHALE_PROTOCOL_HEADER=TRUE
      - FUNKWHALE_PROXY_BODY_SIZE=200M
      - FUNKWHALE_MAX_UPLOAD_SIZE=200M
      - DATABASE_URL=postgresql://funkwhale:XXX_MY_DB_PWD_XXX@postgres:5432/funkwhale
      - REDIS_URL=redis://redis:6379/0
      - DJANGO_SECRET_KEY=XXXXX_MYSECRET_XXXXX
      - FUNKWHALE_ENABLE_FEDERATION=false
      - FUNKWHALE_DISABLE_REGISTRATION=true
      # Email Configuration (for GMAIL)
      - EMAIL_CONFIG=smtp+tls://MY_GMAIL_ADDRESS@gmail.com:XX_MY_APP_PASSWORD_XX@smtp.gmail.com:587
      - DEFAULT_FROM_EMAIL=MY_GMAIL_ADDRESS@gmail.com
    volumes:
      - /mnt/funkwhale2-data/media:/data/media
      - /mnt/funkwhale2-data/static:/data/static
      - /mnt/funkwhale2-data/music:/music
    networks:
      - funkwhale2
    ports:
      - "5001:80"  # Choose e free host port; default is 5000
      
  postgres:
    image: postgres:14
    container_name: funkwhale2_postgres
    restart: unless-stopped
    environment:
      - POSTGRES_USER=funkwhale
      - POSTGRES_PASSWORD=XXX_MY_DB_PWD_XXX
      - POSTGRES_DB=funkwhale
    volumes:
      - ./postgres2:/var/lib/postgresql/data  # Different volume!
    networks:
      - funkwhale2
      
  redis:
    image: redis:7-alpine
    container_name: funkwhale2_redis
    restart: unless-stopped
    networks:
      - funkwhale2
      
networks:
  funkwhale2:  # I run 2 instances of Funkwhale on my docker.
    external: false

Create your Django secret (or passwords) with this:

openssl rand -base64 48

Funkwhale user admin

To check if users are active in database, or if they confirmed the registration email, start by connecting to the postgres database on your docker host:

docker exec -it funkwhale2_postgres psql -U funkwhale -d funkwhale

Confirm registration & confirmation status:

SELECT
  id,
  username,
  email,
  is_active,
  date_joined,
  last_login
FROM users_user
ORDER BY date_joined DESC;

will output something like:

 id | username |          email          | is_active |          date_joined          |          last_login           
----+----------+-------------------------+-----------+-------------------------------+-------------------------------
  4 | Paul     | paulXXX@domain.com      | t         | 2025-12-14 11:18:31.248306+00 | 2025-12-14 11:18:32.49417+00
  3 | Mary     | maryXYZ@domain.com      | t         | 2025-12-13 23:33:18.022068+00 | 2025-12-13 23:33:20.309663+00
  1 | admin    | siteadmin@domain.com    | t         | 2025-12-13 23:13:51.537683+00 | 2025-12-13 23:32:35.71689+00
(3 rows)

Find users who registered but never logged in:

SELECT username, email
FROM users_user
WHERE last_login IS NULL;

Find users who registered but never confirmed:

SELECT username, email
FROM users_user
WHERE is_active = false;

Setlist

#TitleArtistBPMKey
original
Key
played
Guitar Tuning
Capo
Transp
Keys
1One Horse TownBlackberry Smoke120CC-1
2Fire AwayChris Stapleton90GA-1
3Ain’t no Love in OklahomaLuke CombsCmCm0
4Country must be Country WideBrantley Gilbert83C#m-1
5Sweet Home AlabamaLynyrd Skynyrd
6Keep the wolf awayUncle Lucius
7Beer never broke my heartLuke Combs
8Tennessee WhiskeyChris Stapleton
9Man of constant SorrowBlackberry Smoke130Gm
10I think I’m in Love with YouChris Stapleton
11Change on the RiseAvi Kaplan
12Sleeping in the black topColter Wall
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

Quick action: convert to m4a

If you do not want to keep large WAV or AIFF files on your disk that eat up precious space, you can use Apple’s Automator to write a quick action to easily convert these files to m4a.

Open Apple’s Automator and create a new quick action.

Automator: convert audio files to m4a
for f in "$@"
do
  afconvert -f m4af -d aac "$f" "${f%.*}.m4a"
done

You can also have Automator delete the original file after conversion:

Automator: convert audio to m4a and delete original file
for f in "$@"
do
  # Convert WAV to M4A
  afconvert -f m4af -d aac "$f" "${f%.*}.m4a"
  
  # Check if conversion succeeded before deleting
  if [ $? -eq 0 ]; then
    rm "$f"
  else
    echo "Conversion failed for $f, original not deleted."
  fi
done

These quick actions also work on video files (like mp4), in case you are only interested in keeping the audio track of a video file.

The above quick action workflows can be downloaded below:

To install the workflows as quick actions, you can download the above files, unzip and execute. macOs will then install the workflows. Your macOS security protection still keeps them disabled. You have to enable them in system preferences. Open Login Items & Extensions, under Extensions, behind the Finder line, hit the “i” button:

macOS system settings: enable the quick action

Source: These scripts have been developed with the help of a generative large language model.

Luxembourg’s smart meter SMARTY

Luxembourg’s smart meter branded as Smarty by the electric grid managing company CREOS allows monitoring your electricity consumption and production as well as your gas consumption. Additionally it allows the grid operator to control certain electrical appliances in your household.

Shedding relays – relais de délestage

If parts of the electricity grid in Luxembourg are becoming overloaded or unstable, the grid operator can remotely command the Smarty smart meter to take action to protect the grid. Smarty can diminish the power of domestic car charging points from 11kW to 7kW. As of writing this, CREOS confirms not using this feature (January 2025).

Smarty can also reduce the power of photovoltaic systems to about a third of the available power, if your PV management system allows this. If not, the shedding relay (FR: relais de délestage) will fully shut down the PV system when asked by the grid operator. It seems that this is currently not used neither by CREOS.

Smarty can also limit charging power of night storage heaters (DE: Nachspeicherheizung, FR: chauffage à accumulation) systems through shedding relays.

Billing

Every 15 minutes, the Smarty transmits to the grid operator (or the third party data collection partner) the average electricity consumption of the last 15 minutes. This is used to bill the quantity of electrical energy that was consumed, as well as the monitoring of the load that you used on the grid.

As of 1st January 2025, every household in Luxembourg is categorised in a power consumption category. Most households are in category 3 kW. Households with electric cars or heat pumps might be categorised into 7 kW or 12 kW categories. The monthly costs depend on the power consumption class that you are in.

If you are in the 3 kW category, and you drag 5 kW from the grid for about an hour, you have to pay additional fees (FR: supplément pour le dépassement), in this case: 5-3=2 kWh, which currently equals to 2*0.1139€ = 0,2278€.

If you use for example a (tea) water heating device that pushes your maximal power consumption over the 3 kW limit for about a minute, the fact that Smarty calculates the average over 15 minutes should assure that this short stepping over your category’s boundaries should not be visible on your invoice.

https://www.creos-net.lu/fileadmin/dokumente/downloads/fr_tarif_electricite_2025.pdf

To find out what your power category is, check your electricity provider’s portal, like myenovos.eu.

Balancing out consumption and production on 3-phase grids

When you are running a balcony power plant (DE: Balkonkraftwerk), you might be interested in how the Smarty manages billing or settlements of electricity production over the three phases. In Luxembourg, a normal household is connected to the power grid on 3 phases each capable of pumping 40A of current.

When you connect such a small photovoltaic system to a power socket on your balcony, it will feed the produced electricity only to the phase where you connected it. But this might not be the phase where your house is consuming most electricity, so you are feeding your produced electricity to the grid and drag the electricity from the grid that you need on the other phase (buying from thew grid is much more expensive then what you get paid for injecting electricity).

But there is good news: the smarty will balance this out (DE: saldierender Stromzähler), as it sums up power consumption on all three phases and power production on all three phases and only considers the difference for billing. Without this, a (mono-phase) balcony power plant is not really interesting for private use.

[Unfortunately I only have oral confirmation of this from an engineer. No guarantee on this information. It might also change over time.]

Monitoring your consumption and production

You have three possibilities to extract consumption and production data from your Smarty smart meter.

(1) By default, Smarty shows the most important values in a 5 seconds rhythm. Additionally: With the green button on your Smarty, you can cycle through the data that the meter gathers. To understand what value is currently displayed, Smarty adds the OBIS code to the display.

OBIS codes

(2) Plug the Smarty+ dongle into your Smarty meter’s P1 port and monitor your data on your smartphone

(3) Connect the P1 port over a serial / USB to a computer and monitor your data using a home automation software like for example openHAB with the help of the DSMR binding.

When using the P1 port, solution 2 & 3, you need to ask the grid operator to give you the P1 decryption key.

Source for most of the information above: https://www.creos-net.lu/en/individuals/practical-info/faq

Some information was confirmed in a telephone discussion with a grid engineer in January 2025. The general disclaimer applies here too, of course!