evcc: Problem Status auslesen Schrack i-charge CION

Describe the bug

Ich versuche eine Schrack i-charge CION Wall Box zu steuern und habe dabei das Problem, dass der Status (A, B, C) nicht in EVCC ankommt, sondern immer angezeigt wird dass kein Auto verbunden ist unabhängig davon welchen Status die Wall Box liefert. Im Anhang das evcc.yaml und debug log. Ich vermute, dass das Problem, damit zusammenhängt dass der “charger status” im Log in einer eigenen neuen Zeile angezeigt wird. Wenn ich das Status Register 139 mit einem Tool wie mbpoll abfrage, erhalte ich den Wert 65 (= A)

Steps to reproduce

  1. evcc-template.yaml als evcc.yaml einspielen
  2. evcc neu starten
  3. Auto an Schrack i-charge CION anstecken
  4. evcc UI zeigt an, dass kein Auto verbunden ist …

Configuration details

---
network:
  schema: "http"
  host: "0.0.0.0"
  port: 7070
interval: "2s"
log: "debug"
meters:
- name: "Sage Controller "
  type: "custom"
  power:
    source: "mqtt"
    topic: "wa-pi/grid"
- name: "Sage Batterie"
  type: "custom"
  power:
    source: "calc"
    mul:
    - source: "modbus"
      uri: "10.68.11.30:502"
      id: 1
      register:
        address: 26
        type: "holding"
        decode: "int16"
      scale: -0.1
    - source: "modbus"
      uri: "10.68.11.30:502"
      id: 1
      register:
        address: 27
        type: "holding"
        decode: "int16"
  soc:
    source: "modbus"
    uri: "10.68.11.30:502"
    id: 1
    register:
      address: 20
      type: "holding"
      decode: "uint16"
- name: "Sage Fronius"
  type: "template"
  template: "fronius-solarapi-v1"
  usage: "pv"
  host: "10.68.10.80"
chargers:
- name: "Schrack_i_Charge_TCP-1"
  type: "template"
  template: ichargecion
  modbus: tcpip
  host: 10.68.10.36
  port: 502
  id: 2
site:
  title: "SageStud Gumpersberg"
  meters:
    grid: "Sage Controller "
    pvs:
    - "Sage Fronius"
    batteries:
    - "Sage Batterie"
loadpoints:
- title: "Schrack_i_Charge_TCP-1"
  charger: "Schrack_i_Charge_TCP-1"
  phases: 1
mqtt:
  broker: "10.68.11.77"
  topic: "evcc"
  user: "********"
  password: "*********"

Log details

Dec 06 07:40:06 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:06 ----
Dec 06 07:40:06 iwattcontroller evcc[1835]: [lp-1  ] DEBUG 2022/12/06 07:40:06 charge power: 0W
Dec 06 07:40:07 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:07 pv power: 527W
Dec 06 07:40:07 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:07 battery power: -336W
Dec 06 07:40:07 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:07 grid power: 22296W
Dec 06 07:40:07 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:07 battery soc 0: 24%
Dec 06 07:40:07 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:07 site power: 21959W
Dec 06 07:40:07 iwattcontroller evcc[1835]: [lp-1  ] DEBUG 2022/12/06 07:40:07 charger status:
Dec 06 07:40:07 iwattcontroller evcc[1835]: A
Dec 06 07:40:08 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:08 ----
Dec 06 07:40:08 iwattcontroller evcc[1835]: [lp-1  ] DEBUG 2022/12/06 07:40:08 charge power: 0W
Dec 06 07:40:09 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:09 pv power: 549W
Dec 06 07:40:09 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:09 battery power: -336W
Dec 06 07:40:09 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:09 grid power: 22291W
Dec 06 07:40:09 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:09 battery soc 0: 24%
Dec 06 07:40:09 iwattcontroller evcc[1835]: [site  ] DEBUG 2022/12/06 07:40:09 site power: 21954W
Dec 06 07:40:09 iwattcontroller evcc[1835]: [lp-1  ] DEBUG 2022/12/06 07:40:09 charger status:
Dec 06 07:40:09 iwattcontroller evcc[1835]: A

What type of operating system are you running?

Linux

Version

evcc version 0.108.0

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Test ist OK, Laden funktioniert!