evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.52k stars 650 forks source link

Solax X3 Modbus: Nach update auf 0.123.9 keine Grid und Power Messwerte mehr nach Aktivierung der Batteriesteuerung #11745

Closed thierolm closed 9 months ago

thierolm commented 9 months ago

Describe the bug

Nach update auf 0.123.9 keine Grid und Power Messwerte mehr nach Aktivierung der Batteriesteuerung

image
pi@raspberrypi:~ $ sudo systemctl status evcc
● evcc.service - evcc
   Loaded: loaded (/lib/systemd/system/evcc.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2024-01-18 10:35:36 CET; 1h 5min ago
 Main PID: 27753 (evcc)
    Tasks: 10 (limit: 2059)
   CGroup: /system.slice/evcc.service
           └─27753 /usr/bin/evcc

Jan 18 10:35:36 raspberrypi systemd[1]: Started evcc.
Jan 18 10:35:36 raspberrypi evcc[27753]: [main  ] INFO 2024/01/18 10:35:36 evcc 0.123.9
Jan 18 10:35:36 raspberrypi evcc[27753]: [main  ] INFO 2024/01/18 10:35:36 using config file: /etc/evcc.yaml

Steps to reproduce

  1. Update auf 0.123.9
  2. evcc starten
  3. Batteriesteuerung deaktivieren
  4. es werden in der UI Messwerte gezeigt
  5. Batteriesteuerung aktivieren
  6. nach einer kurzen Zeit verschwinden dann die Messwerte

Configuration details

meters:
- name: grid
  type: template
  template: solax
  usage: grid
  host: 192.168.2.87
  port: 502
  modbus: tcpip

# Solax X3 Hybrid WR XXXX
# DC MPPT1 + MPPT2
- name: x3
  type: template
  template: solax
  usage: pv
  host: 192.168.2.87
  port: 502
  modbus: tcpip

- name: battery
  type: template
  template: solax
  usage: battery
  host: 192.168.2.87
  port: 502
  capacity: 10.4 # kWh
  modbus: tcpip

Log details

pi@raspberrypi:~ $ evcc -l debug
[main  ] INFO 2024/01/18 11:47:53 evcc 0.123.9
[main  ] INFO 2024/01/18 11:47:53 using config file: /etc/evcc.yaml
[main  ] INFO 2024/01/18 11:47:53 starting ui and api at :7070
[db    ] INFO 2024/01/18 11:47:54 using sqlite database: /home/pi/.evcc/evcc.db
[lp-1  ] WARN 2024/01/18 11:47:55 phases not configured, assuming 3p
[lp-1  ] DEBUG 2024/01/18 11:47:56 charge total import: 2130.000kWh
[lp-2  ] DEBUG 2024/01/18 11:47:56 charge total import: 1.324kWh
[site  ] INFO 2024/01/18 11:47:56 site config:
[site  ] INFO 2024/01/18 11:47:56   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2024/01/18 11:47:56     grid:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/01/18 11:47:56     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/01/18 11:47:56     pv 2:      power ✓ energy ✗ currents ✗
[site  ] INFO 2024/01/18 11:47:56     battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✓
[site  ] INFO 2024/01/18 11:47:56   vehicles:
[site  ] INFO 2024/01/18 11:47:56     vehicle 1: range ✓ finish ✗ status ✓ climate ✗ wakeup ✗
[lp-1  ] INFO 2024/01/18 11:47:56 loadpoint 1:
[lp-1  ] INFO 2024/01/18 11:47:56   mode:        off
[lp-1  ] INFO 2024/01/18 11:47:56   charger:     power ✓ energy ✓ currents ✓ phases ✗ wakeup ✗
[lp-1  ] INFO 2024/01/18 11:47:56   meters:      charge ✓
[lp-1  ] INFO 2024/01/18 11:47:56     charge:    power ✓ energy ✓ currents ✓
[lp-2  ] INFO 2024/01/18 11:47:56 loadpoint 2:
[lp-2  ] INFO 2024/01/18 11:47:56   mode:        pv
[lp-2  ] INFO 2024/01/18 11:47:56   charger:     power ✓ energy ✓ currents ✗ phases ✗ wakeup ✗
[lp-2  ] INFO 2024/01/18 11:47:56   meters:      charge ✓
[lp-2  ] INFO 2024/01/18 11:47:56     charge:    power ✓ energy ✓ currents ✗
[site  ] DEBUG 2024/01/18 11:47:56 set battery discharge control: true
[lp-1  ] DEBUG 2024/01/18 11:47:56 phase timer inactive
[lp-1  ] DEBUG 2024/01/18 11:47:56 pv timer inactive
[lp-1  ] DEBUG 2024/01/18 11:47:56 guard timer inactive
[lp-1  ] INFO 2024/01/18 11:47:56 vehicle updated: unknown -> Smart EQ
[lp-1  ] DEBUG 2024/01/18 11:47:56 set charge mode: pv
[lp-2  ] DEBUG 2024/01/18 11:47:56 phase timer inactive
[lp-2  ] DEBUG 2024/01/18 11:47:56 pv timer inactive
[lp-2  ] DEBUG 2024/01/18 11:47:56 guard timer inactive
[site  ] DEBUG 2024/01/18 11:47:56 ----
[lp-1  ] DEBUG 2024/01/18 11:47:56 charge power: 0W
[lp-2  ] DEBUG 2024/01/18 11:47:56 charge power: 0W
[site  ] DEBUG 2024/01/18 11:47:56 pv power: 0W
[site  ] DEBUG 2024/01/18 11:47:56 battery soc: 8%
[site  ] DEBUG 2024/01/18 11:47:56 battery power: 20W
[site  ] DEBUG 2024/01/18 11:47:56 grid power: 2545W
[site  ] DEBUG 2024/01/18 11:47:56 site power: 2665W
[lp-1  ] DEBUG 2024/01/18 11:47:57 vehicle odometer: 6924km
[lp-1  ] DEBUG 2024/01/18 11:47:57 charge voltages: [225 219 224]V
[lp-1  ] DEBUG 2024/01/18 11:47:57 detected connected phases: 3p
[lp-1  ] DEBUG 2024/01/18 11:47:57 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2024/01/18 11:47:57 charge total import: 2130.000kWh
[lp-1  ] DEBUG 2024/01/18 11:47:57 charger status: B
[lp-1  ] INFO 2024/01/18 11:47:57 car connected
[lp-1  ] DEBUG 2024/01/18 11:47:57 pv timer elapse
[lp-1  ] DEBUG 2024/01/18 11:47:57 pv timer inactive
[lp-1  ] DEBUG 2024/01/18 11:47:57 charger: guard elapse
[lp-1  ] DEBUG 2024/01/18 11:47:57 guard timer inactive
[lp-1  ] DEBUG 2024/01/18 11:47:57 charge total import: 2130.000kWh
[lp-1  ] DEBUG 2024/01/18 11:47:57 vehicle soc: 90%
[lp-1  ] DEBUG 2024/01/18 11:47:57 vehicle range: 74km
[lp-1  ] DEBUG 2024/01/18 11:47:57 set smart1 plan soc: 0 @ 0001-01-01 00:53:28 +0053 LMT
[lp-1  ] DEBUG 2024/01/18 11:47:57 pv charge current: 0A = 0A + -11.6A (2665W @ 1p)
[lp-1  ] DEBUG 2024/01/18 11:47:57 pv enable timer reset
[lp-1  ] DEBUG 2024/01/18 11:47:57 pv timer inactive
[site  ] DEBUG 2024/01/18 11:47:57 set battery mode: normal
[site  ] DEBUG 2024/01/18 11:48:26 ----
[lp-1  ] DEBUG 2024/01/18 11:48:26 charge power: 0W
[lp-2  ] DEBUG 2024/01/18 11:48:26 charge power: 0W
[site  ] DEBUG 2024/01/18 11:48:26 pv power: 0W
[site  ] DEBUG 2024/01/18 11:48:26 battery soc: 8%
[site  ] DEBUG 2024/01/18 11:48:26 battery power: 21W
[site  ] DEBUG 2024/01/18 11:48:26 grid power: 1287W
[site  ] DEBUG 2024/01/18 11:48:26 site power: 1408W
[lp-2  ] DEBUG 2024/01/18 11:48:26 charge total import: 1.324kWh
[lp-2  ] DEBUG 2024/01/18 11:48:26 charger status: B
[lp-2  ] DEBUG 2024/01/18 11:48:26 charge start energy: 1.32kWh
[lp-2  ] INFO 2024/01/18 11:48:26 car connected
[lp-2  ] DEBUG 2024/01/18 11:48:26 vehicle api refresh
[lp-2  ] DEBUG 2024/01/18 11:48:26 pv timer elapse
[lp-2  ] DEBUG 2024/01/18 11:48:26 pv timer inactive
[lp-2  ] DEBUG 2024/01/18 11:48:26 charger: guard elapse
[lp-2  ] DEBUG 2024/01/18 11:48:26 guard timer inactive
[lp-2  ] DEBUG 2024/01/18 11:48:26 charge total import: 1.324kWh
[lp-2  ] DEBUG 2024/01/18 11:48:26 pv charge current: 0A = 0A + -6.12A (1408W @ 1p)
[lp-2  ] DEBUG 2024/01/18 11:48:26 pv enable timer reset
[lp-2  ] DEBUG 2024/01/18 11:48:26 pv timer inactive
[site  ] DEBUG 2024/01/18 11:48:56 ----
[lp-1  ] DEBUG 2024/01/18 11:48:56 charge power: 0W
[lp-2  ] DEBUG 2024/01/18 11:48:56 charge power: 0W
[site  ] DEBUG 2024/01/18 11:48:56 pv power: 0W
[site  ] DEBUG 2024/01/18 11:48:56 battery soc: 8%
[site  ] DEBUG 2024/01/18 11:48:56 battery power: -11W
[site  ] DEBUG 2024/01/18 11:48:56 grid power: -0W
[site  ] DEBUG 2024/01/18 11:48:56 site power: 89W
[lp-1  ] DEBUG 2024/01/18 11:48:57 vehicle odometer: 6924km
[lp-1  ] DEBUG 2024/01/18 11:48:57 charge voltages: [224 220 223]V
[lp-1  ] DEBUG 2024/01/18 11:48:57 detected connected phases: 3p
[lp-1  ] DEBUG 2024/01/18 11:48:57 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2024/01/18 11:48:57 charge total import: 2130.000kWh
[lp-1  ] DEBUG 2024/01/18 11:48:57 charger status: B
[lp-1  ] DEBUG 2024/01/18 11:48:57 set smart1 plan soc: 0 @ 0001-01-01 00:53:28 +0053 LMT
[lp-1  ] DEBUG 2024/01/18 11:48:57 pv charge current: 0A = 0A + -0.387A (89W @ 1p)
[site  ] DEBUG 2024/01/18 11:49:26 ----
[lp-1  ] DEBUG 2024/01/18 11:49:26 charge power: 0W
[lp-2  ] DEBUG 2024/01/18 11:49:26 charge power: 0W
[site  ] DEBUG 2024/01/18 11:49:26 pv power: 0W
[site  ] DEBUG 2024/01/18 11:49:26 battery soc: 8%
[site  ] DEBUG 2024/01/18 11:49:26 battery power: -20W
[site  ] DEBUG 2024/01/18 11:49:26 grid power: -0W
[site  ] DEBUG 2024/01/18 11:49:26 site power: 80W
[lp-2  ] DEBUG 2024/01/18 11:49:26 charge total import: 1.324kWh
[lp-2  ] DEBUG 2024/01/18 11:49:26 charger status: B
[lp-2  ] DEBUG 2024/01/18 11:49:26 pv charge current: 0A = 0A + -0.348A (80W @ 1p)

What type of operating system are you running?

Linux

Version

No response

thierolm commented 9 months ago

Wenn ich die Batteriesteuerung deaktiviere liefert er wieder saubere Werte:

image