Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error modbus: exception '3' (illegal data value), function '16 #17889

Open
1 task done
ThomasGoreth opened this issue Dec 24, 2024 · 6 comments
Open
1 task done

Error modbus: exception '3' (illegal data value), function '16 #17889

ThomasGoreth opened this issue Dec 24, 2024 · 6 comments
Assignees
Labels
devices Specific device support

Comments

@ThomasGoreth
Copy link

Describe the bug

Hallo zusammen,

bei unsere Wallbox APL eMH1, die über den originalen Modbus USB Adapter mit einem Raspberry Pi (evcc Installation) kommuniziert, kommt wenn wir unseren Renault angeschlossen haben jede Minute der Log- Eintrag "modbus: exception '3' (illegal data value), function '16" und das rote Stördreieck geht an.
Die Funktion ist gegeben, nur ich möchte gerne ohne Störung evcc betreiben

Gruß

Steps to reproduce

...

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

interval: 30s # control cycle interval

sponsortoken: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: false

meters:
- type: template
  template: sma-home-manager 
  usage: grid  
  host: 192.168.178.45  
  name: grid1

chargers:
- type: template
  template: abl 
  id: 3  
  device: /dev/ttyUSB0  
  baudrate: 38400  
  comset: 8E1  
  modbus: rs485serial  
  timeout: 10s  
  name: wallbox3

vehicles:
- type: template
  template: renault 
  title: Zoe  
  user: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX 
  password: XXXXXXXXXXXXXXXXXXXXXXXXXXX 
  vin: XXXXXXXXXXXXXXXXXXXXXXXXXXX
  capacity: 52  
  name: ev2

loadpoints:
- title: Garage
  charger: wallbox3
  vehicle: ev2
  mode: pv

site:
  title: Zuhause
  meters:
    grid: grid1

hems:
  type: sma
  AllowControl: false

Log details

[db:3 ] ERROR 2024/12/24 13:06:18 modbus: exception '3' (illegal data value), function '16'
[db:2 ] TRACE 2024/12/24 13:06:18 modbus: send 03 9f 00 00 00 06 03 03 78 35 00 02
[db:2 ] TRACE 2024/12/24 13:06:18 modbus: recv 03 9f 00 00 00 07 03 03 04 80 00 00 00
[db:3 ] TRACE 2024/12/24 13:06:18 modbus: send 03 a0 00 00 00 06 03 04 7a a3 00 02
[db:3 ] TRACE 2024/12/24 13:06:18 modbus: recv 03 a0 00 00 00 07 03 04 04 00 00 00 00
[db:3 ] TRACE 2024/12/24 13:06:18 modbus: send 03 a1 00 00 00 06 03 04 7a a1 00 02
[db:3 ] TRACE 2024/12/24 13:06:18 modbus: recv 03 a1 00 00 00 07 03 04 04 00 00 00 00
[db:2 ] TRACE 2024/12/24 13:06:18 modbus: send 03 a2 00 00 00 06 03 03 78 f1 00 02
[db:2 ] TRACE 2024/12/24 13:06:18 modbus: recv 03 a2 00 00 00 07 03 03 04 80 00 00 00
[db:2 ] TRACE 2024/12/24 13:06:18 modbus: send 03 a3 00 00 00 06 03 03 77 31 00 04
[db:2 ] TRACE 2024/12/24 13:06:18 modbus: recv 03 a3 00 00 00 0b 03 03 08 00 00 00 00 00 43 e2 94
[site ] DEBUG 2024/12/24 13:06:18 pv 2 power: 0W
[site ] DEBUG 2024/12/24 13:06:18 pv power: 180W
[db:3 ] TRACE 2024/12/24 13:06:18 modbus: send 03 a4 00 00 00 06 03 03 7a a9 00 04
[db:3 ] TRACE 2024/12/24 13:06:18 modbus: recv 03 a4 00 00 00 0b 03 03 08 00 00 00 00 00 43 e2 94
[db:3 ] TRACE 2024/12/24 13:06:18 modbus: send 03 a5 00 00 00 06 03 03 78 7d 00 02
[db:3 ] TRACE 2024/12/24 13:06:18 modbus: recv 03 a5 00 00 00 07 03 03 04 00 00 00 1a
[site ] DEBUG 2024/12/24 13:06:18 battery soc: 26%
[site ] DEBUG 2024/12/24 13:06:18 battery power: 0W
[site ] DEBUG 2024/12/24 13:06:18 site power: 301W
[lp-1 ] DEBUG 2024/12/24 13:06:18 charger status: B
[lp-1 ] DEBUG 2024/12/24 13:06:18 pv charge current: 0A = 0A + -0.436A (301W @ 3p)
[site ] DEBUG 2024/12/24 13:06:47 ----
[lp-1 ] DEBUG 2024/12/24 13:06:47 charge power: 0W
[site ] DEBUG 2024/12/24 13:06:47 grid power: 200W
[db:1 ] TRACE 2024/12/24 13:06:47 modbus: send 05 ff 00 00 00 06 03 04 78 37 00 02
[site ] DEBUG 2024/12/24 13:06:47 grid powers: [244 -20 -25]W
[site ] DEBUG 2024/12/24 13:06:47 grid currents: [1.88 -0.33 -1.09]A
[db:2 ] TRACE 2024/12/24 13:06:48 modbus: send 03 a6 00 00 00 06 03 03 78 35 00 02
[db:1 ] TRACE 2024/12/24 13:06:48 modbus: recv 05 ff 00 00 00 07 03 04 04 00 00 00 b5
[db:1 ] TRACE 2024/12/24 13:06:48 modbus: send 06 00 00 00 00 06 03 03 77 31 00 04
[db:1 ] TRACE 2024/12/24 13:06:48 modbus: recv 06 00 00 00 00 0b 03 03 08 00 00 00 00 01 cf 2a 3c
[site ] DEBUG 2024/12/24 13:06:48 pv 1 power: 181W
[db:2 ] TRACE 2024/12/24 13:06:48 modbus: recv 03 a6 00 00 00 07 03 03 04 80 00 00 00
[db:2 ] TRACE 2024/12/24 13:06:48 modbus: send 03 a7 00 00 00 06 03 03 78 f1 00 02
[db:2 ] TRACE 2024/12/24 13:06:48 modbus: recv 03 a7 00 00 00 07 03 03 04 80 00 00 00
[db:3 ] TRACE 2024/12/24 13:06:48 modbus: send 03 a8 00 00 00 06 03 04 7a a3 00 02
[db:3 ] TRACE 2024/12/24 13:06:48 modbus: recv 03 a8 00 00 00 07 03 04 04 00 00 00 00
[db:3 ] TRACE 2024/12/24 13:06:48 modbus: send 03 a9 00 00 00 0b 03 10 9d 2c 00 02 04 00 00 09 78
[db:3 ] TRACE 2024/12/24 13:06:48 modbus: recv 03 a9 00 00 00 06 03 10 9d 2c 00 02
[db:2 ] TRACE 2024/12/24 13:06:48 modbus: send 03 aa 00 00 00 06 03 03 77 31 00 04
[db:2 ] TRACE 2024/12/24 13:06:48 modbus: recv 03 aa 00 00 00 0b 03 03 08 00 00 00 00 00 43 e2 94
[site ] DEBUG 2024/12/24 13:06:48 pv 2 power: 0W
[site ] DEBUG 2024/12/24 13:06:48 pv power: 181W
[db:3 ] TRACE 2024/12/24 13:06:48 modbus: send 03 ab 00 00 00 06 03 04 7a a1 00 02
[db:3 ] TRACE 2024/12/24 13:06:48 modbus: recv 03 ab 00 00 00 07 03 04 04 00 00 00 00
[db:3 ] TRACE 2024/12/24 13:06:48 modbus: send 03 ac 00 00 00 0b 03 10 9f 59 00 02 04 00 00 00 00
[db:3 ] TRACE 2024/12/24 13:06:48 modbus: recv 03 ac 00 00 00 03 03 90 03
[db:3 ] ERROR 2024/12/24 13:06:48 modbus: exception '3' (illegal data value), function '16'

What type of operating system are you running?

Linux

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

evcc version 0.131.8

@andig andig self-assigned this Dec 24, 2024
@andig andig added the devices Specific device support label Dec 24, 2024
@andig
Copy link
Member

andig commented Dec 25, 2024

Ich hätte einen Logeintrag für abl erwartet, hier gibts aber nur DB-Geräte. Ich vermute, dass das nicht die WB ist. Mach mal bitte ein

evcc charger

und

evcc meter

damit wir die db:3 mal zuordnen können (da brauchen wir noch einen besseren Mechanismus).

@hyperbart
Copy link
Contributor

Also experiencing this all of a sudden. Alfen box here. Let me know if you need additional info.

@mfuchs1984
Copy link
Contributor

Do you also have sma equipment? There are several older issues with this error message, all that I found are related to sma.

@hyperbart
Copy link
Contributor

I have SMA material indeed but the error was scoped to the Alfen because it had an issue with the phases which resulted in 11kW charging which is way too much without solar here in Belgium (peak tariff).

@hyperbart
Copy link
Contributor

hyperbart commented Dec 25, 2024

[site ] DEBUG 2024/12/25 17:10:26 site power: 907W
[lp-1 ] DEBUG 2024/12/25 17:10:26 charge total import: 16173.471kWh
[lp-1 ] DEBUG 2024/12/25 17:10:26 charger status: B
[lp-1 ] DEBUG 2024/12/25 17:10:26 charge start energy: 16173.471kWh
[lp-1 ] INFO 2024/12/25 17:10:26 car connected
[lp-1 ] DEBUG 2024/12/25 17:10:26 vehicle api refresh
[lp-1 ] DEBUG 2024/12/25 17:10:26 pv timer elapse
[lp-1 ] DEBUG 2024/12/25 17:10:26 pv timer inactive
[lp-1 ] DEBUG 2024/12/25 17:10:26 charge total import: 16173.471kWh
[main ] DEBUG 2024/12/25 17:10:27 vehicle status: B (Bart)
[lp-1 ] INFO 2024/12/25 17:10:27 vehicle updated: unknown -> Bart
[lp-1 ] DEBUG 2024/12/25 17:10:27 set charge mode: pv
[lp-1 ] DEBUG 2024/12/25 17:10:28 vehicle status: B
[lp-1 ] DEBUG 2024/12/25 17:10:28 vehicle soc: 64%
[lp-1 ] DEBUG 2024/12/25 17:10:28 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/12/25 17:10:28 vehicle range: 235km
[lp-1 ] ERROR 2024/12/25 17:10:28 switch phases: modbus: exception '3' (illegal data value), function '6'
[site ] DEBUG 2024/12/25 17:10:28 ----
[lp-2 ] DEBUG 2024/12/25 17:10:28 charge power: 0W
[lp-1 ] DEBUG 2024/12/25 17:10:28 charge power: 0W
[lp-1 ] DEBUG 2024/12/25 17:10:28 charge currents: [0 0 0]A
[circuit-AutomaatLaadpaalVoortuin] DEBUG 2024/12/25 17:10:28 power: 0W
[circuit-AutomaatLaadpaalVoortuin] DEBUG 2024/12/25 17:10:28 current: 0A
[circuit-AutomaatNetaansluiting] DEBUG 2024/12/25 17:10:30 power: 913.19W
[circuit-AutomaatNetaansluiting] DEBUG 2024/12/25 17:10:30 current: 2.86A

@andig
Copy link
Member

andig commented Dec 25, 2024

Please open new issue if this is a different charger. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devices Specific device support
Projects
None yet
Development

No branches or pull requests

4 participants