Feedback Beta 2

Fragen zur Nutzung, Features, usw..
Nasdero
Beiträge: 370
Registriert: Mo Dez 16, 2019 9:01 pm

Re: Feedback Beta 2

Beitrag von Nasdero »

Elchkopp hat geschrieben: Do Feb 23, 2023 5:54 pm Wie habt ihr das Problem denn umgangen?
Bei mir war die Reihenfolge wichtig, schau hier rein: viewtopic.php?p=80394#p80394

Ich musste erst Zählen, dann Ladepunkt erstellen, dann die Wechslerichter und dann den Akku, dann konnte ich ihn hin schieben wohin ich ihn brauchte. Habe ich den Ladepunkt zum Schluß gemacht, dann hatte ich zwei Akkus.

Zum Glück konnte ich in der VM-Ware immer auf eine frisch installierte Version gehen um es zu testen.
Elchkopp
Beiträge: 484
Registriert: Fr Feb 04, 2022 6:19 pm

Re: Feedback Beta 2

Beitrag von Elchkopp »

Mit der dort beschriebenen Reihenfolge (die anders ist als im Tutorial beschrieben) hat es geklappt.

Danke für den Tipp!
ChristianM
Beiträge: 148
Registriert: Di Okt 22, 2019 9:42 am

Re: Feedback Beta 2

Beitrag von ChristianM »

Heute stimmt was bei der Schieflast nicht, meine das war letztens noch OK. Installiert ist 2023-02-23 10:05:10 +0100 [3864b7e1]


Code: Alles auswählen

2023-02-25 13:24:00,627 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-02-25 13:24:00,685 - {modules.devices.solax.device:55} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solax.counter.SolaxCounter object at 0x714ad778>, 'component1': <modules.devices.solax.bat.SolaxBat object at 0x70a924c0>, 'component2': <modules.devices.solax.inverter.SolaxInverter object at 0x70a92a78>}
2023-02-25 13:24:00,686 - {modules.devices.solaredge.device:100} - {DEBUG:device1} - Start device reading {'component3': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x714a3148>}
2023-02-25 13:24:00,687 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Solax Zähler']
2023-02-25 13:24:00,687 - {modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-02-25 13:24:00,692 - {modules.common.component_context:24} - {DEBUG:cp6} - Update Komponente ['Ladepunkt']
2023-02-25 13:24:00,698 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['SolarEdge Wechselrichter']
2023-02-25 13:24:00,989 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[-4951, -3135, 3774], currents=[-21.526086956521738, -13.630434782608695, 16.408695652173915], power_factors=[0.0, 0.0, 0.0], imported=2254780, exported=475130, power=-4303, frequency=49.98)
2023-02-25 13:24:00,992 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Solax Speicher']
2023-02-25 13:24:01,145 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677327830.830938, power=1137, imported=45440.92686683529, exported=39323.08020588484)
2023-02-25 13:24:01,146 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286524, power1: 1137, power2: 1137
2023-02-25 13:24:01,146 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 3.25777
2023-02-25 13:24:01,147 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 3.25777 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1677327841.1457906, power=1137, imported=45444.18464107566, exported=39323.08020588484)
2023-02-25 13:24:01,148 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=45444.18464107566, exported=39323.08020588484, power=1137, soc=45)
2023-02-25 13:24:01,150 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Solax Wechselrichter']
2023-02-25 13:24:01,304 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2840, exported=240200, dc_power=None)
2023-02-25 13:24:03,710 - {modules.common.fault_state:40} - {ERROR:device1} - SolarEdge Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 85, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)', <FaultStateLevel.ERROR: 2>)

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

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/solaredge/device.py", line 106, in update
    self.components[component].update()
  File "/var/www/html/openWB/packages/modules/devices/solaredge/inverter.py", line 35, in update
    self.store.set(self.read_state())
  File "/var/www/html/openWB/packages/modules/devices/solaredge/inverter.py", line 40, in read_state
    power = self._read_scaled_int16(40083, 1)[0] * -1
  File "/var/www/html/openWB/packages/modules/devices/solaredge/scale.py", line 24, in scaled_reader
    client.read_holding_registers(address, [type] * count + [ModbusDataType.INT_16], unit=modbus_id)
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 118, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 100, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-02-25 13:24:03,714 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Solax Wechselrichter']
2023-02-25 13:24:03,716 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Solax Speicher']
2023-02-25 13:24:03,717 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2840, exported=240200, dc_power=None)
2023-02-25 13:24:03,719 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['SolarEdge Wechselrichter']
2023-02-25 13:24:03,721 - {modules.common.store._api:30} - {DEBUG:component1} - Saving BatState(imported=45444.18464107566, exported=39323.08020588484, power=1137, soc=45)
2023-02-25 13:24:03,723 - {modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-02-25 13:24:03,726 - {modules.common.store._api:30} - {DEBUG:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2840, exported=240200, dc_power=None)
2023-02-25 13:24:03,730 - {modules.common.component_context:24} - {DEBUG:cp6} - Update Komponente ['Ladepunkt']
2023-02-25 13:24:03,731 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-9619.0, exported=64889904.0, dc_power=None)
2023-02-25 13:24:03,768 - {modules.common.store._api:30} - {DEBUG:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-9619.0, exported=64889904.0, dc_power=None)
2023-02-25 13:24:03,818 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['Solax Zähler']
2023-02-25 13:24:03,818 - {modules.common.store._api:30} - {DEBUG:component0} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[-4951, -3135, 3774], currents=[-21.526086956521738, -13.630434782608695, 16.408695652173915], power_factors=[0.0, 0.0, 0.0], imported=2254780, exported=475130, power=-4303, frequency=49.98)
2023-02-25 13:24:03,899 - {control.counter:131} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [52.650000000000006, 44.760000000000005, 43.47]
2023-02-25 13:24:03,899 - {control.counter:153} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 75041.3
2023-02-25 13:24:03,902 - {control.chargepoint:354} - {INFO:MainThread} - LP 5: Keine Ladung, da kein Auto angesteckt ist.
2023-02-25 13:24:03,910 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-02-25 13:24:03,912 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-02-25 13:24:03,916 - {control.chargepoint:867} - {DEBUG:MainThread} - LP 6, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 28.88
2023-02-25 13:24:03,920 - {control.bat_all:145} - {INFO:MainThread} - -50W verbliebende Speicher-Leistung
2023-02-25 13:24:03,922 - {control.data:334} - {DEBUG:MainThread} - bat1
BatData(get=Get(soc=45, daily_exported=54.55, daily_imported=2405.38, imported=45444.18, exported=39323.08, fault_state=0, fault_str='Kein Fehler.', power=1137))
2023-02-25 13:24:03,925 - {control.data:305} - {DEBUG:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=45, daily_exported=54.55, daily_imported=2405.38, imported=45440.93, exported=39323.08, power=1137), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-02-25 13:24:03,927 - {control.data:306} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=15751.95, daily_exported=0, power=6738.3, imported=7261473.88, exported=0))
2023-02-25 13:24:03,928 - {control.data:334} - {DEBUG:MainThread} - cp5
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, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=0), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=2347742.92, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[249.17, 240.22, 236.81]), set=Set(change_ev_permitted=[True, ''], 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=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71444568>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.0.221', 'duo_num': 1}}, power_module={}, ev=0, name='Draußen', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=5))
2023-02-25 13:24:03,928 - {control.data:334} - {DEBUG:MainThread} - cp6
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=0), currents=[28.88, 0.12, 0.13], daily_imported=15751.95, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=4913730.96, phases_in_use=1, plug_state=True, power=6738.3, rfid_timestamp=None, rfid=None, state_str=None, voltages=[236.46, 249.05, 240.47]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=30.34, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=4909292.97, imported_at_plugtime=4871025.88, imported_since_mode_switch=4412.600000000559, imported_since_plugged=42679.69000000041, range_charged=25.95647058823858, time_charged='3:24', timestamp_start_charging='02/25/2023, 09:59:04'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/24/2023, 20:06:54', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x70a82190>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.0.221', 'duo_num': 2}}, power_module={}, ev=0, name='Drinnen', type='external_openwb', template=0, connected_phases=3, phase_1=3, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=6))
2023-02-25 13:24:03,929 - {control.data:334} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-02-25 13:24:03,929 - {control.data:334} - {DEBUG:MainThread} - counter0
CounterData(config=Config(max_currents=[32, 32, 32], max_total_power=64000), get=Get(powers=[-4951, -3135, 3774], currents=[-21.53, -13.63, 16.41], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=49.98, daily_exported=4570, daily_imported=24490, imported=2254780, exported=475130, fault_state=0, fault_str='Kein Fehler.', power=-4303), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=75041.3, raw_currents_left=[52.650000000000006, 44.760000000000005, 43.47], surplus_power_left=0, state_str=''))
2023-02-25 13:24:03,930 - {control.data:310} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 2, 'type': 'inverter', 'children': []}, {'id': 1, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'inverter', 'children': []}, {'id': 5, 'type': 'cp', 'children': []}, {'id': 6, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=280.6999999999998, invalid_home_consumption=0, daily_yield_home_consumption=11413.4))
2023-02-25 13:24:03,930 - {control.data:334} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=1000, soc=50))))
2023-02-25 13:24:03,930 - {control.data:334} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Kia e-Niro', max_current_multi_phases=16, max_phases=3, phase_switch_pause=7, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=7, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=64, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[0.0, 0.0, 6], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=1, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-02-25 13:24:03,933 - {control.data:334} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2)
2023-02-25 13:24:03,934 - {control.data:334} - {DEBUG:MainThread} - et1
EvTemplateData(name='Kia e-Niro', max_current_multi_phases=16, max_phases=3, phase_switch_pause=7, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=7, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=64, nominal_difference=2)
2023-02-25 13:24:03,934 - {control.data:314} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=20000, phase_switch_delay=7, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.39, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-02-25 13:24:03,934 - {control.data:315} - {DEBUG:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-02-25 13:24:03,935 - {control.data:316} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-02-25 13:24:03,935 - {control.data:334} - {DEBUG:MainThread} - pv2
PvData(config=Config(max_ac_out=6000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=700, monthly_exported=0, yearly_exported=0, exported=240200, fault_state=0, fault_str='Kein Fehler.', power=-2840))
2023-02-25 13:24:03,935 - {control.data:334} - {DEBUG:MainThread} - pv3
PvData(config=Config(max_ac_out=17000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=9532.0, monthly_exported=0, yearly_exported=0, exported=64889904.0, fault_state=2, fault_str="modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", power=-9619.0))
2023-02-25 13:24:03,936 - {control.data:318} - {DEBUG:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=10232.0, monthly_exported=0, yearly_exported=0, exported=65130104.0, power=-12401.0))
2023-02-25 13:24:03,937 - {control.data:334} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.0.186', 'current_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_branch': 'master', 'current_branch_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1677327831, 'time': '13:23:51', 'grid': -4.314, 'house-power': 0.435, 'charging-all': 6.515, 'pv-all': 12.169, 'cp5-power': 0.0, 'cp6-power': 6.515, 'bat-all-power': 1.137, 'bat-all-soc': 45}, 'module_update_completed': True}
2023-02-25 13:24:03,938 - {control.data:347} - {DEBUG:MainThread} - device0
{'name': 'Solax', 'type': 'solax', 'id': 0, 'configuration': {'modbus_id': 1, 'ip_address': '192.168.0.132'}}
2023-02-25 13:24:03,938 - {control.data:349} - {DEBUG:MainThread} - component0
{'name': 'Solax Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-02-25 13:24:03,938 - {control.data:349} - {DEBUG:MainThread} - component1
{'name': 'Solax Speicher', 'type': 'bat', 'id': 1, 'configuration': {}}
2023-02-25 13:24:03,939 - {control.data:349} - {DEBUG:MainThread} - component2
{'name': 'Solax Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-02-25 13:24:03,939 - {control.data:347} - {DEBUG:MainThread} - device1
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 1, 'configuration': {'port': 502, 'ip_address': '192.168.0.207'}}
2023-02-25 13:24:03,939 - {control.data:349} - {DEBUG:MainThread} - component3
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {'modbus_id': 1}}
2023-02-25 13:24:03,939 - {control.data:321} - {DEBUG:MainThread} - 

2023-02-25 13:24:03,940 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus
2023-02-25 13:24:03,940 - {control.algorithm.algorithm:72} - {DEBUG:MainThread} - Ladepunkt 6: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2023-02-25 13:24:03,941 - {control.ev:484} - {DEBUG:MainThread} - Genutzter Strom: 28.88A, Überschuss: 4303W, benötigte neue Leistung: -3220W
2023-02-25 13:24:03,944 - {control.counter:349} - {DEBUG:MainThread} - LP6 Switch-Off-Threshold prüfen: -4253W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2023-02-25 13:24:03,945 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-02-25 13:24:03,951 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 0
2023-02-25 13:24:03,952 - {control.counter:161} - {DEBUG:MainThread} - Zähler 0: [52.650000000000006, 44.760000000000005, 37.47]A verbleibende Ströme, 73661.3W verbleibende Leistung
2023-02-25 13:24:03,952 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP6: Stromstärke 6A
2023-02-25 13:24:03,953 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-02-25 13:24:03,956 - {control.counter:190} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 9496.300000000003W
2023-02-25 13:24:03,957 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 9496.300000000003W
2023-02-25 13:24:03,957 - {control.algorithm.algorithm:40} - {DEBUG:MainThread} - **PV-geführten Strom setzen**
2023-02-25 13:24:03,960 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [6]
2023-02-25 13:24:03,960 - {control.algorithm.surplus_controlled:41} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 0
2023-02-25 13:24:03,961 - {control.loadmanagement:63} - {DEBUG:MainThread} - Schieflast [0, 0, 1.5300000000000011]A korrigieren: [0.0, 0.0, 24.47]
2023-02-25 13:24:03,963 - {control.chargepoint:354} - {INFO:MainThread} - LP 6: Es kann nicht mit der vorgegebenen Stromstärke geladen werden, da die maximale Schieflast an Zähler Solax Zähler erreicht ist.
2023-02-25 13:24:03,963 - {control.counter:168} - {DEBUG:MainThread} - Zähler 0: [52.650000000000006, 44.760000000000005, 13.0]A verbleibende Ströme, 3868.2000000000035W verbleibender Überschuss
2023-02-25 13:24:03,964 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP6: Stromstärke 30.47A
2023-02-25 13:24:03,964 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-02-25 13:24:03,966 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 4437.9900000002235 counter 4913730.96
2023-02-25 13:24:03,973 - {control.process:106} - {INFO:MainThread} - LP6: set current 30.47 A
2023-02-25 13:24:03,975 - {modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-02-25 13:24:03,980 - {modules.common.component_context:24} - {DEBUG:cp6} - Update Komponente ['Ladepunkt']
2023-02-25 13:24:04,006 - {control.counter:178} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-02-25 13:24:04,276 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-02-25 13:24:10,327 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-02-25 13:24:10,328 - {root:61} - {INFO:MainThread} - # ***Start*** 
Dateianhänge
Schieflast.jpg
IMG_4809.png
sirpreis
Beiträge: 80
Registriert: Mo Jan 03, 2022 5:25 pm

Re: Feedback Beta 2

Beitrag von sirpreis »

Ich habe mir gerade openWB 2.0 Beta 2 gerade mal zum Testen installiert. Ich habe zwei SolarEdge-Wechselrichter, einer davon Hybrid, mit einer daran angeschlossenen BYD LVS Batterie und einem Modbus-Zähler.

Wenn ich die Geräte allesamt in openWB 2.0 konfiguriere und die Batterie entladen wird, scheint es so zu sein, dass von Wechselrichter 1 eine Leistung erkannt wird, die dann als PV-Leistung angenommen wird. Siehe Screenshots unten. Es ist 19:34, also stockdunkel, von Dach kommt da leider nichts. Dadurch ist auch der Hausverbrauch viel zu hoch berechnet.

Ich habe die Geräte konfiguriert wie schon in 1.9, zumindest meine ich das. WR1 hat die Modbus ID 1, WR2 die Modbus ID 3. Zähler habe ich in openWB auf Modbus ID 1 (diese ID musste ich 1.9 nicht konfiguriert werden). Auch der Speicher hat die Modbus ID 1 (auch hier gab es in 1.9 keine Feld zum Konfigurieren der Modbus ID des Speichers).

2023-02-25 19_34_49-openWB.png
2023-02-25 19_35_06-openWB _ Status.png
2023-02-25 19_41_02-openWB _ Konfiguration - Geräte und Komponenten.png
gvz
Beiträge: 72
Registriert: So Sep 12, 2021 8:28 am
Wohnort: Grevenbroich

Re: Feedback Beta 2

Beitrag von gvz »

Moin, heute habe ich auch einen neuen Anlauf mit OpenWB 2.0 gemacht. Ich hatte das Image der Beta 1 heruntergeladen, da musste ich noch etwas schrauben, bis das System Dinge wie ein Update machen wollte. Das beschreibe ich aber nicht (außer, Ihr wollt es), weil es ja ein Testing- und kein Entwicklungsproblem ist.

Hinweis 1: Ich habe mein Image auf MacOS mit dem Raspi Imager geschrieben, der erlaubt, u.a. eine WLAN-Config direkt auf der SD-Karte zu setzen. Damit läuft bei mir OpenWB 2.0 sauber auf einem Raspi Zero (PI 3A+) über Wifi.

Kurze System-Beschreibung:
LP ist eine OpenWB Series 2 mit Zähler, RFID, Display und allem Klimmbimm zur Umschaltung auf 192.168.0.5 als Slave. Die Ausführung ist 11 kW.
Das Haus ist simpel gestrickt: Die PV-Produktion wird in FHEM zusammengerechnet und per MQTT propagiert. Ein Speicher existiert nicht. Der Zähler wird per OBIS-Kopf ausgelesen und ebenfalls per MQTT propagiert.

Ich werde nun schauen, ob ich PV-Laden sauber zum Laufen kriege, und ob die Bugs in der 1.9, die mich mehrfach nervten (z.B. 1/3-Phasen-Flapping) behoben sind bzw. behebbar sind.

Bug 1: Keine Steuerung möglich
Es ist zwar ein Benutzerfehler, aber bevor im Support dafür Anrufe auflaufen, ist es sicherlich sinnvoll, es zu beheben. Ich hatte unter Konfiguration -> Lastmanagement -> MQTT-Wechselrichter nichts eingestellt. So stand dort unter "Maximale Ausgangsleistung des Wechselrichters" der Default-Wert von "0". Im Ergebnis passiert beim Klick auf "Sofort Laden" absolut nichts: Kein Fehler, nix. Im main.log gibt es aber folgende Exception:

Code: Alles auswählen

2023-02-25 20:18:00,590 - {control.algorithm.algorithm:48} - {ERROR:MainThread} - Fehler im Algorithmus-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/algorithm/algorithm.py", line 33, in calc_current
    self.min_current.set_min_current()
  File "/var/www/html/openWB/packages/control/algorithm/min_current.py", line 24, in set_min_current
    available_currents, limit = Loadmanagement().get_available_currents(missing_currents, counter)
  File "/var/www/html/openWB/packages/control/loadmanagement.py", line 26, in get_available_currents
    available_currents, limit_power = self._limit_by_power(
  File "/var/www/html/openWB/packages/control/loadmanagement.py", line 81, in _limit_by_power
    currents[i] = available_currents[i] / sum(available_currents) * raw_power_left / 230
Da die ganze Beschreibung des "MQTT-Wechselrichters" nicht unbedingt nach "essential" wirkt, würde sich jemand ohne Logfile-Lesekenntnis und "Ah! Division bei Zero"-Verständnis wohl schwer tun.

Ansonsten freue ich mich, wie sauber der Code auf den ersten Blick aussieht, wie aufgeräumt das alte Chaos der Variablenbenennung ist, und wie viel Zeit mehr mit OpenWB 2.0 der Raspi für echte Arbeit statt Shell-Starts hat!
OpenWB S2 (Touchscreen, RFID, Zähler, 11kW), 10 kWp PV ohne Speicher, ID.3
gvz
Beiträge: 72
Registriert: So Sep 12, 2021 8:28 am
Wohnort: Grevenbroich

Re: Feedback Beta 2

Beitrag von gvz »

Hier ein "richtiger" Bug:
Lädt man mit 2 Phasen, funktioniert die PV-Überschussberechnung nicht richtig. Der Überschuss wird so berechnet, als ob 3 Phasen benutzt würden. Der Fehler ist m.E. in control/algorithm/loadmanagement.py, Funktion _limit_by_power:
Die 2932 W Überschuss über die 6A hinaus rechnet er auf [10,10,10] um, anstatt [12,12,0] (o.ä.) zu wählen.

Ich hänge Euch mal einen Regelzyklus-Dump an:

Code: Alles auswählen

2023-02-26 11:01:10,392 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-02-26 11:01:10,394 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-02-26 11:01:10,434 - {soc.modules.common.component_context:51} - {DEBUG:device1} - Update Komponenten ['MQTT-Zähler', 'MQTT-Wechselrichter']
2023-02-26 11:01:10,435 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-02-26 11:01:10,435 - {modules.devices.mqtt.device:47} - {DEBUG:device1} - MQTT-Module müssen nicht ausgelesen werden.
2023-02-26 11:01:10,484 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['MQTT-Wechselrichter']
2023-02-26 11:01:10,487 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-02-26 11:01:10,510 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['MQTT-Zähler']
2023-02-26 11:01:10,589 - {control.counter:137} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [38.18173913043478, 40.740869565217395, 38.5304347826087]
2023-02-26 11:01:10,589 - {control.counter:166} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 28577.03
2023-02-26 11:01:10,596 - {control.chargepoint:703} - {DEBUG:MainThread} - Anzahl angeschlossener Phasen beschränkt die nutzbaren Phasen auf 2
2023-02-26 11:01:10,598 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-02-26 11:01:10,600 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus
2023-02-26 11:01:10,625 - {control.chargelog:146} - {DEBUG:MainThread} - Neuer Ladelogeintrag: {'chargepoint': {'id': 3, 'name': 'openWB Garage'}, 'vehicle': {'id': 0, 'name': 'Standard-Fahrzeug', 'chargemode': 'instant_charging', 'prio': False, 'rfid': None}, 'time': {'begin': '02/26/2023, 10:57:40', 'end': '02/26/2023, 11:01:10', 'time_charged': '0:04'}, 'data': {'range_charged': 1.79, 'imported_since_mode_switch': 305.18, 'imported_since_plugged': 9301.27, 'power': 1.22, 'costs': 0.13}}
2023-02-26 11:01:10,629 - {control.chargepoint:867} - {DEBUG:MainThread} - LP 3, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 2, Priorität: False, max. Ist-Strom: 11.5
2023-02-26 11:01:10,632 - {control.data:305} - {DEBUG:MainThread} - bat_all_data
2023-02-26 11:01:10,634 - {control.data:306} - {DEBUG:MainThread} - cp_all_data
2023-02-26 11:01:10,636 - {control.data:334} - {DEBUG:MainThread} - cp3
2023-02-26 11:01:10,636 - {control.data:334} - {DEBUG:MainThread} - cpt0
2023-02-26 11:01:10,636 - {control.data:334} - {DEBUG:MainThread} - counter0
2023-02-26 11:01:10,637 - {control.data:310} - {DEBUG:MainThread} - counter_all_data
2023-02-26 11:01:10,637 - {control.data:334} - {DEBUG:MainThread} - ct0
2023-02-26 11:01:10,638 - {control.data:334} - {DEBUG:MainThread} - ev0
2023-02-26 11:01:10,640 - {control.data:334} - {DEBUG:MainThread} - et0
2023-02-26 11:01:10,641 - {control.data:314} - {DEBUG:MainThread} - general_data
2023-02-26 11:01:10,641 - {control.data:315} - {DEBUG:MainThread} - graph_data
2023-02-26 11:01:10,642 - {control.data:316} - {DEBUG:MainThread} - optional_data
2023-02-26 11:01:10,643 - {control.data:334} - {DEBUG:MainThread} - pv2
2023-02-26 11:01:10,644 - {control.data:318} - {DEBUG:MainThread} - pv_all_data
2023-02-26 11:01:10,644 - {control.data:334} - {DEBUG:MainThread} - system
2023-02-26 11:01:10,645 - {control.data:347} - {DEBUG:MainThread} - device1
2023-02-26 11:01:10,645 - {control.data:349} - {DEBUG:MainThread} - component0
2023-02-26 11:01:10,645 - {control.data:349} - {DEBUG:MainThread} - component2
2023-02-26 11:01:10,645 - {control.data:321} - {DEBUG:MainThread} - 
2023-02-26 11:01:10,646 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus
2023-02-26 11:01:10,646 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-02-26 11:01:10,648 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-26 11:01:10,649 - {control.counter:174} - {DEBUG:MainThread} - Zähler 0: [32.18173913043478, 40.740869565217395, 32.5304347826087]A verbleibende Ströme, 25817.03W verbleibende Leistung
2023-02-26 11:01:10,649 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP3: Stromstärke 6A
2023-02-26 11:01:10,651 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-02-26 11:01:10,653 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2023-02-26 11:01:10,654 - {control.algorithm.additional_current:26} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-26 11:01:10,655 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP3: Stromstärke 6A
2023-02-26 11:01:10,656 - {control.counter:203} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 2932.029999999999W
2023-02-26 11:01:10,657 - {control.counter:466} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 2932.029999999999W
2023-02-26 11:01:10,658 - {control.algorithm.algorithm:40} - {DEBUG:MainThread} - **PV-geführten Strom setzen**
2023-02-26 11:01:10,660 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2023-02-26 11:01:10,660 - {control.algorithm.surplus_controlled:41} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-26 11:01:10,660 - {control.loadmanagement:82} - {DEBUG:MainThread} - Leistungsüberschreitung auf 2932.029999999999W korrigieren: [10.0, 10.0, 10.0]
2023-02-26 11:01:10,661 - {control.counter:181} - {DEBUG:MainThread} - Zähler 0: [27.93242028985507, 36.49155072463769, 28.281115942028993]A verbleibende Ströme, 4.547473508864641e-13W verbleibender Überschuss
2023-02-26 11:01:10,661 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP3: Stromstärke 10.249318840579708A
2023-02-26 11:01:10,663 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-02-26 11:01:10,665 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 0.0 counter 4534960.94
2023-02-26 11:01:10,666 - {control.process:106} - {INFO:MainThread} - LP3: set current 10.25 A
2023-02-26 11:01:10,672 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-02-26 11:01:10,693 - {control.counter:191} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-02-26 11:01:10,910 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=75), currents=[9.52, 0.05, 9.53], daily_imported=9104.01, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=4534973.63, phases_in_use=2, plug_state=True, power=4356.89, rfid_timestamp=None, rfid=None, state_str=None, voltages=[229.14, 231.27, 228.51]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=10.25, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=4534960.94, imported_at_plugtime=4525659.67, imported_since_mode_switch=0.0, imported_since_plugged=9301.270000000484, range_charged=0.0, time_charged='0:00', timestamp_start_charging='02/26/2023, 11:01:10'), manual_lock=False, phases_to_use=2, plug_state_prev=True, plug_time='02/25/2023, 19:50:21', required_power=2760.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71436208>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.0.5', 'duo_num': 1}}, power_module={}, ev=0, name='openWB Garage', type='external_openwb', template=0, connected_phases=2, phase_1=3, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
{'update_in_progress': False, 'perform_update': False, 'current_commit': '2023-01-30 16:57:10 +0100 [78dc6cd0]', 'current_branch': 'Beta', 'current_branch_commit': '2023-01-30 16:57:10 +0100 [78dc6cd0]', 'current_missing_commits': [], 'boot_done': True, 'ip_address': '192.168.0.90', 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 6, 'lastlivevaluesJson': {'timestamp': 1677405670, 'time': '11:01:10', 'grid': -0.321, 'house-power': 0.179, 'charging-all': 5.256, 'pv-all': 5.733, 'cp3-power': 5.256, 'ev0-soc': 75}, 'module_update_completed': True}
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=75), currents=[9.51, 0.06, 9.52], daily_imported=9104.01, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=4534984.86, phases_in_use=2, plug_state=True, power=4354.55, rfid_timestamp=None, rfid=None, state_str=None, voltages=[229.0, 231.14, 228.4]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=10.21, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=4534960.94, imported_at_plugtime=4525659.67, imported_since_mode_switch=12.68999999947846, imported_since_plugged=9313.959999999963, range_charged=0.07464705882046152, time_charged='0:00', timestamp_start_charging='02/26/2023, 11:01:10'), manual_lock=False, phases_to_use=2, plug_state_prev=True, plug_time='02/25/2023, 19:50:21', required_power=2760.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x714b4490>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.0.5', 'duo_num': 1}}, power_module={}, ev=0, name='openWB Garage', type='external_openwb', template=0, connected_phases=2, phase_1=3, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=75), currents=[9.54, 0.05, 9.52], daily_imported=9104.01, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=4534996.58, phases_in_use=2, plug_state=True, power=4358.15, rfid_timestamp=None, rfid=None, state_str=None, voltages=[229.0, 231.53, 228.52]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=10.19, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=4534960.94, imported_at_plugtime=4525659.67, imported_since_mode_switch=23.919999999925494, imported_since_plugged=9325.19000000041, range_charged=0.1407058823525029, time_charged='0:00', timestamp_start_charging='02/26/2023, 11:01:10'), manual_lock=False, phases_to_use=2, plug_state_prev=True, plug_time='02/25/2023, 19:50:21', required_power=2760.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71468c28>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.0.5', 'duo_num': 1}}, power_module={}, ev=0, name='openWB Garage', type='external_openwb', template=0, connected_phases=2, phase_1=3, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
OpenWB S2 (Touchscreen, RFID, Zähler, 11kW), 10 kWp PV ohne Speicher, ID.3
Aventinus
Beiträge: 35
Registriert: Fr Nov 26, 2021 6:36 pm

Re: Feedback Beta 2

Beitrag von Aventinus »

Hallo zusammen,

ich hab beim testen zwei Themen festgestellt.
Ich hab einen Sungrow SH10RT mit BYD-Speicher. Als Ladepunkt nuzte ich die Series 2 Standard +.

1. Die Batterieleistung des SH10RT wird ohne Vorzeichen auf dem Modbus bereitgestellt. Ich vermute, das wird so in der OpenWB übernommen. Somit wird sowohl Ladung als auch Entladung als Ladung im Graph und in der Anzeige dargestellt.
2. Die PV-Ladung wurde sofort beim Einstecken gestartet, obwohl ich als Einschalt SoC 75% eingestellt habe.

Punkt 1 ist zumindest unschön. Punkt 2 stört micht schon ;)

VG Aventinus

Code: Alles auswählen

2023-02-27 11:05:14,199 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus
2023-02-27 11:05:14,200 - {control.algorithm.algorithm:72} - {DEBUG:MainThread} - Ladepunkt 4: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2023-02-27 11:05:14,201 - {control.ev:484} - {DEBUG:MainThread} - Genutzter Strom: 6.05A, Überschuss: -4W, benötigte neue Leistung: -3220W
2023-02-27 11:05:14,203 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.
2023-02-27 11:05:14,204 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-02-27 11:05:14,209 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-27 11:05:14,211 - {control.counter:161} - {DEBUG:MainThread} - Zähler 0: [34.05, 34.05, 34.05]A verbleibende Ströme, 21216.07W verbleibende Leistung
2023-02-27 11:05:14,211 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP4: Stromstärke 6A
2023-02-27 11:05:14,215 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-02-27 11:05:14,221 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [4]
2023-02-27 11:05:14,221 - {control.algorithm.additional_current:26} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-27 11:05:14,222 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP4: Stromstärke 6A
2023-02-27 11:05:14,223 - {control.counter:190} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-02-27 11:05:14,224 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-02-27 11:05:14,225 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-02-27 11:05:14,225 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-02-27 11:05:14,240 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 57.97999999998137 counter 956976.99
2023-02-27 11:05:14,243 - {control.process:106} - {INFO:MainThread} - LP4: set current 6 A
2023-02-27 11:05:14,244 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:14,266 - {control.counter:178} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-02-27 11:05:14,764 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-02-27 11:05:20,925 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-02-27 11:05:20,926 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-02-27 11:05:20,987 - {modules.devices.sungrow.device:59} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.sungrow.counter.SungrowCounter object at 0x72607c88>, 'component2': <modules.devices.sungrow.bat.SungrowBat object at 0x71d44580>, 'component5': <modules.devices.sungrow.inverter.SungrowInverter object at 0x71dd1520>}
2023-02-27 11:05:20,990 - {modules.devices.sungrow.device:59} - {DEBUG:device1} - Start device reading {'component6': <modules.devices.sungrow.inverter.SungrowInverter object at 0x71d65a90>}
2023-02-27 11:05:20,992 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:20,996 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Zähler']
2023-02-27 11:05:21,019 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492310.8442104, power=4, imported=8898.39708403558, exported=149.14826261947155)
2023-02-27 11:05:21,021 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282629, power1: 4, power2: -2
2023-02-27 11:05:21,022 - {modules.common.simcount._calculate:26} - {DEBUG:device0} - power changed sign. Total energy: 0.00282629, exported energy: -0.000942097
2023-02-27 11:05:21,023 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0.00376839 Wh, exported: 0.000942097 Wh, new state: SimCounterState(timestamp=1677492321.0188632, power=-2, imported=8898.400852425511, exported=149.14920471695442)
2023-02-27 11:05:21,024 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[229.3, 230.3, 231.7], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=8898.400852425511, exported=149.14920471695442, power=-2, frequency=499.5)
2023-02-27 11:05:21,028 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Speicher']
2023-02-27 11:05:21,069 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492310.8875792, power=431, imported=25041.278335825104, exported=0)
2023-02-27 11:05:21,070 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282835, power1: 431, power2: 411
2023-02-27 11:05:21,071 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.19073
2023-02-27 11:05:21,071 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.19073 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1677492321.069634, power=411, imported=25042.46907056209, exported=0)
2023-02-27 11:05:21,073 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=25042.46907056209, exported=0, power=411, soc=28)
2023-02-27 11:05:21,090 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:21,101 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492310.905314, power=-1273, imported=0.0, exported=25010.11212266156)
2023-02-27 11:05:21,102 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283237, power1: -1273, power2: -1316
2023-02-27 11:05:21,103 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: -3.6665
2023-02-27 11:05:21,103 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 3.6665 Wh, new state: SimCounterState(timestamp=1677492321.101843, power=-1316, imported=0.0, exported=25013.778624601753)
2023-02-27 11:05:21,106 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1316, exported=25013.778624601753, dc_power=None)
2023-02-27 11:05:23,998 - {pymodbus.client.sync:218} - {ERROR:device1} - Connection to (192.168.178.69, 502) failed: timed out
2023-02-27 11:05:24,016 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Sungrow Speicher']
2023-02-27 11:05:24,017 - {modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=25042.46907056209, exported=0, power=411, soc=28)
2023-02-27 11:05:24,019 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:24,027 - {modules.common.component_context:24} - {DEBUG:component5} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:24,029 - {modules.common.store._api:26} - {DEBUG:component5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1316, exported=25013.778624601753, dc_power=None)
2023-02-27 11:05:24,030 - {modules.common.store._api:30} - {DEBUG:component5} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1316, exported=25013.778624601753, dc_power=None)
2023-02-27 11:05:24,039 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:24,112 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['Sungrow Zähler']
2023-02-27 11:05:24,113 - {modules.common.store._api:30} - {DEBUG:component0} - Saving CounterState(voltages=[229.3, 230.3, 231.7], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=8898.400852425511, exported=149.14920471695442, power=-2, frequency=499.5)
2023-02-27 11:05:24,286 - {control.counter:131} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [40.06, 40.06, 40.06]
2023-02-27 11:05:24,287 - {control.counter:153} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 25361.2
2023-02-27 11:05:24,293 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-02-27 11:05:24,294 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-02-27 11:05:24,298 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.
2023-02-27 11:05:24,302 - {control.chargepoint:867} - {DEBUG:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 6.06
2023-02-27 11:05:24,305 - {control.bat_all:145} - {INFO:MainThread} - -50W verbliebende Speicher-Leistung
2023-02-27 11:05:24,307 - {control.counter_all:83} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -456.20000000000005W, Berücksichtigte Komponenten neben EVU [{'id': 2, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 6, 'type': 'inverter', 'children': []}]
2023-02-27 11:05:24,309 - {control.data:334} - {DEBUG:MainThread} - bat2
BatData(get=Get(soc=28, daily_exported=0, daily_imported=1969.19, imported=25042.47, exported=0, fault_state=0, fault_str='Kein Fehler.', power=411))
2023-02-27 11:05:24,310 - {control.data:305} - {DEBUG:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=28, daily_exported=0, daily_imported=1969.19, imported=25041.28, exported=0, power=431), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-02-27 11:05:24,310 - {control.data:306} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=52.97, daily_exported=0, power=1359.2, imported=956979.98, exported=0))
2023-02-27 11:05:24,312 - {control.data:334} - {DEBUG:MainThread} - cp4
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=35), currents=[6.06, 0.0, 0.0], daily_imported=52.97, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=956979.98, phases_in_use=1, plug_state=True, power=1359.2, rfid_timestamp=None, rfid=None, state_str='Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.', voltages=[226.38, 231.37, 231.18]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=956919.01, imported_at_plugtime=956919.01, imported_since_mode_switch=57.97999999998137, imported_since_plugged=57.97999999998137, range_charged=0.30515789473674404, time_charged='0:03', timestamp_start_charging='02/27/2023, 11:02:43'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/27/2023, 11:02:33', required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71dba808>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.52', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=0, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-02-27 11:05:24,314 - {control.data:334} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-02-27 11:05:24,315 - {control.data:334} - {DEBUG:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[229.3, 230.3, 231.7], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=499.5, daily_exported=11.61398080994323, daily_imported=2011.043484660061, imported=8898.400852425511, exported=149.14920471695442, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=-2), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=25361.2, raw_currents_left=[40.06, 40.06, 40.06], surplus_power_left=0, state_str=''))
2023-02-27 11:05:24,316 - {control.data:310} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 2, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 6, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=2697.1645038501174))
2023-02-27 11:05:24,317 - {control.data:334} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=0, max_soc=80), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=6, limit=Limit(selected='soc', amount=1000, soc=80))))
2023-02-27 11:05:24,318 - {control.data:334} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[6, 6, 6], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=35, soc_timestamp='02/27/2023, 11:02:44', force_soc_update=False, range=101.0, fault_state=0, fault_str='Kein Fehler.'))
2023-02-27 11:05:24,321 - {control.data:334} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-02-27 11:05:24,325 - {control.data:334} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2)
2023-02-27 11:05:24,326 - {control.data:314} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=17000, phase_switch_delay=7, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=70, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=75, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3327, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-02-27 11:05:24,326 - {control.data:315} - {DEBUG:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-02-27 11:05:24,327 - {control.data:316} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-02-27 11:05:24,328 - {control.data:334} - {DEBUG:MainThread} - pv5
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=2768.146, monthly_exported=0, yearly_exported=0, exported=25013.779, fault_state=0, fault_str='Kein Fehler.', power=-1316))
2023-02-27 11:05:24,328 - {control.data:334} - {DEBUG:MainThread} - pv6
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='', power=0))
2023-02-27 11:05:24,329 - {control.data:318} - {DEBUG:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=2768.146, monthly_exported=0, yearly_exported=0, exported=25010.112, power=-1273))
2023-02-27 11:05:24,330 - {control.data:334} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.28', 'current_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_branch': 'master', 'current_branch_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1677492314, 'time': '11:05:14', 'grid': 0.004, 'house-power': 0.0, 'charging-all': 1.36, 'pv-all': 1.273, 'cp4-power': 1.36, 'ev0-soc': 35, 'bat-all-power': 0.443, 'bat-all-soc': 28}, 'module_update_completed': True}
2023-02-27 11:05:24,337 - {control.data:347} - {DEBUG:MainThread} - device0
{'name': 'SH10RT', 'type': 'sungrow', 'id': 0, 'configuration': {'ip_address': '192.168.178.49', 'port': 502, 'modbus_id': 1}}
2023-02-27 11:05:24,338 - {control.data:349} - {DEBUG:MainThread} - component0
{'name': 'Sungrow Zähler', 'type': 'counter', 'id': 0, 'configuration': {'version': 0}}
2023-02-27 11:05:24,338 - {control.data:349} - {DEBUG:MainThread} - component2
{'name': 'Sungrow Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-02-27 11:05:24,339 - {control.data:349} - {DEBUG:MainThread} - component5
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 5, 'configuration': {}}
2023-02-27 11:05:24,339 - {control.data:347} - {DEBUG:MainThread} - device1
{'name': 'SG10RT', 'type': 'sungrow', 'id': 1, 'configuration': {'ip_address': '192.168.178.69', 'port': 502, 'modbus_id': 1}}
2023-02-27 11:05:24,340 - {control.data:349} - {DEBUG:MainThread} - component6
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 6, 'configuration': {}}
2023-02-27 11:05:24,340 - {control.data:321} - {DEBUG:MainThread} - 

Code: Alles auswählen

2023-02-27 11:05:43,704 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus
2023-02-27 11:05:43,705 - {control.algorithm.algorithm:72} - {DEBUG:MainThread} - Ladepunkt 4: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2023-02-27 11:05:43,706 - {control.ev:484} - {DEBUG:MainThread} - Genutzter Strom: 6.05A, Überschuss: -11W, benötigte neue Leistung: -3220W
2023-02-27 11:05:43,712 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.
2023-02-27 11:05:43,716 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-02-27 11:05:43,721 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-27 11:05:43,722 - {control.counter:161} - {DEBUG:MainThread} - Zähler 0: [34.05, 34.05, 34.05]A verbleibende Ströme, 21206.19W verbleibende Leistung
2023-02-27 11:05:43,723 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP4: Stromstärke 6A
2023-02-27 11:05:43,727 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-02-27 11:05:43,733 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [4]
2023-02-27 11:05:43,734 - {control.algorithm.additional_current:26} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-27 11:05:43,736 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP4: Stromstärke 6A
2023-02-27 11:05:43,737 - {control.counter:190} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-02-27 11:05:43,738 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-02-27 11:05:43,739 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-02-27 11:05:43,739 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-02-27 11:05:43,740 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 68.96999999997206 counter 956987.98
2023-02-27 11:05:43,743 - {control.process:106} - {INFO:MainThread} - LP4: set current 6 A
2023-02-27 11:05:43,752 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:43,818 - {control.counter:178} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-02-27 11:05:44,259 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-02-27 11:05:50,454 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-02-27 11:05:50,455 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-02-27 11:05:50,516 - {modules.devices.sungrow.device:59} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.sungrow.counter.SungrowCounter object at 0x72607c88>, 'component2': <modules.devices.sungrow.bat.SungrowBat object at 0x71d44580>, 'component5': <modules.devices.sungrow.inverter.SungrowInverter object at 0x71dd1520>}
2023-02-27 11:05:50,519 - {modules.devices.sungrow.device:59} - {DEBUG:device1} - Start device reading {'component6': <modules.devices.sungrow.inverter.SungrowInverter object at 0x71d65a90>}
2023-02-27 11:05:50,521 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:50,523 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Zähler']
2023-02-27 11:05:50,547 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492340.383921, power=11, imported=8898.418267951458, exported=149.15090295355233)
2023-02-27 11:05:50,549 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282319, power1: 11, power2: 2
2023-02-27 11:05:50,550 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0.0183507
2023-02-27 11:05:50,551 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0.0183507 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1677492350.547388, power=2, imported=8898.436618656067, exported=149.15090295355233)
2023-02-27 11:05:50,553 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[229.6, 230.7, 231.5], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=8898.436618656067, exported=149.15090295355233, power=2, frequency=499.4)
2023-02-27 11:05:50,564 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Speicher']
2023-02-27 11:05:50,607 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492340.4349313, power=368, imported=25044.60025995549, exported=0)
2023-02-27 11:05:50,608 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028258, power1: 368, power2: 357
2023-02-27 11:05:50,609 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.02435
2023-02-27 11:05:50,609 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.02435 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1677492350.6077933, power=357, imported=25045.624610648316, exported=0)
2023-02-27 11:05:50,612 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=25045.624610648316, exported=0, power=357, soc=28)
2023-02-27 11:05:50,618 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:50,629 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492340.457031, power=-1334, imported=0.0, exported=25020.882190252534)
2023-02-27 11:05:50,630 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282567, power1: -1334, power2: -1361
2023-02-27 11:05:50,631 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: -3.80758
2023-02-27 11:05:50,631 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 3.80758 Wh, new state: SimCounterState(timestamp=1677492350.6294258, power=-1361, imported=0.0, exported=25024.6897741217)
2023-02-27 11:05:50,633 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1361, exported=25024.6897741217, dc_power=None)
2023-02-27 11:05:53,527 - {pymodbus.client.sync:218} - {ERROR:device1} - Connection to (192.168.178.69, 502) failed: timed out
2023-02-27 11:05:53,544 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Sungrow Speicher']
2023-02-27 11:05:53,545 - {modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=25045.624610648316, exported=0, power=357, soc=28)
2023-02-27 11:05:53,548 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:53,552 - {modules.common.component_context:24} - {DEBUG:component5} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:53,553 - {modules.common.store._api:26} - {DEBUG:component5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1361, exported=25024.6897741217, dc_power=None)
2023-02-27 11:05:53,554 - {modules.common.store._api:30} - {DEBUG:component5} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1361, exported=25024.6897741217, dc_power=None)
2023-02-27 11:05:53,557 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:53,640 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['Sungrow Zähler']
2023-02-27 11:05:53,641 - {modules.common.store._api:30} - {DEBUG:component0} - Saving CounterState(voltages=[229.6, 230.7, 231.5], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=8898.436618656067, exported=149.15090295355233, power=2, frequency=499.4)
2023-02-27 11:05:53,812 - {control.counter:131} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [40.07, 40.07, 40.07]
2023-02-27 11:05:53,814 - {control.counter:153} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 25359.84
2023-02-27 11:05:53,821 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-02-27 11:05:53,823 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-02-27 11:05:53,827 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.
2023-02-27 11:05:53,828 - {control.chargepoint:867} - {DEBUG:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 6.07
2023-02-27 11:05:53,831 - {control.bat_all:145} - {INFO:MainThread} - -50W verbliebende Speicher-Leistung
2023-02-27 11:05:53,834 - {control.counter_all:83} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -355.8399999999999W, Berücksichtigte Komponenten neben EVU [{'id': 2, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 6, 'type': 'inverter', 'children': []}]
2023-02-27 11:05:53,836 - {control.data:334} - {DEBUG:MainThread} - bat2
BatData(get=Get(soc=28, daily_exported=0, daily_imported=1969.19, imported=25045.62, exported=0, fault_state=0, fault_str='Kein Fehler.', power=357))
2023-02-27 11:05:53,839 - {control.data:305} - {DEBUG:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=28, daily_exported=0, daily_imported=1969.19, imported=25044.6, exported=0, power=368), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-02-27 11:05:53,844 - {control.data:306} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=52.97, daily_exported=0, power=1361.84, imported=956991.03, exported=0))
2023-02-27 11:05:53,845 - {control.data:334} - {DEBUG:MainThread} - cp4
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=35), currents=[6.07, 0.0, 0.0], daily_imported=52.97, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=956991.03, phases_in_use=1, plug_state=True, power=1361.84, rfid_timestamp=None, rfid=None, state_str='Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.', voltages=[226.65, 231.4, 230.95]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=956919.01, imported_at_plugtime=956919.01, imported_since_mode_switch=68.96999999997206, imported_since_plugged=68.96999999997206, range_charged=0.36299999999985294, time_charged='0:03', timestamp_start_charging='02/27/2023, 11:02:43'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/27/2023, 11:02:33', required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71d8b058>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.52', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=0, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-02-27 11:05:53,846 - {control.data:334} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-02-27 11:05:53,853 - {control.data:334} - {DEBUG:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[229.6, 230.7, 231.5], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=499.4, daily_exported=11.61398080994323, daily_imported=2011.043484660061, imported=8898.436618656067, exported=149.15090295355233, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=2), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=25359.84, raw_currents_left=[40.07, 40.07, 40.07], surplus_power_left=0, state_str=''))
2023-02-27 11:05:53,854 - {control.data:310} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 2, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 6, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=2697.1645038501174))
2023-02-27 11:05:53,854 - {control.data:334} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=0, max_soc=80), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=6, limit=Limit(selected='soc', amount=1000, soc=80))))
2023-02-27 11:05:53,855 - {control.data:334} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[6, 6, 6], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=35, soc_timestamp='02/27/2023, 11:02:44', force_soc_update=False, range=101.0, fault_state=0, fault_str='Kein Fehler.'))
2023-02-27 11:05:53,856 - {control.data:334} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-02-27 11:05:53,857 - {control.data:334} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2)
2023-02-27 11:05:53,860 - {control.data:314} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=17000, phase_switch_delay=7, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=70, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=75, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3327, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-02-27 11:05:53,861 - {control.data:315} - {DEBUG:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-02-27 11:05:53,862 - {control.data:316} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-02-27 11:05:53,863 - {control.data:334} - {DEBUG:MainThread} - pv5
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=2768.146, monthly_exported=0, yearly_exported=0, exported=25024.69, fault_state=0, fault_str='Kein Fehler.', power=-1361))
2023-02-27 11:05:53,863 - {control.data:334} - {DEBUG:MainThread} - pv6
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='', power=0))
2023-02-27 11:05:53,864 - {control.data:318} - {DEBUG:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=2768.146, monthly_exported=0, yearly_exported=0, exported=25020.882, power=-1334))
2023-02-27 11:05:53,864 - {control.data:334} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.28', 'current_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_branch': 'master', 'current_branch_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1677492343, 'time': '11:05:43', 'grid': 0.011, 'house-power': 0.0, 'charging-all': 1.357, 'pv-all': 1.334, 'cp4-power': 1.357, 'ev0-soc': 35, 'bat-all-power': 0.404, 'bat-all-soc': 28}, 'module_update_completed': True}
2023-02-27 11:05:53,865 - {control.data:347} - {DEBUG:MainThread} - device0
{'name': 'SH10RT', 'type': 'sungrow', 'id': 0, 'configuration': {'ip_address': '192.168.178.49', 'port': 502, 'modbus_id': 1}}
2023-02-27 11:05:53,866 - {control.data:349} - {DEBUG:MainThread} - component0
{'name': 'Sungrow Zähler', 'type': 'counter', 'id': 0, 'configuration': {'version': 0}}
2023-02-27 11:05:53,867 - {control.data:349} - {DEBUG:MainThread} - component2
{'name': 'Sungrow Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-02-27 11:05:53,868 - {control.data:349} - {DEBUG:MainThread} - component5
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 5, 'configuration': {}}
2023-02-27 11:05:53,868 - {control.data:347} - {DEBUG:MainThread} - device1
{'name': 'SG10RT', 'type': 'sungrow', 'id': 1, 'configuration': {'ip_address': '192.168.178.69', 'port': 502, 'modbus_id': 1}}
2023-02-27 11:05:53,871 - {control.data:349} - {DEBUG:MainThread} - component6
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 6, 'configuration': {}}
2023-02-27 11:05:53,872 - {control.data:321} - {DEBUG:MainThread} - 

Dateianhänge
OpenWB.png
LutzB
Beiträge: 3513
Registriert: Di Feb 25, 2020 9:23 am

Re: Feedback Beta 2

Beitrag von LutzB »

Aventinus hat geschrieben: Mo Feb 27, 2023 10:35 am 1. Die Batterieleistung des SH10RT wird ohne Vorzeichen auf dem Modbus bereitgestellt. Ich vermute, das wird so in der OpenWB übernommen. Somit wird sowohl Ladung als auch Entladung als Ladung im Graph und in der Anzeige dargestellt.
Lässt sich denn irgendwie erkennen, ob ge- oder entladen wird? Uns sind in dem Zusammenhang zumindest Probleme bekannt, wenn der WiNet Dongle verwendet wird. Am normalen LAN Port wird wohl ein Vorzeichen mitgeschickt.
Aventinus
Beiträge: 35
Registriert: Fr Nov 26, 2021 6:36 pm

Re: Feedback Beta 2

Beitrag von Aventinus »

Das kann ich nochmal testen. Momentan hängt er über den WiNet-Dongle am Netzwerk.

Ich hatte den SH10RT auch schon an IO-Broker hängen - und da über den anderen Port. Da hab ich mir eine Auswertung gebaut, wenn die PV-Leistung größer ist als Last + Einspeisung wird der Akku geladen, ansonsten Entladen. Die Modbus-Register hab ich grad nicht im Kopf, dann ich aber später nachschauen.
Aventinus
Beiträge: 35
Registriert: Fr Nov 26, 2021 6:36 pm

Re: Feedback Beta 2

Beitrag von Aventinus »

LutzB hat geschrieben: Mo Feb 27, 2023 11:37 am
Aventinus hat geschrieben: Mo Feb 27, 2023 10:35 am 1. Die Batterieleistung des SH10RT wird ohne Vorzeichen auf dem Modbus bereitgestellt. Ich vermute, das wird so in der OpenWB übernommen. Somit wird sowohl Ladung als auch Entladung als Ladung im Graph und in der Anzeige dargestellt.
Lässt sich denn irgendwie erkennen, ob ge- oder entladen wird? Uns sind in dem Zusammenhang zumindest Probleme bekannt, wenn der WiNet Dongle verwendet wird. Am normalen LAN Port wird wohl ein Vorzeichen mitgeschickt.
Hallo, hab jetzt mal auf den LAN-Port umgesteckt. Da sieht es tatsächlich anders aus.
Gesperrt