Seite 18 von 46

Re: Feedback 2.0 Alpha 3

Verfasst: Mo Jul 11, 2022 8:01 am
von rleidner
Aktuelle Alpha3:
Ich sende per NodeRed-Flow die EVU, PV und LP - Daten aus der 1.9 per MQTT in die Alpha3.
Es scheint alles soweit sauber zu laufen bis auf den Zählerstand der PV.

Im mqtt-log sind die set zu sehen:

Code: Alles auswählen

openwb@openwb2-alpha3:~/openWB/ramdisk $ grep "openWB/set/pv/2/get/counter" mqtt.log
2022-07-11 09:35:48,708 - Topic: openWB/set/pv/2/get/counter, Payload: 14549451
2022-07-11 09:40:57,752 - Topic: openWB/set/pv/2/get/counter, Payload: 14549864
Im Status ist der Zählerstand "-" ,
alpha3-pv-counter.JPG
Auch im MQTT-Explorer kann ich keinen Eintrag für den Zähler unter pv finden.
Screenshot from 2022-07-11 09-55-13.png
Edit: Hier noch die topic Beschreibung in den EInstellungen:
alpha3-pv-counter-setup.JPG
Edit2: Ich habe es gefunden: Das Topic muss sein: openWB/set/pv/2/get/exported.
Die Doku auf der Setup-Seite muß korrigiert werden.

Re: Feedback 2.0 Alpha 3

Verfasst: Mo Jul 11, 2022 2:00 pm
von LutzB
rleidner hat geschrieben: Mo Jul 11, 2022 8:01 am Aktuelle Alpha3:
[...]

Edit: Hier noch die topic Beschreibung in den EInstellungen:
alpha3-pv-counter-setup.JPG

Edit2: Ich habe es gefunden: Das Topic muss sein: openWB/set/pv/2/get/exported.
Die Doku auf der Setup-Seite muß korrigiert werden.
Ist angepasst. Danke für die Meldung.

Re: Feedback 2.0 Alpha 3

Verfasst: Di Jul 12, 2022 11:43 am
von mrinas
Ich hab' eben mal ein Update gemacht um die Versionsinformation zu bekommen, seither gibt's ein paar Fehlermeldungen:

Ob das Einfluss auf die Regelung hat kann ich nicht sagen, derzeit wird der PV-ÜBerschuss vom anderen Ladepunkt aufgebraucht.

Code: Alles auswählen

2022-07-12 13:41:06,432 - {control.algorithm:43} - DEBUG - # Algorithmus-Start
2022-07-12 13:41:06,433 - {control.algorithm:45} - INFO - EVU-Punkt: Leistung[W] 97.2, Ströme[A] [3.26, -2.71, 0.78]
2022-07-12 13:41:06,433 - {control.algorithm:83} - INFO - ## Überschuss-Ladung über Mindeststrom bei PV-Laden zurücknehmen.
2022-07-12 13:41:06,437 - {control.algorithm:200} - DEBUG - ## Ladung muss nicht wegen aktiven Lastmanagements gestoppt werden.
2022-07-12 13:41:06,441 - {control.algorithm:562} - INFO - ## Zuteilung des Überschusses
2022-07-12 13:41:06,443 - {control.algorithm:598} - INFO - ## Zuteilung beendet, da kein Ladepunkt mehr auf Zuteilung wartet.
2022-07-12 13:41:06,443 - {control.algorithm:851} - INFO - ## Übrigen Überschuss verteilen.
2022-07-12 13:41:06,447 - {control.process:22} - DEBUG - # Ladung starten.
2022-07-12 13:41:06,463 - {control.process:51} - ERROR - Fehler im Process-Modul für Ladepunkt cp12
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/process.py", line 49, in process_algorithm_results
    modules_threads.append(self._start_charging(chargepoint))
  File "/var/www/html/openWB/packages/control/process.py", line 110, in _start_charging
    return threading.Thread(target=chargepoint.chargepoint_module.set_current,
AttributeError: 'NoneType' object has no attribute 'set_current'
2022-07-12 13:41:06,467 - {control.process:51} - ERROR - Fehler im Process-Modul für Ladepunkt cp13
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/process.py", line 38, in process_algorithm_results
    chargepoint, data.data.ev_data
KeyError: 'ev3'
2022-07-12 13:41:06,473 - {control.process:51} - ERROR - Fehler im Process-Modul für Ladepunkt cp16
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/process.py", line 49, in process_algorithm_results
    modules_threads.append(self._start_charging(chargepoint))
  File "/var/www/html/openWB/packages/control/process.py", line 110, in _start_charging
    return threading.Thread(target=chargepoint.chargepoint_module.set_current,
AttributeError: 'NoneType' object has no attribute 'set_current'
2022-07-12 13:41:06,475 - {control.pv:438} - DEBUG - -212.2W EVU-Überschuss, der für die Regelung verfügbar ist, davon 0W für die Einschaltverzögerung reservierte Leistung.
2022-07-12 13:41:06,478 - {control.counter:414} - DEBUG - 23902.8W verbleibende EVU-Bezugs-Leistung
2022-07-12 13:41:06,490 - {control.prepare:54} - ERROR - Fehler im Prepare-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 83, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/system.py", line 85, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 79, in handler_with_control_interval
    data.data.graph_data["graph"].pub_graph_data()
KeyError: 'graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/prepare.py", line 52, in __copy_system_data
    self.__copy_cp_data()
  File "/var/www/html/openWB/packages/control/prepare.py", line 77, in __copy_cp_data
    data.data.cp_all_data = copy.deepcopy(subdata.SubData.cp_all_data)
AttributeError: type object 'SubData' has no attribute 'cp_all_data'
2022-07-12 13:41:06,501 - {modules.loadvars:91} - ERROR - Fehler im loadvars-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 83, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/system.py", line 85, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 79, in handler_with_control_interval
    data.data.graph_data["graph"].pub_graph_data()
KeyError: 'graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/loadvars.py", line 87, in _get_cp
    thread = threading.Thread(target=chargepoint_module.get_values, args=())
AttributeError: 'NoneType' object has no attribute 'get_values'
2022-07-12 13:41:06,505 - {modules.loadvars:91} - ERROR - Fehler im loadvars-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 83, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/system.py", line 85, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 79, in handler_with_control_interval
    data.data.graph_data["graph"].pub_graph_data()
KeyError: 'graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/loadvars.py", line 87, in _get_cp
    thread = threading.Thread(target=chargepoint_module.get_values, args=())
AttributeError: 'NoneType' object has no attribute 'get_values'
2022-07-12 13:41:06,513 - {soc.modules.common.component_context:24} - DEBUG - Update Komponente ['Ladepunkt']
2022-07-12 13:41:06,521 - {modules.sma_shm.device:50} - DEBUG - Beginning update
2022-07-12 13:41:06,522 - {soc.modules.common.component_context:51} - DEBUG - Update Komponenten ['EnergyMeter 1.0']
2022-07-12 13:41:06,526 - {modules.json.device:99} - DEBUG - Start device reading {'component14': <modules.json.counter.JsonCounter object at 0x74319ca0>}
2022-07-12 13:41:06,533 - {soc.modules.common.component_context:51} - DEBUG - Update Komponenten ['Pumpe']
2022-07-12 13:41:06,537 - {modules.json.device:99} - DEBUG - Start device reading {'component15': <modules.json.counter.JsonCounter object at 0x74319a78>}
2022-07-12 13:41:06,543 - {soc.modules.common.component_context:51} - DEBUG - Update Komponenten ['Trockner']
2022-07-12 13:41:06,546 - {modules.sma_modbus_tcp.device:63} - DEBUG - Start device reading {'component18': <modules.sma_modbus_tcp.inverter_modbus_tcp.SmaModbusTcpInverter object at 0x74319fd0>}
2022-07-12 13:41:06,547 - {soc.modules.common.component_context:24} - DEBUG - Update Komponente ['WR Haus']
2022-07-12 13:41:06,554 - {urllib3.connectionpool:227} - DEBUG - Starting new HTTP connection (1): 192.168.178.209:80
2022-07-12 13:41:06,555 - {modules.sma_modbus_tcp.device:63} - DEBUG - Start device reading {'component19': <modules.sma_modbus_tcp.inverter_modbus_tcp.SmaModbusTcpInverter object at 0x73ac09e8>}
2022-07-12 13:41:06,562 - {modules.http.device:99} - DEBUG - Start device reading {'component21': <modules.http.counter.HttpCounter object at 0x73ac0e80>}
2022-07-12 13:41:06,567 - {urllib3.connectionpool:227} - DEBUG - Starting new HTTP connection (1): 192.168.178.81:80
2022-07-12 13:41:06,568 - {soc.modules.common.component_context:24} - DEBUG - Update Komponente ['WR Garage']
2022-07-12 13:41:06,570 - {soc.modules.common.component_context:24} - DEBUG - Update Komponente ['LP1 (Garage)']
2022-07-12 13:41:06,585 - {urllib3.connectionpool:227} - DEBUG - Starting new HTTP connection (1): 192.168.178.51:80
2022-07-12 13:41:06,587 - {urllib3.connectionpool:452} - DEBUG - http://192.168.178.209:80 "GET /meter/0 HTTP/1.1" 200 87
2022-07-12 13:41:06,596 - {soc.modules.common.req:11} - DEBUG - Get-Response: {"power":2.42,"is_valid":true,"timestamp":0,"counters":[0.000, 0.000, 0.000],"total":0}
2022-07-12 13:41:07,000 - {urllib3.connectionpool:452} - DEBUG - http://192.168.178.81:80 "GET /meter/0 HTTP/1.1" 200 119
2022-07-12 13:41:07,002 - {soc.modules.common.req:11} - DEBUG - Get-Response: {"power":1.02,"overpower":0.00,"is_valid":true,"timestamp":1657633267,"counters":[1.163, 1.151, 1.202],"total":2663963}
2022-07-12 13:41:07,005 - {modules.common.simcount:273} - DEBUG - Fortsetzen der Simulation: Importzähler: 106047667Ws, Export-Zähler: 0Ws
2022-07-12 13:41:07,438 - {soc.modules.common.store._api:20} - DEBUG - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-946, exported=39396284)
2022-07-12 13:41:07,436 - {modules.common.simcount:273} - DEBUG - Fortsetzen der Simulation: Importzähler: 55468664Ws, Export-Zähler: 0Ws
2022-07-12 13:41:07,440 - {soc.modules.common.component_context:24} - DEBUG - Update Komponente ['EnergyMeter 1.0']
2022-07-12 13:41:07,460 - {soc.modules.common.store._api:20} - DEBUG - Saving CounterState(voltages=[234.519, 226.144, 232.44], powers=[465.9, -595.9, 123.2], currents=[2.992, -2.868, 0.774], power_factors=[0.78, 0.975, 0.915], imported=32801269.4, exported=72660030.19999999, power=-6.8, frequency=None)
2022-07-12 13:41:07,453 - {modules.common.simcount:322} - DEBUG - simcount Berechnungsgrundlage: vergangene Zeit [s]1.472388744354248, vorherige Leistung[W]: 2, aktuelle Leistung[W]: 2.42
2022-07-12 13:41:07,454 - {soc.modules.common.store._api:20} - DEBUG - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-836, exported=1086245)
2022-07-12 13:41:07,458 - {modules.common.simcount:322} - DEBUG - simcount Berechnungsgrundlage: vergangene Zeit [s]2.31650710105896, vorherige Leistung[W]: 1, aktuelle Leistung[W]: 1.02
2022-07-12 13:41:07,446 - {urllib3.connectionpool:452} - DEBUG - http://192.168.178.51:80 "GET /openWB/ramdisk/llkwh HTTP/1.1" 200 8
2022-07-12 13:41:07,462 - {modules.common.simcount:334} - DEBUG - simcount Gesamtenergie im Zeitintervall: 3.253979125022888
2022-07-12 13:41:07,468 - {modules.common.simcount:334} - DEBUG - simcount Gesamtenergie im Zeitintervall: 2.3396721720695495
2022-07-12 13:41:07,472 - {soc.modules.common.req:11} - DEBUG - Get-Response: 4708.717
2022-07-12 13:41:07,474 - {modules.common.simcount:293} - DEBUG - simcount aufsummierte Energie: Bezug[Ws]: 106047670.25397913, Einspeisung[Ws]: 0
2022-07-12 13:41:07,477 - {modules.common.simcount:293} - DEBUG - simcount aufsummierte Energie: Bezug[Ws]: 55468666.33967217, Einspeisung[Ws]: 0
2022-07-12 13:41:07,494 - {modules.common.simcount:300} - INFO - simcount Ergebnis: Bezug[Wh]: 15407.962872131158, Einspeisung[Wh]: 0.0
2022-07-12 13:41:07,481 - {modules.sma_shm.device:67} - DEBUG - All components updated
2022-07-12 13:41:07,481 - {modules.common.simcount:300} - INFO - simcount Ergebnis: Bezug[Wh]: 29457.68618166087, Einspeisung[Wh]: 0.0
2022-07-12 13:41:07,504 - {modules.common.simcount:304} - DEBUG - simcount Zwischenergebnisse aktuelle Berechnung: Import: 106047670.25397913 Export: 0 Power: 2.42
2022-07-12 13:41:07,499 - {modules.common.simcount:304} - DEBUG - simcount Zwischenergebnisse aktuelle Berechnung: Import: 55468666.33967217 Export: 0 Power: 1.02
2022-07-12 13:41:07,503 - {modules.sma_shm.device:58} - DEBUG - Update complete
2022-07-12 13:41:07,480 - {modules.http.api:16} - DEBUG - Antwort auf http://192.168.178.51/openWB/ramdisk/llkwh 4708.717
2022-07-12 13:41:07,506 - {soc.modules.common.store._api:20} - DEBUG - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=29457.68618166087, exported=0.0, power=2.42, frequency=50)
2022-07-12 13:41:07,507 - {soc.modules.common.store._api:20} - DEBUG - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=15407.962872131158, exported=0.0, power=1.02, frequency=50)
2022-07-12 13:41:07,527 - {urllib3.connectionpool:227} - DEBUG - Starting new HTTP connection (1): 192.168.178.51:80
2022-07-12 13:41:07,543 - {urllib3.connectionpool:452} - DEBUG - http://192.168.178.51:80 "GET /openWB/ramdisk/llaktuell HTTP/1.1" 200 4
2022-07-12 13:41:07,545 - {soc.modules.common.req:11} - DEBUG - Get-Response: 1311
2022-07-12 13:41:07,546 - {modules.http.api:16} - DEBUG - Antwort auf http://192.168.178.51/openWB/ramdisk/llaktuell 1311
2022-07-12 13:41:07,553 - {urllib3.connectionpool:227} - DEBUG - Starting new HTTP connection (1): 192.168.178.51:80
2022-07-12 13:41:07,564 - {urllib3.connectionpool:452} - DEBUG - http://192.168.178.51:80 "GET /openWB/ramdisk/lla1 HTTP/1.1" 200 3
2022-07-12 13:41:07,566 - {soc.modules.common.req:11} - DEBUG - Get-Response: 5.9
2022-07-12 13:41:07,567 - {modules.http.api:16} - DEBUG - Antwort auf http://192.168.178.51/openWB/ramdisk/lla1 5.9
2022-07-12 13:41:07,573 - {urllib3.connectionpool:227} - DEBUG - Starting new HTTP connection (1): 192.168.178.51:80
2022-07-12 13:41:07,581 - {urllib3.connectionpool:452} - DEBUG - http://192.168.178.51:80 "GET /openWB/ramdisk/lla2 HTTP/1.1" 200 3
2022-07-12 13:41:07,583 - {soc.modules.common.req:11} - DEBUG - Get-Response: 0.0
2022-07-12 13:41:07,584 - {modules.http.api:16} - DEBUG - Antwort auf http://192.168.178.51/openWB/ramdisk/lla2 0.0
2022-07-12 13:41:07,591 - {urllib3.connectionpool:227} - DEBUG - Starting new HTTP connection (1): 192.168.178.51:80
2022-07-12 13:41:07,600 - {urllib3.connectionpool:452} - DEBUG - http://192.168.178.51:80 "GET /openWB/ramdisk/lla3 HTTP/1.1" 200 3
2022-07-12 13:41:07,602 - {soc.modules.common.req:11} - DEBUG - Get-Response: 0.0
2022-07-12 13:41:07,602 - {modules.http.api:16} - DEBUG - Antwort auf http://192.168.178.51/openWB/ramdisk/lla3 0.0
2022-07-12 13:41:07,604 - {soc.modules.common.store._api:20} - DEBUG - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[1357.0, 0.0, 0.0], currents=[5.9, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=4708.717, exported=0, power=1311.0, frequency=50)
2022-07-12 13:41:08,100 - {control.prepare:162} - ERROR - Fehler im Prepare-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 83, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/system.py", line 85, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 79, in handler_with_control_interval
    data.data.graph_data["graph"].pub_graph_data()
KeyError: 'graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/prepare.py", line 138, in copy_data
    self.__copy_cp_data()
  File "/var/www/html/openWB/packages/control/prepare.py", line 77, in __copy_cp_data
    data.data.cp_all_data = copy.deepcopy(subdata.SubData.cp_all_data)
AttributeError: type object 'SubData' has no attribute 'cp_all_data'
2022-07-12 13:41:08,101 - {control.counter:395} - DEBUG - 24000W EVU-Leistung, die noch bezogen werden kann.
2022-07-12 13:41:08,105 - {control.chargepoint:417} - ERROR - Fehler in der Ladepunkt-Klasse von 12
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 83, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/system.py", line 85, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 79, in handler_with_control_interval
    data.data.graph_data["graph"].pub_graph_data()
KeyError: 'graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargepoint.py", line 413, in get_state
    state, message = self._is_autolock_inactive()
  File "/var/www/html/openWB/packages/control/chargepoint.py", line 340, in _is_autolock_inactive
    state = self.template.autolock(
AttributeError: 'NoneType' object has no attribute 'autolock'
2022-07-12 13:41:08,112 - {control.prepare:307} - ERROR - Fehler im Prepare-Modul für Ladepunkt 12
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 83, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/system.py", line 85, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 79, in handler_with_control_interval
    data.data.graph_data["graph"].pub_graph_data()
KeyError: 'graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/prepare.py", line 173, in _check_chargepoints
    charging_ev = data.data.ev_data["ev"+str(vehicle)]
KeyError: 'evFalse'
2022-07-12 13:41:08,114 - {control.chargepoint:417} - ERROR - Fehler in der Ladepunkt-Klasse von 13
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 83, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/system.py", line 85, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 79, in handler_with_control_interval
    data.data.graph_data["graph"].pub_graph_data()
KeyError: 'graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargepoint.py", line 413, in get_state
    state, message = self._is_autolock_inactive()
  File "/var/www/html/openWB/packages/control/chargepoint.py", line 340, in _is_autolock_inactive
    state = self.template.autolock(
AttributeError: 'NoneType' object has no attribute 'autolock'
2022-07-12 13:41:08,121 - {control.prepare:307} - ERROR - Fehler im Prepare-Modul für Ladepunkt 13
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 83, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/system.py", line 85, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 79, in handler_with_control_interval
    data.data.graph_data["graph"].pub_graph_data()
KeyError: 'graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/prepare.py", line 173, in _check_chargepoints
    charging_ev = data.data.ev_data["ev"+str(vehicle)]
KeyError: 'evFalse'
2022-07-12 13:41:08,126 - {control.prepare:307} - ERROR - Fehler im Prepare-Modul für Ladepunkt 16
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 83, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/system.py", line 85, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 79, in handler_with_control_interval
    data.data.graph_data["graph"].pub_graph_data()
KeyError: 'graph'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/prepare.py", line 302, in _check_chargepoints
    data.data.ev_data["ev"+str(cp.data.config.ev)], cp)
KeyError: 'ev0'
2022-07-12 13:41:08,133 - {control.pv:91} - DEBUG - 0W EVU-Überschuss, der für die Regelung verfügbar ist, davon 0W für die Einschaltverzögerung reservierte Leistung.
2022-07-12 13:41:08,136 - {control.data:286} - DEBUG - all
{'get': {'power': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2022-07-12 13:41:08,137 - {control.data:286} - DEBUG - cp12
ChargepointData(get=Get(charge_state=1, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[6.9, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=1, plug_state=1, power=1518, rfid_timestamp=None, rfid=None, state_str='Ladevorgang läuft...', voltages=[221.1, 229.7, 232.2]), set=Set(autolock_state=0, change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=2901155.0, imported_at_plugtime=2880298.0, imported_since_mode_switch=0, imported_since_plugged=20857.0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_time='07/12/2022, 13:39:01', required_power=0, rfid=None, charging_ev_data=<control.ev.Ev object at 0x730c2778>), config=Config(connection_module={}, power_module={}, ev=0, name='Standard-Ladepunkt', type=None, template=0, connected_phases=3, phase_1=0, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=0))
2022-07-12 13:41:08,139 - {control.data:286} - DEBUG - cp13
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=4258.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=2901155.0, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da der Ladepunkt manuell gesperrt wurde.', voltages=[228.1, 232.2, 233.1]), set=Set(autolock_state=0, change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=3, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=2901155.0, imported_at_plugtime=2880298.0, imported_since_mode_switch=0, imported_since_plugged=20857.0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=True, phases_to_use=1, plug_time='07/10/2022, 15:53:45', required_power=0, rfid=None, charging_ev_data=<control.ev.Ev object at 0x730c22c8>), config=Config(connection_module={}, power_module={}, ev=0, name='Standard-Ladepunkt', type=None, template=0, connected_phases=3, phase_1=0, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=0))
2022-07-12 13:41:08,140 - {control.data:286} - DEBUG - cp16
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[230.0, 230.0, 230.0]), set=Set(autolock_state=0, change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=2901155.0, imported_at_plugtime=2880298.0, imported_since_mode_switch=0, imported_since_plugged=20857.0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_time=None, required_power=0, rfid=None, charging_ev_data=<control.ev.Ev object at 0x730c2ec8>), config=Config(connection_module={}, power_module={}, ev=0, name='Standard-Ladepunkt', type=None, template=0, connected_phases=3, phase_1=0, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=0))
2022-07-12 13:41:08,140 - {control.data:286} - DEBUG - all
{'set': {'loadmanagement_active': False, 'home_consumption': 460, 'invalid_home_consumption': 0, 'daily_yield_home_consumption': 13713.700000003999}, 'get': {'hierarchy': [{'id': 7, 'type': 'counter', 'children': [{'id': 13, 'type': 'cp', 'children': []}, {'id': 14, 'type': 'counter', 'children': []}, {'id': 15, 'type': 'counter', 'children': []}, {'id': 18, 'type': 'inverter', 'children': []}, {'id': 19, 'type': 'inverter', 'children': []}, {'id': 21, 'type': 'counter', 'children': []}]}]}}
2022-07-12 13:41:08,142 - {control.data:286} - DEBUG - counter7
{'set': {'consumption_left': 24000, 'currents_used': [2.99, -2.87, 0.77]}, 'get': {'daily_exported': 1508.5, 'daily_imported': 4716.200000004, 'voltages': [234.52, 226.14, 232.44], 'currents': [2.99, -2.87, 0.77], 'powers': [465.9, -595.9, 123.2], 'power_factors': [0.78, 0.97, 0.92], 'imported': 32801269.4, 'exported': 72660030.19999999, 'power': -6.8, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [35, 35, 35], 'max_total_power': 24000}}
2022-07-12 13:41:08,142 - {control.data:286} - DEBUG - counter14
{'set': {'currents_used': [0.0, 0.0, 0.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 877.065711684076, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 15407.962872131158, 'exported': 0.0, 'power': 1.02, 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2022-07-12 13:41:08,143 - {control.data:286} - DEBUG - counter15
{'set': {'currents_used': [0.0, 0.0, 0.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 2979.632930307737, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 29457.68618166087, 'power': 2.42, 'frequency': 50, 'exported': 0.0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2022-07-12 13:41:08,143 - {control.data:286} - DEBUG - counter21
{'set': {'currents_used': [5.9, 0.0, 0.0]}, 'get': {'daily_exported': 0, 'daily_imported': 3.385, 'voltages': [230.0, 230.0, 230.0], 'currents': [5.9, 0.0, 0.0], 'powers': [1357.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 4708.717, 'exported': 0, 'power': 1311.0, 'frequency': 50, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2022-07-12 13:41:08,143 - {control.data:286} - DEBUG - general
{'grid_protection_active': False, 'chargemode_config': {'instant_charging': {'phases_to_use': 3}, 'pv_charging': {'bat_prio': True, 'switch_on_soc': 60, 'switch_off_soc': 40, 'rundown_power': 1000, 'rundown_soc': 50, 'charging_power_reserve': 200, 'control_range': [-230, 0], 'switch_off_threshold': 500, 'switch_off_delay': 180, 'switch_on_delay': 40, 'switch_on_threshold': 1300, 'feed_in_yield': 0, 'phase_switch_delay': 8, 'phases_to_use': 0}, 'scheduled_charging': {'phases_to_use': 0}, 'standby': {'phases_to_use': 1}, 'phases_to_use': 1, 'time_charging': {'phases_to_use': 3}, 'individual_mode': True, 'unbalanced_load': False, 'unbalanced_load_limit': 18}, 'control_interval': 10, 'extern': False, 'extern_display_mode': 'local', 'external_buttons_hw': False, 'grid_protection_configured': False, 'notifications': {'selected': 'none', 'plug': False, 'start_charging': False, 'stop_charging': False, 'smart_home': False, 'configuration': {}}, 'price_kwh': 0.23, 'range_unit': 'km', 'ripple_control_receiver': {'configured': False}}
2022-07-12 13:41:08,145 - {control.data:286} - DEBUG - optional
{'et': {'get': {}, 'active': False, 'config': {'max_price': 0, 'provider': {}}}, 'int_display': {'active': False, 'on_if_plugged_in': True, 'pin_active': False, 'pin_code': '0000', 'standby': 60, 'theme': 'cards'}, 'led': {'active': False}, 'active': False, 'max_current': 16, 'rfid': {'active': False}}
2022-07-12 13:41:08,146 - {control.data:286} - DEBUG - all
{'set': {'overhang_power_left': 0, 'available_power': 0, 'reserved_evu_overhang': 0, 'released_evu_overhang': 0}, 'get': {'power': -1782, 'exported': 40482529, 'daily_exported': 14764, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2022-07-12 13:41:08,146 - {control.data:286} - DEBUG - pv18
{'get': {'daily_exported': 7806, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -946, 'currents': [0.0, 0.0, 0.0], 'exported': 39396284}, 'config': {'max_ac_out': 0}}
2022-07-12 13:41:08,147 - {control.data:286} - DEBUG - pv19
{'get': {'daily_exported': 6958, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -836, 'currents': [0.0, 0.0, 0.0], 'exported': 1086245}, 'config': {'max_ac_out': 0}}
2022-07-12 13:41:08,147 - {control.data:286} - DEBUG - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.99', 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'lastlivevaluesJson': {'timestamp': 1657625852, 'time': '13:37:32', 'grid': -1.497, 'counter14-power': 0.001, 'counter15-power': 0.002, 'counter21-power': 4.126, 'house-power': 0.584, 'charging-all': 0.0, 'pv-all': 6.211, 'cp13-power': 0.0}, 'version': '1.99.003', 'current_commit': '2022-07-12 13:07:28 +0200 [0f2a304e]', 'current_master_commit': '2022-07-12 13:07:28 +0200 [0f2a304e]', 'current_missing_commits': [], 'module_update_completed': True}
2022-07-12 13:41:08,147 - {control.data:273} - DEBUG - 

2022-07-12 13:41:08,148 - {control.algorithm:43} - DEBUG - # Algorithmus-Start

Re: Feedback 2.0 Alpha 3

Verfasst: Di Jul 12, 2022 11:50 am
von vuffiraa
Den Fehler habe ich nach einem Update auch. Der interessante Teil sollte der sein:

Code: Alles auswählen

  File "/var/www/html/openWB/packages/control/prepare.py", line 52, in __copy_system_data
    self.__copy_cp_data()
  File "/var/www/html/openWB/packages/control/prepare.py", line 77, in __copy_cp_data
    data.data.cp_all_data = copy.deepcopy(subdata.SubData.cp_all_data)
AttributeError: type object 'SubData' has no attribute 'cp_all_data'
Da es bei mir immer noch kein BEV gibt, sehe ich nur, dass der Graph im UI nicht läuft. Im Status werden die aktuellen Verbrauchwerte angezeigt.

VG

Re: Feedback 2.0 Alpha 3

Verfasst: Di Jul 12, 2022 11:53 am
von mrinas
oh ja stimmt, der Graph aktualisiert sich nicht mehr sondern ist auf dem Stand von vor dem Update stehen geblieben.

Re: Feedback 2.0 Alpha 3

Verfasst: Di Jul 12, 2022 11:57 am
von LutzB
Seht es mal positiv: jetzt könnt ihr auf der System-Seite sehen, wenn ein Bugfix gemerged wurde. :D

Re: Feedback 2.0 Alpha 3

Verfasst: Di Jul 12, 2022 12:00 pm
von derNeueDet
Da wurde wohl ein Bug ziemlich fix gemerged :mrgreen: .

Bei mir ist auch keine Aktualisierung mehr

Re: Feedback 2.0 Alpha 3

Verfasst: Di Jul 12, 2022 12:01 pm
von mrinas
LutzB hat geschrieben: Di Jul 12, 2022 11:57 am Seht es mal positiv: jetzt könnt ihr auf der System-Seite sehen, wenn ein Bugfix gemerged wurde. :D
ja genau!

Ich musste diesesmal tatsächlich mit strg+f5 einen force-relaod durchführen um die Änderungen auf der Statusseite zu sehen. Leider war mein Hirn im nachdenken langsamer als die Finger auf der Tastatur und ich konnte kein Trace mehr ziehen um zu sehen warum das so war.
mit der Cache-Änderung auf der Settings-Seite hätte das ja eigentlich nicht mehr passieren dürfen, richtig?

Re: Feedback 2.0 Alpha 3

Verfasst: Di Jul 12, 2022 12:05 pm
von LutzB
Bist Du in den Einstellungen geblieben? Könnte sein, dass dann einfach keine Anfrage an den Server gesendet wird, da das Modul schon geladen ist. Wenn das nochmal auftritt, auf die Hauptseite wechseln und dann erneut die Einstellungen aufrufen. Dann darf keine alte Version mehr angezeigt werden. Wenn das so klappt, wird wohl analog zu 1.9 beim Update auf die Hauptseite weitergeleitet.

Re: Feedback 2.0 Alpha 3

Verfasst: Di Jul 12, 2022 2:38 pm
von LenaK
vuffiraa hat geschrieben: Di Jul 12, 2022 11:50 am Den Fehler habe ich nach einem Update auch. Der interessante Teil sollte der sein:

Code: Alles auswählen

  File "/var/www/html/openWB/packages/control/prepare.py", line 52, in __copy_system_data
    self.__copy_cp_data()
  File "/var/www/html/openWB/packages/control/prepare.py", line 77, in __copy_cp_data
    data.data.cp_all_data = copy.deepcopy(subdata.SubData.cp_all_data)
AttributeError: type object 'SubData' has no attribute 'cp_all_data'
Da es bei mir immer noch kein BEV gibt, sehe ich nur, dass der Graph im UI nicht läuft. Im Status werden die aktuellen Verbrauchwerte angezeigt.

VG
Das war das Problem. Sollte nun behoben sein.