Ich bin kein Experte, da stecke ich nicht drin. Ich kann nur die Unterschiede feststellen:
anbei der Screenshot von dem Mercedeseq Branch, der zu den Werten zu 1.9 passt, mit entprechendem log dazu.
Code: Alles auswählen
2023-03-24 15:23:40,758 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 9.04947
2023-03-24 15:23:40,759 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 9.04947 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1679667820.7575705, power=3359.0, imported=98102.2460357493, exported=72793.02585577348)
2023-03-24 15:23:40,760 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=98102.2460357493, exported=72793.02585577348, power=3359.0, soc=81.0)
2023-03-24 15:23:43,428 - {modules.common.fault_state:40} - {ERROR:cp2} - 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-03-24 15:23:43,431 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['SolarEdge Speicher']
2023-03-24 15:23:43,433 - {modules.common.store._api:30} - {INFO:component3} - Saving BatState(imported=98102.2460357493, exported=72793.02585577348, power=3359.0, soc=81.0)
2023-03-24 15:23:43,495 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-24 15:23:43,496 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-24 15:23:43,497 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3893.0, exported=16218635.22, dc_power=None)
2023-03-24 15:23:43,498 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3893.0, exported=16218635.22, dc_power=None)
2023-03-24 15:23:43,525 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-03-24 15:23:43,526 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[236.89000000000001, 237.6, 238.63], powers=[348.0, -168.0, -154.0], currents=[1.7000000000000002, -0.7000000000000001, -0.7000000000000001], power_factors=[0.7879, -0.9499, -0.93], imported=4627076.0, exported=6778057.0, power=25.0, frequency=50.0)
2023-03-24 15:23:43,587 - {control.bat_all:137} - {WARNING:MainThread} - Bat 3: Die maximale Entladeleistung des Wechselrichters ist erreicht.
2023-03-24 15:23:43,643 - {control.bat_all:166} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung: 3432.0W
2023-03-24 15:23:43,647 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (300W) subtrahieren: 3132.0
2023-03-24 15:23:43,647 - {control.bat_all:149} - {INFO:MainThread} - 3132.0W verbliebende Speicher-Leistung
2023-03-24 15:23:43,648 - {control.counter:131} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [47.3, 49.7, 49.7]A
2023-03-24 15:23:43,649 - {control.counter:153} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 49975.0W
2023-03-24 15:23:43,657 - {control.chargepoint:354} - {INFO:MainThread} - LP 2: Keine Ladung, da kein Auto angesteckt ist.
2023-03-24 15:23:43,672 - {control.data:334} - {INFO:MainThread} - bat3
BatData(get=Get(soc=81, daily_exported=1272.29, daily_imported=9553.42, imported=98102.25, exported=72793.03, fault_state=0, fault_str='Kein Fehler.', power=3359.0))
2023-03-24 15:23:43,676 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=81, daily_exported=1272.29, daily_imported=9553.42, imported=98093.2, exported=72793.03, power=3432.0), set=Set(charging_power_left=3132.0, switch_on_soc_reached=True))
2023-03-24 15:23:43,683 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-03-24 15:23:43,685 - {control.data:334} - {INFO:MainThread} - cp2
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, 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 0x713fa280>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.2.231', '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=False, control_pilot_interruption_hw=False, id=2))
2023-03-24 15:23:43,685 - {control.data:334} - {INFO: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-03-24 15:23:43,687 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[50, 50, 50], max_total_power=50000), get=Get(powers=[348.0, -168.0, -154.0], currents=[1.7, -0.7, -0.7], voltages=[236.89, 237.6, 238.63], power_factors=[0.79, -0.95, -0.93], unbalanced_load=0, frequency=50.0, daily_exported=1109.0, daily_imported=4048.0, imported=4627076.0, exported=6778057.0, fault_state=0, fault_str='Kein Fehler.', power=25.0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=49975.0, raw_currents_left=[47.3, 49.7, 49.7], surplus_power_left=0, state_str=''))
2023-03-24 15:23:43,690 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 3, 'type': 'bat', 'children': []}]}, {'id': 2, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=559.0, invalid_home_consumption=0, daily_yield_home_consumption=15326.0))
2023-03-24 15:23:43,691 - {control.data:334} - {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=6, min_current=0, feed_in_limit=False, min_soc=75, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=14, limit=Limit(selected='soc', amount=500, soc=100))))
2023-03-24 15:23:43,692 - {control.data:334} - {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=32, battery_capacity=82, nominal_difference=0.5), 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), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='03/24/2023, 08:20:16', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-03-24 15:23:43,695 - {control.data:334} - {INFO:MainThread} - ev1
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), 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), 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-03-24 15:23:43,696 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, 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=23, min_current=6, max_current_single_phase=32, battery_capacity=13, nominal_difference=0.5)
2023-03-24 15:23:43,699 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=300, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=7, phases_to_use=1, rundown_power=2000, rundown_soc=80, switch_off_delay=179, switch_off_soc=0, switch_off_threshold=50, switch_on_delay=180, switch_on_soc=0, switch_on_threshold=1300), 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.48, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-24 15:23:43,699 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-24 15:23:43,700 - {control.data:316} - {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=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-03-24 15:23:43,700 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=7200), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=20668.13, monthly_exported=0, yearly_exported=0, exported=16218635.22, fault_state=0, fault_str='Kein Fehler.', power=-3893.0))
2023-03-24 15:23:43,700 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=20668.13, monthly_exported=0, yearly_exported=0, exported=16218625.17, power=-3922.0))
2023-03-24 15:23:43,701 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.2.130', 'current_commit': '2023-03-16 07:49:04 +0100 [d819d0e8]', 'current_branch': 'feature-mercedeseq', 'current_branch_commit': '2023-03-16 07:49:04 +0100 [d819d0e8]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679667816, 'time': '15:23:36', 'grid': 0.06, 'house-power': 0.55, 'charging-all': 0.0, 'pv-all': 4.17, 'ev0-soc': 0, 'bat-all-power': 3.575, 'bat-all-soc': 81}, 'module_update_completed': True}
2023-03-24 15:23:43,701 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.2.134'}}
2023-03-24 15:23:43,701 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-03-24 15:23:43,702 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-03-24 15:23:43,702 - {control.data:349} - {INFO:MainThread} - component3
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 3, 'configuration': {'modbus_id': 1}}
2023-03-24 15:23:43,702 - {control.data:321} - {INFO:MainThread} -
2023-03-24 15:23:43,702 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-24 15:23:43,703 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-24 15:23:43,707 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-24 15:23:43,711 - {control.counter:190} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2992.0W
2023-03-24 15:23:43,712 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 2992.0W
2023-03-24 15:23:43,712 - {control.algorithm.algorithm:40} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-03-24 15:23:43,715 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-24 15:23:43,717 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-24 15:23:46,547 - {modules.common.fault_state:40} - {ERROR:cp2} - 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-03-24 15:23:46,553 - {control.counter:178} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-24 15:23:46,773 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-24 15:23:50,842 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-24 15:23:50,843 - {root:61} - {INFO:MainThread} - # ***Start***
2023-03-24 15:23:50,887 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x725d3a30>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x725d3940>, 'component3': <modules.devices.solaredge.bat.SolaredgeBat object at 0x725ee520>}
2023-03-24 15:23:50,889 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-24 15:23:50,894 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-03-24 15:23:50,927 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [117, -294, 213, 198], Scale 0
2023-03-24 15:23:50,947 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [17, 8, 8], Scale -1
2023-03-24 15:23:50,967 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23690, 23717, 23847, 0, 0, 0, 0], Scale -2
2023-03-24 15:23:50,997 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-03-24 15:23:51,016 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7630, -9610, -9470], Scale -2
2023-03-24 15:23:51,037 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6778057, 2136060, 4166648, 4219145, 4627076, 6005036, 1559703, 806132], Scale 0
2023-03-24 15:23:51,038 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[236.9, 237.17000000000002, 238.47], powers=[294.0, -213.0, -198.0], currents=[1.7000000000000002, -0.8, -0.8], power_factors=[0.763, -0.9610000000000001, -0.9470000000000001], imported=4627076.0, exported=6778057.0, power=-117.0, frequency=50.0)
2023-03-24 15:23:51,040 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-24 15:23:51,067 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6460], Scale -1
2023-03-24 15:23:51,107 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [16193328], Scale 0
2023-03-24 15:23:51,147 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [92, 95, 92], Scale -2
2023-03-24 15:23:51,167 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6558], Scale -1
2023-03-24 15:23:51,168 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[-0.92, -0.9500000000000001, -0.92], power=-646.0, exported=16193328.0, dc_power=-655.8000000000001)
2023-03-24 15:23:51,175 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-03-24 15:23:51,341 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1679667820.7575705, power=3359.0, imported=98102.2460357493, exported=72793.02585577348)
2023-03-24 15:23:51,341 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00293984, power1: 3359, power2: 3604
2023-03-24 15:23:51,342 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 10.2351
2023-03-24 15:23:51,342 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 10.2351 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1679667831.3410087, power=3604.0, imported=98112.4811024013, exported=72793.02585577348)
2023-03-24 15:23:51,344 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=98112.4811024013, exported=72793.02585577348, power=3604.0, soc=81.0)
2023-03-24 15:23:53,988 - {modules.common.fault_state:40} - {ERROR:cp2} - 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