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

Add CFOS PowerBrain #1809

Merged
merged 10 commits into from
Oct 30, 2021
Merged

Add CFOS PowerBrain #1809

merged 10 commits into from
Oct 30, 2021

Conversation

andig
Copy link
Member

@andig andig commented Oct 30, 2021

Replace #750

@andig andig added the devices Specific device support label Oct 30, 2021
@andig andig merged commit be51d63 into master Oct 30, 2021
@andig andig deleted the feature/cfos branch October 30, 2021 12:56
@secuder
Copy link

secuder commented Nov 5, 2021

ich habe das jetzt mal compiliert, mit evcc detect wird die cFos nicht gefunden - wie ist denn da das richtige Vorgehen, bzw. wie ist sie in der evcc.yaml einzubinden?

@premultiply
Copy link
Member

- type: cfos
  uri: 192.168.0.8

@secuder
Copy link

secuder commented Nov 5, 2021

Okay, klappt - ich bekomme aber ein timeout, wahrscheinlich weil ich inzwischen ein Passwort für die Box gesetzt habe. Kann man das mit übergeben? Das gilt auch für das Auslesen des Modbus-meters für die cFos

@premultiply
Copy link
Member

Modbus kennt keine Passwörter.
Klappt und Timeout ist ja auch irgendwie widersprüchlich…
Tracelog?

@secuder
Copy link

secuder commented Nov 5, 2021

Widersprüchlich, ja. Gemeint: Zuvor hatte mir noch der supporter token gefehlt, den habe ich eingepflegt. Wenn es kein Passwort im Modbus gibt, dann verstehe ich den Timeout nicht, denn die cFos ist über das Webinterface unter der TCP zu erreichen.

pi@raspberrypi:/etc $ evcc meter
grid
----
Power: -3W

pv
--
Power: 0W

battery
-------
Power: 522W
SoC:   23%

charge
------
Power:  read failed: dial tcp 192.168.178.144:4702: i/o timeout
Energy: read failed: dial tcp 192.168.178.144:4702: i/o timeout

bzw

pi@raspberrypi:/etc $ evcc charger
Charge status: dial tcp 192.168.178.144:4701: i/o timeout
Enabled:       dial tcp 192.168.178.144:4701: i/o timeout

@andig
Copy link
Member Author

andig commented Nov 5, 2021

Ist einfach. Da ist nichts…

@secuder
Copy link

secuder commented Nov 5, 2021

Ihr habt recht; vom Pi aus war da nichts. Morgen muss ich dringend mal mein Netzwerk entknoten.

Vielen Dank.

@secuder
Copy link

secuder commented Nov 9, 2021

nachdem heute die Sonne scheint, ist es Zeit fuer einen Testlauf.
evcc liest die cFos-Ladeleistung aus, erkennt aber das Fahrzeug nicht und regelt auch nicht.

Wie bekomme ich bei laufendem evcc Dienst ein Debug-Listing, das hier weiterhilft? evcc -l debug?

@premultiply
Copy link
Member

Zuallererst mal den Dienst stoppen.
Dann auf der Konsole mit evcc charger, evcc vehicle, evcc meterprüfen ob da überhaupt etwas funktionieren kann.
Wenn dort alles ok ist evcc interaktiv mittels evcc --log debug starten.

@secuder
Copy link

secuder commented Nov 9, 2021

pi@raspberrypi:~ $ sudo systemctl stop evcc
pi@raspberrypi:~ $ evcc charger
Charge status: A
Enabled:       false
pi@raspberrypi:~ $ evcc vehicle
pi@raspberrypi:~ $ evcc meter
pv
--
Power: 1746W

battery
-------
Power: -0W
SoC:   0%

charge
------
Power:  1446W
Energy: 187.7kWh

grid
----
Power: 44W

pi@raspberrypi:~ $ 

Fahrzeug ist nicht konfiguiert

pi@raspberrypi:~ $ evcc --log debug
[main  ] INFO 2021/11/09 10:29:44 evcc  ()
[main  ] INFO 2021/11/09 10:29:44 using config file /etc/evcc.yaml
[main  ] INFO 2021/11/09 10:29:44 listening at 0.0.0.0:7070
[cache ] DEBUG 2021/11/09 10:29:44 sponsor: secuder
[cache ] DEBUG 2021/11/09 10:29:44 title: cFos
[cache ] DEBUG 2021/11/09 10:29:44 minCurrent: 6
[cache ] DEBUG 2021/11/09 10:29:44 maxCurrent: 16
[cache ] DEBUG 2021/11/09 10:29:44 phases: 3
[cache ] DEBUG 2021/11/09 10:29:44 activePhases: 3
[cache ] DEBUG 2021/11/09 10:29:44 hasVehicle: false
[cache ] DEBUG 2021/11/09 10:29:44 mode: pv
[cache ] DEBUG 2021/11/09 10:29:44 targetSoC: 100
[cache ] DEBUG 2021/11/09 10:29:44 minSoC: 0
[site  ] INFO 2021/11/09 10:29:44 site config:
[site  ] INFO 2021/11/09 10:29:44   meters:    grid ✓ pv ✓ battery ✓
[cache ] DEBUG 2021/11/09 10:29:44 siteTitle: Haus
[site  ] INFO 2021/11/09 10:29:44     grid:    power ✓ energy ✗ currents ✗
[site  ] INFO 2021/11/09 10:29:44     pv 0:    power ✓ energy ✗ currents ✗
[site  ] INFO 2021/11/09 10:29:44     battery 0: power ✓ energy ✗ currents ✗ soc ✓
[cache ] DEBUG 2021/11/09 10:29:44 gridConfigured: true
[cache ] DEBUG 2021/11/09 10:29:44 pvConfigured: true
[cache ] DEBUG 2021/11/09 10:29:44 batteryConfigured: true
[lp-1  ] INFO 2021/11/09 10:29:44 loadpoint 1:
[lp-1  ] INFO 2021/11/09 10:29:44   mode:      pv
[lp-1  ] INFO 2021/11/09 10:29:44   charger:   power ✗ energy ✗ currents ✗ timer ✗
[lp-1  ] INFO 2021/11/09 10:29:44   meters:    charge ✓
[lp-1  ] INFO 2021/11/09 10:29:44     charge:  power ✓ energy ✓ currents ✗
[lp-1  ] INFO 2021/11/09 10:29:44   vehicles:  ✗
[cache ] DEBUG 2021/11/09 10:29:44 prioritySoC: 20
[site  ] DEBUG 2021/11/09 10:29:44 ----
[cache ] DEBUG 2021/11/09 10:29:44 chargeConfigured: true
[server] FATAL 2021/11/09 10:29:44 remove /tmp/evcc: operation not permitted
pi@raspberrypi:~ $ 

@premultiply
Copy link
Member

sudo systemctl stop evcc.service
sudo rm /tmp/evcc
evcc --log debug

@secuder
Copy link

secuder commented Nov 9, 2021

 pi@raspberrypi:~ $ evcc --log debug
[main  ] INFO 2021/11/09 10:38:04 evcc  ()
[main  ] INFO 2021/11/09 10:38:04 using config file /etc/evcc.yaml
[main  ] INFO 2021/11/09 10:38:04 listening at 0.0.0.0:7070
[cache ] DEBUG 2021/11/09 10:38:04 sponsor: secuder
[cache ] DEBUG 2021/11/09 10:38:04 title: cFos
[cache ] DEBUG 2021/11/09 10:38:04 minCurrent: 6
[cache ] DEBUG 2021/11/09 10:38:04 maxCurrent: 16
[cache ] DEBUG 2021/11/09 10:38:04 phases: 3
[cache ] DEBUG 2021/11/09 10:38:04 activePhases: 3
[cache ] DEBUG 2021/11/09 10:38:04 hasVehicle: false
[cache ] DEBUG 2021/11/09 10:38:04 mode: pv
[cache ] DEBUG 2021/11/09 10:38:04 targetSoC: 100
[cache ] DEBUG 2021/11/09 10:38:04 minSoC: 0
[site  ] INFO 2021/11/09 10:38:05 site config:
[site  ] INFO 2021/11/09 10:38:05   meters:    grid ✓ pv ✓ battery ✓
[site  ] INFO 2021/11/09 10:38:05     grid:    power ✓ energy ✗ currents ✗
[site  ] INFO 2021/11/09 10:38:05     pv 0:    power ✓ energy ✗ currents ✗
[cache ] DEBUG 2021/11/09 10:38:05 siteTitle: Haus
[cache ] DEBUG 2021/11/09 10:38:05 gridConfigured: true
[cache ] DEBUG 2021/11/09 10:38:05 pvConfigured: true
[site  ] INFO 2021/11/09 10:38:05     battery 0: power ✓ energy ✗ currents ✗ soc ✓
[cache ] DEBUG 2021/11/09 10:38:05 batteryConfigured: true
[cache ] DEBUG 2021/11/09 10:38:05 prioritySoC: 20
[lp-1  ] INFO 2021/11/09 10:38:05 loadpoint 1:
[lp-1  ] INFO 2021/11/09 10:38:05   mode:      pv
[lp-1  ] INFO 2021/11/09 10:38:05   charger:   power ✗ energy ✗ currents ✗ timer ✗
[lp-1  ] INFO 2021/11/09 10:38:05   meters:    charge ✓
[lp-1  ] INFO 2021/11/09 10:38:05     charge:  power ✓ energy ✓ currents ✗
[lp-1  ] INFO 2021/11/09 10:38:05   vehicles:  ✗
[site  ] DEBUG 2021/11/09 10:38:05 ----
[cache ] DEBUG 2021/11/09 10:38:05 chargeConfigured: true
[site  ] DEBUG 2021/11/09 10:38:05 pv power: 2072W
[cache ] DEBUG 2021/11/09 10:38:05 pvPower: 2072
[site  ] DEBUG 2021/11/09 10:38:05 grid power: -4W
[cache ] DEBUG 2021/11/09 10:38:05 gridPower: -4
[site  ] DEBUG 2021/11/09 10:38:05 battery power: -276W
[cache ] DEBUG 2021/11/09 10:38:05 batteryPower: -276
[site  ] DEBUG 2021/11/09 10:38:05 battery soc 0: 0%
[site  ] DEBUG 2021/11/09 10:38:05 giving priority to battery charging at soc: 0
[site  ] DEBUG 2021/11/09 10:38:05 site power: -4W
[cache ] DEBUG 2021/11/09 10:38:05 batterySoC: 0
[cache ] DEBUG 2021/11/09 10:38:05 mode: pv
[lp-1  ] DEBUG 2021/11/09 10:38:05 charge power: 1439W
[cache ] DEBUG 2021/11/09 10:38:05 chargePower: 1439
[cache ] DEBUG 2021/11/09 10:38:05 chargeCurrent: 0
[cache ] DEBUG 2021/11/09 10:38:05 chargedEnergy: 0
[cache ] DEBUG 2021/11/09 10:38:05 chargeDuration: 0s
[lp-1  ] DEBUG 2021/11/09 10:38:05 charger status: A
[cache ] DEBUG 2021/11/09 10:38:05 connectedDuration: 0s
[cache ] DEBUG 2021/11/09 10:38:05 chargeCurrent: 0
[cache ] DEBUG 2021/11/09 10:38:05 connected: false
[cache ] DEBUG 2021/11/09 10:38:05 charging: false
[cache ] DEBUG 2021/11/09 10:38:05 enabled: false
[lp-1  ] DEBUG 2021/11/09 10:38:05 charge power: 1439W
[cache ] DEBUG 2021/11/09 10:38:05 homePower: 353
[cache ] DEBUG 2021/11/09 10:38:05 chargePower: 1439
[site  ] DEBUG 2021/11/09 10:38:10 ----
[site  ] DEBUG 2021/11/09 10:38:10 pv power: 2068W
[cache ] DEBUG 2021/11/09 10:38:10 pvPower: 2068
[site  ] DEBUG 2021/11/09 10:38:10 grid power: 6W
[cache ] DEBUG 2021/11/09 10:38:10 gridPower: 6
[site  ] DEBUG 2021/11/09 10:38:10 battery power: -276W
[cache ] DEBUG 2021/11/09 10:38:10 batteryPower: -276
[site  ] DEBUG 2021/11/09 10:38:10 battery soc 0: 0%
[site  ] DEBUG 2021/11/09 10:38:10 giving priority to battery charging at soc: 0
[site  ] DEBUG 2021/11/09 10:38:10 site power: 6W
[cache ] DEBUG 2021/11/09 10:38:10 batterySoC: 0
[cache ] DEBUG 2021/11/09 10:38:10 mode: pv
[lp-1  ] DEBUG 2021/11/09 10:38:10 charge power: 1444W
[cache ] DEBUG 2021/11/09 10:38:10 chargePower: 1444
[cache ] DEBUG 2021/11/09 10:38:10 chargeCurrent: 0
[cache ] DEBUG 2021/11/09 10:38:10 chargedEnergy: 0
[cache ] DEBUG 2021/11/09 10:38:10 chargeDuration: 0s
[lp-1  ] DEBUG 2021/11/09 10:38:10 charger status: A
[cache ] DEBUG 2021/11/09 10:38:10 connected: false
[cache ] DEBUG 2021/11/09 10:38:10 charging: false
[cache ] DEBUG 2021/11/09 10:38:10 enabled: false
[lp-1  ] DEBUG 2021/11/09 10:38:10 charge power: 1444W
[cache ] DEBUG 2021/11/09 10:38:10 homePower: 354
[cache ] DEBUG 2021/11/09 10:38:10 chargePower: 1444
[site  ] DEBUG 2021/11/09 10:38:15 ----
[site  ] DEBUG 2021/11/09 10:38:15 pv power: 2063W
[cache ] DEBUG 2021/11/09 10:38:15 pvPower: 2063
[site  ] DEBUG 2021/11/09 10:38:15 grid power: 2W
[cache ] DEBUG 2021/11/09 10:38:15 gridPower: 2
[site  ] DEBUG 2021/11/09 10:38:15 battery power: -279W
[cache ] DEBUG 2021/11/09 10:38:15 batteryPower: -279
[site  ] DEBUG 2021/11/09 10:38:15 battery soc 0: 0%
[site  ] DEBUG 2021/11/09 10:38:15 giving priority to battery charging at soc: 0
[site  ] DEBUG 2021/11/09 10:38:15 site power: 2W
[cache ] DEBUG 2021/11/09 10:38:15 batterySoC: 0
[cache ] DEBUG 2021/11/09 10:38:15 mode: pv
[lp-1  ] DEBUG 2021/11/09 10:38:15 charge power: 1442W
[cache ] DEBUG 2021/11/09 10:38:15 chargePower: 1442
[cache ] DEBUG 2021/11/09 10:38:15 chargeCurrent: 0
[cache ] DEBUG 2021/11/09 10:38:15 chargedEnergy: 0
[cache ] DEBUG 2021/11/09 10:38:15 chargeDuration: 0s
[lp-1  ] DEBUG 2021/11/09 10:38:15 charger status: A
[cache ] DEBUG 2021/11/09 10:38:15 connected: false
[cache ] DEBUG 2021/11/09 10:38:15 charging: false
[cache ] DEBUG 2021/11/09 10:38:15 enabled: false
[lp-1  ] DEBUG 2021/11/09 10:38:15 charge power: 1442W
[cache ] DEBUG 2021/11/09 10:38:15 homePower: 344
[cache ] DEBUG 2021/11/09 10:38:15 chargePower: 1442
[site  ] DEBUG 2021/11/09 10:38:20 ----
[site  ] DEBUG 2021/11/09 10:38:20 pv power: 2065W
[cache ] DEBUG 2021/11/09 10:38:20 pvPower: 2065
[site  ] DEBUG 2021/11/09 10:38:20 grid power: 8W
[cache ] DEBUG 2021/11/09 10:38:20 gridPower: 8
[site  ] DEBUG 2021/11/09 10:38:20 battery power: -273W
[cache ] DEBUG 2021/11/09 10:38:20 batteryPower: -273
[site  ] DEBUG 2021/11/09 10:38:20 battery soc 0: 0%
[site  ] DEBUG 2021/11/09 10:38:20 giving priority to battery charging at soc: 0
[site  ] DEBUG 2021/11/09 10:38:20 site power: 8W
[cache ] DEBUG 2021/11/09 10:38:20 batterySoC: 0
[cache ] DEBUG 2021/11/09 10:38:20 mode: pv
[lp-1  ] DEBUG 2021/11/09 10:38:20 charge power: 1441W
[cache ] DEBUG 2021/11/09 10:38:20 chargePower: 1441
[cache ] DEBUG 2021/11/09 10:38:20 chargeCurrent: 0
[cache ] DEBUG 2021/11/09 10:38:20 chargedEnergy: 0
[cache ] DEBUG 2021/11/09 10:38:20 chargeDuration: 0s
[lp-1  ] DEBUG 2021/11/09 10:38:20 charger status: A
[cache ] DEBUG 2021/11/09 10:38:20 connected: false
[cache ] DEBUG 2021/11/09 10:38:20 charging: false
[cache ] DEBUG 2021/11/09 10:38:20 enabled: false
[lp-1  ] DEBUG 2021/11/09 10:38:20 charge power: 1441W
[cache ] DEBUG 2021/11/09 10:38:20 homePower: 359
[cache ] DEBUG 2021/11/09 10:38:20 chargePower: 1441
^Cpi@raspberrypi:~ $ ^C

Fahrzeug ist angeschlossen und laedt, evcc scheint mir nicht zu erkennen, dass das Auto dranhaengt

@premultiply
Copy link
Member

Dann mal bitte noch ein evcc --log trace.

@secuder
Copy link

secuder commented Nov 9, 2021

pi@raspberrypi:~ $ evcc --log trace
[main  ] INFO 2021/11/09 11:10:49 evcc  ()
[main  ] INFO 2021/11/09 11:10:49 using config file /etc/evcc.yaml
[main  ] INFO 2021/11/09 11:10:49 listening at 0.0.0.0:7070
[cache ] DEBUG 2021/11/09 11:10:50 sponsor: secuder
[cache ] DEBUG 2021/11/09 11:10:50 title: cFos
[cache ] DEBUG 2021/11/09 11:10:50 minCurrent: 6
[influx] TRACE 2021/11/09 11:10:50 write minCurrent=6 (map[loadpoint:cFos vehicle:])
[cache ] DEBUG 2021/11/09 11:10:50 maxCurrent: 16
[cache ] DEBUG 2021/11/09 11:10:50 phases: 3
[influx] TRACE 2021/11/09 11:10:50 write maxCurrent=16 (map[loadpoint:cFos vehicle:])
[influx] TRACE 2021/11/09 11:10:50 write phases=3 (map[loadpoint:cFos vehicle:])
[influx] TRACE 2021/11/09 11:10:50 write activePhases=3 (map[loadpoint:cFos vehicle:])
[cache ] DEBUG 2021/11/09 11:10:50 activePhases: 3
[cache ] DEBUG 2021/11/09 11:10:50 hasVehicle: false
[cache ] DEBUG 2021/11/09 11:10:50 mode: pv
[cache ] DEBUG 2021/11/09 11:10:50 targetSoC: 100
[influx] TRACE 2021/11/09 11:10:50 write targetSoC=100 (map[loadpoint:cFos vehicle:])
[cache ] DEBUG 2021/11/09 11:10:50 minSoC: 0
[influx] TRACE 2021/11/09 11:10:50 write minSoC=0 (map[loadpoint:cFos vehicle:])
[cfos  ] TRACE 2021/11/09 11:10:50 modbus: send 00 01 00 00 00 06 01 03 1f 9e 00 01
[cfos  ] TRACE 2021/11/09 11:10:50 modbus: recv 00 01 00 00 00 05 01 03 02 00 01
[site  ] INFO 2021/11/09 11:10:50 site config:
[cache ] DEBUG 2021/11/09 11:10:50 siteTitle: Haus
[site  ] INFO 2021/11/09 11:10:50   meters:    grid ✓ pv ✓ battery ✓
[site  ] INFO 2021/11/09 11:10:50     grid:    power ✓ energy ✗ currents ✗
[site  ] INFO 2021/11/09 11:10:50     pv 0:    power ✓ energy ✗ currents ✗
[cache ] DEBUG 2021/11/09 11:10:50 gridConfigured: true
[site  ] INFO 2021/11/09 11:10:50     battery 0: power ✓ energy ✗ currents ✗ soc ✓
[cache ] DEBUG 2021/11/09 11:10:50 pvConfigured: true
[cache ] DEBUG 2021/11/09 11:10:50 batteryConfigured: true
[lp-1  ] INFO 2021/11/09 11:10:50 loadpoint 1:
[influx] TRACE 2021/11/09 11:10:50 write prioritySoC=20 (map[])
[cache ] DEBUG 2021/11/09 11:10:50 prioritySoC: 20
[lp-1  ] INFO 2021/11/09 11:10:50   mode:      pv
[lp-1  ] INFO 2021/11/09 11:10:50   charger:   power ✗ energy ✗ currents ✗ timer ✗
[lp-1  ] INFO 2021/11/09 11:10:50   meters:    charge ✓
[lp-1  ] INFO 2021/11/09 11:10:50     charge:  power ✓ energy ✓ currents ✗
[lp-1  ] INFO 2021/11/09 11:10:50   vehicles:  ✗
[cache ] DEBUG 2021/11/09 11:10:50 chargeConfigured: true
[site  ] DEBUG 2021/11/09 11:10:50 ----
[modbus] TRACE 2021/11/09 11:10:50 modbus: send 00 01 00 00 00 06 01 03 9c 83 00 02
[modbus] TRACE 2021/11/09 11:10:50 modbus: recv 00 01 00 00 00 07 01 03 04 09 62 00 00
[site  ] DEBUG 2021/11/09 11:10:50 pv power: 2402W
[modbus] TRACE 2021/11/09 11:10:50 modbus: send 00 02 00 00 00 06 01 03 9c 89 00 02
[cache ] DEBUG 2021/11/09 11:10:50 pvPower: 2402
[influx] TRACE 2021/11/09 11:10:50 write pvPower=2402 (map[])
[modbus] TRACE 2021/11/09 11:10:50 modbus: recv 00 02 00 00 00 07 01 03 04 00 15 00 00
[site  ] DEBUG 2021/11/09 11:10:50 grid power: 21W
[cache ] DEBUG 2021/11/09 11:10:50 gridPower: 21
[influx] TRACE 2021/11/09 11:10:50 write gridPower=21 (map[])
[modbus] TRACE 2021/11/09 11:10:50 modbus: send 00 03 00 00 00 06 01 03 9c 85 00 02
[modbus] TRACE 2021/11/09 11:10:50 modbus: recv 00 03 00 00 00 07 01 03 04 01 ec 00 00
[site  ] DEBUG 2021/11/09 11:10:50 battery power: -492W
[modbus] TRACE 2021/11/09 11:10:50 modbus: send 00 04 00 00 00 06 01 03 9c 92 00 01
[cache ] DEBUG 2021/11/09 11:10:50 batteryPower: -492
[influx] TRACE 2021/11/09 11:10:50 write batteryPower=-492 (map[])
[modbus] TRACE 2021/11/09 11:10:50 modbus: recv 00 04 00 00 00 05 01 03 02 00 01
[site  ] DEBUG 2021/11/09 11:10:50 battery soc 0: 1%
[site  ] DEBUG 2021/11/09 11:10:50 giving priority to battery charging at soc: 1
[site  ] DEBUG 2021/11/09 11:10:50 site power: 21W
[cache ] DEBUG 2021/11/09 11:10:50 batterySoC: 1
[cache ] DEBUG 2021/11/09 11:10:50 mode: pv
[influx] TRACE 2021/11/09 11:10:50 write batterySoC=1 (map[])
[modbus] TRACE 2021/11/09 11:10:50 modbus: send 00 01 00 00 00 06 02 03 1f 7e 00 02
[modbus] TRACE 2021/11/09 11:10:50 modbus: recv 00 01 00 00 00 07 02 03 04 00 00 05 a4
[lp-1  ] DEBUG 2021/11/09 11:10:50 charge power: 1444W
[cache ] DEBUG 2021/11/09 11:10:50 chargePower: 1444
[cache ] DEBUG 2021/11/09 11:10:50 chargeCurrent: 0
[cache ] DEBUG 2021/11/09 11:10:50 chargedEnergy: 0
[cfos  ] TRACE 2021/11/09 11:10:50 modbus: send 00 02 00 00 00 06 01 03 1f 9c 00 01
[influx] TRACE 2021/11/09 11:10:50 write chargePower=1444 (map[loadpoint:cFos vehicle:])
[influx] TRACE 2021/11/09 11:10:50 write chargeCurrent=0 (map[loadpoint:cFos vehicle:])
[influx] TRACE 2021/11/09 11:10:50 write chargedEnergy=0 (map[loadpoint:cFos vehicle:])
[cache ] DEBUG 2021/11/09 11:10:50 chargeDuration: 0s
[cfos  ] TRACE 2021/11/09 11:10:50 modbus: recv 00 02 00 00 00 05 01 03 02 00 02
[lp-1  ] DEBUG 2021/11/09 11:10:50 charger status: A
[cache ] DEBUG 2021/11/09 11:10:50 connectedDuration: 0s
[cache ] DEBUG 2021/11/09 11:10:50 chargeCurrent: 0
[cache ] DEBUG 2021/11/09 11:10:50 connected: false
[influx] TRACE 2021/11/09 11:10:50 write chargeCurrent=0 (map[loadpoint:cFos vehicle:])
[cache ] DEBUG 2021/11/09 11:10:50 charging: false
[cfos  ] TRACE 2021/11/09 11:10:50 modbus: send 00 03 00 00 00 06 01 03 1f 9e 00 01
[cache ] DEBUG 2021/11/09 11:10:50 enabled: false
[cfos  ] TRACE 2021/11/09 11:10:50 modbus: recv 00 03 00 00 00 05 01 03 02 00 01
[modbus] TRACE 2021/11/09 11:10:50 modbus: send 00 02 00 00 00 06 02 03 1f 7e 00 02
[modbus] TRACE 2021/11/09 11:10:50 modbus: recv 00 02 00 00 00 07 02 03 04 00 00 05 a8
[lp-1  ] DEBUG 2021/11/09 11:10:50 charge power: 1448W
[cache ] DEBUG 2021/11/09 11:10:50 homePower: 483
[cache ] DEBUG 2021/11/09 11:10:50 chargePower: 1448
[influx] TRACE 2021/11/09 11:10:50 write homePower=483 (map[])
[influx] TRACE 2021/11/09 11:10:50 write chargePower=1448 (map[loadpoint:cFos vehicle:])
[site  ] DEBUG 2021/11/09 11:10:55 ----
[modbus] TRACE 2021/11/09 11:10:55 modbus: send 00 05 00 00 00 06 01 03 9c 83 00 02
[modbus] TRACE 2021/11/09 11:10:55 modbus: recv 00 05 00 00 00 07 01 03 04 09 5a 00 00
[site  ] DEBUG 2021/11/09 11:10:55 pv power: 2394W
[modbus] TRACE 2021/11/09 11:10:55 modbus: send 00 06 00 00 00 06 01 03 9c 89 00 02
[influx] TRACE 2021/11/09 11:10:55 write pvPower=2394 (map[])
[cache ] DEBUG 2021/11/09 11:10:55 pvPower: 2394
[modbus] TRACE 2021/11/09 11:10:55 modbus: recv 00 06 00 00 00 07 01 03 04 00 02 00 00
[site  ] DEBUG 2021/11/09 11:10:55 grid power: 2W
[modbus] TRACE 2021/11/09 11:10:55 modbus: send 00 07 00 00 00 06 01 03 9c 85 00 02
[cache ] DEBUG 2021/11/09 11:10:55 gridPower: 2
[influx] TRACE 2021/11/09 11:10:55 write gridPower=2 (map[])
[modbus] TRACE 2021/11/09 11:10:55 modbus: recv 00 07 00 00 00 07 01 03 04 01 e9 00 00
[site  ] DEBUG 2021/11/09 11:10:55 battery power: -489W
[modbus] TRACE 2021/11/09 11:10:55 modbus: send 00 08 00 00 00 06 01 03 9c 92 00 01
[cache ] DEBUG 2021/11/09 11:10:55 batteryPower: -489
[influx] TRACE 2021/11/09 11:10:55 write batteryPower=-489 (map[])
[modbus] TRACE 2021/11/09 11:10:55 modbus: recv 00 08 00 00 00 05 01 03 02 00 01
[site  ] DEBUG 2021/11/09 11:10:55 battery soc 0: 1%
[site  ] DEBUG 2021/11/09 11:10:55 giving priority to battery charging at soc: 1
[cache ] DEBUG 2021/11/09 11:10:55 batterySoC: 1
[influx] TRACE 2021/11/09 11:10:55 write batterySoC=1 (map[])
[site  ] DEBUG 2021/11/09 11:10:55 site power: 2W
[modbus] TRACE 2021/11/09 11:10:55 modbus: send 00 03 00 00 00 06 02 03 1f 7e 00 02
[cache ] DEBUG 2021/11/09 11:10:55 mode: pv
[modbus] TRACE 2021/11/09 11:10:55 modbus: recv 00 03 00 00 00 07 02 03 04 00 00 05 a3
[lp-1  ] DEBUG 2021/11/09 11:10:55 charge power: 1443W
[cache ] DEBUG 2021/11/09 11:10:55 chargePower: 1443
[cache ] DEBUG 2021/11/09 11:10:55 chargeCurrent: 0
[cache ] DEBUG 2021/11/09 11:10:55 chargedEnergy: 0
[influx] TRACE 2021/11/09 11:10:55 write chargePower=1443 (map[loadpoint:cFos vehicle:])
[cache ] DEBUG 2021/11/09 11:10:55 chargeDuration: 0s
[influx] TRACE 2021/11/09 11:10:55 write chargeCurrent=0 (map[loadpoint:cFos vehicle:])
[cfos  ] TRACE 2021/11/09 11:10:55 modbus: send 00 04 00 00 00 06 01 03 1f 9c 00 01
[cfos  ] TRACE 2021/11/09 11:10:55 modbus: recv 00 04 00 00 00 05 01 03 02 00 02
[lp-1  ] DEBUG 2021/11/09 11:10:55 charger status: A
[cache ] DEBUG 2021/11/09 11:10:55 connected: false
[cfos  ] TRACE 2021/11/09 11:10:55 modbus: send 00 05 00 00 00 06 01 03 1f 9e 00 01
[cache ] DEBUG 2021/11/09 11:10:55 charging: false
[cache ] DEBUG 2021/11/09 11:10:55 enabled: false
[cfos  ] TRACE 2021/11/09 11:10:55 modbus: recv 00 05 00 00 00 05 01 03 02 00 01
[modbus] TRACE 2021/11/09 11:10:55 modbus: send 00 04 00 00 00 06 02 03 1f 7e 00 02
[modbus] TRACE 2021/11/09 11:10:55 modbus: recv 00 04 00 00 00 07 02 03 04 00 00 05 a5
[lp-1  ] DEBUG 2021/11/09 11:10:55 charge power: 1445W
[cache ] DEBUG 2021/11/09 11:10:55 homePower: 462
[cache ] DEBUG 2021/11/09 11:10:55 chargePower: 1445
[influx] TRACE 2021/11/09 11:10:55 write homePower=462 (map[])
[influx] TRACE 2021/11/09 11:10:55 write chargePower=1445 (map[loadpoint:cFos vehicle:])
[site  ] DEBUG 2021/11/09 11:11:00 ----
[modbus] TRACE 2021/11/09 11:11:00 modbus: send 00 09 00 00 00 06 01 03 9c 83 00 02
[modbus] TRACE 2021/11/09 11:11:00 modbus: recv 00 09 00 00 00 07 01 03 04 09 58 00 00
[site  ] DEBUG 2021/11/09 11:11:00 pv power: 2392W
[cache ] DEBUG 2021/11/09 11:11:00 pvPower: 2392
[influx] TRACE 2021/11/09 11:11:00 write pvPower=2392 (map[])
[modbus] TRACE 2021/11/09 11:11:00 modbus: send 00 0a 00 00 00 06 01 03 9c 89 00 02
[modbus] TRACE 2021/11/09 11:11:00 modbus: recv 00 0a 00 00 00 07 01 03 04 ff ee ff ff
[site  ] DEBUG 2021/11/09 11:11:00 grid power: -18W
[modbus] TRACE 2021/11/09 11:11:00 modbus: send 00 0b 00 00 00 06 01 03 9c 85 00 02
[cache ] DEBUG 2021/11/09 11:11:00 gridPower: -18
[influx] TRACE 2021/11/09 11:11:00 write gridPower=-18 (map[])
[modbus] TRACE 2021/11/09 11:11:00 modbus: recv 00 0b 00 00 00 07 01 03 04 01 ec 00 00
[site  ] DEBUG 2021/11/09 11:11:00 battery power: -492W
[modbus] TRACE 2021/11/09 11:11:00 modbus: send 00 0c 00 00 00 06 01 03 9c 92 00 01
[cache ] DEBUG 2021/11/09 11:11:00 batteryPower: -492
[influx] TRACE 2021/11/09 11:11:00 write batteryPower=-492 (map[])
[modbus] TRACE 2021/11/09 11:11:00 modbus: recv 00 0c 00 00 00 05 01 03 02 00 01
[site  ] DEBUG 2021/11/09 11:11:00 battery soc 0: 1%
[site  ] DEBUG 2021/11/09 11:11:00 giving priority to battery charging at soc: 1
[site  ] DEBUG 2021/11/09 11:11:00 site power: -18W
[modbus] TRACE 2021/11/09 11:11:00 modbus: send 00 05 00 00 00 06 02 03 1f 7e 00 02
[cache ] DEBUG 2021/11/09 11:11:00 batterySoC: 1
[influx] TRACE 2021/11/09 11:11:00 write batterySoC=1 (map[])
[cache ] DEBUG 2021/11/09 11:11:00 mode: pv
[modbus] TRACE 2021/11/09 11:11:00 modbus: recv 00 05 00 00 00 07 02 03 04 00 00 05 a9
[lp-1  ] DEBUG 2021/11/09 11:11:00 charge power: 1449W
[cache ] DEBUG 2021/11/09 11:11:00 chargePower: 1449
[cache ] DEBUG 2021/11/09 11:11:00 chargeCurrent: 0
[cache ] DEBUG 2021/11/09 11:11:00 chargedEnergy: 0
[influx] TRACE 2021/11/09 11:11:00 write chargePower=1449 (map[loadpoint:cFos vehicle:])
[cfos  ] TRACE 2021/11/09 11:11:00 modbus: send 00 06 00 00 00 06 01 03 1f 9c 00 01
[cache ] DEBUG 2021/11/09 11:11:00 chargeDuration: 0s
[influx] TRACE 2021/11/09 11:11:00 write chargeCurrent=0 (map[loadpoint:cFos vehicle:])
[cfos  ] TRACE 2021/11/09 11:11:00 modbus: recv 00 06 00 00 00 05 01 03 02 00 02
[lp-1  ] DEBUG 2021/11/09 11:11:00 charger status: A
[cfos  ] TRACE 2021/11/09 11:11:00 modbus: send 00 07 00 00 00 06 01 03 1f 9e 00 01
[cache ] DEBUG 2021/11/09 11:11:00 connected: false
[cache ] DEBUG 2021/11/09 11:11:00 charging: false
[cache ] DEBUG 2021/11/09 11:11:00 enabled: false
[cfos  ] TRACE 2021/11/09 11:11:00 modbus: recv 00 07 00 00 00 05 01 03 02 00 01
[modbus] TRACE 2021/11/09 11:11:00 modbus: send 00 06 00 00 00 06 02 03 1f 7e 00 02
[modbus] TRACE 2021/11/09 11:11:00 modbus: recv 00 06 00 00 00 07 02 03 04 00 00 05 a5
[lp-1  ] DEBUG 2021/11/09 11:11:00 charge power: 1445W
[influx] TRACE 2021/11/09 11:11:00 write homePower=437 (map[])
[cache ] DEBUG 2021/11/09 11:11:00 homePower: 437
[influx] TRACE 2021/11/09 11:11:00 write chargePower=1445 (map[loadpoint:cFos vehicle:])
[cache ] DEBUG 2021/11/09 11:11:00 chargePower: 1445
^Cpi@raspberrypi:~ $ 

premultiply added a commit that referenced this pull request Nov 9, 2021
Should hopefully fix #1809
@premultiply premultiply mentioned this pull request Nov 9, 2021
andig pushed a commit that referenced this pull request Nov 10, 2021
dontbyte pushed a commit to dontbyte/evcc that referenced this pull request Aug 2, 2022
Co-authored-by: premultiply <ulrich.peters@posteo.de>
dontbyte pushed a commit to dontbyte/evcc that referenced this pull request Aug 2, 2022
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

Successfully merging this pull request may close these issues.

3 participants