Re: Solaredge Hybrid-System
Verfasst: Mo Feb 13, 2023 6:37 pm
Nachdem die Werte bis jetzt nicht auffällig waren, wird heute wieder PV während der Dunkelheit angezeigt.
OWB 2.0 Version 2023-02-10 12:47:59 +0100 [13980e45]
Hängt das auch hiermit zusammen?
OWB 2.0 Version 2023-02-10 12:47:59 +0100 [13980e45]
Code: Alles auswählen
2023-02-13 19:28:10,096 - {root:61} - {INFO:MainThread} - # ***Start***
2023-02-13 19:28:10,121 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0xb26047a8>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0xb25f9e08>, 'component2': <modules.devices.solaredge.bat.SolaredgeBat object at 0xb5bfa0d0>}
2023-02-13 19:28:10,123 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-02-13 19:28:10,128 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-02-13 19:28:10,190 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-34, -374, 143, 196], Scale 0
2023-02-13 19:28:10,210 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24, 6, 10], Scale -1
2023-02-13 19:28:10,229 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23678, 23758, 23782, 0, 0, 0, 0], Scale -2
2023-02-13 19:28:10,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-02-13 19:28:10,293 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6359, -9559, -8059], Scale -2
2023-02-13 19:28:10,310 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6650429, 2093960, 4039026, 4080124, 4294836, 5636528, 1464196, 756794], Scale 0
2023-02-13 19:28:10,310 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[236.78, 237.58, 237.82], powers=[374.0, -143.0, -196.0], currents=[2.4000000000000004, -0.6000000000000001, -1.0], power_factors=[0.6359, -0.9559000000000001, -0.8059000000000001], imported=4294836.0, exported=6650429.0, power=34.0, frequency=50.0)
2023-02-13 19:28:10,312 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-02-13 19:28:10,329 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7530], Scale -1
2023-02-13 19:28:10,349 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [15645158], Scale 0
2023-02-13 19:28:10,402 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [116, 119, 115], Scale -2
2023-02-13 19:28:10,431 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7644], Scale -1
2023-02-13 19:28:10,432 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[-1.16, -1.19, -1.1500000000000001], power=-753.0, exported=15645158.0, dc_power=-764.4000000000001)
2023-02-13 19:28:10,433 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-02-13 19:28:10,470 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1676312881.1622548, power=-840.0, imported=58212.97190834177, exported=43183.86351201177)
2023-02-13 19:28:10,471 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00258566, power1: -840, power2: -840
2023-02-13 19:28:10,471 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: -2.17195
2023-02-13 19:28:10,471 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 2.17195 Wh, new state: SimCounterState(timestamp=1676312890.4706275, power=-840.0, imported=58212.97190834177, exported=43186.035465650166)
2023-02-13 19:28:10,472 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=58212.97190834177, exported=43186.035465650166, power=-840.0, soc=79.0)
2023-02-13 19:28:13,236 - {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-02-13 19:28:13,239 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Speicher']
2023-02-13 19:28:13,245 - {modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=58212.97190834177, exported=43186.035465650166, power=-840.0, soc=79.0)
2023-02-13 19:28:13,279 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-02-13 19:28:13,280 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-02-13 19:28:13,280 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=87.0, exported=15660184.93, dc_power=None)
2023-02-13 19:28:13,281 - {modules.common.store._api:30} - {DEBUG:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=87.0, exported=15660184.93, dc_power=None)
2023-02-13 19:28:13,299 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-02-13 19:28:13,300 - {modules.common.store._api:30} - {DEBUG:component0} - Saving CounterState(voltages=[236.78, 237.58, 237.82], powers=[374.0, -143.0, -196.0], currents=[2.4000000000000004, -0.6000000000000001, -1.0], power_factors=[0.6359, -0.9559000000000001, -0.8059000000000001], imported=4294836.0, exported=6650429.0, power=34.0, frequency=50.0)
2023-02-13 19:28:13,354 - {control.counter:139} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [46.6, 49.6, 50.0]
2023-02-13 19:28:13,355 - {control.counter:161} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 39966.0
2023-02-13 19:28:13,356 - {control.chargepoint:354} - {INFO:MainThread} - LP 3: Keine Ladung, da kein Auto angesteckt ist.
2023-02-13 19:28:13,357 - {control.bat_all:145} - {INFO:MainThread} - -840.0W verbliebende Speicher-Leistung
2023-02-13 19:28:13,358 - {control.data:334} - {DEBUG:MainThread} - bat2
BatData(get=Get(soc=79, daily_exported=2399.62, daily_imported=10894.22, imported=58212.97, exported=43186.04, fault_state=0, fault_str='Kein Fehler.', power=-840.0))
2023-02-13 19:28:13,359 - {control.data:305} - {DEBUG:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=79, daily_exported=2399.62, daily_imported=10894.22, imported=58212.97, exported=43183.86, power=-840.0), set=Set(charging_power_left=-840.0, switch_on_soc_reached=False))
2023-02-13 19:28:13,359 - {control.data:306} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-02-13 19:28:13,359 - {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 0xb2b3b238>), 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-02-13 19:28:13,363 - {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-13 19:28:13,364 - {control.data:334} - {DEBUG:MainThread} - counter0
CounterData(config=Config(max_currents=[50, 50, 50], max_total_power=40000), get=Get(powers=[374.0, -143.0, -196.0], currents=[2.4, -0.6, -1.0], voltages=[236.78, 237.58, 237.82], power_factors=[0.64, -0.96, -0.81], unbalanced_load=0, frequency=50.0, daily_exported=14575.0, daily_imported=3553.0, imported=4294836.0, exported=6650429.0, fault_state=0, fault_str='Kein Fehler.', power=34.0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=39966.0, raw_currents_left=[46.6, 49.6, 50.0], surplus_power_left=0, state_str=''))
2023-02-13 19:28:13,364 - {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=787.0, invalid_home_consumption=0, daily_yield_home_consumption=11265.0))
2023-02-13 19:28:13,364 - {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-02-13 19:28:13,365 - {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-02-13 19:28:13,365 - {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-02-13 19:28:13,365 - {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.4857, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-02-13 19:28:13,367 - {control.data:315} - {DEBUG:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-02-13 19:28:13,367 - {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-13 19:28:13,367 - {control.data:334} - {DEBUG:MainThread} - pv1
PvData(config=Config(max_ac_out=7200), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=30834.6, monthly_exported=0, yearly_exported=0, exported=15660184.93, fault_state=0, fault_str='Kein Fehler.', power=87.0))
2023-02-13 19:28:13,368 - {control.data:318} - {DEBUG:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=30834.6, monthly_exported=0, yearly_exported=0, exported=15660185.11, power=84.0))
2023-02-13 19:28:13,368 - {control.data:334} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.2.129', 'current_commit': '2023-02-10 12:47:59 +0100 [13980e45]', 'current_branch': 'master', 'current_branch_commit': '2023-02-10 12:47:59 +0100 [13980e45]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1676312886, 'time': '19:28:06', 'grid': 0.012, 'house-power': 0.768, 'charging-all': 0.0, 'pv-all': -0.082, 'bat-all-power': -0.84, 'bat-all-soc': 79}, 'module_update_completed': True}
2023-02-13 19:28:13,368 - {control.data:347} - {DEBUG:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.2.134'}}
2023-02-13 19:28:13,368 - {control.data:349} - {DEBUG:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-02-13 19:28:13,368 - {control.data:349} - {DEBUG:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-02-13 19:28:13,369 - {control.data:349} - {DEBUG:MainThread} - component2
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-02-13 19:28:13,369 - {control.data:321} - {DEBUG:MainThread} -
2023-02-13 19:28:13,369 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus
2023-02-13 19:28:13,370 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-02-13 19:28:13,372 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-02-13 19:28:13,376 - {control.counter:198} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-02-13 19:28:13,376 - {control.counter:461} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-02-13 19:28:13,377 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-02-13 19:28:13,377 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-02-13 19:28:13,380 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-02-13 19:28:16,356 - {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-02-13 19:28:16,360 - {control.counter:186} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-02-13 19:28:16,594 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-02-13 19:28:20,622 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-02-13 19:28:20,623 - {root:61} - {INFO:MainThread} - # ***Start***
Hängt das auch hiermit zusammen?