Open WB zeigt nur die Leistung eines SE Wechselrichters an

Jailman
Beiträge: 48
Registriert: Mo Nov 30, 2020 4:34 pm

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von Jailman »

Mache ich die Tage mal, im Moment hab ich kaum Erzeugung, da dunkel wie im Bärenar*** :D
Gruß vom Jailman
Jailman
Beiträge: 48
Registriert: Mo Nov 30, 2020 4:34 pm

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von Jailman »

Ich versuche s mal, ist nicht so sehr ausgeprägt, da wenig Erzeugung.

SE
Erzeugung 2,13 kW
Hausverbrauch 0,23 kW
Speicherladung 1,96 kW

openWB
Erzeugung 2,45 kW
Hausverbrauch 0,548 kW
Speicherladung 2,00 kW
Gruß vom Jailman
yankee
Beiträge: 481
Registriert: Sa Mai 16, 2020 11:34 am

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von yankee »

Jailman hat geschrieben: Mo Dez 20, 2021 9:31 amIch versuche s mal, ist nicht so sehr ausgeprägt, da wenig Erzeugung.
OK, Erzeugungsleistung zu hoch... mhh. Wie konfiguriert? Weiteres SmartMeter mit auslesen ja/nein? Batterieleistung von PV abziehen ja/nein?

Bist du auf der aktuellen nightly? Wenn nein bitte updaten.

Dann unter "Einstellungen -> System -> Debugging" Loglevel auf 2 Stellen. Dann unter "Status -> openWB Log" einen Ausschnitt raussuchen, der mit "SolarEdge: Beginning update" beginnt und mit "SolarEdge: Update completed successfully" endet. Kopieren und hier im Forum zusammen mit nochmal werten was dir das SE-Portal in dem Moment angezeigt hat posten.
iceman64
Beiträge: 43
Registriert: Do Mär 11, 2021 11:54 am

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von iceman64 »

yankee hat geschrieben: Mo Dez 13, 2021 9:52 am
iceman64 hat geschrieben: Di Dez 07, 2021 12:43 pmEin Auslesung scheint ja stattzufinden aber die Werte sind nicht plausibel.
Ist das Problem noch aktuell? Falls ja bitte nochmal mit konkreten Daten melden. Also was wird genau in der App angezeigt, was zeigt die openWB an?

Ich habe gerade das SolarEdge-Modul komplett überarbeitet. Ggf. vorher die aktuelle Nightly ziehen.
Sorry, ich war im Jahresendstress und bin nicht früher dazu gekommen das Thema weiter zu verfolgen. Erstmal danke für die Antwort. Das Problem ist noch aktuell. Ich habe eben die Nightly installiert. Vorher habe ich das Laden beendet und den Stecker abgezogen. Jetzt wird leider keinerlei Leistung oder Verbrauch mehr angezeigt. Hier sieht man vorher/nachher:
Screenshot_20211222-122332.jpg
PV 16,4 kWp mit 2 Solaredge-WR
Opel Corsa Elektro
Hyundai Ioniq5
openWB und smartWB
Wärmepumpe bestellt
yankee
Beiträge: 481
Registriert: Sa Mai 16, 2020 11:34 am

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von yankee »

iceman64 hat geschrieben: Mi Dez 22, 2021 11:26 am Jetzt wird leider keinerlei Leistung oder Verbrauch mehr angezeigt.
Bitte unter Einstellungen -> System -> Debugging das Loglevel auf 2 stellen.

Dann unter Status -> Debug Log einen Auszug raussuchen, der mit "SolarEdge: Beginning update" beginnt und auch wieder endet. Dann diesen Auszug copy&paste hier ins Forum zwischen Code-Tags.
Zuletzt geändert von yankee am Do Dez 23, 2021 5:55 pm, insgesamt 1-mal geändert.
iceman64
Beiträge: 43
Registriert: Do Mär 11, 2021 11:54 am

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von iceman64 »

Hier der Code:

Code: Alles auswählen

2021-12-23 08:18:53: PID: 14217: SolarEdge: Beginning update
2021-12-23 08:18:50: **** Regulation loop start **** (LV1) at 50 main /var/www/html/openWB/regel.sh
2021-12-23 08:18:47: Sofort ladung Ladepunkt 2 erhöht auf 6 bei minimal A 6 Ladeleistung zu gering (LV1) at 374 sofortlademodus sofortlademodus.sh
2021-12-23 08:18:47: Sofort ladung Ladepunkt 1 bei minimal A 6 Ladeleistung zu gering (LV1) at 284 sofortlademodus sofortlademodus.sh
2021-12-23 08:18:46: Timing Umschaltung: 780 / 180 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-23 08:18:46: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-23 08:18:46: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1254 loadvars loadvars.sh
2021-12-23 08:18:46: plugstatlp1 1	plugstatlp2 1	plugstatlp3 0 (LV1) at 1253 loadvars loadvars.sh
2021-12-23 08:18:46: lp1enabled 1	lp2enabled 0	lp3enabled 1 (LV1) at 1252 loadvars loadvars.sh
2021-12-23 08:18:46: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1251 loadvars loadvars.sh
2021-12-23 08:18:46: lla3 0	llv3 233.0	llas13 0 llas23  soclp1 0 soclp2 0 (LV1) at 1250 loadvars loadvars.sh
2021-12-23 08:18:46: lla2 0	llv2 232.1	llas12 0 llas22  sofortll 16 hausverbrauch 0 wattbezug 0 uberschuss 0 (LV1) at 1249 loadvars loadvars.sh
2021-12-23 08:18:46: lla1 0	llv1 230.5	llas11 0 llas21  mindestuberschuss 1500 abschaltuberschuss 5 lademodus 0 (LV1) at 1248 loadvars loadvars.sh
2021-12-23 08:18:46: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 6 nachtladen 0 nachtladen 0 minimalA 6 maximalA 16 (LV1) at 1247 loadvars loadvars.sh
AttributeError: 'ExceptionResponse' object has no attribute 'registers'
    value1 = resp.registers[0] 
  File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 19, in <module>
Traceback (most recent call last):
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Exception Response(131, 3, IllegalAddress)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)
    str(e)) from e
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 97, in __read_registers
    self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
    total_power -= client.read_holding_registers(40380, ModbusDataType.INT_16, unit=slave_ids[0])
  File "/var/www/html/openWB/modules/wr_solaredge/solaredgeall.py", line 74, in update_solar_edge
    subbat
  File "/var/www/html/openWB/modules/wr_solaredge/solaredgeall.py", line 102, in update_solar_edge_cli
    parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
  File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
    args.RUN(args)
  File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 33, in run_using_positional_cli_args
    run_using_positional_cli_args(update_solar_edge_cli)
  File "/var/www/html/openWB/modules/wr_solaredge/solaredgeall.py", line 109, in <module>
Traceback (most recent call last):

The above exception was the direct cause of the following exception:

modules.common.fault_state.FaultState: ('modules.common.modbus Exception Response(131, 3, IllegalAddress)', <FaultStateLevel.ERROR: 2>)
    raise FaultState.error(__name__+" "+str(response))
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 81, in __read_registers
Traceback (most recent call last):
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Getting transaction 7
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Adding transaction 7
2021-12-23 08:18:43: PID: 12915: pymodbus.factory: Factory Response[131]
2021-12-23 08:18:43: PID: 12915: pymodbus.framer.socket_framer: Processing: 0x0 0x7 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: RECV: 0x0 0x7 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: SEND: 0x0 0x7 0x0 0x0 0x0 0x6 0x1 0x3 0x9d 0xbc 0x0 0x1
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Running transaction 7
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 08:18:43: PID: 12915: SolarEdge: slave=3: power=0*10^0, energy=17080602*10^0, currents=[0, 0, 0] * 10^-2
2021-12-23 08:18:43: PID: 12915: pymodbus.payload: [0, 0, 0, 65534]
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Getting transaction 6
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Adding transaction 6
2021-12-23 08:18:43: PID: 12915: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 08:18:43: PID: 12915: pymodbus.framer.socket_framer: Processing: 0x0 0x6 0x0 0x0 0x0 0xb 0x3 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: RECV: 0x0 0x6 0x0 0x0 0x0 0xb 0x3 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: SEND: 0x0 0x6 0x0 0x0 0x0 0x6 0x3 0x3 0x9c 0x88 0x0 0x4
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Running transaction 6
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 08:18:43: PID: 12915: pymodbus.payload: [b'\x01\x04', b'\xa1\x1a']
2021-12-23 08:18:43: PID: 12915: pymodbus.payload: [260, 41242, 0]
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Getting transaction 5
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Adding transaction 5
2021-12-23 08:18:43: PID: 12915: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 08:18:43: PID: 12915: pymodbus.framer.socket_framer: Processing: 0x0 0x5 0x0 0x0 0x0 0x9 0x3 0x3 0x6 0x1 0x4 0xa1 0x1a 0x0 0x0
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: RECV: 0x0 0x5 0x0 0x0 0x0 0x9 0x3 0x3 0x6 0x1 0x4 0xa1 0x1a 0x0 0x0
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: SEND: 0x0 0x5 0x0 0x0 0x0 0x6 0x3 0x3 0x9c 0x9d 0x0 0x3
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Running transaction 5
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 08:18:43: PID: 12915: pymodbus.payload: [0, 0]
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Getting transaction 4
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Adding transaction 4
2021-12-23 08:18:43: PID: 12915: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 08:18:43: PID: 12915: pymodbus.framer.socket_framer: Processing: 0x0 0x4 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x0 0x0 0x0 0x0
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: RECV: 0x0 0x4 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x0 0x0 0x0 0x0
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: SEND: 0x0 0x4 0x0 0x0 0x0 0x6 0x3 0x3 0x9c 0x93 0x0 0x2
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Running transaction 4
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 08:18:43: PID: 12915: SolarEdge: slave=1: power=0*10^0, energy=4537274*10^0, currents=[0, 0, 0] * 10^-2
2021-12-23 08:18:43: PID: 12915: pymodbus.payload: [0, 0, 0, 65534]
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Getting transaction 3
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Adding transaction 3
2021-12-23 08:18:43: PID: 12915: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 08:18:43: PID: 12915: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Running transaction 3
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 08:18:43: PID: 12915: pymodbus.payload: [b'\x00E', b';\xba']
2021-12-23 08:18:43: PID: 12915: pymodbus.payload: [69, 15290, 0]
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Getting transaction 2
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Adding transaction 2
2021-12-23 08:18:43: PID: 12915: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 08:18:43: PID: 12915: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x0 0x45 0x3b 0xba 0x0 0x0
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x0 0x45 0x3b 0xba 0x0 0x0
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Running transaction 2
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 08:18:43: PID: 12915: pymodbus.payload: [0, 0]
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Getting transaction 1
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Adding transaction 1
2021-12-23 08:18:43: PID: 12915: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 08:18:43: PID: 12915: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 08:18:43: PID: 12915: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Running transaction 1
2021-12-23 08:18:43: PID: 12915: pymodbus.transaction: Current transaction state - IDLE
2021-12-23 08:18:43: PID: 12915: SolarEdge: Beginning update
PV 16,4 kWp mit 2 Solaredge-WR
Opel Corsa Elektro
Hyundai Ioniq5
openWB und smartWB
Wärmepumpe bestellt
iceman64
Beiträge: 43
Registriert: Do Mär 11, 2021 11:54 am

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von iceman64 »

Ich habe gerade festgestellt, dass in den PV Moduleinstellungen der Schalter "Weiteres SmartMeter auslesen" auf "An" stand. Das habe ich jetzt ausgeschaltet. Jetzt habe ich folgendes Bild:
Screenshot 2021-12-23 091112.jpg
Die angezeigte Leistung passt jetzt wieder. Ich sehe aber keinen Bezug vom EVU und auch nicht den korrekten Hausverbrauch.

Hier der neue Ausschnitt aus dem Debug-Log nach der o.g. Umstellung:

Code: Alles auswählen

2021-12-23 09:42:04: PID: 27115: SolarEdge: Beginning update
2021-12-23 09:42:01: **** Regulation loop start **** (LV1) at 50 main /var/www/html/openWB/regel.sh
2021-12-23 09:41:59: Sofort ladung Ladepunkt 2 erhöht auf 6 bei minimal A 6 Ladeleistung zu gering (LV1) at 374 sofortlademodus sofortlademodus.sh
2021-12-23 09:41:58: Sofort ladung Ladepunkt 1 bei minimal A 6 Ladeleistung zu gering (LV1) at 284 sofortlademodus sofortlademodus.sh
2021-12-23 09:41:57: Timing Umschaltung: 780 / 180 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-23 09:41:57: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-23 09:41:57: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1254 loadvars loadvars.sh
2021-12-23 09:41:57: plugstatlp1 1	plugstatlp2 1	plugstatlp3 0 (LV1) at 1253 loadvars loadvars.sh
2021-12-23 09:41:57: lp1enabled 1	lp2enabled 0	lp3enabled 1 (LV1) at 1252 loadvars loadvars.sh
2021-12-23 09:41:57: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1251 loadvars loadvars.sh
2021-12-23 09:41:57: lla3 0	llv3 231.5	llas13 0 llas23  soclp1 0 soclp2 0 (LV1) at 1250 loadvars loadvars.sh
2021-12-23 09:41:57: lla2 0	llv2 231.9	llas12 0 llas22  sofortll 16 hausverbrauch 181 wattbezug 0 uberschuss 0 (LV1) at 1249 loadvars loadvars.sh
2021-12-23 09:41:57: lla1 0	llv1 231.2	llas11 0 llas21  mindestuberschuss 1500 abschaltuberschuss 5 lademodus 0 (LV1) at 1248 loadvars loadvars.sh
2021-12-23 09:41:57: pv1watt -181 pv2watt  pvwatt -181 ladeleistung 0 llalt 6 nachtladen 0 nachtladen 0 minimalA 6 maximalA 16 (LV1) at 1247 loadvars loadvars.sh
AttributeError: 'ExceptionResponse' object has no attribute 'registers'
    value1 = resp.registers[0] 
  File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 19, in <module>
Traceback (most recent call last):
2021-12-23 09:41:54: PID: 25775: SolarEdge: Update completed successfully
2021-12-23 09:41:54: PID: 25775: root: PV Watt: -181.86
2021-12-23 09:41:54: PID: 25775: SolarEdge: slave=3: power=9600*10^-2, energy=17080632*10^0, currents=[66, 76, 80] * 10^-2
2021-12-23 09:41:54: PID: 25775: pymodbus.payload: [66, 76, 80, 65534]
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Getting transaction 6
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Adding transaction 6
2021-12-23 09:41:54: PID: 25775: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 09:41:54: PID: 25775: pymodbus.framer.socket_framer: Processing: 0x0 0x6 0x0 0x0 0x0 0xb 0x3 0x3 0x8 0x0 0x42 0x0 0x4c 0x0 0x50 0xff 0xfe
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: RECV: 0x0 0x6 0x0 0x0 0x0 0xb 0x3 0x3 0x8 0x0 0x42 0x0 0x4c 0x0 0x50 0xff 0xfe
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: SEND: 0x0 0x6 0x0 0x0 0x0 0x6 0x3 0x3 0x9c 0x88 0x0 0x4
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Running transaction 6
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 09:41:54: PID: 25775: pymodbus.payload: [b'\x01\x04', b'\xa18']
2021-12-23 09:41:54: PID: 25775: pymodbus.payload: [260, 41272, 0]
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Getting transaction 5
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Adding transaction 5
2021-12-23 09:41:54: PID: 25775: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 09:41:54: PID: 25775: pymodbus.framer.socket_framer: Processing: 0x0 0x5 0x0 0x0 0x0 0x9 0x3 0x3 0x6 0x1 0x4 0xa1 0x38 0x0 0x0
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: RECV: 0x0 0x5 0x0 0x0 0x0 0x9 0x3 0x3 0x6 0x1 0x4 0xa1 0x38 0x0 0x0
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: SEND: 0x0 0x5 0x0 0x0 0x0 0x6 0x3 0x3 0x9c 0x9d 0x0 0x3
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Running transaction 5
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 09:41:54: PID: 25775: pymodbus.payload: [9600, 65534]
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Getting transaction 4
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Adding transaction 4
2021-12-23 09:41:54: PID: 25775: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 09:41:54: PID: 25775: pymodbus.framer.socket_framer: Processing: 0x0 0x4 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x25 0x80 0xff 0xfe
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: RECV: 0x0 0x4 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x25 0x80 0xff 0xfe
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: SEND: 0x0 0x4 0x0 0x0 0x0 0x6 0x3 0x3 0x9c 0x93 0x0 0x2
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Running transaction 4
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 09:41:54: PID: 25775: SolarEdge: slave=1: power=8586*10^-2, energy=4537296*10^0, currents=[65, 72, 76] * 10^-2
2021-12-23 09:41:54: PID: 25775: pymodbus.payload: [65, 72, 76, 65534]
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Getting transaction 3
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Adding transaction 3
2021-12-23 09:41:54: PID: 25775: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 09:41:54: PID: 25775: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x41 0x0 0x48 0x0 0x4c 0xff 0xfe
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x41 0x0 0x48 0x0 0x4c 0xff 0xfe
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Running transaction 3
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 09:41:54: PID: 25775: pymodbus.payload: [b'\x00E', b';\xd0']
2021-12-23 09:41:54: PID: 25775: pymodbus.payload: [69, 15312, 0]
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Getting transaction 2
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Adding transaction 2
2021-12-23 09:41:54: PID: 25775: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 09:41:54: PID: 25775: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x0 0x45 0x3b 0xd0 0x0 0x0
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x0 0x45 0x3b 0xd0 0x0 0x0
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Running transaction 2
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-23 09:41:54: PID: 25775: pymodbus.payload: [8586, 65534]
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Getting transaction 1
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Adding transaction 1
2021-12-23 09:41:54: PID: 25775: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-23 09:41:54: PID: 25775: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x21 0x8a 0xff 0xfe
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x21 0x8a 0xff 0xfe
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-23 09:41:54: PID: 25775: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Running transaction 1
2021-12-23 09:41:54: PID: 25775: pymodbus.transaction: Current transaction state - IDLE
2021-12-23 09:41:54: PID: 25775: SolarEdge: Beginning update
PV 16,4 kWp mit 2 Solaredge-WR
Opel Corsa Elektro
Hyundai Ioniq5
openWB und smartWB
Wärmepumpe bestellt
uwec
Beiträge: 35
Registriert: So Mai 30, 2021 7:49 pm

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von uwec »

Das sieht doch für das PV-Modul schon gut aus. Der hohe Wert in Klammer bei PV wird sich heute Nacht 0:00 Uhr bereinigen, so dass dann morgen ein plausibler wert drinstehen sollte.

Die Fehlemeldungen

Code: Alles auswählen

Traceback (most recent call last):
  File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 250, in <module>
    value1 = resp.registers[0]
AttributeError: 'ModbusIOException' object has no attribute 'registers'
habe ich seit Tagen auch bis zu 60 mal am Tag. (siehe auchviewtopic.php?p=53008#p53008)
Allerdings sind meine Anzeigen korrekt.

Aber vielleicht hat jemand dazu auch eine Idee...
uwec
Beiträge: 35
Registriert: So Mai 30, 2021 7:49 pm

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von uwec »

iceman64 hat geschrieben: Do Dez 23, 2021 8:16 am Die angezeigte Leistung passt jetzt wieder. Ich sehe aber keinen Bezug vom EVU und auch nicht den korrekten Hausverbrauch.
an welchem der beiden Wechselrichter hast du dein EVU-Meter angeschlossen? An WR mit der Slave/ID 3 oder 1?
Wenn ich es richtig weiß wir beim EVU Modulkonfiguration Slave/ID 1 automatisch genommen... (das kann man aktuell nicht explizit vorgeben)
yankee
Beiträge: 481
Registriert: Sa Mai 16, 2020 11:34 am

Re: Open WB zeigt nur die Leistung eines SE Wechselrichters an

Beitrag von yankee »

iceman64 hat geschrieben: Do Dez 23, 2021 8:16 am

Code: Alles auswählen

[..]
AttributeError: 'ExceptionResponse' object has no attribute 'registers'
    value1 = resp.registers[0] 
  File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 19, in <module>
Traceback (most recent call last):
[..]
Mit anderen Worten: Das Teil hat einen Fehler, aber es verrät einem nicht was der Fehler ist. Der Bestandscode ist da leider sehr unschön.

Ich habe das nun in #1857 aufgeräumt. Der Fehler geht damit vorraussichtlich nicht weg, aber wenigstens müsste mit dem Update eine hilfreichere Fehlermeldung kommen.

Tester gesucht!

Anleitung zum Testen:
Meinen modifizierten Code runterladen, extrahieren, eine Kommandozeile öffnen und den Befehl

Code: Alles auswählen

PYTHONPATH=packages ./modules/bezug_solaredge/solaredge.py SOLAR_EDGE_ADDRESS 502 1
aus dem Verzeichnis "openWB" heraus ausführen. (Vorher SOLAR_EDGE_ADDRESS durch die richtige IP-Adresse oder Hostname erstzen, fall nötig 502 durch einen anderen Port ersetzen und falls nötig die "1" ganz am Ende durch die korrekte slave-id ersetzen).

Wenn kein Fehler kommt im Verzeichnis "ramdisk" schauen was für Dateien erzeugt wurden und was drin steht und das hier posten.

Wenn ein Fehler kommt den Fehler hier posten.

Python >= 3.5 muss installiert sein.

(Wer SSH auf seine openWB hat kann natürlich auch dort testen).
Antworten