Skip to content

SMA gateway path unavailable #24752

@pandamouse84

Description

@pandamouse84

Description

Since the last update I get an error reading my grid meters from an SMA inverter. Even when I try the connection in the UI the error is thrown.

Since my SMA inverter updated to 03.14.22.R, I get an error getting the modbus data.

Steps to Reproduce

  1. Go to settings
  2. Open the SMA config the worked before
  3. Press “Test”

Configuration (YAML)

# unique installation id
plant: *****
meters:
  - type: template
    template: varta
    usage: grid
    host: *.*.*.*
    port: 502
    name: gridVarta
site:
  title: Mein Zuhause
  meters:
    grid: gridVarta
  residualPower: 100
chargers:
  - name: wallboxElli
    type: template
    template: ellipro
    ip: *.*.*.*
    ski: ******
loadpoints:
  - title: Carport
    charger: wallboxElli

Configuration (UI)

{
  "site": {
    "title": "Mein Zuhause",
    "grid": "gridVarta",
    "pv": ["db:2"],
    "battery": ["db:3"],
    "aux": null,
    "ext": null
  },
  "loadpoints": [],
  "charger": [],
  "meter": [
    {"config":{"host":"*.*.*.*","id":"2","modbus":"tcpip","port":"502","template":"sma-data-manager","usage":"pv"},"deviceTitle":"SMA Wechselrichter","id":2,"name":"db:2","type":"template"},
    {"config":{"capacity":"6.5","host":"*.*.*.*","maxdischargepower":"4000","port":"502","template":"varta","usage":"battery","watchdog":"120s"},"deviceTitle":"Varta Batterie","id":3,"name":"db:3","type":"template"}
  ],
  "vehicle": [
    {"config":{"cache":"15m","capacity":"74","icon":"car","language":"de","password":"***","template":"kia","title":"KIA EV6","user":"","vin":""},"id":1,"name":"db:1","type":"template"}
  ],
  "eebus": "certificate:
    private: |
        -----BEGIN EC PRIVATE KEY-----
       
       
        -----END EC PRIVATE KEY-----
    public: |
        -----BEGIN CERTIFICATE-----
       

        -----END CERTIFICATE-----",
  "tariffs": "currency: EUR

grid:
    type: fixed
    price: 0.3281

feedin:
    type: fixed
    price: 0.0783
    # 0-10kW = 8,20 cent; 10-40KW = 7,10 cent;
    # Durchschnitt (2024) = 66,66% 8,20 cent = 7,8333 cent

co2:
    type: grünstromindex
    zip: *****

solar:
    type: template
    template: forecast-solar
    lat: *
    lon: *
    dec: 34 # 0 = horizontal, 90 = vertikal
    az: 240 # -180 = Norden, -90 = Osten, 0 = Süden, 90 = Westen, 180 = Norden
    kwp: 14.6"
}

Logs

[site  ] DEBUG 2025/10/26 13:12:22 solar forecast: accumulated 4128.034kWh, produced 5222.189kWh, scale 1.265
[site  ] DEBUG 2025/10/26 13:12:25 ----
[site  ] WARN 2025/10/26 13:12:25 planner: tariff not available: cannot create tariff type 'grünstromindex': unexpected status: 503 (Service Unavailable)
[lp-1  ] DEBUG 2025/10/26 13:12:25 charge power: 0W
[lp-1  ] DEBUG 2025/10/26 13:12:25 charge currents: [0 0 0]A
[site  ] DEBUG 2025/10/26 13:12:25 grid power: -22W
[site  ] DEBUG 2025/10/26 13:12:25 battery 1 power: -878W
[site  ] DEBUG 2025/10/26 13:12:25 battery 1 soc: 36%
[site  ] ERROR 2025/10/26 13:12:33 
2025-10-26 13:12:25.623623822 +0100 CET m=+33350.910694532 !!   9ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:25.657774357 +0100 CET m=+33350.944845070 !!   5ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:25.706494622 +0100 CET m=+33350.993565334 !!   3ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:25.743535112 +0100 CET m=+33351.030605823 !!   4ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:25.828086304 +0100 CET m=+33351.115157015 !!   2ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:25.940295961 +0100 CET m=+33351.227366672 !!   2ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:26.107728816 +0100 CET m=+33351.394799527 !!   3ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:26.304283034 +0100 CET m=+33351.591353746 !!  10ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:26.653620168 +0100 CET m=+33351.940690885 !!   3ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:27.058603026 +0100 CET m=+33352.345673737 !!   2ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:27.504610032 +0100 CET m=+33352.791680743 !!   3ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:28.513082354 +0100 CET m=+33353.800153064 !!   2ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:30.169193565 +0100 CET m=+33355.456264276 !!   3ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
2025-10-26 13:12:33.19824472 +0100 CET m=+33358.485315430 !!   2ms read failed: modbus: exception '10' (gateway path unavailable), function '3'
[site  ] ERROR 2025/10/26 13:12:33 pv 1 power: read failed: modbus: exception '10' (gateway path unavailable), function '3'
[site  ] DEBUG 2025/10/26 13:12:33 !! solar production: accumulate add db:2 0.000W power (was: Accumulated: 5222.189kWh updated: 2025-10-26 13:12:22 +0100 CET)
[site  ] DEBUG 2025/10/26 13:12:33 !! solar production: accumulate moved db:2 from 5222.189 to 5222.189
[site  ] DEBUG 2025/10/26 13:12:33 battery has priority at soc 36% (< 75%)
[site  ] DEBUG 2025/10/26 13:12:33 site power: 78W
[lp-1  ] DEBUG 2025/10/26 13:12:33 charger status: A
[site  ] DEBUG 2025/10/26 13:12:33 solar forecast: accumulated 0.006Wh from 2025-10-26 13:12:22 +0100 CET to 2025-10-26 13:12:33 +0100 CET
[site  ] DEBUG 2025/10/26 13:12:33 solar forecast: produced 5222.189
[site  ] DEBUG 2025/10/26 13:12:33 solar forecast: accumulated 4128.041kWh, produced 5222.189kWh, scale 1.265
[site  ] DEBUG 2025/10/26 13:12:35 ----
[site  ] WARN 2025/10/26 13:12:35 planner: tariff not available: cannot create tariff type 'grünstromindex': unexpected status: 503 (Service Unavailable)
[lp-1  ] DEBUG 2025/10/26 13:12:35 charge power: 0W
[lp-1  ] DEBUG 2025/10/26 13:12:35 charge currents: [0 0 0]A
[site  ] DEBUG 2025/10/26 13:12:35 grid power: -17W
[site  ] DEBUG 2025/10/26 13:12:35 battery 1 power: -839W
[site  ] DEBUG 2025/10/26 13:12:35 battery 1 soc: 36%

Version

v0.209.3

Metadata

Metadata

Assignees

Labels

devicesSpecific device support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions