[gelöst] openWB Anfängerfrage

OpenWB4711
Beiträge: 46
Registriert: Fr Apr 08, 2022 1:43 pm

[gelöst] openWB Anfängerfrage

Beitrag von OpenWB4711 »

Hallo Forum,

seit gestern läuft openWB (1.9.263) auf einem Raspberry Pi3 B.
Im Zusammenspiel mit einem go-e Charger (V3 mit Firmware 053.1, 3-Phasig angeschlossen, in der App auf 1-phasig eingestellt), einem Powerfox Poweropti (Firmware 2.01.24) und einer PV-Anlage SMA Sunny Boy 4000TL-21 (5,1 kWp) möchte ich den PV Überschuss (möglichst wenig / ohne Netzbezug) in einem Opel Corsa-e nutzen. Aber soweit ich die Web UI verstehe, habe ich Netzbezug.
openWB.jpg
Status.jpg
Bei den Einstellungen fühle ich mich (noch) überfordert und bin mir ziemlich sicher / ich vermute, das ich hier etwas falsches konfiguriert habe. :cry:
Ich habe mit try & error einiges ausprobiert, habe div. Info's gefunden und trete trotzdem auf der Stelle ...
Die Einstellungen zum Powerfox habe ich mehrfach kontrolliert, trotzdem ist im Status nix zu sehen.

Ich hoffe, dass ich hier im richtigen Bereich bin und mir jemand auf die Sprünge hilft
und sagt, an welchen Schrauben ich drehen muss, Danke.
Zuletzt geändert von OpenWB4711 am Mi Apr 13, 2022 6:54 am, insgesamt 1-mal geändert.
philipp123
Beiträge: 1032
Registriert: Mi Jul 21, 2021 3:00 pm

Re: openWB Anfängerfrage

Beitrag von philipp123 »

Mit der Konfiguration deines Poweroptis stimmt etwas nicht. Ein EVU-Wert von 0 ist eher unwahrscheinlich. Deswegen dreht die Box auch auf 16A, da du nie in Bezug kommst. In der Powerfox App siehst du die richtigen Daten?
LP1: openWB series2 custom mit Phasenumschaltung
LP2: go-e V2
Kostal Plenticore Plus
e-up BJ 2021, SOC mit OVMS
EQB 250 BJ 2023, SOC mit Mercedes ME über Home Assistant
EVU mit Tasmato-Lesekopf auf SmartMeter
9 x Smarthome mit Shellys
OpenWB4711
Beiträge: 46
Registriert: Fr Apr 08, 2022 1:43 pm

Re: openWB Anfängerfrage

Beitrag von OpenWB4711 »

philipp123 hat geschrieben: Mo Apr 11, 2022 5:47 pm In der Powerfox App siehst du die richtigen Daten?
Ja ... dazu habe ich vor 2min hier gepostet ...
viewtopic.php?f=5&t=5187&p=63029#p63029
philipp123
Beiträge: 1032
Registriert: Mi Jul 21, 2021 3:00 pm

Re: openWB Anfängerfrage

Beitrag von philipp123 »

Bitte keine Doppelposts. Das nervt sonst ziemlich... Dein Raspberry kommt aber ins Netz raus, ist nicht irgendwie in der Firewall gesperrt oder so?

Ich nutze den Powerfox und bei mir funktioniert er.
Zuletzt geändert von philipp123 am Mo Apr 11, 2022 6:33 pm, insgesamt 1-mal geändert.
LP1: openWB series2 custom mit Phasenumschaltung
LP2: go-e V2
Kostal Plenticore Plus
e-up BJ 2021, SOC mit OVMS
EQB 250 BJ 2023, SOC mit Mercedes ME über Home Assistant
EVU mit Tasmato-Lesekopf auf SmartMeter
9 x Smarthome mit Shellys
derNeueDet
Beiträge: 4232
Registriert: Mi Nov 11, 2020 7:16 pm

Re: openWB Anfängerfrage

Beitrag von derNeueDet »

Es bringt nichts, das jetzt in einem 2. Beitrag weiter zu machen.

Debug Level auf 2 und dann einen Ausschnitt aus den Debug Log hier in einem Code Block einstellen.

VG
Det
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 250 (07/2023)
OpenWB4711
Beiträge: 46
Registriert: Fr Apr 08, 2022 1:43 pm

Re: openWB Anfängerfrage

Beitrag von OpenWB4711 »

philipp123 hat geschrieben: Mo Apr 11, 2022 6:31 pm Bitte keine Doppelposts. Das nervt sonst ziemlich...
... der 2te Post war pure Verzweiflung, sorry ...
... Der Pi läßt sich updaten und so, in der Fritz-Box ist er nicht gesperrt
philipp123
Beiträge: 1032
Registriert: Mi Jul 21, 2021 3:00 pm

Re: openWB Anfängerfrage

Beitrag von philipp123 »

Dann wie Det geschrieben hat:
Debug Level auf 2 und dann einen Ausschnitt aus den Debug Log hier in einem Code Block einstellen.
LP1: openWB series2 custom mit Phasenumschaltung
LP2: go-e V2
Kostal Plenticore Plus
e-up BJ 2021, SOC mit OVMS
EQB 250 BJ 2023, SOC mit Mercedes ME über Home Assistant
EVU mit Tasmato-Lesekopf auf SmartMeter
9 x Smarthome mit Shellys
OpenWB4711
Beiträge: 46
Registriert: Fr Apr 08, 2022 1:43 pm

Re: openWB Anfängerfrage

Beitrag von OpenWB4711 »

derNeueDet hat geschrieben: Mo Apr 11, 2022 6:33 pm Es bringt nichts, das jetzt in einem 2. Beitrag weiter zu machen.
... hab's verstanden ... ;)

Code: Alles auswählen

  RequestsDependencyWarning)
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version!
2022-04-11 21:05:17: PID: 30381: **** Regulation loop needs 6 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-04-11 21:05:16: PID: 30381: Zeit zum abfragen aller Werte 4 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-04-11 21:05:14: PID: 30381: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1302 loadvars loadvars.sh
2022-04-11 21:05:14: PID: 30381: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1301 loadvars loadvars.sh
2022-04-11 21:05:14: PID: 30381: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1300 loadvars loadvars.sh
2022-04-11 21:05:14: PID: 30381: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1299 loadvars loadvars.sh
2022-04-11 21:05:14: PID: 30381: lla3 0	llv3 228	llas13  llas23  soclp1 0 soclp2 (LV1) at 1298 loadvars loadvars.sh
2022-04-11 21:05:14: PID: 30381: lla2 0	llv2 229	llas12  llas22  sofortll 10 hausverbrauch 0 wattbezug 0 uberschuss 0 (LV1) at 1297 loadvars loadvars.sh
2022-04-11 21:05:14: PID: 30381: lla1 0	llv1 228	llas11  llas21  mindestuberschuss 500 abschaltuberschuss 100 lademodus 3 (LV1) at 1296 loadvars loadvars.sh
2022-04-11 21:05:14: PID: 30381: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1295 loadvars loadvars.sh
2022-04-11 21:05:14: PID: 30595: RET: 0 (LV2) at 16 main modules/bezug_powerfox/main.sh
KeyError: 'A_Minus'
einspeisungwh = int(response['A_Minus'])
File "/var/www/html/openWB/modules/bezug_powerfox/powerfox.py", line 21, in update
2022-04-11 21:05:14: PID: 1883: legacy run server: Traceback (most recent call last):
2022-04-11 21:05:14: PID: 1883: urllib3.connectionpool: https://backend.powerfox.energy:443 "GET /api/2.0/my/xxxxxxx/current HTTP/1.1" 401 72
2022-04-11 21:05:14: PID: 1883: urllib3.connectionpool: Starting new HTTPS connection (1): backend.powerfox.energy:443
2022-04-11 21:05:14: PID: 1883: PowerFox: Powerfox Passwort: xxxxxxx
2022-04-11 21:05:14: PID: 1883: PowerFox: Powerfox User: xxxxxxxx
2022-04-11 21:05:14: PID: 1883: PowerFox: Powerfox ID: xxxxxxx
2022-04-11 21:05:14: PID: 1883: legacy run server: Received command ["bezug_powerfox.powerfox","xxxxxx","xxxxxx","xxxxxx"]
2022-04-11 21:05:13: PID: 30513: RET: 0 (LV2) at 12 main modules/wr_tripower9000/main.sh
2022-04-11 21:05:13: PID: 1883: legacy run server: Completed running command in 0.29s: ["modules.sma_modbus_tcp.device","192.168.178.26","0","none","none","none","0","1"]
2022-04-11 21:05:13: PID: 1883: ValueStore: Saving InverterState(currents=[0, 0, 0], power=0, counter=27898072)
2022-04-11 21:05:13: PID: 1883: pymodbus.payload: [b'\x01\xa9', b'\xb0\xd8']
2022-04-11 21:05:13: PID: 1883: pymodbus.payload: [425, 45272]
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Getting transaction 2
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Adding transaction 2
2022-04-11 21:05:13: PID: 1883: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-04-11 21:05:13: PID: 1883: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x1 0xa9 0xb0 0xd8
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x1 0xa9 0xb0 0xd8
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-04-11 21:05:13: PID: 1883: pymodbus.client.sync: New Transaction state 'SENDING'
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x3 0x3 0x77 0x41 0x0 0x2
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Running transaction 2
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-04-11 21:05:13: PID: 1883: pymodbus.payload: [b'\x80\x00', b'\x00\x00']
2022-04-11 21:05:13: PID: 1883: pymodbus.payload: [32768, 0]
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Getting transaction 1
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Adding transaction 1
2022-04-11 21:05:13: PID: 1883: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-04-11 21:05:13: PID: 1883: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x80 0x0 0x0 0x0
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x80 0x0 0x0 0x0
2022-04-11 21:05:13: PID: 1883: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-04-11 21:05:12: PID: 1883: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-04-11 21:05:12: PID: 1883: pymodbus.client.sync: New Transaction state 'SENDING'
2022-04-11 21:05:12: PID: 1883: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x3 0x3 0x78 0x37 0x0 0x2
2022-04-11 21:05:12: PID: 1883: pymodbus.transaction: Running transaction 1
2022-04-11 21:05:12: PID: 1883: pymodbus.transaction: Current transaction state - IDLE
2022-04-11 21:05:12: PID: 1883: pymodbus.client.sync: Connection to Modbus server established. Socket ('192.168.178.68', 49675)
2022-04-11 21:05:12: PID: 1883: SMA ModbusTCP: Komponente SMA ModbusTCP Wechselrichter auslesen.
2022-04-11 21:05:12: PID: 1883: legacy run server: Received command ["modules.sma_modbus_tcp.device","192.168.178.26","0","none","none","none","0","1"]
2022-04-11 21:05:11: PID: 30381: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
  RequestsDependencyWarning)
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version!
2022-04-11 21:05:07: PID: 28899: **** Regulation loop needs 6 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-04-11 21:05:05: PID: 28899: Zeit zum abfragen aller Werte 3 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-04-11 21:05:04: PID: 28899: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1302 loadvars loadvars.sh
2022-04-11 21:05:04: PID: 28899: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1301 loadvars loadvars.sh
2022-04-11 21:05:04: PID: 28899: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1300 loadvars loadvars.sh
2022-04-11 21:05:04: PID: 28899: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1299 loadvars loadvars.sh
2022-04-11 21:05:04: PID: 28899: lla3 0	llv3 228	llas13  llas23  soclp1 0 soclp2 (LV1) at 1298 loadvars loadvars.sh
2022-04-11 21:05:04: PID: 28899: lla2 0	llv2 229	llas12  llas22  sofortll 10 hausverbrauch 0 wattbezug 0 uberschuss 0 (LV1) at 1297 loadvars loadvars.sh
2022-04-11 21:05:04: PID: 28899: lla1 0	llv1 229	llas11  llas21  mindestuberschuss 500 abschaltuberschuss 100 lademodus 3 (LV1) at 1296 loadvars loadvars.sh
2022-04-11 21:05:04: PID: 28899: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1295 loadvars loadvars.sh
2022-04-11 21:05:04: PID: 29355: RET: 0 (LV2) at 16 main modules/bezug_powerfox/main.sh
KeyError: 'A_Minus'
Hab ich den "interessanten" Bereich getroffen ?! (Zugangsdaten waren korrekt bevor ich sie durch x ersetzt habe)
philipp123
Beiträge: 1032
Registriert: Mi Jul 21, 2021 3:00 pm

Re: openWB Anfängerfrage

Beitrag von philipp123 »

Ja. Was passiert wenn du https://backend.powerfox.energy/api/2.0 ... ID/current direkt anfragst? Sollte sowas ergeben

Code: Alles auswählen

{"Outdated":false,"Watt":427.0,"Timestamp":1649705109,"A_Plus":1894511.0,"A_Minus":2863417.0}
LP1: openWB series2 custom mit Phasenumschaltung
LP2: go-e V2
Kostal Plenticore Plus
e-up BJ 2021, SOC mit OVMS
EQB 250 BJ 2023, SOC mit Mercedes ME über Home Assistant
EVU mit Tasmato-Lesekopf auf SmartMeter
9 x Smarthome mit Shellys
OpenWB4711
Beiträge: 46
Registriert: Fr Apr 08, 2022 1:43 pm

Re: openWB Anfängerfrage

Beitrag von OpenWB4711 »

... sieht ähnlich aus;

Code: Alles auswählen

{
  "Outdated": false,
  "Watt": 340.0,
  "Timestamp": 1649705913,
  "A_Plus": 9886223.0,
  "A_Minus": 21259615.0
}
Antworten