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 · 0 comments
Open
1 task done

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

ThomasGoreth opened this issue Dec 24, 2024 · 0 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
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

2 participants