Nach meiner letzten Meldung hat sich in den anschliessenden verschiedenen Versionen bis zur jetzt aktuellen OWB2.0 version 2023-01-27 07:55:01 +0100 [ff4a03ca] nichts an den Messungen geändert; die Berechnungen von PV und Hausverbrauch sind nach wie vor nicht richtig.
Code: Alles auswählen
2023-01-28 15:16:30,043 - {root:61} - {INFO:MainThread} - # ***Start***
2023-01-28 15:16:30,069 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0xb2664940>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0xb2664850>, 'component2': <modules.devices.solaredge.bat.SolaredgeBat object at 0xb26643b8>}
2023-01-28 15:16:30,070 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-28 15:16:30,075 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-01-28 15:16:30,113 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-28, -272, 78, 165], Scale 0
2023-01-28 15:16:30,132 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [13, 6, 7], Scale -1
2023-01-28 15:16:30,153 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23743, 23815, 23881, 0, 0, 0, 0], Scale -2
2023-01-28 15:16:30,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-01-28 15:16:30,213 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7960, -4830, -9259], Scale -2
2023-01-28 15:16:30,235 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6610614, 2081272, 4003197, 4044282, 4091950, 5469818, 1408283, 731986], Scale 0
2023-01-28 15:16:30,235 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[237.43, 238.15, 238.81], powers=[272.0, -78.0, -165.0], currents=[1.3, -0.6000000000000001, -0.7000000000000001], power_factors=[0.796, -0.48300000000000004, -0.9259000000000001], imported=4091950.0, exported=6610614.0, power=28.0, frequency=49.97)
2023-01-28 15:16:30,242 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-01-28 15:16:30,264 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5730], Scale -1
2023-01-28 15:16:30,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [15498811], Scale 0
2023-01-28 15:16:30,337 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [82, 85, 82], Scale -2
2023-01-28 15:16:30,365 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5817], Scale -1
2023-01-28 15:16:30,366 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[-0.8200000000000001, -0.85, -0.8200000000000001], power=-573.0, exported=15498811.0, dc_power=-581.7)
2023-01-28 15:16:30,372 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-01-28 15:16:30,475 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1674915380.8960636, power=1999.0, imported=1478.9031295084615, exported=98.43074275692284)
2023-01-28 15:16:30,475 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00266082, power1: 1999, power2: 2003
2023-01-28 15:16:30,475 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 5.3243
2023-01-28 15:16:30,476 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 5.3243 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1674915390.475008, power=2003.0, imported=1484.2274261289497, exported=98.43074275692284)
2023-01-28 15:16:30,477 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=1484.2274261289497, exported=98.43074275692284, power=2003.0, soc=21.0)
2023-01-28 15:16:33,167 - {soc.modules.common.fault_state:40} - {ERROR:cp3} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 60, in get_values
self.__client_error_context.reset_error_counter()
File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
raise exception
File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 53, in get_values
pub.pub_single("openWB/set/isss/heartbeat", 0, hostname=ip_address)
File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
client.connect(hostname, port, keepalive)
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/lib/python3.9/socket.py", line 843, in create_connection
raise err
File "/usr/lib/python3.9/socket.py", line 831, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
2023-01-28 15:16:33,169 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Speicher']
2023-01-28 15:16:33,170 - {soc.modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=1484.2274261289497, exported=98.43074275692284, power=2003.0, soc=21.0)
2023-01-28 15:16:33,204 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-01-28 15:16:33,205 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-28 15:16:33,212 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-01-28 15:16:33,213 - {soc.modules.common.store._api:30} - {DEBUG:component0} - Saving CounterState(voltages=[237.43, 238.15, 238.81], powers=[272.0, -78.0, -165.0], currents=[1.3, -0.6000000000000001, -0.7000000000000001], power_factors=[0.796, -0.48300000000000004, -0.9259000000000001], imported=4091950.0, exported=6610614.0, power=28.0, frequency=49.97)
2023-01-28 15:16:33,248 - {control.bat_all:128} - {WARNING:MainThread} - Bat 2: Die maximale Entladeleistung des Wechselrichters ist erreicht.
2023-01-28 15:16:33,290 - {control.counter:137} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [47.7, 49.6, 49.7]
2023-01-28 15:16:33,290 - {control.counter:166} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 39972.0
2023-01-28 15:16:33,293 - {control.chargepoint:354} - {INFO:MainThread} - LP 3: Keine Ladung, da kein Auto angesteckt ist.
2023-01-28 15:16:33,294 - {control.bat_all:145} - {INFO:MainThread} - -50W verbliebende Speicher-Leistung
2023-01-28 15:16:33,295 - {control.counter_all:83} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -1963.0W, Berücksichtigte Komponenten neben EVU [{'id': 1, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}]
2023-01-28 15:16:33,296 - {control.data:334} - {DEBUG:MainThread} - bat2
BatData(get=Get(soc=21, daily_exported=97.46, daily_imported=1278.38, imported=1484.23, exported=98.43, fault_state=0, fault_str='Kein Fehler.', power=2003.0))
2023-01-28 15:16:33,296 - {control.data:305} - {DEBUG:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=21, daily_exported=97.46, daily_imported=1278.38, imported=1478.9, exported=98.43, power=1999.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-01-28 15:16:33,297 - {control.data:306} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-01-28 15:16:33,297 - {control.data:334} - {DEBUG: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=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk.', fault_state=2, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[230.0, 230.0, 230.0]), set=Set(change_ev_permitted=False, 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 0xb0ad6e38>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.2.199', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-01-28 15:16:33,297 - {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-01-28 15:16:33,299 - {control.data:334} - {DEBUG:MainThread} - counter0
CounterData(config=Config(max_currents=[50, 50, 50], max_total_power=40000), get=Get(powers=[272.0, -78.0, -165.0], currents=[1.3, -0.6, -0.7], voltages=[237.43, 238.15, 238.81], power_factors=[0.8, -0.48, -0.93], unbalanced_load=0, frequency=49.97, daily_exported=222.0, daily_imported=64572.0, imported=4091950.0, exported=6610614.0, 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=28.0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=39972.0, raw_currents_left=[47.7, 49.6, 49.7], surplus_power_left=0, state_str=''))
2023-01-28 15:16:33,299 - {control.data:310} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=64350.0))
2023-01-28 15:16:33,300 - {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=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=17, limit=Limit(selected='none', amount=8000, soc=50))))
2023-01-28 15:16:33,300 - {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=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=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), 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=''))
2023-01-28 15:16:33,300 - {control.data:334} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=17, max_phases=2, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=22, min_current=6, max_current_single_phase=32, battery_capacity=13, nominal_difference=1)
2023-01-28 15:16:33,300 - {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=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=95, switch_off_delay=60, switch_off_soc=95, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=95, switch_on_threshold=1500), 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=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.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-28 15:16:33,301 - {control.data:315} - {DEBUG:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-01-28 15:16:33,301 - {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-01-28 15:16:33,301 - {control.data:334} - {DEBUG:MainThread} - pv1
PvData(config=Config(max_ac_out=7200), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=15479368.52, fault_state=0, fault_str='Kein Fehler.', power=-12.0))
2023-01-28 15:16:33,302 - {control.data:318} - {DEBUG:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=15479368.52, power=-12.0))
2023-01-28 15:16:33,302 - {control.data:334} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.2.129', 'current_commit': '2023-01-27 07:55:01 +0100 [ff4a03ca]', 'current_branch': 'master', 'current_branch_commit': '2023-01-27 07:55:01 +0100 [ff4a03ca]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'lastlivevaluesJson': {'timestamp': 1674915386, 'time': '15:16:26', 'grid': 0.007, 'house-power': 0.0, 'charging-all': 0.0, 'pv-all': 0.012, 'bat-all-power': 1.999, 'bat-all-soc': 21}, 'module_update_completed': True}
2023-01-28 15:16:33,302 - {control.data:347} - {DEBUG:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.2.134'}}
2023-01-28 15:16:33,302 - {control.data:349} - {DEBUG:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-01-28 15:16:33,302 - {control.data:349} - {DEBUG:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-01-28 15:16:33,302 - {control.data:349} - {DEBUG:MainThread} - component2
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-01-28 15:16:33,302 - {control.data:321} - {DEBUG:MainThread} -
2023-01-28 15:16:33,302 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus
2023-01-28 15:16:33,303 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-28 15:16:33,304 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-28 15:16:33,306 - {control.counter:203} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-28 15:16:33,306 - {control.counter:466} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-28 15:16:33,306 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-28 15:16:33,306 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-28 15:16:33,308 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-28 15:16:36,287 - {soc.modules.common.fault_state:40} - {ERROR:cp3} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 44, in set_current
pub.pub_single("openWB/set/isss/Lp2Current", current,
File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
raise exception
File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 41, in set_current
pub.pub_single("openWB/set/isss/Current", current,
File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
client.connect(hostname, port, keepalive)
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/lib/python3.9/socket.py", line 843, in create_connection
raise err
File "/usr/lib/python3.9/socket.py", line 831, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
2023-01-28 15:16:36,292 - {control.counter:191} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-28 15:16:36,527 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-28 15:16:40,544 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-28 15:16:40,545 - {root:61} - {INFO:MainThread} - # ***Start***