NIBE S1255-12 R EM (S-Series) validation fails with modbus: exception '1' (illegal function), function '4'
Description
When configuring a NIBE S-Series heat pump in EVCC, validation fails and EVCC is unable to communicate with the heat pump correctly. The system appears to be configured according to the EVCC documentation and NIBE requirements, but EVCC returns a Modbus exception during validation.
The issue occurs on a NIBE S1255-12 R EM using Modbus TCP. Required NIBE settings have already been configured, including enabling Modbus, assigning external power limitation via Modbus, disabling SG-Ready assignments, and initializing holding register 3032 with value 1.
The error returned is:
Status: failed validate chargeStatus: read failed: modbus: exception '1' (illegal function), function '4'
Based on similar reports from other users, this may be related to changes in register handling on newer NIBE S-Series firmware or EVCC using an unsupported Modbus function/register type.
Steps to Reproduce
-
Configure a NIBE S1255-12 S-Series) with Modbus TCP enabled.
-
Enable Modbus:
- Menu
7.5.9 Modbus = Enabled
- Menu
-
Configure AUX:
- Menu
7.4 AUX1 -> AUX z Modbusu -> Externí omezení výkonu
- Menu
-
Set:
SG-Ready A = Not assignedSG-Ready B = Not assigned
-
Write value
1to holding register3032(uint8) as described in the documentation. -
Configure NIBE in EVCC.
-
Run validation.
Result
Validation fails with:
chargeStatus: read failed: modbus: exception '1' (illegal function), function '4'
Expected result
EVCC should validate successfully and communicate with the heat pump.
⚠️ RETURN TO EVCC TAB → COPY STEP 2 → PASTE HERE
Version
v0.306.3
System
linux/amd64, CEST +02:00
Configuration (YAML)
no yaml configuration
Configuration (UI)
{
"charger": [
{"id":6,"name":"db:6","type":"template","config":{"baudrate":9600,"comset":"8N1","host":"192.168.1.126","id":1,"modbus":"tcpip","port":502,"powercontrol":false,"template":"nibe-s-series","tempsource":"water_mid"},"deviceProduct":"NIBE Nibe S-Series (SG Ready)"}
],
"experimental": false,
"influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
"interval": 30,
"loadpoints": [
{"id":7,"name":"db:7","batteryBoostLimit":100,"charger":"db:6","defaultMode":"","limitEnergy":0,"limitSoc":0,"maxCurrent":16,"minCurrent":6,"phasesConfigured":3,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"title":"nibe"}
],
"modbusproxy": [],
"mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
"residualPower": 0,
"shm": {"vendorId":"","deviceId":"","deviceSerial":""},
"site": {"title":"Zavodni 211","grid":"","pv":null,"battery":null,"aux":null,"ext":null},
"tariff": [
{"id":1,"name":"db:1","type":"template","config":{"template":"electricitymaps-free","token":"***","zone":"CZ"},"deviceProduct":"Electricity Maps Free API"},
{"id":4,"name":"db:4","type":"template","config":{"average":false,"bzn":"CZ","template":"energy-charts-api"},"deviceProduct":"Energy-Charts Market Price"},
{"id":3,"name":"db:3","type":"template","config":{"bzn":"CZ","template":"energy-charts-api"},"deviceProduct":"Energy-Charts Market Price"}
],
"tariffRefs": {"grid":"db:3","feedIn":"db:4","co2":"db:1","planner":"","solar":[]}
}
Logs
[lp-1 ] DEBUG 2026/05/16 16:00:48 set soc config: {Poll:{Mode:charging Interval:1h0m0s} Estimate:0x2cfbf8b5fa3c}
[lp-1 ] DEBUG 2026/05/16 16:00:48 set default mode:
[lp-1 ] DEBUG 2026/05/16 16:00:48 set phases: 3
[lp-1 ] DEBUG 2026/05/16 16:00:54 charge total import: 3073.400kWh
[site ] INFO 2026/05/16 16:00:54 site config:
[site ] INFO 2026/05/16 16:00:54 meters: grid ✗ pv ✗ battery ✗
[site ] INFO 2026/05/16 16:00:54 tariffs:
[site ] INFO 2026/05/16 16:00:54 grid: priceforecast
[site ] INFO 2026/05/16 16:00:54 feed-in: priceforecast
[site ] INFO 2026/05/16 16:00:54 co2: ✓
[site ] INFO 2026/05/16 16:00:54 solar: ✗
[lp-1 ] INFO 2026/05/16 16:00:54 loadpoint 1:
[lp-1 ] INFO 2026/05/16 16:00:54 mode: off
[lp-1 ] INFO 2026/05/16 16:00:54 charger: power ✓ energy ✓ currents ✗ phases ✗ wakeup ✗
[lp-1 ] INFO 2026/05/16 16:00:54 meters: charge ✓
[lp-1 ] INFO 2026/05/16 16:00:54 charge: power ✓ energy ✓ currents ✗
[lp-1 ] DEBUG 2026/05/16 16:00:54 phase timer inactive
[lp-1 ] DEBUG 2026/05/16 16:00:54 pv timer inactive
[lp-1 ] ERROR 2026/05/16 16:00:54 charger enabled: read failed: modbus: exception '1' (illegal function), function '4'
[site ] DEBUG 2026/05/16 16:00:54 ----
[lp-1 ] DEBUG 2026/05/16 16:00:54 charge power: 690W
[site ] DEBUG 2026/05/16 16:00:54 pv power: 0W
[site ] DEBUG 2026/05/16 16:00:54 site power: 690W
[lp-1 ] DEBUG 2026/05/16 16:00:54 charge total import: 3073.400kWh
[lp-1 ] ERROR 2026/05/16 16:00:54 dimmed: read failed: modbus: exception '1' (illegal function), function '4'
Based on similar reports from other users, this may be related to changes in register handling on newer NIBE S-Series firmware or EVCC using an unsupported Modbus function/register type.
We have no information about new vs old register mapping. Please procure documentation from Nibe.
I found this https://www.nibe.eu/webdav/files/myuplink_changelog/nibe-n.pdf and also found that someone is having the exact same issue https://github.com/evcc-io/evcc/discussions/29554
Did you look into the Nibe doc?
My VVM S320 nibe works with the actual firmware, but it is still added so not new, communication works. Dont want to remove it when it works, but tested the configuration and it still works. Which inner Module do you have? The S1255 is still the heatpump outside?
@domin211 did you solve it and how?
Honestly I have no idea it just started working after like a day. I didnt touch it.