Re: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen
Verfasst: Sa Mai 20, 2023 7:40 pm
Die Box hat kein Limit und das Auto hat “kein Strom“ gesagt.
Die modulare Wallbox
https://forum.openwb.de/
Code: Alles auswählen
2023-05-21 20:32:11,582 - {modules.update_soc:67} - {ERROR:MainThread} - Fehler im update_soc-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/update_soc.py", line 46, in _get_threads
if (ev.soc_interval_expired(soc_update_data.charge_state) or ev.data.get.force_soc_update):
File "/var/www/html/openWB/packages/control/ev.py", line 262, in soc_interval_expired
if timecheck.check_timestamp(self.data.get.soc_timestamp, interval*60-5) is False:
File "/var/www/html/openWB/packages/helpermodules/timecheck.py", line 236, in check_timestamp
stamp = datetime.datetime.strptime(timestamp, "%m/%d/%Y, %H:%M:%S")
TypeError: strptime() argument 1 must be str, not None
Code: Alles auswählen
2023-05-22 17:08:40,337 - {root:63} - {INFO:MainThread} - # ***Start***
2023-05-22 17:08:40,384 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x75984df0>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x72575eb0>, 'component2': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71bc6058>}
2023-05-22 17:08:40,385 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-05-22 17:08:40,389 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-05-22 17:08:40,427 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5991, 2058, 2108, 1823], Scale 0
2023-05-22 17:08:40,446 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [94, 93, 84], Scale -1
2023-05-22 17:08:40,465 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23604, 23721, 23740, 0, 0, 0, 0], Scale -2
2023-05-22 17:08:40,485 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-05-22 17:08:40,506 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9240, -9459, -9089], Scale -2
2023-05-22 17:08:40,525 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [3790795, 1171090, 2843876, 2286179, 4137679, 4154555, 897056, 1596418], Scale 0
2023-05-22 17:08:40,526 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[236.04, 237.21, 237.4], powers=[-2058.0, -2108.0, -1823.0], currents=[-9.4, -9.3, -8.4], power_factors=[-0.924, -0.9459000000000001, -0.9089], imported=4137679.0, exported=3790795.0, power=-5991.0, frequency=49.99)
2023-05-22 17:08:40,527 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-05-22 17:08:40,545 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6315], Scale 0
2023-05-22 17:08:40,565 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11812838], Scale 0
2023-05-22 17:08:40,618 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [935, 935, 936], Scale -2
2023-05-22 17:08:40,646 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6411], Scale 0
2023-05-22 17:08:40,647 - {modules.common.component_state:95} - {DEBUG:device0} - currents sign wrong [9.35, 9.35, 9.36]
2023-05-22 17:08:40,647 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[9.35, 9.35, 9.36], power=-6315.0, exported=11812838.0, dc_power=-6411.0)
2023-05-22 17:08:40,648 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-05-22 17:08:40,686 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1684768110.6759238, power=0.0, imported=39949.19372518015, exported=30411.01805827023)
2023-05-22 17:08:40,687 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00278076, power1: 0, power2: 0
2023-05-22 17:08:40,687 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-05-22 17:08:40,687 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1684768120.6866598, power=0.0, imported=39949.19372518015, exported=30411.01805827023)
2023-05-22 17:08:40,688 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=39949.19372518015, exported=30411.01805827023, power=0.0, soc=100.0)
2023-05-22 17:08:40,696 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Speicher']
2023-05-22 17:08:40,696 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=39949.19372518015, exported=30411.01805827023, power=0.0, soc=100.0)
2023-05-22 17:08:40,730 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-05-22 17:08:40,731 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-05-22 17:08:40,731 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-6315.0, exported=11822376.17, dc_power=None)
2023-05-22 17:08:40,732 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-6315.0, exported=11822376.17, dc_power=None)
2023-05-22 17:08:40,753 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-05-22 17:08:40,754 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[236.04, 237.21, 237.4], powers=[-2058.0, -2108.0, -1823.0], currents=[-9.4, -9.3, -8.4], power_factors=[-0.924, -0.9459000000000001, -0.9089], imported=4137679.0, exported=3790795.0, power=-5991.0, frequency=49.99)
2023-05-22 17:08:40,868 - {control.bat_all:164} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-05-22 17:08:40,878 - {control.counter:126} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [79.4, 79.3, 78.4]A
2023-05-22 17:08:40,878 - {control.counter:149} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 53991.0W
2023-05-22 17:08:40,883 - {control.chargepoint:739} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-05-22 17:08:40,902 - {control.chargepoint:909} - {INFO:MainThread} - LP 3, 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: 0.0
2023-05-22 17:08:40,905 - {control.data:335} - {INFO:MainThread} - bat2
BatData(get=Get(soc=100, daily_exported=3381.21, daily_imported=5476.76, imported=39949.19, exported=30411.02, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-05-22 17:08:40,906 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=100, daily_exported=3381.21, daily_imported=5476.76, imported=39949.19, exported=30411.02, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=True))
2023-05-22 17:08:40,909 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0, power=0, imported=5809775.88, exported=0))
2023-05-22 17:08:40,910 - {control.data:335} - {INFO:MainThread} - cp3
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=5809775.88, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[235.37, 236.84, 236.84]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=5809775.88, imported_at_plugtime=5809775.88, imported_since_mode_switch=0, imported_since_plugged=0.0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='05/22/2023, 14:13:11', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x72c16e38>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 1}, ev=0, name='Garage', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-05-22 17:08:40,912 - {control.data:335} - {INFO: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-05-22 17:08:40,913 - {control.data:335} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[70, 70, 70], max_total_power=48000), get=Get(powers=[-2058.0, -2108.0, -1823.0], currents=[-9.4, -9.3, -8.4], voltages=[236.04, 237.21, 237.4], power_factors=[-0.92, -0.95, -0.91], unbalanced_load=0, frequency=49.99, daily_exported=10122.0, daily_imported=123.0, imported=4137679.0, exported=3790795.0, fault_state=0, fault_str='Kein Fehler.', power=-5991.0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=53991.0, raw_currents_left=[79.4, 79.3, 78.4], surplus_power_left=0, state_str=''))
2023-05-22 17:08:40,915 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=324.0, invalid_home_consumption=0, daily_yield_home_consumption=7297.999999999999))
2023-05-22 17:08:40,918 - {control.data:335} - {INFO: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=16, min_current=0, feed_in_limit=True, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=80))))
2023-05-22 17:08:40,920 - {control.data:335} - {INFO: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=17, min_current=6, max_current_single_phase=16, battery_capacity=60, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=6, required_currents=[6, 0.0, 0.0], 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, state=0), 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-05-22 17:08:40,921 - {control.data:335} - {INFO:MainThread} - ev3
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=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None, state=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-05-22 17:08:40,921 - {control.data:335} - {INFO: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=16, battery_capacity=60, nominal_difference=0.5, keep_charge_active_duration=40)
2023-05-22 17:08:40,922 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=0, control_range=[0, 230], feed_in_yield=4000, phase_switch_delay=9, phases_to_use=1, rundown_power=0, rundown_soc=100, switch_off_delay=300, switch_off_soc=0, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=0, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=3), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=3), 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.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-05-22 17:08:40,924 - {control.data:315} - {INFO:MainThread} - general_data-display
local
2023-05-22 17:08:40,925 - {control.data:316} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-05-22 17:08:40,925 - {control.data:317} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x72c1c790>), led=Led(active=False), rfid=Rfid(active=False))
2023-05-22 17:08:40,926 - {control.data:335} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=19392.55, monthly_exported=0, yearly_exported=0, exported=11822376.17, fault_state=0, fault_str='Kein Fehler.', power=-6315.0))
2023-05-22 17:08:40,926 - {control.data:319} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=19392.55, monthly_exported=0, yearly_exported=0, exported=11822357.17, power=-6315.0))
2023-05-22 17:08:40,926 - {control.data:335} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.226', 'current_commit': '2023-05-16 14:13:58 +0200 [b36eed36]', 'current_branch': 'master', 'current_branch_commit': '2023-05-16 14:13:58 +0200 [b36eed36]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 9, 'lastlivevaluesJson': {'timestamp': 1684768110, 'time': '17:08:30', 'grid': -5.973, 'house-power': 0.342, 'charging-all': 0.0, 'pv-all': 6.609, 'cp3-power': 0.0, 'bat-all-power': 0.0, 'bat-all-soc': 100}, 'module_update_completed': True}
2023-05-22 17:08:40,927 - {control.data:348} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.178.224'}}
2023-05-22 17:08:40,927 - {control.data:350} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-05-22 17:08:40,927 - {control.data:350} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-05-22 17:08:40,927 - {control.data:350} - {INFO:MainThread} - component2
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-05-22 17:08:40,928 - {control.data:322} - {INFO:MainThread} -
2023-05-22 17:08:40,928 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-05-22 17:08:40,929 - {control.algorithm.algorithm:31} - {INFO:MainThread} - **Mindestrom setzen**
2023-05-22 17:08:40,932 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-05-22 17:08:40,934 - {control.algorithm.algorithm:33} - {INFO:MainThread} - **Sollstrom setzen**
2023-05-22 17:08:40,937 - {control.counter:198} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 6056.0W
2023-05-22 17:08:40,938 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 6056.0W
2023-05-22 17:08:40,939 - {control.chargepoint:356} - {INFO:MainThread} - LP 3: Die Ladung wird gestartet, sobald nach 30s die Einschaltverzögerung abgelaufen ist.
2023-05-22 17:08:40,940 - {control.algorithm.algorithm:39} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-05-22 17:08:40,946 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2023-05-22 17:08:40,947 - {control.algorithm.filter_chargepoints:47} - {INFO:MainThread} - LP 3: Keine Zuteilung des Mindeststroms, daher keine weitere Berücksichtigung
2023-05-22 17:08:40,948 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-05-22 17:08:40,951 - {control.process:115} - {INFO:MainThread} - LP3: set current 0 A, state SWITCH_ON_DELAY
2023-05-22 17:08:40,953 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-05-22 17:08:40,979 - {control.counter:174} - {INFO:MainThread} - 4000W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-05-22 17:08:41,326 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-05-22 17:08:50,392 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
Ja, das ist auch Verständnis bisher gewesen, dass der Regelpunkt die Nulllinie um den Wert verschiebt und natürlich die Einschaltschwelle oben drauf kommt. Ist aber vom Hinweistext her nicht ganz eindeutig.mrinas hat geschrieben: ↑Mo Mai 22, 2023 4:56 pm noch eine weitere Idee, setz' den Regelpunkt mal etwas weiter 'runter. Mein Verständniss ist dass immer 5kW Einspeisung aufrecht erhalten werden sollen. Damit das klappt müssen also mindestens 6,4kW (5kW + 1,4kW Einschaltschwelle) plus Hausverbrauch über einen Zeitram von 30s erzeugt werden. Ist schwer das exakt am Chart abzulesen, bin mir nicht sicher ob das dauerhaft erreicht wurde.