Rückmeldungen Nightly 1.9.250

Fragen zur Nutzung, Features, usw..
Meth
Beiträge: 656
Registriert: Sa Aug 24, 2019 5:59 am

Re: Rückmeldungen Nightly 1.9.250

Beitrag von Meth »

Hallo ,
Ich meine ja das Bat Byd modul
Oder kann ich die byd Box hv auch über json abfragen?
23,9 kwp PV , 30,6 kWh BYD HVS Box 2 x 20,4 kWh BYD HVS Box
2 x 15 kWh BMZ Hyperion
ID3 für meine Frau , ID4 für mich
1 oWb 2.0 im Hauptverteiler
Je 1 oWb in Garage und Carport
Täglich auf die neueste Version Aktualisiert
derNeueDet
Beiträge: 4243
Registriert: Mi Nov 11, 2020 7:16 pm

Re: Rückmeldungen Nightly 1.9.250

Beitrag von derNeueDet »

Meth hat geschrieben: Do Dez 16, 2021 2:43 pm Hallo ,
Ich meine ja das Bat Byd modul
Oder kann ich die byd Box hv auch über json abfragen?
Ich habe keine Antwort auf dein Problem. Das mit dem JSON PV Modul ist ein Problem, das ich jetzt seit heute habe. Die Module sind auch erst seit heute in der neuen Form verfügbar, allerdings bin ich zu blöd, um da noch zu unterstützen.

Die JSON Module für EVU und Speicher funktionieren, nur nicht das PV JSON Modul.

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)
uwec
Beiträge: 35
Registriert: So Mai 30, 2021 7:49 pm

Re: Rückmeldungen Nightly 1.9.250

Beitrag von uwec »

yankee hat geschrieben: Mi Dez 15, 2021 8:41 pm Ich habe den Demofix gerade nochmal geändert. Nur für den Fall dass sich das dummerweise überschnitten hat müsstest du nochmal neu runterladen.
@yankee: ich habe deinen Fix aufgespielt (openWB Version: 1.9.250 (2021-12-16 11:46:54 +0100 [4f2f3d0] ) . Die Werte im Dashboard sehen auf den ersten Blick i.O. aus, allerdings habe ich wiederkehrend im Debug.log folgende Einträge.

Code: Alles auswählen

 2021-12-16 20:55:57: speicherleistung 0 speichersoc 8 (LV1) at 1242 loadvars loadvars.sh
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 96, in __read_registers
    self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 114, 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 66, in update_solar_edge
    subbat
  File "/var/www/html/openWB/modules/wr_solaredge/solaredgeall.py", line 94, in update_solar_edge_cli
    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 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 101, 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-16 20:55:55: PID: 11445: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Getting transaction 9
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Adding transaction 9
2021-12-16 20:55:55: PID: 11445: pymodbus.factory: Factory Response[131]
2021-12-16 20:55:55: PID: 11445: pymodbus.framer.socket_framer: Processing: 0x0 0x9 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: RECV: 0x0 0x9 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-16 20:55:55: PID: 11445: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: SEND: 0x0 0x9 0x0 0x0 0x0 0x6 0x1 0x3 0x9d 0xbc 0x0 0x1
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Running transaction 9
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-16 20:55:55: PID: 11445: SolarEdge: slave=3: power=0*10^0, energy=28929794, currents=[0, 0, 0] * 10^-2
2021-12-16 20:55:55: PID: 11445: pymodbus.payload: [0, 0, 0, 65534]
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Getting transaction 8
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Adding transaction 8
2021-12-16 20:55:55: PID: 11445: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-16 20:55:55: PID: 11445: pymodbus.framer.socket_framer: Processing: 0x0 0x8 0x0 0x0 0x0 0xb 0x3 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: RECV: 0x0 0x8 0x0 0x0 0x0 0xb 0x3 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2021-12-16 20:55:55: PID: 11445: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: SEND: 0x0 0x8 0x0 0x0 0x0 0x6 0x3 0x3 0x9c 0x88 0x0 0x4
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Running transaction 8
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [b'\x01\xb9', b'o\x02']
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [441, 28418]
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Getting transaction 7
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Adding transaction 7
2021-12-16 20:55:54: PID: 11445: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-16 20:55:54: PID: 11445: pymodbus.framer.socket_framer: Processing: 0x0 0x7 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x1 0xb9 0x6f 0x2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: RECV: 0x0 0x7 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x1 0xb9 0x6f 0x2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: SEND: 0x0 0x7 0x0 0x0 0x0 0x6 0x3 0x3 0x9c 0x9d 0x0 0x2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Running transaction 7
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [0, 0]
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Getting transaction 6
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Adding transaction 6
2021-12-16 20:55:54: PID: 11445: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-16 20:55:54: PID: 11445: pymodbus.framer.socket_framer: Processing: 0x0 0x6 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x0 0x0 0x0 0x0
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: RECV: 0x0 0x6 0x0 0x0 0x0 0x7 0x3 0x3 0x4 0x0 0x0 0x0 0x0
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: SEND: 0x0 0x6 0x0 0x0 0x0 0x6 0x3 0x3 0x9c 0x93 0x0 0x2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Running transaction 6
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-16 20:55:54: PID: 11445: SolarEdge: slave=1: power=-18504*10^-3, energy=3577306, currents=[90, 65535, 65535] * 10^-2
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [90, 65535, 65535, 65534]
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Getting transaction 5
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Adding transaction 5
2021-12-16 20:55:54: PID: 11445: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-16 20:55:54: PID: 11445: pymodbus.framer.socket_framer: Processing: 0x0 0x5 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x5a 0xff 0xff 0xff 0xff 0xff 0xfe
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: RECV: 0x0 0x5 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x5a 0xff 0xff 0xff 0xff 0xff 0xfe
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: SEND: 0x0 0x5 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Running transaction 5
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [b'\x006', b'\x95\xda']
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [54, 38362]
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Getting transaction 4
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Adding transaction 4
2021-12-16 20:55:54: PID: 11445: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-16 20:55:54: PID: 11445: pymodbus.framer.socket_framer: Processing: 0x0 0x4 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x36 0x95 0xda
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: RECV: 0x0 0x4 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x36 0x95 0xda
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: SEND: 0x0 0x4 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Running transaction 4
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [47032, 65533]
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Getting transaction 3
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Adding transaction 3
2021-12-16 20:55:54: PID: 11445: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-16 20:55:54: PID: 11445: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0xb7 0xb8 0xff 0xfd
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0xb7 0xb8 0xff 0xfd
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Running transaction 3
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-16 20:55:54: PID: 11445: root: BAT Bezug: 0
2021-12-16 20:55:54: PID: 11445: root: BAT Einspeisung: 0
2021-12-16 20:55:54: PID: 11445: root: BAT Watt: 0.0
2021-12-16 20:55:54: PID: 11445: SolarEdge: Battery SoCs=[8.988178253173828], powers=[0.0]
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [b'\x00\x00', b'\x00\x00']
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [0, 0]
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Getting transaction 2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Adding transaction 2
2021-12-16 20:55:54: PID: 11445: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-16 20:55:54: PID: 11445: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0xf5 0x74 0x0 0x2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Running transaction 2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [b'A\x0f', b'\xcf\x94']
2021-12-16 20:55:54: PID: 11445: pymodbus.payload: [53140, 16655]
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Getting transaction 1
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Adding transaction 1
2021-12-16 20:55:54: PID: 11445: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2021-12-16 20:55:54: PID: 11445: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0xcf 0x94 0x41 0xf
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0xcf 0x94 0x41 0xf
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2021-12-16 20:55:54: PID: 11445: pymodbus.client.sync: New Transaction state 'SENDING'
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0xf5 0x84 0x0 0x2
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Running transaction 1
2021-12-16 20:55:54: PID: 11445: pymodbus.transaction: Current transaction state - IDLE
2021-12-16 20:55:54: PID: 11445: SolarEdge: Beginning update
2021-12-16 20:55:51: **** Regulation loop start **** (LV1) at 50 main /var/www/html/openWB/regel.sh
2021-12-16 20:55:48: Timing Umschaltung: 480 / 480 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-16 20:55:48: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh 
Wenn ich ein Backup zurückspiele (openWB Version: 1.9.250 (2021-12-06 12:46:47 +0100 [bea61e56] ) sind die Einträge weg.
Dies ist reproduzierbar.
Hoffe die Einträge helfen dir weiter.

P.S. Habe auch einen Solaredge WR + LG Resu7H Batteriespeicher im Einsatz.
RolandT
Beiträge: 23
Registriert: Di Nov 13, 2018 7:54 pm

Re: Rückmeldungen Nightly 1.9.250

Beitrag von RolandT »

Ich habe mir heute (16.12.21) auf das letzte nightly upgedatet. Seither füllt sich die Logdatei mit folgenden Fehlermeldungen:
2021-12-16 22:20:01: ##### cron5min.sh started ##### (LV0)
/var/www/html/openWB/runs/cron5min.sh: Zeile 390: /var/www/html/openWB/ramdisk/currentCommitHash: Keine Berechtigung
2021-12-16 22:20:03: Load: 1.23 0.88 1.07
/var/www/html/openWB/runs/cron5min.sh: Zeile 391: /var/www/html/openWB/ramdisk/currentCommitBranches: Keine Berechtigung
Traceback (most recent call last):
File "/var/www/html/openWB/modules/wr_tripower9000/tripower.py", line 76, in <module>
power = power + int(struct.unpack('>i', all.decode('hex'))[0])
AttributeError: 'str' object has no attribute 'decode'
2021-12-16 22:20:04: ##### cron5min.sh finished ##### (LV0)
Traceback (most recent call last):
File "/var/www/html/openWB/modules/wr_tripower9000/tripower.py", line 76, in <module>
power = power + int(struct.unpack('>i', all.decode('hex'))[0])
AttributeError: 'str' object has no attribute 'decode'
Traceback (most recent call last):
File "/var/www/html/openWB/modules/wr_tripower9000/tripower.py", line 76, in <module>
power = power + int(struct.unpack('>i', all.decode('hex'))[0])
AttributeError: 'str' object has no attribute 'decode'
In der Anzeige sieht aber alles normal aus.
yankee
Beiträge: 481
Registriert: Sa Mai 16, 2020 11:34 am

Re: Rückmeldungen Nightly 1.9.250

Beitrag von yankee »

uwec hat geschrieben: Do Dez 16, 2021 8:24 pm @yankee: ich habe deinen Fix aufgespielt (openWB Version: 1.9.250 (2021-12-16 11:46:54 +0100 [4f2f3d0] ) . Die Werte im Dashboard sehen auf den ersten Blick i.O. aus, allerdings habe ich wiederkehrend im Debug.log folgende Einträge.
Es geht dabei um diesen Code:

Code: Alles auswählen

if extprodakt == 1:
    # 40380 = "Meter 2/Total Real Power (sum of active phases)" (Watt)
    total_power -= client.read_holding_registers(40380, ModbusDataType.INT_16, unit=slave_ids[0])
"extprodakt" ist 1 wenn in der Konfiguration die Option "Externes Meter mit auslesen" gesetzt wurde.

Es scheint so als wäre die Adresse "40380" ungültig.

Es sieht aber so aus als wäre das nur manchmal der Fall, denn sonst würdest du nicht auf der UI werte bekommen die OK aussehen.

Was ist dieses "externe Meter"?
yankee
Beiträge: 481
Registriert: Sa Mai 16, 2020 11:34 am

Re: Rückmeldungen Nightly 1.9.250

Beitrag von yankee »

RolandT hat geschrieben: Do Dez 16, 2021 9:32 pm Ich habe mir heute (16.12.21) auf das letzte nightly upgedatet. Seither füllt sich die Logdatei mit folgenden Fehlermeldungen:
[..]
File "/var/www/html/openWB/modules/wr_tripower9000/tripower.py", line 76, in <module>
power = power + int(struct.unpack('>i', all.decode('hex'))[0])
AttributeError: 'str' object has no attribute 'decode'
[..]
Fehler ist bekannt, wird gefixt durch #1820. Der Code ist noch nicht ganz durch getestet. Ich schätze mal, dass der morgen gemergt wird, nachdem ich den nochmal getestet habe.
yankee
Beiträge: 481
Registriert: Sa Mai 16, 2020 11:34 am

Re: Rückmeldungen Nightly 1.9.250

Beitrag von yankee »

derNeueDet hat geschrieben: Do Dez 16, 2021 12:48 pm Das neue JSON Modul für PV funktioniert nicht mehr

Code: Alles auswählen

2021-12-16 13:44:53: PID: 3929: root: Json Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr Unbekannte PV-Nummer 1[..]
Fixed by #1822
derNeueDet
Beiträge: 4243
Registriert: Mi Nov 11, 2020 7:16 pm

Re: Rückmeldungen Nightly 1.9.250

Beitrag von derNeueDet »

yankee hat geschrieben: Do Dez 16, 2021 10:25 pm
derNeueDet hat geschrieben: Do Dez 16, 2021 12:48 pm Das neue JSON Modul für PV funktioniert nicht mehr

Code: Alles auswählen

2021-12-16 13:44:53: PID: 3929: root: Json Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr Unbekannte PV-Nummer 1[..]
Fixed by #1822
Ja, passt, das war der Fehler. Damit sehen die JSON Module gut aus.
Vielen Dank.

VG
Detlev
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)
thobarth
Beiträge: 19
Registriert: Do Apr 01, 2021 6:16 am

Re: Rückmeldungen Nightly 1.9.250

Beitrag von thobarth »

yankee hat geschrieben: Mi Dez 15, 2021 7:58 pm So, ich habe ein Fix geschrieben.
https://github.com/yankee42/openWB/arch ... anness.zip
Danke für den Fix, der ja jetzt gemerged ist. Habe ein Update gemacht und es sieht bislang gut aus. Ich melde nochmal heute Abend, ob es den Tag über korrekt angezeigt hat.

Vielen Dank!

Eine Frage noch: Ich habe jetzt 3 fehlerhafte Tage im Log / Statistiken. Wie kann ich die löschen? Ich finde das Forum schwierig zu durchsuchen und im Wiki habe ich auch nichts darüber gefunden.
derNeueDet
Beiträge: 4243
Registriert: Mi Nov 11, 2020 7:16 pm

Re: Rückmeldungen Nightly 1.9.250

Beitrag von derNeueDet »

RolandT hat geschrieben: Do Dez 16, 2021 9:32 pm Ich habe mir heute (16.12.21) auf das letzte nightly upgedatet. Seither füllt sich die Logdatei mit folgenden Fehlermeldungen:
2021-12-16 22:20:01: ##### cron5min.sh started ##### (LV0)
/var/www/html/openWB/runs/cron5min.sh: Zeile 390: /var/www/html/openWB/ramdisk/currentCommitHash: Keine Berechtigung
2021-12-16 22:20:03: Load: 1.23 0.88 1.07
/var/www/html/openWB/runs/cron5min.sh: Zeile 391: /var/www/html/openWB/ramdisk/currentCommitBranches: Keine Berechtigung
...............
Hallo RolandT, nach einem Reboot passt die Berechtigung auf die Datei "/var/www/html/openWB/ramdisk/currentCommitBranches"

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)
Gesperrt