Seite 2 von 2

Re: Aus dem Solax Modul eine QCells ESS Modul erstellen

Verfasst: Mi Jul 19, 2023 2:01 pm
von LarsBr87
Habe ein Update durchgeführt und auch die Module konnte ich einrichten. Es kommt aber leider eine Fehlermeldung:

Modulmeldung:
<class 'TypeError'> update() takes 1 positional argument but 2 were given

Gruß Lars

Re: Aus dem Solax Modul eine QCells ESS Modul erstellen

Verfasst: Do Jul 20, 2023 7:23 am
von LenaK
Bitte das Debuglevel auf Details stellen und einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem Main-Log unter System->Fehlersuche posten, wenn das Problem auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.

Re: Aus dem Solax Modul eine QCells ESS Modul erstellen

Verfasst: Do Jul 20, 2023 7:36 am
von LarsBr87
Hier der log:

Code: Alles auswählen

2023-07-20 09:17:51,788 - {control.counter_all:95} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -2081.2799999999997W, Berücksichtigte Komponenten neben EVU [{'id': 6, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 8, 'type': 'bat', 'children': []}]
2023-07-20 09:18:00,374 - {modules.common.fault_state:52} - {ERROR:device3} - QCells Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> update() takes 1 positional argument but 2 were given, Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update(c)
TypeError: update() takes 1 positional argument but 2 were given

2023-07-20 09:18:01,550 - {control.counter_all:95} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -2078.2799999999997W, Berücksichtigte Komponenten neben EVU [{'id': 6, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 8, 'type': 'bat', 'children': []}]
2023-07-20 09:18:11,079 - {modules.common.fault_state:52} - {ERROR:device3} - QCells Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> update() takes 1 positional argument but 2 were given, Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update(c)
TypeError: update() takes 1 positional argument but 2 were given

2023-07-20 09:18:12,316 - {control.counter_all:95} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -2048.8872132873535W, Berücksichtigte Komponenten neben EVU [{'id': 6, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 8, 'type': 'bat', 'children': []}]
2023-07-20 09:18:20,823 - {modules.common.fault_state:52} - {ERROR:device3} - QCells Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> update() takes 1 positional argument but 2 were given, Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update(c)
TypeError: update() takes 1 positional argument but 2 were given

2023-07-20 09:18:21,995 - {control.counter_all:95} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -2170.670053329468W, Berücksichtigte Komponenten neben EVU [{'id': 6, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 8, 'type': 'bat', 'children': []}]
2023-07-20 09:18:30,506 - {modules.common.fault_state:52} - {ERROR:device3} - QCells Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> update() takes 1 positional argument but 2 were given, Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update(c)
TypeError: update() takes 1 positional argument but 2 were given

2023-07-20 09:18:31,689 - {control.counter_all:95} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -2223.23W, Berücksichtigte Komponenten neben EVU [{'id': 6, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 8, 'type': 'bat', 'children': []}]
2023-07-20 09:18:40,200 - {modules.common.fault_state:52} - {ERROR:device3} - QCells Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> update() takes 1 positional argument but 2 were given, Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update(c)
TypeError: update() takes 1 positional argument but 2 were given

2023-07-20 09:18:41,302 - {control.counter_all:95} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -2337.086512184143W, Berücksichtigte Komponenten neben EVU [{'id': 6, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 8, 'type': 'bat', 'children': []}]
2023-07-20 09:18:50,851 - {modules.common.fault_state:52} - {ERROR:device3} - QCells Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> update() takes 1 positional argument but 2 were given, Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update(c)
TypeError: update() takes 1 positional argument but 2 were given

Code: Alles auswählen

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update(c)
TypeError: update() takes 1 positional argument but 2 were given

2023-07-20 10:19:50,735 - {modules.common.component_context:24} - {DEBUG:device3} - Update Komponente ['QCells Speicher']
2023-07-20 10:19:50,744 - {modules.common.fault_state:52} - {ERROR:device3} - QCells Speicher: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> update() takes 1 positional argument but 2 were given, Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update(c)
TypeError: update() takes 1 positional argument but 2 were given

Re: Aus dem Solax Modul eine QCells ESS Modul erstellen

Verfasst: Do Jul 20, 2023 10:01 am
von LenaK
Ist gefixt, bitte nochmal testen.

Re: Aus dem Solax Modul eine QCells ESS Modul erstellen

Verfasst: Do Jul 20, 2023 10:11 am
von LarsBr87
Nach dem Update kommt jetzt unter dem Modul eine andere Fehlermeldung:

Modulmeldung:
<class 'AttributeError'> __enter__

Code: Alles auswählen

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update()
  File "/var/www/html/openWB/packages/modules/devices/qcells/inverter.py", line 27, in update
    with self.__tcp_client:
AttributeError: __enter__

2023-07-20 12:08:21,031 - {modules.common.component_context:24} - {DEBUG:device3} - Update Komponente ['QCells Speicher']
2023-07-20 12:08:21,036 - {modules.common.fault_state:52} - {ERROR:device3} - QCells Speicher: FaultState FaultStateLevel.ERROR, FaultStr <class 'AttributeError'> __enter__, Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/qcells/device.py", line 37, in update_components
    component.update()
  File "/var/www/html/openWB/packages/modules/devices/qcells/bat.py", line 26, in update
    with self.__tcp_client:
AttributeError: __enter__

Re: Aus dem Solax Modul eine QCells ESS Modul erstellen

Verfasst: Do Jul 20, 2023 12:46 pm
von LenaK
Ist behoben, bitte nochmal testen.

Re: Aus dem Solax Modul eine QCells ESS Modul erstellen

Verfasst: Do Jul 20, 2023 1:14 pm
von LarsBr87
Das sieht super aus, läuft 🤗🥳 ganz vielen Dank für die Arbeit!

Gruß Lars

Re: Aus dem Solax Modul eine QCells ESS Modul erstellen

Verfasst: So Jul 23, 2023 3:27 pm
von LarsBr87
Hallo,

also das Quells ESS Modul läuft wirklich einwandfrei. Vielen Dank nochmal dafür.
Mir ist jetzt in der Auswertung (Tag und Monats) aufgefallen, dass die SH-Geräte nicht mehr richtig benannt sind (s.Anhang).
Ich weiss jetzt natürlich nicht, ob es ein generelles Problem in der 2.0 ist oder ob es am neuen Modul liegt. Die wurden aufjedenfall mal korrekt angezeigt. Verbräuche ect stimmen, geht nur um den Namen.

Viele Grüße

Lars