Hilfe bei Einrichtung Solax Software 2

Anfragen zum Erstellen von Modulen, Fragen zu Modulen
Antworten
AndiC
Beiträge: 11
Registriert: Fr Jun 23, 2023 9:34 am

Hilfe bei Einrichtung Solax Software 2

Beitrag von AndiC »

Hallo liebe Community, wir haben hier einen Solax Power T-BAT H 9.0 V2 + X3-HYBRID-8.0-D G4.2 Wechselrichter und versuchen diesen mit der openWB software2 auszulesen. Leider kommt nichts an. Das Komische ist, dass man über das Händler-Konfigurationsmenü keine Einstellungen für eine IP-Adresse, einen Port oder ModBus TCP findet, wir haben hier nur Einstellungen für ModBus 485 (Port und Baudrate).

Hat evtl. jemand Ahnung, wo sich die IP-Einstellungen befinden?

Am Solax ist ein Netzwerk-Dongle (LAN-Kabel) befestigt, der genutzt wird.

Weitere Angaben zum System: Modulversion 3.003.01, ARM-Version 1,26-1,09, DSP-Version 1.27, LAN3.0.

Kann damit evtl. jemand etwas anfangen?
openWB
Site Admin
Beiträge: 8454
Registriert: So Okt 07, 2018 1:50 pm
Has thanked: 1 time
Been thanked: 20 times

Re: Hilfe bei Einrichtung Solax Software 2

Beitrag von openWB »

Supportanfragen bitte NICHT per PN stellen.
Hardwareprobleme bitte über die Funktion Debug Daten senden mitteilen oder per Mail an support@openwb.de
AndiC
Beiträge: 11
Registriert: Fr Jun 23, 2023 9:34 am

Re: Hilfe bei Einrichtung Solax Software 2

Beitrag von AndiC »

openWB Software

2.1.4-Alpha.1
2024-04-17

openWB standard+

Schon ausgeliefert mit original Software 2

Code: Alles auswählen

2024-04-23 12:48:50,078 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-04-23 12:48:50,111 - {modules.devices.solax.device:55} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solax.counter.SolaxCounter object at 0x6e25d238>, 'component2': <modules.devices.solax.inverter.SolaxInverter object at 0x6e257028>, 'component3': <modules.devices.solax.bat.SolaxBat object at 0x6e247718>}
2024-04-23 12:48:50,112 - {modules.devices.virtual.device:40} - {DEBUG:device1} - Start device reading{'component4': <modules.devices.virtual.counter.VirtualCounter object at 0x6e247f70>}
2024-04-23 12:48:50,121 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Virtueller Zähler']
2024-04-23 12:48:50,120 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['Solax Zähler']
2024-04-23 12:48:50,113 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-04-23 12:48:50,121 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1713869320.5158033, power=0, imported=0.0, exported=0)
2024-04-23 12:48:50,124 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266835, power1: 0, power2: 0
2024-04-23 12:48:50,125 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-04-23 12:48:50,126 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (192.168.178.46, 502) failed: [Errno 111] Connection refused
2024-04-23 12:48:50,127 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1713869330.1218727, power=0, imported=0.0, exported=0)
2024-04-23 12:48:50,130 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=0.0, exported=0, power=0, frequency=50)
2024-04-23 12:48:50,138 - {modules.common.fault_state:49} - {ERROR:device0} - Solax Zähler: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.'), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/solax/device.py", line 60, in update
    self.components[component].update()
  File "/var/www/html/openWB/packages/modules/devices/solax/counter.py", line 29, in update
    with self.__tcp_client:
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 65, in __enter__
    raise e
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 61, in __enter__
    self._delegate.__enter__()
  File "/home/openwb/.local/lib/python3.9/site-packages/pymodbus/client/sync.py", line 120, in __enter__
    raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.46:502)]

2024-04-23 12:48:50,156 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['Solax Wechselrichter']
2024-04-23 12:48:50,163 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (192.168.178.46, 502) failed: [Errno 111] Connection refused
2024-04-23 12:48:50,171 - {modules.common.fault_state:49} - {ERROR:device0} - Solax Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.'), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/solax/device.py", line 60, in update
    self.components[component].update()
  File "/var/www/html/openWB/packages/modules/devices/solax/inverter.py", line 28, in update
    with self.__tcp_client:
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 65, in __enter__
    raise e
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 61, in __enter__
    self._delegate.__enter__()
  File "/home/openwb/.local/lib/python3.9/site-packages/pymodbus/client/sync.py", line 120, in __enter__
    raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.46:502)]

2024-04-23 12:48:50,182 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['Solax Speicher']
2024-04-23 12:48:50,189 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (192.168.178.46, 502) failed: [Errno 111] Connection refused
2024-04-23 12:48:50,193 - {modules.common.fault_state:49} - {ERROR:device0} - Solax Speicher: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.'), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/solax/device.py", line 60, in update
    self.components[component].update()
  File "/var/www/html/openWB/packages/modules/devices/solax/bat.py", line 30, in update
    with self.__tcp_client:
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 65, in __enter__
    raise e
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 61, in __enter__
    self._delegate.__enter__()
  File "/home/openwb/.local/lib/python3.9/site-packages/pymodbus/client/sync.py", line 120, in __enter__
    raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.46:502)]

2024-04-23 12:48:50,199 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Solax Speicher']
2024-04-23 12:48:50,203 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['Solax Wechselrichter']
2024-04-23 12:48:50,242 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['Solax Zähler']
2024-04-23 12:48:50,243 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-04-23 12:48:50,256 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['Virtueller Zähler']
2024-04-23 12:48:50,258 - {modules.common.store._api:30} - {INFO:component4} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=621719.97, exported=0, power=0, frequency=50)
2024-04-23 12:48:50,400 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [16.0, 16.0, 16.0]A
2024-04-23 12:48:50,403 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 4: [16.0, 16.0, 16.0]A
2024-04-23 12:48:50,404 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 4: 50000W
2024-04-23 12:48:50,419 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Keine Ladung, da kein Auto angesteckt ist.
2024-04-23 12:48:50,441 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1713869320.758865, power=0, imported=0.0, exported=0)
2024-04-23 12:48:50,442 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00268957, power1: 0, power2: 0
2024-04-23 12:48:50,442 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0
2024-04-23 12:48:50,442 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1713869330.4413242, power=0, imported=0.0, exported=0)
2024-04-23 12:48:50,449 - {control.data:266} - {INFO:MainThread} - bat3
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=0, daily_exported=0.0, daily_imported=0.0, imported=0, exported=0, fault_state=2, fault_str="<class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.')", power=0))
2024-04-23 12:48:50,451 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=0, daily_exported=0, daily_imported=0, fault_str='Bitte die Statusmeldungen der Speicher prüfen. Es konnte kein aktueller Zählerstand ermittelt werden, da nicht alle Module Werte liefern.', fault_state=2, imported=0, exported=0, power=0), set=Set(charging_power_left=0, regulate_up=True))
2024-04-23 12:48:50,452 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0.0, power=0, imported=621719.97, exported=0))
2024-04-23 12:48:50,457 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.STOP: 'stop'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=False, required_current=0, required_currents=[0.0, 0.0, 0.0], state=<ChargepointState.NO_CHARGING_ALLOWED: 0>, submode=<Chargemode.STOP: 'stop'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), 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.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=621719.97, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, serial_number='22379319', soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', vehicle_id=None, voltages=[237.43, 236.82, 239.65]), 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='_', costs=0, 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, ev=-1, prio=False, rfid=None, serial_number=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 0x6d8b5958>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-04-23 12:48:50,458 - {control.data:266} - {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-Profil', rfid_enabling=False, valid_tags=[])
2024-04-23 12:48:50,459 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=50000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=0, daily_exported=0.0, daily_imported=0.0, imported=0, exported=0, fault_state=2, fault_str="<class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.')", power=0), set=Set(error_counter=101929, reserved_surplus=0, released_surplus=0, raw_power_left=None, raw_currents_left=[16.0, 16.0, 16.0], surplus_power_left=0, state_str=''))
2024-04-23 12:48:50,460 - {control.data:266} - {INFO:MainThread} - counter4
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=50000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50, daily_exported=0.0, daily_imported=0.0, imported=621719.97, exported=0, fault_state=0, fault_str='Kein Fehler.', power=0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=50000, raw_currents_left=[16.0, 16.0, 16.0], surplus_power_left=0, state_str=''))
2024-04-23 12:48:50,461 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 4, 'type': 'counter', 'children': [{'id': 0, 'type': 'counter', 'children': [{'id': 3, 'type': 'bat', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}]}, {'id': 1, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=0.0, imported_home_consumption=0.0, disengageable_smarthome_power=0))
2024-04-23 12:48:50,463 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', 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=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-04-23 12:48:50,467 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=True, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-04-23 12:48:50,470 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', 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=14000, min_current=10, max_current_single_phase=32, battery_capacity=28000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-04-23 12:48:50,475 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=4500, bat_power_reserve_active=True, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=7, phases_to_use=0, bat_power_discharge=1000, bat_power_discharge_active=True, min_bat_soc=50, bat_mode='min_soc_bat_mode', switch_off_delay=60, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=1500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', 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, prices=Prices(bat=0.0002, cp=0, grid=0.0003, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-04-23 12:48:50,478 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-04-23 12:48:50,479 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-04-23 12:48:50,480 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6d8851c0>), led=Led(active=False), rfid=Rfid(active=False))
2024-04-23 12:48:50,481 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=8000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=2, fault_str="<class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.')", power=0))
2024-04-23 12:48:50,483 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, fault_str='Bitte die Statusmeldungen der Wechselrichter prüfen. Es konnte kein aktueller Zählerstand ermittelt werden, da nicht alle Module Werte liefern.', fault_state=2, monthly_exported=0, yearly_exported=0, exported=0, power=0))
2024-04-23 12:48:50,486 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.47', 'current_commit': '2024-04-17 12:16:53 +0200 [a27cd1d45]', 'current_branch': 'master', 'current_branch_commit': '2024-04-17 12:16:53 +0200 [a27cd1d45]', 'current_missing_commits': [], 'boot_done': True, 'datastore_version': 43, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4-Alpha.1', 'lastlivevaluesJson': {'timestamp': 1713869320, 'time': '12:48:40', 'grid': 0.0, 'house-power': 0.0, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'bat-all-power': 0.0, 'bat-all-soc': 0}, 'backup_before_update': True, 'module_update_completed': True}
2024-04-23 12:48:50,487 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Solax', 'type': 'solax', 'id': 0, 'configuration': <modules.devices.solax.config.SolaxConfiguration object at 0x7004c070>}
2024-04-23 12:48:50,488 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'modbus_id': 1, 'ip_address': '192.168.178.46', 'port': 502}
2024-04-23 12:48:50,492 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Solax', 'type': 'solax', 'id': 0, 'configuration': {'modbus_id': 1, 'ip_address': '192.168.178.46', 'port': 502}}
2024-04-23 12:48:50,493 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Solax Zähler', 'type': 'counter', 'id': 0, 'configuration': <modules.devices.solax.config.SolaxCounterConfiguration object at 0x6e25d190>}
2024-04-23 12:48:50,494 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-04-23 12:48:50,497 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'Solax Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-04-23 12:48:50,498 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Solax Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': <modules.devices.solax.config.SolaxInverterConfiguration object at 0x6e257628>}
2024-04-23 12:48:50,501 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-04-23 12:48:50,501 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Solax Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {}}
2024-04-23 12:48:50,502 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Solax Speicher', 'type': 'bat', 'id': 3, 'configuration': <modules.devices.solax.config.SolaxBatConfiguration object at 0x6e247538>}
2024-04-23 12:48:50,502 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-04-23 12:48:50,502 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Solax Speicher', 'type': 'bat', 'id': 3, 'configuration': {}}
2024-04-23 12:48:50,503 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Virtuelles Gerät', 'type': 'virtual', 'id': 1, 'configuration': <modules.devices.virtual.config.VirtualConfiguration object at 0x70071b98>}
2024-04-23 12:48:50,505 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-04-23 12:48:50,511 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Virtuelles Gerät', 'type': 'virtual', 'id': 1, 'configuration': {}}
2024-04-23 12:48:50,512 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Virtueller Zähler', 'type': 'counter', 'id': 4, 'configuration': <modules.devices.virtual.config.VirtualCounterConfiguration object at 0x6e2472c8>}
2024-04-23 12:48:50,515 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'external_consumption': 0}
2024-04-23 12:48:50,517 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'Virtueller Zähler', 'type': 'counter', 'id': 4, 'configuration': {'external_consumption': 0}}
2024-04-23 12:48:50,519 - {control.data:253} - {INFO:MainThread} - 

2024-04-23 12:48:50,528 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-04-23 12:48:50,530 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-04-23 12:48:50,537 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-04-23 12:48:50,551 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-04-23 12:48:50,551 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -100W
2024-04-23 12:48:50,552 - {control.counter:495} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -100W
2024-04-23 12:48:50,553 - {control.counter:495} - {DEBUG:MainThread} - Zähler 4: Begrenzung der verbleibenden Leistung auf -100W
2024-04-23 12:48:50,554 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-04-23 12:48:50,559 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-04-23 12:48:50,575 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-04-23 12:48:50,606 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-04-23 12:48:55,048 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-04-23 12:49:00,061 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-04-23 12:49:00,063 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-04-23 12:49:00,066 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-04-23 12:49:00,104 - {modules.devices.solax.device:55} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solax.counter.SolaxCounter object at 0x6e25d238>, 'component2': <modules.devices.solax.inverter.SolaxInverter object at 0x6e257028>, 'component3': <modules.devices.solax.bat.SolaxBat object at 0x6e247718>}
2024-04-23 12:49:00,105 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['Solax Zähler']
2024-04-23 12:49:00,107 - {modules.devices.virtual.device:40} - {DEBUG:device1} - Start device reading{'component4': <modules.devices.virtual.counter.VirtualCounter object at 0x6e247f70>}
2024-04-23 12:49:00,108 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (192.168.178.46, 502) failed: [Errno 111] Connection refused
2024-04-23 12:49:00,109 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-04-23 12:49:00,109 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Virtueller Zähler']
2024-04-23 12:49:00,111 - {modules.common.fault_state:49} - {ERROR:device0} - Solax Zähler: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.'), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/solax/device.py", line 60, in update
    self.components[component].update()
  File "/var/www/html/openWB/packages/modules/devices/solax/counter.py", line 29, in update
    with self.__tcp_client:
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 65, in __enter__
    raise e
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 61, in __enter__
    self._delegate.__enter__()
  File "/home/openwb/.local/lib/python3.9/site-packages/pymodbus/client/sync.py", line 120, in __enter__
    raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.46:502)]

2024-04-23 12:49:00,114 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['Solax Wechselrichter']
2024-04-23 12:49:00,118 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1713869330.1218727, power=0, imported=0.0, exported=0)
2024-04-23 12:49:00,119 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (192.168.178.46, 502) failed: [Errno 111] Connection refused
2024-04-23 12:49:00,128 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00277688, power1: 0, power2: 0
2024-04-23 12:49:00,136 - {modules.common.fault_state:49} - {ERROR:device0} - Solax Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.'), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/solax/device.py", line 60, in update
    self.components[component].update()
  File "/var/www/html/openWB/packages/modules/devices/solax/inverter.py", line 28, in update
    with self.__tcp_client:
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 65, in __enter__
    raise e
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 61, in __enter__
    self._delegate.__enter__()
  File "/home/openwb/.local/lib/python3.9/site-packages/pymodbus/client/sync.py", line 120, in __enter__
    raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.46:502)]

2024-04-23 12:49:00,137 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-04-23 12:49:00,142 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['Solax Speicher']
2024-04-23 12:49:00,147 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1713869340.1186552, power=0, imported=0.0, exported=0)
2024-04-23 12:49:00,152 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (192.168.178.46, 502) failed: [Errno 111] Connection refused
2024-04-23 12:49:00,162 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=0.0, exported=0, power=0, frequency=50)
2024-04-23 12:49:00,168 - {modules.common.fault_state:49} - {ERROR:device0} - Solax Speicher: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.'), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/solax/device.py", line 60, in update
    self.components[component].update()
  File "/var/www/html/openWB/packages/modules/devices/solax/bat.py", line 30, in update
    with self.__tcp_client:
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 65, in __enter__
    raise e
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 61, in __enter__
    self._delegate.__enter__()
  File "/home/openwb/.local/lib/python3.9/site-packages/pymodbus/client/sync.py", line 120, in __enter__
    raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.46:502)]

2024-04-23 12:49:00,185 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Solax Speicher']
2024-04-23 12:49:00,187 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['Solax Wechselrichter']
2024-04-23 12:49:00,211 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['Solax Zähler']
2024-04-23 12:49:00,212 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-04-23 12:49:00,223 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['Virtueller Zähler']
2024-04-23 12:49:00,225 - {modules.common.store._api:30} - {INFO:component4} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=621719.97, exported=0, power=0, frequency=50)
2024-04-23 12:49:00,382 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [16.0, 16.0, 16.0]A
2024-04-23 12:49:00,384 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 4: [16.0, 16.0, 16.0]A
2024-04-23 12:49:00,385 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 4: 50000W
2024-04-23 12:49:00,388 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Keine Ladung, da kein Auto angesteckt ist.
2024-04-23 12:49:00,393 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1713869330.4413242, power=0, imported=0.0, exported=0)
2024-04-23 12:49:00,397 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00276444, power1: 0, power2: 0
2024-04-23 12:49:00,400 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0
2024-04-23 12:49:00,403 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1713869340.3933165, power=0, imported=0.0, exported=0)
2024-04-23 12:49:00,409 - {control.data:266} - {INFO:MainThread} - bat3
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=0, daily_exported=0.0, daily_imported=0.0, imported=0, exported=0, fault_state=2, fault_str="<class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.')", power=0))
2024-04-23 12:49:00,411 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=0, daily_exported=0, daily_imported=0, fault_str='Bitte die Statusmeldungen der Speicher prüfen. Es konnte kein aktueller Zählerstand ermittelt werden, da nicht alle Module Werte liefern.', fault_state=2, imported=0, exported=0, power=0), set=Set(charging_power_left=0, regulate_up=True))
2024-04-23 12:49:00,413 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0.0, power=0, imported=621719.97, exported=0))
2024-04-23 12:49:00,415 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.STOP: 'stop'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=False, required_current=0, required_currents=[0.0, 0.0, 0.0], state=<ChargepointState.NO_CHARGING_ALLOWED: 0>, submode=<Chargemode.STOP: 'stop'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), 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.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=621719.97, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, serial_number='22379319', soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', vehicle_id=None, voltages=[238.56, 237.14, 237.76]), 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='_', costs=0, 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, ev=-1, prio=False, rfid=None, serial_number=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 0x6d8a0b20>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-04-23 12:49:00,416 - {control.data:266} - {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-Profil', rfid_enabling=False, valid_tags=[])
2024-04-23 12:49:00,418 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=50000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=0, daily_exported=0.0, daily_imported=0.0, imported=0, exported=0, fault_state=2, fault_str="<class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.')", power=0), set=Set(error_counter=101930, reserved_surplus=0, released_surplus=0, raw_power_left=None, raw_currents_left=[16.0, 16.0, 16.0], surplus_power_left=0, state_str=''))
2024-04-23 12:49:00,425 - {control.data:266} - {INFO:MainThread} - counter4
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=50000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50, daily_exported=0.0, daily_imported=0.0, imported=621719.97, exported=0, fault_state=0, fault_str='Kein Fehler.', power=0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=50000, raw_currents_left=[16.0, 16.0, 16.0], surplus_power_left=0, state_str=''))
2024-04-23 12:49:00,425 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 4, 'type': 'counter', 'children': [{'id': 0, 'type': 'counter', 'children': [{'id': 3, 'type': 'bat', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}]}, {'id': 1, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=0.0, imported_home_consumption=0.0, disengageable_smarthome_power=0))
2024-04-23 12:49:00,426 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', 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=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-04-23 12:49:00,426 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=True, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-04-23 12:49:00,427 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', 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=14000, min_current=10, max_current_single_phase=32, battery_capacity=28000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-04-23 12:49:00,427 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=4500, bat_power_reserve_active=True, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=7, phases_to_use=0, bat_power_discharge=1000, bat_power_discharge_active=True, min_bat_soc=50, bat_mode='min_soc_bat_mode', switch_off_delay=60, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=1500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', 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, prices=Prices(bat=0.0002, cp=0, grid=0.0003, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-04-23 12:49:00,428 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-04-23 12:49:00,429 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-04-23 12:49:00,429 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6d8addf0>), led=Led(active=False), rfid=Rfid(active=False))
2024-04-23 12:49:00,431 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=8000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=2, fault_str="<class 'pymodbus.exceptions.ConnectionException'> ('Failed to connect[ModbusTcpClient(192.168.178.46:502)]', 'Modbus-Client konnte keine Verbindung zu 192.168.178.46:502 aufbauen. Bitte Einstellungen, IP-Adresse und Port sowie Netzwerk-Anschluss prüfen.')", power=0))
2024-04-23 12:49:00,432 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, fault_str='Bitte die Statusmeldungen der Wechselrichter prüfen. Es konnte kein aktueller Zählerstand ermittelt werden, da nicht alle Module Werte liefern.', fault_state=2, monthly_exported=0, yearly_exported=0, exported=0, power=0))
2024-04-23 12:49:00,434 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.47', 'current_commit': '2024-04-17 12:16:53 +0200 [a27cd1d45]', 'current_branch': 'master', 'current_branch_commit': '2024-04-17 12:16:53 +0200 [a27cd1d45]', 'current_missing_commits': [], 'boot_done': True, 'datastore_version': 43, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4-Alpha.1', 'lastlivevaluesJson': {'timestamp': 1713869330, 'time': '12:48:50', 'grid': 0.0, 'house-power': 0.0, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'bat-all-power': 0.0, 'bat-all-soc': 0}, 'backup_before_update': True, 'module_update_completed': True}
2024-04-23 12:49:00,434 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Solax', 'type': 'solax', 'id': 0, 'configuration': <modules.devices.solax.config.SolaxConfiguration object at 0x7004c070>}
2024-04-23 12:49:00,435 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'modbus_id': 1, 'ip_address': '192.168.178.46', 'port': 502}
2024-04-23 12:49:00,437 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Solax', 'type': 'solax', 'id': 0, 'configuration': {'modbus_id': 1, 'ip_address': '192.168.178.46', 'port': 502}}
2024-04-23 12:49:00,437 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Solax Zähler', 'type': 'counter', 'id': 0, 'configuration': <modules.devices.solax.config.SolaxCounterConfiguration object at 0x6e25d190>}
2024-04-23 12:49:00,438 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-04-23 12:49:00,439 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'Solax Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-04-23 12:49:00,439 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Solax Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': <modules.devices.solax.config.SolaxInverterConfiguration object at 0x6e257628>}
2024-04-23 12:49:00,440 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-04-23 12:49:00,441 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Solax Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {}}
2024-04-23 12:49:00,442 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Solax Speicher', 'type': 'bat', 'id': 3, 'configuration': <modules.devices.solax.config.SolaxBatConfiguration object at 0x6e247538>}
2024-04-23 12:49:00,443 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-04-23 12:49:00,444 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Solax Speicher', 'type': 'bat', 'id': 3, 'configuration': {}}
2024-04-23 12:49:00,445 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Virtuelles Gerät', 'type': 'virtual', 'id': 1, 'configuration': <modules.devices.virtual.config.VirtualConfiguration object at 0x70071b98>}
2024-04-23 12:49:00,446 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-04-23 12:49:00,446 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Virtuelles Gerät', 'type': 'virtual', 'id': 1, 'configuration': {}}
2024-04-23 12:49:00,447 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Virtueller Zähler', 'type': 'counter', 'id': 4, 'configuration': <modules.devices.virtual.config.VirtualCounterConfiguration object at 0x6e2472c8>}
2024-04-23 12:49:00,447 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'external_consumption': 0}
2024-04-23 12:49:00,447 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'Virtueller Zähler', 'type': 'counter', 'id': 4, 'configuration': {'external_consumption': 0}}
2024-04-23 12:49:00,448 - {control.data:253} - {INFO:MainThread} - 

2024-04-23 12:49:00,448 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-04-23 12:49:00,448 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-04-23 12:49:00,453 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-04-23 12:49:00,456 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-04-23 12:49:00,457 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -100W
2024-04-23 12:49:00,457 - {control.counter:495} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -100W
2024-04-23 12:49:00,458 - {control.counter:495} - {DEBUG:MainThread} - Zähler 4: Begrenzung der verbleibenden Leistung auf -100W
2024-04-23 12:49:00,460 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-04-23 12:49:00,462 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-04-23 12:49:00,472 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-04-23 12:49:00,490 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-04-23 12:49:05,796 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-04-23 12:49:10,813 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-04-23 12:49:10,816 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-04-23 12:49:10,817 - {root:75} - {INFO:MainThread} - # ***Start*** 
Die IP des Solax wird erreicht, aber es ist, als würden er keine Werte ausgeben. Weiß jemand, wo man das aktivieren oder nachschauen kann. Im Händlermenü haben wir vergeblich nach einer Einstellung wie "ModBus TCP = aktiviert" oder "ModBusTCP Port = 502" oder ähnlichem gesucht.
Gero
Beiträge: 3378
Registriert: Sa Feb 20, 2021 9:55 am
Has thanked: 2 times
Been thanked: 39 times

Re: Hilfe bei Einrichtung Solax Software 2

Beitrag von Gero »

Der relevante Teil ist ja das hier:
Connection to (192.168.178.46, 502) failed: [Errno 111] Connection refused
Da ist einfach keiner, der auf diesem Port antworten will. Ich würde mal beim Hersteller nachfragen.
openWB-series2, openWB-Buchse, E3/DC S10pro+19.5kWh, 30kWp Ost-Süd, Model 3 und Ion
Flocki
Beiträge: 468
Registriert: Fr Aug 28, 2020 12:43 pm

Re: Hilfe bei Einrichtung Solax Software 2

Beitrag von Flocki »

Wenn der Stick Modbus TCP unterstützt (soweit ich weiß können das nicht alle und die auch nur ab einer bestimmten Firmware-Version), dann muss die Funktion wohl auch noch in der Solax Cloud aktiviert werden (da heißt sie angeblich "Live Data")
joopy
Beiträge: 1
Registriert: Do Mai 02, 2024 1:20 pm

Re: Hilfe bei Einrichtung Solax Software 2

Beitrag von joopy »

Der Solax LAN Dongle unterstütz kein Modbbus TCP, der WiFi Dongle hingegen kann Modbus TCP.

Ich habe bei mir die Homeassistant integration am WiFi Dongle laufen und nutze den RS485 Modbus zur Kommunikation mit der Solax WB. Die RS485 lässt sich mit einem Waveshare RS485to Eth in Modbus TCP verwandeln. Damit sollte dann auch eine Integration mit der openWB möglich sein - bin mir nur nicht sicher wie weit openWB Solax Wechselrichter unterstützt.
Flocki
Beiträge: 468
Registriert: Fr Aug 28, 2020 12:43 pm

Re: Hilfe bei Einrichtung Solax Software 2

Beitrag von Flocki »

Die neue Version der Lan-Dongle kann das wohl, das ist aber noch recht neu. Ich hatte auch noch einen PE-11 als Übersetzer dazwischen gehängt
Benutzeravatar
tcat
Beiträge: 38
Registriert: Fr Okt 13, 2023 8:21 am
Wohnort: Oberbayern

Re: Hilfe bei Einrichtung Solax Software 2

Beitrag von tcat »

Nur als Hinweis: der neue SolaX Pocket WiFi+LAN Kombi-Dongle untersützt formal sowohl über WLAN als auch LAN Modbus. D.h. die IP-Adresse kann man direkt in openWB eintragen und die Daten werden ausgelesen.
Ich habe mich jedoch auf eine Empfehlung vom Solax Großhändler hin trotzdem für den Umweg über Wafeshare Modbus to Ethernet Adapter entschieden. Tatsächlich habe ich nach 5 Tage testbetrieb über WLAN einen Verbindungsfehler gehabt. Umschalten auf die IP von WafeShare hat das Problem sofort gelöst. Fazit: ich würde es wieder über WafeShare realisieren.
- - -
WB openWB pro incl. RFID
EMS: openWB, 2.1.5-Patch.2
EV: Tesla M3 2024 SR
WR: Solax X3-Ultra-20k
Speicher: Solax T-BAT HS18.0
PV: 18,48 kWP, 22s + 20n, Luxor HJT: LX-440 M/182-108+ GG
Antworten