TapHome

Fronius Smart Meter

Modbus TCP
Submitted by
Last updated: 03. 2026
Fronius Smart Meter

The Fronius Smart Meter TS 65A-3 is a DIN-rail mounted 3-phase bidirectional energy meter designed for Fronius solar PV systems. The meter communicates via Modbus RTU over RS-485 to a Fronius inverter (or Datamanager 2.0), which then exposes the meter data via Modbus TCP on port 502. TapHome connects to the inverter’s Datamanager IP address — not directly to the meter. The TapHome template provides 2 electricity meter devices for bidirectional energy monitoring: Import Energy (From Grid) and Export Energy (To Grid), using SunSpec float model 211/212/213 registers.

The meter supports direct current measurement up to 65 A (no external CTs required) and operates in three wiring configurations: 3-phase 4-wire (3P4W), 3-phase 3-wire (3P3W), and 2-phase 3-wire (2P3W). All register values are IEEE 754 Float32, read via SunSpec float models through the Fronius Datamanager’s Modbus TCP gateway.

Hardware connection

RS-485 wiring (meter to inverter)

The Fronius Smart Meter TS connects to the Fronius inverter via a 3-wire RS-485 interface. Use a CAT5 or higher cable:

  • M+ (Smart Meter) to D+ on Fronius inverter Modbus interface
  • M- (Smart Meter) to D- on Fronius inverter Modbus interface
  • GND (Smart Meter) to - on Fronius inverter Modbus interface

The Smart Meter has a built-in 120 ohm termination resistor. Activate it by placing a wire jumper between the M- and T terminals on the meter. This must be set on the last device in the RS-485 chain. Maximum cable length is 300 m.

Network connection (inverter to TapHome)

The Fronius inverter (or Datamanager 2.0) must be connected to the same network as TapHome via Ethernet. TapHome communicates with the inverter’s IP address over Modbus TCP on port 502.

1
[Fronius Smart Meter TS] --RS-485 Modbus RTU--> [Fronius Inverter/Datamanager] --Modbus TCP:502--> [TapHome]

Configuration

Enabling Modbus TCP on the Fronius Datamanager
  1. Open the Fronius Datamanager web interface in a browser (use the inverter’s IP address)
  2. Navigate to Settings > Modbus
  3. Set the Modbus interface to tcp
  4. Ensure the SunSpec Model Type is set to float (models 211/212/213 — required by the TapHome template)
  5. Save the settings
Meter configuration

The meter’s default settings are compatible with the TapHome template. Verify the following on the meter’s display:

ParameterCodeRequired ValueDefault
System typeP33Pn (3-phase 4-wire)3Pn
Measurement modeP6B (bidirectional)B
Modbus addressP141 (primary meter)1
Baud rateP159.6 kbit/s9.6
ParityP16NoNo

The Modbus address on the meter itself (P14, default 1) is the RS-485 bus address between the meter and inverter. The Modbus TCP slave ID that TapHome uses (default 240) is configured in the Fronius Datamanager and refers to the meter data endpoint. These are two different addresses — do not confuse them.

To change meter parameters, press and hold Enter for 2 seconds, navigate to P1, enter password 2633, then navigate to the desired parameter.

Multi-meter setup

The Fronius system supports up to 4 meters: one primary meter (address 1) and up to 3 secondary meters (addresses 2-14). Each meter must have a unique Modbus address. The primary meter is always at address 1.

TapHome import parameters

After importing the template into TapHome, verify the module connection settings:

ParameterValue
IP AddressFronius Datamanager IP (e.g. 192.168.1.x)
TCP Port502
Slave ID240

Device capabilities

The template creates 2 ModbusElectricityMeter devices for bidirectional energy monitoring. Both devices read the same total AC power register (H:40097, W) but interpret the sign differently to separate import from export. The module also includes 5 service attributes providing device identification from the SunSpec Common Block.

Import Energy (From Grid)

Tracks energy consumed from the grid:

  • Total consumption — cumulative imported energy (H:40137, TotWhImp, Wh divided by 1000 to kWh)
  • Power demand — real-time import power (H:40097, W divided by 1000 to kW). Positive values indicate grid consumption.
Export Energy (To Grid)

Tracks energy fed into the grid from the solar PV system:

  • Total consumption — cumulative exported energy (H:40129, TotWhExp, Wh divided by 1000 to kWh)
  • Power demand — real-time export power (H:40097, W divided by -1000 to kW). The division by negative 1000 converts negative watt readings (grid feed-in) to positive kW values.

The import/export split uses the sign of the AC power register (H:40097). Positive watts indicate grid consumption (import), negative watts indicate grid feed-in (export). This is the standard SunSpec sign convention for meters at the grid connection point. Ensure measurement mode B (bidirectional) is enabled on the meter (parameter P6) for proper separate import/export energy counters.

Module service attributes

The module exposes 5 identification attributes from the SunSpec Common Block:

  • Manufacturer — meter manufacturer string (H:40004, String32)
  • Device model — meter model name (H:40020, String32)
  • Options — device options string (H:40036, String16)
  • SW version of meter — meter firmware version (H:40044, String16)
  • Serial number of the meter — meter serial number (H:40052, String32)
Additional capabilities

The SunSpec float model 213 exposes additional registers not currently used by the TapHome template, including per-phase currents, per-phase voltages (phase-to-neutral and phase-to-phase), AC frequency, per-phase power (real, apparent, reactive), per-phase power factor, per-phase energy counters (import/export), and apparent energy accumulators. These can be added in a future template update.

Troubleshooting

No communication
  1. Verify that Modbus TCP is enabled on the Fronius Datamanager (Settings > Modbus > tcp)
  2. Confirm the SunSpec Model Type is set to float in the Datamanager — the TapHome template requires float models (211/212/213), not integer+scale factor models (201/202/203)
  3. Check that TapHome is using the correct IP address of the Fronius Datamanager/inverter, not the meter itself
  4. Verify the Slave ID is 240 in the TapHome module settings
  5. Ensure the RS-485 cable between the meter and inverter is properly connected (M+ to D+, M- to D-, GND to -)
  6. Check the RS-485 termination — activate the built-in termination on the last device by jumpering M- and T
Incorrect readings
  1. Confirm the measurement mode is set to B (bidirectional) on the meter (parameter P6) — mode A does not separate import/export energy
  2. If power readings are always zero, verify the meter’s system type (P3) matches the actual wiring — 3Pn for 3-phase 4-wire, 3P for 3-phase 3-wire
  3. If export power shows negative values, the template is working correctly — the division by -1000 in the export device converts negative watts to positive kW
Communication timeouts

Fronius recommends a minimum of 10 seconds between Modbus queries. If you experience timeouts, ensure no other Modbus TCP clients (such as Home Assistant or solar monitoring tools) are polling the Datamanager simultaneously. Only sequential queries are supported — parallel requests may cause communication failures.

Available devices

Fronius Smart Meter Module
Service Attributes
Manufacturer
Device Model
Options
SW version of meter
Serial number of the meter

Fronius Smart Meter

Service Attributes
Manufacturer
modbusr(H, 40004, String, 32)
Device model
modbusr(H, 40020, String, 32)
Options
modbusr(H, 40036, String, 16)
SW version of meter
modbusr(H, 40044, String, 16)
Serial number of the meter
modbusr(H, 40052, String, 32)
Import Energy (From Grid) Electricity Meter Read-only

Grid import meter — total imported energy (kWh) and real-time import power (kW) from positive AC power readings, tracking energy consumed from the grid

Register: H:40137 (readtotalconsumption), H:40097 (readdemand) Float Unit: kWh / kW

Import Energy (From Grid)

Read total consumption
MODBUSR(H, 40137, Float) / 1000
Read demand
MODBUSR(H, 40097, Float) / 1000
Export Energy (To Grid) Electricity Meter Read-only

Grid export meter — total exported energy (kWh) and real-time export power (kW) from negative AC power readings, tracking energy fed into the grid from the solar PV system

Register: H:40129 (readtotalconsumption), H:40097 (readdemand) Float Unit: kWh / kW

Export Energy (To Grid)

Read total consumption
MODBUSR(H, 40129, Float) / 1000
Read demand
MODBUSR(H, 40097, Float) / -1000
Connection: Modbus TCP • Slave ID: $[SlaveId]
Possible improvements (36)
  • H:40071 (40072-40073) AC Total Current — Total AC current (A) — available in SunSpec model 213
  • H:40073 (40074-40075) AC Phase-A Current — Per-phase current, phase A (A)
  • H:40075 (40076-40077) AC Phase-B Current — Per-phase current, phase B (A)
  • H:40077 (40078-40079) AC Phase-C Current — Per-phase current, phase C (A)
  • H:40079 (40080-40081) Voltage Avg Phase-to-neutral — Average phase-to-neutral voltage (V)
  • H:40081 (40082-40083) Voltage Phase-A-to-neutral — Phase A voltage to neutral (V)
  • H:40083 (40084-40085) Voltage Phase-B-to-neutral — Phase B voltage to neutral (V)
  • H:40085 (40086-40087) Voltage Phase-C-to-neutral — Phase C voltage to neutral (V)
  • H:40087 (40088-40089) Voltage Avg Phase-to-phase — Average phase-to-phase voltage (V)
  • H:40089 (40090-40091) Voltage Phase-AB — Line-to-line voltage A-B (V)
  • H:40091 (40092-40093) Voltage Phase-BC — Line-to-line voltage B-C (V)
  • H:40093 (40094-40095) Voltage Phase-CA — Line-to-line voltage C-A (V)
  • H:40095 (40096-40097) AC Frequency — Supply frequency (Hz)
  • H:40099 (40100-40101) AC Power Phase A — Per-phase real power, phase A (W)
  • H:40101 (40102-40103) AC Power Phase B — Per-phase real power, phase B (W)
  • H:40103 (40104-40105) AC Power Phase C — Per-phase real power, phase C (W)
  • H:40105 (40106-40107) Apparent Power (total) — Total apparent power (VA)
  • H:40107 (40108-40109) Apparent Power Phase A — Per-phase apparent power (VA)
  • H:40109 (40110-40111) Apparent Power Phase B — Per-phase apparent power (VA)
  • H:40111 (40112-40113) Apparent Power Phase C — Per-phase apparent power (VA)
  • H:40113 (40114-40115) Reactive Power (total) — Total reactive power (VAr)
  • H:40115 (40116-40117) Reactive Power Phase A — Per-phase reactive power (VAr)
  • H:40117 (40118-40119) Reactive Power Phase B — Per-phase reactive power (VAr)
  • H:40119 (40120-40121) Reactive Power Phase C — Per-phase reactive power (VAr)
  • H:40121 (40122-40123) Power Factor (total) — Total power factor cos(phi)
  • H:40123 (40124-40125) Power Factor Phase A — Per-phase power factor
  • H:40125 (40126-40127) Power Factor Phase B — Per-phase power factor
  • H:40127 (40128-40129) Power Factor Phase C — Per-phase power factor
  • H:40131 (40132-40133) Total Wh Exported Phase A — Per-phase export energy counter (Wh)
  • H:40133 (40134-40135) Total Wh Exported Phase B — Per-phase export energy counter (Wh)
  • H:40135 (40136-40137) Total Wh Exported Phase C — Per-phase export energy counter (Wh)
  • H:40139 (40140-40141) Total Wh Imported Phase A — Per-phase import energy counter (Wh)
  • H:40141 (40142-40143) Total Wh Imported Phase B — Per-phase import energy counter (Wh)
  • H:40143 (40144-40145) Total Wh Imported Phase C — Per-phase import energy counter (Wh)
  • H:40145 — H:40159 Apparent Energy (VAh) — export/import total + per-phase — 8 registers: TotVAhExp, TotVAhExpPhA/B/C, TotVAhImp, TotVAhImpPhA/B/C
  • H:40161 — H:40192 Reactive Energy (VArh) Q1-Q4 per phase — NOT SUPPORTED on Fronius Smart Meter TS — 16 registers for VArh quadrant breakdown

Sources