Ich hab das im anderen Thread schon mehrfach geschrieben, es kommen gar keine Werte seitens Sungrow mehr rein. Weder die aktuelle Leistung am EVU Punkt, noch WR Leistung, noch Entlade- und Ladeleistung der Batterie sowie SoC.
Ja Sungrow WR, Batterie etc sind alle auf der aktuellsten Firmware und die Anbindung erfolgt via des LAN Ports und nicht via Winet-S!
Das einzige was reinkommt sind die Werte des 2. SMA WR via Modbus. Habe nur testweise die openWB 2.0 RC1 auf einem Raspi, in beiden openWB Boxen läuft noch die 1.9 in der 1.9.300 weil auch in der Nighly 1.9.300.1 das gleiche Problem ist.
Lösung hätte ich auch gleich: Beide Commits von Maxify23 rückgängig machen weil vorher hat es funktioniert:
Code: Alles auswählen
2023-06-14 17:03:00,387 - {root:65} - {INFO:MainThread} - # ***Start***
2023-06-14 17:03:00,411 - {modules.devices.sungrow.device:57} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.sungrow.counter.SungrowCounter object at 0xf2c72c28>, 'component1': <modules.devices.sungrow.bat.SungrowBat object at 0xf2c72820>, 'component2': <modules.devices.sungrow.inverter.SungrowInverter object at 0xf2c724f0>}
2023-06-14 17:03:00,413 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device1} - Start device reading {'component3': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0xf2c72490>}
2023-06-14 17:03:00,416 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-06-14 17:03:00,418 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['Sungrow Zähler', 'Sungrow Speicher', 'Sungrow Wechselrichter']
2023-06-14 17:03:00,479 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device1} - WR 192.166.233.116: InverterState(currents=[0.0, 0.0, 0.0], power=-3134, exported=27960062, dc_power=-3226)
2023-06-14 17:03:00,480 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3134, exported=27960062, dc_power=-3226)
2023-06-14 17:03:00,484 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Sungrow Speicher']
2023-06-14 17:03:00,487 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Sungrow Wechselrichter']
2023-06-14 17:03:00,489 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-06-14 17:03:00,490 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3134, exported=27960062, dc_power=None)
2023-06-14 17:03:00,490 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3134, exported=27960062, dc_power=None)
2023-06-14 17:03:00,514 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['Sungrow Zähler']
2023-06-14 17:03:00,541 - {control.bat_all:164} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-06-14 17:03:00,543 - {control.counter:126} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [16.0, 16.0, 16.0]A
2023-06-14 17:03:00,545 - {control.counter:149} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 11000W
2023-06-14 17:03:00,549 - {control.data:335} - {INFO:MainThread} - bat1
BatData(get=Get(soc=0, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-06-14 17:03:00,558 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=0, daily_exported=0, daily_imported=0, imported=0, exported=0, power=0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-06-14 17:03:00,559 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-06-14 17:03:00,559 - {control.data:335} - {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-06-14 17:03:00,559 - {control.data:335} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), 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, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=11000, raw_currents_left=[16.0, 16.0, 16.0], surplus_power_left=0, state_str=''))
2023-06-14 17:03:00,560 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'bat', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=3134, invalid_home_consumption=0, daily_yield_home_consumption=0, disengageable_smarthome_power=0))
2023-06-14 17:03:00,560 - {control.data:335} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='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))))
2023-06-14 17:03:00,561 - {control.data:335} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None, state=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-06-14 17:03:00,564 - {control.data:335} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, nominal_difference=0.5, keep_charge_active_duration=40)
2023-06-14 17:03:00,565 - {control.data:314} - {INFO: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=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-06-14 17:03:00,566 - {control.data:315} - {INFO:MainThread} - general_data-display
local
2023-06-14 17:03:00,566 - {control.data:316} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-06-14 17:03:00,566 - {control.data:317} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0xf2446220>), led=Led(active=False), rfid=Rfid(active=False))
2023-06-14 17:03:00,566 - {control.data:335} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-06-14 17:03:00,567 - {control.data:335} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=27960062, fault_state=0, fault_str='Kein Fehler.', power=-3134))
2023-06-14 17:03:00,567 - {control.data:319} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0, monthly_exported=0, yearly_exported=0, exported=27960052, power=-3133))
2023-06-14 17:03:00,567 - {control.data:335} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.166.233.120', 'current_commit': '2023-06-14 14:31:38 +0200 [3c274a4cd]', 'current_branch': 'master', 'current_branch_commit': '2023-06-14 14:31:38 +0200 [3c274a4cd]', 'current_missing_commits': [], 'boot_done': True, 'datastore_version': 11, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.RC1.1', 'lastlivevaluesJson': {'timestamp': 1686754970, 'time': '17:02:50', 'grid': 0.0, 'house-power': 3.133, 'charging-all': 0.0, 'pv-all': 3.144, 'bat-all-power': 0.0, 'bat-all-soc': 0}, 'module_update_completed': True}
2023-06-14 17:03:00,568 - {control.data:348} - {INFO:MainThread} - device0
{'name': 'Sungrow', 'type': 'sungrow', 'id': 0, 'configuration': {'ip_address': '192.166.233.118', 'modbus_id': 1}}
2023-06-14 17:03:00,568 - {control.data:350} - {INFO:MainThread} - component0
{'name': 'Sungrow Zähler', 'type': 'counter', 'id': 0, 'configuration': {'version': 0}}
2023-06-14 17:03:00,569 - {control.data:350} - {INFO:MainThread} - component1
{'name': 'Sungrow Speicher', 'type': 'bat', 'id': 1, 'configuration': {}}
2023-06-14 17:03:00,569 - {control.data:350} - {INFO:MainThread} - component2
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-06-14 17:03:00,569 - {control.data:348} - {INFO:MainThread} - device1
{'name': 'SMA Sunny Boy', 'type': 'sma_sunny_boy', 'id': 1, 'configuration': {'ip_address': '192.166.233.116'}}
2023-06-14 17:03:00,569 - {control.data:350} - {INFO:MainThread} - component3
{'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {'hybrid': False, 'version': 0}}
2023-06-14 17:03:00,570 - {control.data:322} - {INFO:MainThread} -
2023-06-14 17:03:00,570 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-06-14 17:03:00,570 - {control.algorithm.algorithm:31} - {INFO:MainThread} - **Mindestrom setzen**
2023-06-14 17:03:00,573 - {control.algorithm.algorithm:33} - {INFO:MainThread} - **Sollstrom setzen**
2023-06-14 17:03:00,575 - {control.counter:199} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 65.0W
2023-06-14 17:03:00,575 - {control.counter:458} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 65.0W
2023-06-14 17:03:00,576 - {control.algorithm.algorithm:39} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-06-14 17:03:00,577 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-06-14 17:03:00,579 - {control.counter:174} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-06-14 17:03:00,717 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-06-14 17:03:00,734 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-06-14 17:03:05,758 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-06-14 17:03:10,771 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})