evcc icon indicating copy to clipboard operation
evcc copied to clipboard

FoxEss Avocado Modbus Error

Open dgu87 opened this issue 1 year ago • 2 comments

Describe the bug

Adding a FoxEss Avocado device using the template from the docs ends up with the following error:

energy: read failed: modbus: response unit id '0' does not match request '1'

Steps to reproduce

  1. Add FoxEss Avocado (as solar system or home battery, doesn't matter)
  2. Select modbus connection "network"
  3. Modbus ID: 1
  4. IP: static IP of Avocado inverter
  5. Modbus protocol: TCP

Configuration details

- name: pv2
  type: template
  template: fox-ess-avocado
  usage: pv
  modbus: tcpip
  id: 1
  host: 192.168...
  port: 502

- name: battery2
  type: template
  template: fox-ess-avocado
  usage: battery
  modbus: tcpip
  id: 1
  host: 192.168...
  port: 502
  capacity: 2.11
  minsoc: 10
  maxsoc: 100

Log details

energy: read failed: modbus: response unit id '0' does not match request '1'

What type of operating system or environment does evcc run on?

Linux

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

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

Version

No response

dgu87 avatar Nov 14 '25 14:11 dgu87

Looks like the evcc configuration does not match the device configuration?

premultiply avatar Nov 14 '25 16:11 premultiply

Fixed by #26408

premultiply avatar Jan 05 '26 17:01 premultiply