Re: Feedback Release Candidate 1
Verfasst: Mo Jun 19, 2023 8:18 pm
Ich glaube da liegst du völlig verkehrt, wie Cheetah es vorhin auch schon geschrieben hat. Bei SH muss der LAN Port für die Modbus Verbindung genutzt werden. Selbst Sungrow hat hier vor einiger Zeit im Forum geschrieben das die Modbus Werte für WinetS nicht alle vollständig sind und man daher auf die reine LAN Schnittstelle gehen soll. Genauso funktioniert es in der 1.9.301 auch bis eben die 2 commits von Maxify reingekommen sind...
Ich kann nur nochmals appellieren diese Änderungen rückgängig zu machen sowohl in der 2.0 als auch 1.9 und es funktioniert wieder über den LAN Port wie es das aktuell in der 1.9.301 tut.
Habe gerade in der 2.0 trotzdem zum Test ein Update gemacht auf die letzte RC1 Version und die IP vom WinetS eingestellt und siehe da, es kommen auch keine Werte vom EVU Punkt, keine Batterie Lade- und Entladeleistung und kein SoC. PV ist aktuell 0 weil es dunkel ist
Code: Alles auswählen
2023-06-19 22:09:00,121 - {root:66} - {INFO:MainThread} - # ***Start***
2023-06-19 22:09:00,131 - {modules.devices.sungrow.device:57} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.sungrow.counter.SungrowCounter object at 0xf362f190>, 'component1': <modules.devices.sungrow.bat.SungrowBat object at 0xf3397e08>, 'component2': <modules.devices.sungrow.inverter.SungrowInverter object at 0xf3397b50>}
2023-06-19 22:09:00,131 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device1} - Start device reading {'component3': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0xf68a4478>}
2023-06-19 22:09:00,132 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['Sungrow Zähler', 'Sungrow Speicher', 'Sungrow Wechselrichter']
2023-06-19 22:09:00,137 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-06-19 22:09:00,193 - {modules.devices.sma_sunny_boy.inverter:72} - {DEBUG:device1} - WR 192.166.233.116: InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=28137121, dc_power=4294967296)
2023-06-19 22:09:00,194 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=28137121, dc_power=4294967296)
2023-06-19 22:09:00,195 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Sungrow Speicher']
2023-06-19 22:09:00,196 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Sungrow Wechselrichter']
2023-06-19 22:09:00,196 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-06-19 22:09:00,200 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=28137121, dc_power=None)
2023-06-19 22:09:00,201 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=28137121, dc_power=None)
2023-06-19 22:09:00,213 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['Sungrow Zähler']
2023-06-19 22:09:00,251 - {control.bat_all:164} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-06-19 22:09:00,252 - {control.counter:126} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [16.0, 16.0, 16.0]A
2023-06-19 22:09:00,252 - {control.counter:149} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 11000W
2023-06-19 22:09:00,254 - {control.data:337} - {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-19 22:09:00,254 - {control.data:307} - {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-19 22:09:00,254 - {control.data:308} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-06-19 22:09:00,255 - {control.data:337} - {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-19 22:09:00,255 - {control.data:337} - {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-19 22:09:00,255 - {control.data:312} - {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=0, invalid_home_consumption=0, daily_yield_home_consumption=0, disengageable_smarthome_power=0))
2023-06-19 22:09:00,256 - {control.data:337} - {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-19 22:09:00,256 - {control.data:337} - {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=1, 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-19 22:09:00,256 - {control.data:337} - {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-19 22:09:00,256 - {control.data:316} - {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-19 22:09:00,257 - {control.data:317} - {INFO:MainThread} - general_data-display
local
2023-06-19 22:09:00,257 - {control.data:318} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-06-19 22:09:00,257 - {control.data:319} - {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 0xf2b5c928>), led=Led(active=False), rfid=Rfid(active=False))
2023-06-19 22:09:00,257 - {control.data:337} - {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-19 22:09:00,257 - {control.data:337} - {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=28137121, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-06-19 22:09:00,258 - {control.data:321} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0, monthly_exported=0, yearly_exported=0, exported=28137121, power=0))
2023-06-19 22:09:00,258 - {control.data:337} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.166.233.120', 'current_commit': '2023-06-19 16:49:42 +0200 [7acf4aec2]', 'current_branch': 'master', 'current_branch_commit': '2023-06-19 16:49:42 +0200 [7acf4aec2]', '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': 1687205240, 'time': '22:07:20', 'grid': 0.0, 'house-power': 0.0, 'charging-all': 0.0, 'pv-all': -0.0, 'bat-all-power': 0.0, 'bat-all-soc': 0}, 'module_update_completed': True}
2023-06-19 22:09:00,258 - {control.data:350} - {INFO:MainThread} - device0
{'name': 'Sungrow', 'type': 'sungrow', 'id': 0, 'configuration': {'ip_address': '192.166.233.117', 'modbus_id': 1}}
2023-06-19 22:09:00,258 - {control.data:352} - {INFO:MainThread} - component0
{'name': 'Sungrow Zähler', 'type': 'counter', 'id': 0, 'configuration': {'version': 0}}
2023-06-19 22:09:00,258 - {control.data:352} - {INFO:MainThread} - component1
{'name': 'Sungrow Speicher', 'type': 'bat', 'id': 1, 'configuration': {}}
2023-06-19 22:09:00,258 - {control.data:352} - {INFO:MainThread} - component2
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-06-19 22:09:00,259 - {control.data:350} - {INFO:MainThread} - device1
{'name': 'SMA Sunny Boy', 'type': 'sma_sunny_boy', 'id': 1, 'configuration': {'ip_address': '192.166.233.116'}}
2023-06-19 22:09:00,259 - {control.data:352} - {INFO:MainThread} - component3
{'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {'hybrid': False, 'version': 0}}
2023-06-19 22:09:00,259 - {control.data:324} - {INFO:MainThread} -
2023-06-19 22:09:00,259 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-06-19 22:09:00,259 - {control.algorithm.algorithm:31} - {INFO:MainThread} - **Mindestrom setzen**
2023-06-19 22:09:00,261 - {control.algorithm.algorithm:33} - {INFO:MainThread} - **Sollstrom setzen**
2023-06-19 22:09:00,262 - {control.counter:199} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 65.0W
2023-06-19 22:09:00,262 - {control.counter:458} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 65.0W
2023-06-19 22:09:00,262 - {control.algorithm.algorithm:39} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-06-19 22:09:00,263 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-06-19 22:09:00,264 - {control.counter:174} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-06-19 22:09:02,262 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-06-19 22:09:02,279 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-06-19 22:09:02,279 - {root:52} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-06-19 22:09:05,284 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-06-19 22:09:10,295 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})