evcc-io / evcc

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

Min+PV with Tinkerforge Warp2 #13591

Closed bbr111 closed 6 months ago

bbr111 commented 6 months ago

Describe the bug

Beim Umschalten von Aus -> Min+PV oder von PV -> Min+PV steht das System sehr lange auf Ladebereit. Warte auf Fahrzeug. Die Externe Freigabe der WARP2 wird aber nicht gesetzt. Meine Erwartung wäre hier, dass das System mit 6A+Überschuss aus PV das auto lädt. Es wird dann irgendwann: Warp2: charger out of sync: expected enabled, got disabled angezeigt. Die Netzwerk Konnektivität ist da. Wenn man auf Schnell(Now) stellt und dann auf Min+PV zurück. Lädt das System, regelt aber nicht mehr auf 6 A runter, und bleibt bei 16 bzw 32 A in der externen Freigabe stehen.

Warp2 FW 2.3.0

Steps to reproduce

siehe beschreibung

Configuration details

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

interval: 20s # control cycle interval

log: trace
# levels:
#   cache: error

mqtt:
  broker: 192.168.xxx.xxx:1883
  user: xxxx
  password: xxxx

meters:

  - name: pvbalkon
    type: custom
    power:
      source: http
      uri: http://192.168.xxx.xxx/status
      jq: .meters | map(.power) | add

  - name: batsma
    type: template
    template: sma-hybrid
    usage: battery
    capacity: 7.7
    modbus: tcpip
    id: 3
    host: 192.168.xxx.xxx

  - name: pvsma
    type: template
    template: sma-hybrid
    usage: pv
    modbus: tcpip
    id: 3
    host: 192.168.xxx.xxx

  - name: hmsma
    type: sma
    uri: 192.168.xxx.xxx

chargers:
  - type: warp-fw2
    broker: 192.168.xxx.xxx # Die IP Adresse oder der Hostname des MQTT Brokers
    #port: 1883  # Der Port des MQTT Brokers
    topic: warp2/WDB
    timeout: 30s
    name: wallbox
    user: xxx
    password: xxx

vehicles:
  - type: template
    template: flobz
    title: Corsa-e # Wird in der Benutzeroberfläche angezeigt
    vin: VXKUHZKXZxxxxxx # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind
    url: http://192.168.xxx.xxx:5000
    capacity: 50 # Akku-Kapazität in kWh
    name: corsae
    phases: 1
    identifiers:
      - XX:XX:XX:XX:XX:XX:XX

loadpoints:
  - title: Warp2
    charger: wallbox
    mode: pv
    enable:
      threshold: 0
      delay: 10s
    disable:
      threshold: 200
      delay: 3m

site:
  title: Mein Zuhause
  meters:
    grid: hmsma
    pv:
      - pvbalkon
      - pvsma
    battery:
      - batsma
  residualPower: 50
  maxGridSupplyWhileBatteryCharging: 50

tariffs:
  currency: EUR # (default EUR)
  grid:
    # static grid price
    type: fixed
    price: 0.30 # [currency]/kWh

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.08 # [currency]/kWh

Log details

[http  ] TRACE 2024/04/26 09:41:30 {"wifi_sta":{"connected":true,"ssid":"xxx","ip":"xxx","rssi":-55},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"09:41","unixtime":1714117290,"serial":35527,"has_update":false,"mac":"A4CF12F3CE9B","cfg_changed_cnt":1,"actions_stats":{"skipped":0},"relays":[{"ison":true,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"source":"http"}],"meters":[{"power":62.81,"overpower":0.00,"is_valid":true,"timestamp":1714124490,"counters":[66.372, 64.934, 79.842],"total":5592766}],"inputs":[{"input":0,"event":"","event_cnt":0}],"temperature":29.58,"overtemperature":false,"tmp":{"tC":29.58,"tF":xxx.24, "is_valid":true},"temperature_status":"Normal","ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"idle","has_update":false,"new_version":"20230913-113709/v1.14.0-gcb84623","old_version":"20230913-113709/v1.14.0-gcb84623","beta_version":"20231107-164450/v1.14.1-rc1-g0617c15"},"ram_total":42960,"ram_free":30912,"fs_size":233681,"fs_free":147588,"uptime":7927540}
[modbus] TRACE 2024/04/26 09:41:30 modbus: send 02 3f 00 00 00 06 03 03 78 35 00 02
[modbus] TRACE 2024/04/26 09:41:30 modbus: recv 02 3f 00 00 00 07 03 03 04 00 00 02 ad
[modbus] TRACE 2024/04/26 09:41:30 modbus: send 02 40 00 00 00 06 03 03 78 f1 00 02
[modbus] TRACE 2024/04/26 09:41:30 modbus: recv 02 40 00 00 00 07 03 03 04 00 00 02 50
[modbus] TRACE 2024/04/26 09:41:30 modbus: send 02 41 00 00 00 06 03 03 77 31 00 04
[modbus] TRACE 2024/04/26 09:41:30 modbus: recv 02 41 00 00 00 0b 03 03 08 00 00 00 00 00 67 ad d3
[site  ] DEBUG 2024/04/26 09:41:30 pv power: 1340W
[modbus] TRACE 2024/04/26 09:41:30 modbus: send 02 42 00 00 00 06 03 04 7a a3 00 02
[cache ] TRACE 2024/04/26 09:41:30 pvPower: 1339.81
[cache ] TRACE 2024/04/26 09:41:30 pvEnergy: 6794.707
[cache ] TRACE 2024/04/26 09:41:30 pv: [{62.81 0} {1277 6794.707}]
[modbus] TRACE 2024/04/26 09:41:30 modbus: recv 02 42 00 00 00 07 03 04 04 00 00 00 00
[modbus] TRACE 2024/04/26 09:41:30 modbus: send 02 43 00 00 00 06 03 04 7a a1 00 02
[modbus] TRACE 2024/04/26 09:41:30 modbus: recv 02 43 00 00 00 07 03 04 04 00 00 04 91
[modbus] TRACE 2024/04/26 09:41:30 modbus: send 02 44 00 00 00 06 03 03 7a a9 00 04
[modbus] TRACE 2024/04/26 09:41:30 modbus: recv 02 44 00 00 00 0b 03 03 08 00 00 00 00 00 18 cb a4
[modbus] TRACE 2024/04/26 09:41:30 modbus: send 02 45 00 00 00 06 03 03 78 7d 00 02
[modbus] TRACE 2024/04/26 09:41:30 modbus: recv 02 45 00 00 00 07 03 03 04 00 00 00 1f
[site  ] DEBUG 2024/04/26 09:41:30 battery soc: 31%
[site  ] DEBUG 2024/04/26 09:41:30 battery power: -11xxxW
[site  ] DEBUG 2024/04/26 09:41:30 grid meter: -16W
[site  ] DEBUG 2024/04/26 09:41:30 grid powers: [-24 11 -3]W
[site  ] DEBUG 2024/04/26 09:41:30 grid currents: [-0.474 0.28 -0.265]A
[site  ] DEBUG 2024/04/26 09:41:30 battery has priority at soc 31% (< xxx%)
[cache ] TRACE 2024/04/26 09:41:30 batteryCapacity: 7.7
[cache ] TRACE 2024/04/26 09:41:30 batterySoc: 31
[cache ] TRACE 2024/04/26 09:41:30 batteryPower: -11xxx
[cache ] TRACE 2024/04/26 09:41:30 batteryEnergy: 1624.996
[cache ] TRACE 2024/04/26 09:41:30 battery: [{-11xxx 1624.996 31 7.7 true}]
[cache ] TRACE 2024/04/26 09:41:30 gridPower: -16.3
[cache ] TRACE 2024/04/26 09:41:30 gridPowers: [-24.400000000000002 10.8 -2.7]
[cache ] TRACE 2024/04/26 09:41:30 gridCurrents: [-0.47400000000000003 0.28 -0.265]
[cache ] TRACE 2024/04/26 09:41:30 gridEnergy: 10389.0044
[site  ] DEBUG 2024/04/26 09:41:30 site power: 34W
[lp-1  ] DEBUG 2024/04/26 09:41:30 charge voltages: [237 236 235]V
[lp-1  ] DEBUG 2024/04/26 09:41:30 detected connected phases: 3p
[cache ] TRACE 2024/04/26 09:41:30 homePower: 154.51
[lp-1  ] DEBUG 2024/04/26 09:41:30 charge currents: [0 0 0]A
[cache ] TRACE 2024/04/26 09:41:30 lp-1/smartCostActive: false
[cache ] TRACE 2024/04/26 09:41:30 lp-1/chargeVoltages: [236.9963074 235.783844 235.34021]
[cache ] TRACE 2024/04/26 09:41:30 lp-1/chargeCurrents: [0 0 0]
[cache ] TRACE 2024/04/26 09:41:30 lp-1/chargeCurrent: 5
[cache ] TRACE 2024/04/26 09:41:30 lp-1/sessionEnergy: 478.027000000xxx
[lp-1  ] DEBUG 2024/04/26 09:41:30 charge total import: 4277.514kWh
[cache ] TRACE 2024/04/26 09:41:30 lp-1/sessionSolarPercentage: 96.90428330xxx7628
[cache ] TRACE 2024/04/26 09:41:30 lp-1/sessionPricePerKWh: 0.0xxx81057672091214
[cache ] TRACE 2024/04/26 09:41:30 lp-1/sessionPrice: 0.041497799558177104
[cache ] TRACE 2024/04/26 09:41:30 lp-1/sessionCo2PerKWh: <nil>
[cache ] TRACE 2024/04/26 09:41:30 lp-1/chargedEnergy: 478.027000000xxx
[lp-1  ] DEBUG 2024/04/26 09:41:30 charger status: B
[cache ] TRACE 2024/04/26 09:41:30 lp-1/chargeDuration: 14m0s
[cache ] TRACE 2024/04/26 09:41:30 lp-1/chargeTotalImport: 4277.513672
[cache ] TRACE 2024/04/26 09:41:30 lp-1/effectivePriority: 0
[cache ] TRACE 2024/04/26 09:41:30 lp-1/effectivePlanTime: 0001-01-01 00:00:00 +0000 UTC
[cache ] TRACE 2024/04/26 09:41:30 lp-1/effectivePlanSoc: 0
[lp-1  ] WARN 2024/04/26 09:41:30 charger out of sync: expected enabled, got disabled
[lp-1  ] DEBUG 2024/04/26 09:41:30 charger disable
[lp-1  ] DEBUG 2024/04/26 09:41:30 pv charge current: 0A = 0A + -0.147A (34W @ 1p)
[cache ] TRACE 2024/04/26 09:41:30 lp-1/effectiveMinCurrent: 5
[cache ] TRACE 2024/04/26 09:41:30 lp-1/effectiveMaxCurrent: 32
[cache ] TRACE 2024/04/26 09:41:30 lp-1/effectiveLimitSoc: 100
[cache ] TRACE 2024/04/26 09:41:30 lp-1/connected: true
[cache ] TRACE 2024/04/26 09:41:30 lp-1/charging: false
[warp  ] TRACE 2024/04/26 09:41:30 send warp2/WDB/evse/external_current_update: '{ "current": 5000 }'
[lp-1  ] DEBUG 2024/04/26 09:41:30 charger enable
[lp-1  ] DEBUG 2024/04/26 09:41:30 wake-up timer: start
[cache ] TRACE 2024/04/26 09:41:30 lp-1/enabled: false
[cache ] TRACE 2024/04/26 09:41:30 lp-1/mode: minpv
[cache ] TRACE 2024/04/26 09:41:30 lp-1/planProjectedStart: 0001-01-01 00:00:00 +0000 UTC
[cache ] TRACE 2024/04/26 09:41:30 lp-1/planOverrun: 0s
[cache ] TRACE 2024/04/26 09:41:30 lp-1/enabled: true
[cache ] TRACE 2024/04/26 09:41:30 greenShareHome: 1
[cache ] TRACE 2024/04/26 09:41:30 greenShareLoadpoints: 1
[cache ] TRACE 2024/04/26 09:41:30 lp-1/chargeCurrent: 5
[cache ] TRACE 2024/04/26 09:41:30 tariffPriceHome: 0.08
[cache ] TRACE 2024/04/26 09:41:30 tariffPriceLoadpoints: 0.08
[sma   ] TRACE 2024/04/26 09:41:30 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[sma   ] TRACE 2024/04/26 09:41:31 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[warp  ] TRACE 2024/04/26 09:41:32 recv warp2/WDB/evse/low_level_state: '{"led_state":1,"cp_pwm_duty_cycle":1000,"adc_values":[3913,3456,134,137,1026,3809,134],"voltages":[12026,9080,-12336,-12310,826,12278,-12336],"resistances":[2603,219],"gpio":[true,false,false,false,true,true,false,true,false,true,false,false,false,false,false,true,true,false,false,true,false,false,false,false],"charging_time":0,"time_since_state_change":299271,"uptime":825097507,"time_since_dc_fault_check":79274770,"temperature":0,"phases_current":3,"phases_requested":3,"phases_state":0,"phases_info":0,"dc_fault_pins":0,"dc_fault_sensor_type":0}'
[warp  ] TRACE 2024/04/26 09:41:32 recv warp2/WDB/meter/all_values: '[236.6291504,235.61547xxx,234.9710083,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,-32.16631xxx9,-14.98955631,82.xxx29892,236.0734711,0,0,0,0,0,1,0,49.95811081,4262.6679xxx,14.84599972,46.51xxx9829,230.4909973,42xxx.473145,18471.37891,null,null,null,null,null,null,409.4821167,407.9265442,409.0752563,408.84xxx023,0,3.0213xxx934,3.5998489xxx,3.065788984,0,0,0,2.15397xxx17,0,null,null,null,null,null,null,0,0,0,0,4277.513672,277.0079956,3804.040771,455.8079834,2.818999767,0,0,14.84599972,3804.040771,455.8079834,17.66499901,46.51399994,0.003,0,173.4449921,50.61599731,6.429999828,219.9589996,50.61899948,6.429999828]'
[sma   ] TRACE 2024/04/26 09:41:32 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[sma   ] TRACE 2024/04/26 09:41:33 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[sma   ] TRACE 2024/04/26 09:41:34 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[warp  ] TRACE 2024/04/26 09:41:35 recv warp2/WDB/evse/low_level_state: '{"led_state":1,"cp_pwm_duty_cycle":1000,"adc_values":[3914,3456,134,137,1026,3809,134],"voltages":[12033,9080,-12336,-12310,826,12278,-12336],"resistances":[2597,219],"gpio":[true,false,false,false,true,true,false,true,false,true,false,false,false,false,true,true,true,false,false,true,false,false,false,false],"charging_time":0,"time_since_state_change":302341,"uptime":825100577,"time_since_dc_fault_check":79277840,"temperature":0,"phases_current":3,"phases_requested":3,"phases_state":0,"phases_info":0,"dc_fault_pins":0,"dc_fault_sensor_type":0}'
[warp  ] TRACE 2024/04/26 09:41:35 recv warp2/WDB/meter/all_values: '[237.0488129,235.992981,235.4793xxx4,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,-33.05612564,-15.92076492,63.3187027,236.2057648,0,0,0,0,0,1,0,49.96749496,4262.6679xxx,14.84599972,46.51xxx9829,230.4909973,42xxx.473145,18471.37891,null,null,null,null,null,null,409.4125977,407.xxx67505,408.8924xxx6,408.7053223,0,3.094112873,1.766494155,2.479082584,0,0,0,4.042015076,0,null,null,null,null,null,null,0,0,0,0,4277.513672,277.0079956,3804.040771,455.8079834,2.818999767,0,0,14.84599972,3804.040771,455.8079834,17.66499901,46.51399994,0.003,0,173.4449921,50.61599731,6.429999828,219.9589996,50.61899948,6.429999828]'
[sma   ] TRACE 2024/04/26 09:41:35 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[sma   ] TRACE 2024/04/26 09:41:36 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[warp  ] TRACE 2024/04/26 09:41:37 recv warp2/WDB/evse/low_level_state: '{"led_state":1,"cp_pwm_duty_cycle":1000,"adc_values":[3914,3457,134,137,1026,3811,133],"voltages":[12033,90xxx,-12336,-12310,826,12284,-12342],"resistances":[2604,219],"gpio":[true,false,false,false,true,true,false,true,false,true,false,false,false,false,false,true,true,false,false,true,false,false,false,false],"charging_time":0,"time_since_state_change":305411,"uptime":825103647,"time_since_dc_fault_check":79280910,"temperature":0,"phases_current":3,"phases_requested":3,"phases_state":0,"phases_info":0,"dc_fault_pins":0,"dc_fault_sensor_type":0}'
[warp  ] TRACE 2024/04/26 09:41:37 recv warp2/WDB/meter/all_values: '[237.0670013,235.8958282,235.2525787,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,-28.57627487,42.23xxx4828,80.31635284,235.9668427,0,0,0,0,0,1,0,49.94891739,4262.6679xxx,14.84599972,46.51xxx9829,230.4909973,42xxx.473145,18471.37891,null,null,null,null,null,null,409.4828491,408.1703491,409.244873,409.0532227,0,2.xxx0119343,3.063493967,2.400130033,0,0,0,3.053434134,0,null,null,null,null,null,null,0,0,0,0,4277.513672,277.0079956,3804.040771,455.8079834,2.818999767,0,0,14.84599972,3804.040771,455.8079834,17.66499901,46.51399994,0.003,0,173.4449921,50.61599731,6.429999828,219.9589996,50.61899948,6.429999828]'
[sma   ] TRACE 2024/04/26 09:41:37 recv xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[sma   ] TRACE 2024/04/26 09:41:38 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[sma   ] TRACE 2024/04/26 09:41:39 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[warp  ] TRACE 2024/04/26 09:41:40 recv warp2/WDB/evse/low_level_state: '{"led_state":1,"cp_pwm_duty_cycle":1000,"adc_values":[3915,3456,134,137,1026,3810,134],"voltages":[12039,9080,-12336,-12310,826,12281,-12336],"resistances":[2592,219],"gpio":[true,false,false,false,true,true,false,true,false,true,false,false,false,false,true,true,true,false,false,true,false,false,false,false],"charging_time":0,"time_since_state_change":308234,"uptime":825106470,"time_since_dc_fault_check":79283733,"temperature":0,"phases_current":3,"phases_requested":3,"phases_state":0,"phases_info":0,"dc_fault_pins":0,"dc_fault_sensor_type":0}'
[warp  ] TRACE 2024/04/26 09:41:40 recv warp2/WDB/meter/all_values: '[237.2874146,236.1xxx3726,235.6377258,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,-28.0716xxx79,0,59.33294296,236.3614655,0,0,0,0,0,1,0,49.956771xxx,4262.6679xxx,14.84599972,46.51xxx9829,230.4909973,42xxx.473145,18471.37891,null,null,null,null,null,null,409.9074707,408.29580xxx,409.4621582,409.2029724,0,2.04230547,3.836602688,2.420581102,0,0,0,3.053434134,0,null,null,null,null,null,null,0,0,0,0,4277.513672,277.0079956,3804.040771,455.8079834,2.818999767,0,0,14.84599972,3804.040771,455.8079834,17.66499901,46.51399994,0.003,0,173.4449921,50.61599731,6.429999828,219.9589996,50.61899948,6.429999828]'
[sma   ] TRACE 2024/04/26 09:41:40 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[sma   ] TRACE 2024/04/26 09:41:41 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[sma   ] TRACE 2024/04/26 09:41:42 recv 192.168.xxx.xxx: [proto.GroupPacketEntry, proto.SmaNet2PacketEntry]
[warp  ] TRACE 2024/04/26 09:41:43 recv warp2/WDB/evse/low_level_state: '{"led_state":1,"cp_pwm_duty_cycle":1000,"adc_values":[3913,3457,134,137,1026,3809,134],"voltages":[12026,90xxx,-12336,-12310,826,12278,-12336],"resistances":[2611,219],"gpio":[true,false,false,false,true,true,false,true,false,true,false,false,false,false,false,true,true,false,false,true,false,false,false,false],"charging_time":0,"time_since_state_change":311305,"uptime":825109541,"time_since_dc_fault_check":792xxx804,"temperature":0,"phases_current":3,"phases_requested":3,"phases_state":0,"phases_info":0,"dc_fault_pins":0,"dc_fault_sensor_type":0}'
[warp  ] TRACE 2024/04/26 09:41:43 recv warp2/WDB/meter/all_values: '[237.272583,236.0487366,235.7392578,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,-27.09719276,-49.64132xxx,82.67513275,236.4224701,0,0,0,0,0,1,0,49.9513588,4262.6679xxx,14.84599972,46.51xxx9829,230.4909973,42xxx.473145,18471.37891,null,null,null,null,null,null,409.9841309,408.6877441,409.70922xxx,409.5240479,0,2.04230547,3.836602688,2.420581102,0,0,0,4.122653008,0,null,null,null,null,null,null,0,0,0,0,4277.513672,277.0079956,3804.040771,455.8079834,2.818999767,0,0,14.84599972,3804.040771,455.8079834,17.66499901,46.51399994,0.003,0,173.4449921,50.61599731,6.429999828,219.9589996,50.61899948,6.429999828]'

What type of operating system are you running?

HomeAssistant Add-on

Version

0.125.0

andig commented 6 months ago

Beim Umschalten von Aus -> Min+PV oder von PV -> Min+PV steht das System sehr lange auf Ladebereit. Warte auf Fahrzeug.

Wo sehe ich das im Logfile?

Die Externe Freigabe der WARP2 wird aber nicht gesetzt.

Was heisst das?

Es wird dann irgendwann:

Wo sehe ich das im Logfile?

callap commented 6 months ago

Was heisst das?

Die Warp wartet auf die externe Freigabe durch EVCC. Das ist im Log/UI der Wallbox ersichtlich. Ich hatte das Phänomen heute auch, konnte es hat nach einem Update aller Komponenten aber nicht mehr reproduzieren. @bbr111 Kurzfristig lässt sich die externe Steuerung an der Wallbox auch zurücksetzen. EVCC übernimmt anschließend wieder. Schau mal, ob's hilft 🍀

bbr111 commented 6 months ago

@callap Danke das hat geholfen. Hab alles geupdatet, neugestartet, und die config in evcc auf die letzte Fassung in der Doku angepasst. Jetzt geht's wieder.