GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Anfragen zum Erstellen von Modulen, Fragen zu Modulen
Philip
Beiträge: 80
Registriert: Fr Okt 27, 2023 6:41 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Philip »

Code: Alles auswählen

2023-11-14 12:28:50,942 - {root:66} - {INFO:MainThread} - # ***Start*** 
2023-11-14 12:28:51,011 - {modules.devices.good_we.device:56} - {DEBUG:device5} - Start device reading {'component6': <modules.devices.good_we.counter.GoodWeCounter object at 0x760378e0>, 'component7': <modules.devices.good_we.inverter.GoodWeInverter object at 0x719d4d60>, 'component8': <modules.devices.good_we.bat.GoodWeBat object at 0x719c9a18>}
2023-11-14 12:28:51,012 - {modules.common.component_context:24} - {DEBUG:device5} - Update Komponente ['GoodWe Zähler']
2023-11-14 12:28:51,013 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-11-14 12:28:51,300 - {modules.common.store._api:26} - {DEBUG:device5} - Raw data CounterState(currents=[0.0782608695652174, -0.2217391304347826, 0.1], powers=[18, -51, 23], voltages=[230.0, 230.0, 230.0], power_factors=[64.336, 20.3, 62.736], imported=0.0, exported=0.0, power=-9, frequency=50.03)
2023-11-14 12:28:51,302 - {modules.common.component_context:24} - {DEBUG:device5} - Update Komponente ['GoodWe Wechselrichter']
2023-11-14 12:28:51,535 - {modules.common.store._api:26} - {DEBUG:device5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1068, exported=257500, dc_power=None)
2023-11-14 12:28:51,537 - {modules.common.component_context:24} - {DEBUG:device5} - Update Komponente ['GoodWe Speicher']
2023-11-14 12:28:51,721 - {modules.common.store._api:26} - {DEBUG:device5} - Raw data BatState(imported=158000, exported=136300, power=595, soc=16)
2023-11-14 12:28:51,726 - {modules.common.component_context:24} - {DEBUG:component8} - Update Komponente ['GoodWe Speicher']
2023-11-14 12:28:51,727 - {modules.common.store._api:30} - {INFO:component8} - Saving BatState(imported=158000, exported=136300, power=595, soc=16)
2023-11-14 12:28:51,780 - {modules.common.component_context:24} - {DEBUG:component7} - Update Komponente ['GoodWe Wechselrichter']
2023-11-14 12:28:51,781 - {modules.common.store._api:26} - {DEBUG:component7} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1663, exported=279200, dc_power=None)
2023-11-14 12:28:51,783 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-11-14 12:28:51,783 - {modules.common.store._api:30} - {INFO:component7} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1663, exported=279200, dc_power=None)
2023-11-14 12:28:51,819 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['GoodWe Zähler']
2023-11-14 12:28:51,820 - {modules.common.store._api:30} - {INFO:component6} - Saving CounterState(currents=[0.0782608695652174, -0.2217391304347826, 0.1], powers=[18, -51, 23], voltages=[230.0, 230.0, 230.0], power_factors=[64.336, 20.3, 62.736], imported=0.0, exported=0.0, power=-9, frequency=50.03)
2023-11-14 12:28:51,842 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/counter/6/get/power_factors, Payload 64.34 liegt in keinem der angegebenen Wertebereiche.
2023-11-14 12:28:51,998 - {control.bat_all:164} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-11-14 12:28:52,005 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 6: [15.92, 16.22, 15.9]A
2023-11-14 12:28:52,006 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 6: 11009W
2023-11-14 12:28:52,011 - {control.chargepoint.chargepoint:271} - {INFO:MainThread} - LP 1: Keine Ladung, da kein Auto angesteckt ist.
2023-11-14 12:28:52,022 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1699961251.2792416, power=870, imported=2402663.2245174167, exported=0)
2023-11-14 12:28:52,034 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0224286, power1: 870, power2: 1059
2023-11-14 12:28:52,035 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 21.6324
2023-11-14 12:28:52,038 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 21.6324 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1699961332.022217, power=1059, imported=2402684.856906262, exported=0)
2023-11-14 12:28:52,046 - {control.data:337} - {INFO:MainThread} - bat8
BatData(get=Get(soc=16, daily_exported=0, daily_imported=600, imported=158000, exported=136300, fault_state=0, fault_str='Kein Fehler.', power=595))
2023-11-14 12:28:52,049 - {control.data:307} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=16, daily_exported=0, daily_imported=600, imported=158000, exported=136300, power=595), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-11-14 12:28:52,050 - {control.data:308} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0, power=0, imported=40958.0, exported=0))
2023-11-14 12:28:52,052 - {control.data:337} - {INFO:MainThread} - cp1
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.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=40958.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=[231.87, 229.74, 231.73]), set=Set(change_ev_permitted=[True, ''], 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=3, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71194fe8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, 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))
2023-11-14 12:28:52,052 - {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-Profil', rfid_enabling=False, valid_tags=[])
2023-11-14 12:28:52,053 - {control.data:337} - {INFO:MainThread} - counter6
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), get=Get(powers=[18, -51, 23], currents=[0.08, -0.22, 0.1], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50.03, daily_exported=0.0, daily_imported=0.0, imported=0.0, exported=0.0, fault_state=0, fault_str='Kein Fehler.', power=-9), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=11009, raw_currents_left=[15.92, 16.22, 15.9], surplus_power_left=0, state_str=''))
2023-11-14 12:28:52,053 - {control.data:312} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 6, 'type': 'counter', 'children': [{'id': 7, 'type': 'inverter', 'children': [{'id': 8, 'type': 'bat', 'children': []}]}, {'id': 1, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=1059, invalid_home_consumption=0, daily_yield_home_consumption=5569.6092316201, imported_home_consumption=2402684.856906262, disengageable_smarthome_power=0))
2023-11-14 12:28:52,054 - {control.data:337} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=90), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=90))))
2023-11-14 12:28:52,054 - {control.data:337} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '07:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), 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={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Zielladen-Standard', limit=ScheduledLimit(selected='amount', amount=1000, soc_limit=90, soc_scheduled=80), time='07:00')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-11-14 12:28:52,055 - {control.data:337} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=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=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='stop', chargemode='stop', imported_instant_charging=None, imported_at_plan_start=None, 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=True, range=0, fault_state=0, fault_str=''))
2023-11-14 12:28:52,055 - {control.data:337} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=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=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'>, imported_instant_charging=None, imported_at_plan_start=None, 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='Kein Fehler.'))
2023-11-14 12:28:52,056 - {control.data:337} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Fiat500e', 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=6, max_current_single_phase=32, battery_capacity=42000, 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='stop', chargemode='stop', imported_instant_charging=None, imported_at_plan_start=None, current_plan=None, state=0), charge_template=0, ev_template=1, name='Fiat FF99', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-11-14 12:28:52,056 - {control.data:337} - {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=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, nominal_difference=1, keep_charge_active_duration=40)
2023-11-14 12:28:52,057 - {control.data:337} - {INFO:MainThread} - et1
EvTemplateData(name='Fiat500e', 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=6, max_current_single_phase=32, battery_capacity=42000, nominal_difference=1, keep_charge_active_duration=40)
2023-11-14 12:28:52,057 - {control.data:316} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=5, phases_to_use=0, rundown_power=1000, rundown_soc=30, switch_off_delay=60, switch_off_soc=30, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-11-14 12:28:52,058 - {control.data:317} - {INFO:MainThread} - general_data-display
primary
2023-11-14 12:28:52,058 - {control.data:318} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-11-14 12:28:52,058 - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x72358ef8>), led=Led(active=False), rfid=Rfid(active=False))
2023-11-14 12:28:52,059 - {control.data:337} - {INFO:MainThread} - pv7
PvData(config=Config(max_ac_out=25000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=2700, monthly_exported=0, yearly_exported=0, exported=279200, fault_state=0, fault_str='Kein Fehler.', power=-1663))
2023-11-14 12:28:52,059 - {control.data:321} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=2700, monthly_exported=0, yearly_exported=0, exported=279200, power=-1663))
2023-11-14 12:28:52,060 - {control.data:337} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.62', 'current_commit': '2023-09-27 10:18:20 +0200 [380ac109e]', 'current_branch': 'Release', 'current_branch_commit': '2023-09-27 10:18:20 +0200 [380ac109e]', 'current_missing_commits': [], 'datastore_version': 21, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.1', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1699961251, 'time': '12:27:31', 'grid': 0.008, 'house-power': 0.87, 'charging-all': 0.0, 'pv-all': 1.371, 'cp1-power': 0.0, 'bat-all-power': 0.509, 'bat-all-soc': 16}, 'module_update_completed': True}
2023-11-14 12:28:52,060 - {control.data:350} - {INFO:MainThread} - device5
{'name': 'GoodWe', 'type': 'good_we', 'id': 5, 'configuration': {'ip_address': '192.168.178.19', 'modbus_id': 247}}
2023-11-14 12:28:52,063 - {control.data:352} - {INFO:MainThread} - component6
{'name': 'GoodWe Zähler', 'type': 'counter', 'id': 6, 'configuration': {}}
2023-11-14 12:28:52,069 - {control.data:352} - {INFO:MainThread} - component7
{'name': 'GoodWe Wechselrichter', 'type': 'inverter', 'id': 7, 'configuration': {}}
2023-11-14 12:28:52,070 - {control.data:352} - {INFO:MainThread} - component8
{'name': 'GoodWe Speicher', 'type': 'bat', 'id': 8, 'configuration': {}}
2023-11-14 12:28:52,072 - {control.data:324} - {INFO:MainThread} - 

2023-11-14 12:28:52,073 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-11-14 12:28:52,076 - {control.algorithm.algorithm:31} - {INFO:MainThread} - **Mindestrom setzen**
2023-11-14 12:28:52,081 - {control.algorithm.algorithm:33} - {INFO:MainThread} - **Sollstrom setzen**
2023-11-14 12:28:52,087 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-11-14 12:28:52,088 - {control.counter:470} - {DEBUG:MainThread} - Zähler 6: Begrenzung der verbleibenden Leistung auf 0W
2023-11-14 12:28:52,089 - {control.algorithm.algorithm:44} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-11-14 12:28:52,090 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-11-14 12:28:52,096 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-11-14 12:28:52,136 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-11-14 12:28:52,343 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-14 12:28:52,344 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-11-14 12:28:55,351 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-14 12:28:55,352 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-11-14 12:29:00,364 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-11-14 12:29:00,365 - {root:66} - {INFO:MainThread} - # ***Start*** 
2023-11-14 12:29:00,429 - {modules.devices.good_we.device:56} - {DEBUG:device5} - Start device reading {'component6': <modules.devices.good_we.counter.GoodWeCounter object at 0x760378e0>, 'component7': <modules.devices.good_we.inverter.GoodWeInverter object at 0x719d4d60>, 'component8': <modules.devices.good_we.bat.GoodWeBat object at 0x719c9a18>}
2023-11-14 12:29:00,431 - {modules.common.component_context:24} - {DEBUG:device5} - Update Komponente ['GoodWe Zähler']
2023-11-14 12:29:00,432 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-11-14 12:29:00,705 - {modules.common.store._api:26} - {DEBUG:device5} - Raw data CounterState(currents=[0.021739130434782608, -0.26521739130434785, 0.05217391304347826], powers=[5, -61, 12], voltages=[230.0, 230.0, 230.0], power_factors=[63.836, 19.3, 62.036], imported=0.0, exported=0.0, power=-21, frequency=50.02)
2023-11-14 12:29:00,708 - {modules.common.component_context:24} - {DEBUG:device5} - Update Komponente ['GoodWe Wechselrichter']
2023-11-14 12:29:00,941 - {modules.common.store._api:26} - {DEBUG:device5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1015, exported=257500, dc_power=None)
2023-11-14 12:29:00,946 - {modules.common.component_context:24} - {DEBUG:device5} - Update Komponente ['GoodWe Speicher']
2023-11-14 12:29:01,128 - {modules.common.store._api:26} - {DEBUG:device5} - Raw data BatState(imported=158000, exported=136300, power=595, soc=16)
2023-11-14 12:29:01,131 - {modules.common.component_context:24} - {DEBUG:component8} - Update Komponente ['GoodWe Speicher']
2023-11-14 12:29:01,132 - {modules.common.store._api:30} - {INFO:component8} - Saving BatState(imported=158000, exported=136300, power=595, soc=16)
2023-11-14 12:29:01,164 - {modules.common.component_context:24} - {DEBUG:component7} - Update Komponente ['GoodWe Wechselrichter']
2023-11-14 12:29:01,165 - {modules.common.store._api:26} - {DEBUG:component7} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1610, exported=279200, dc_power=None)
2023-11-14 12:29:01,166 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-11-14 12:29:01,167 - {modules.common.store._api:30} - {INFO:component7} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1610, exported=279200, dc_power=None)
2023-11-14 12:29:01,204 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['GoodWe Zähler']
2023-11-14 12:29:01,205 - {modules.common.store._api:30} - {INFO:component6} - Saving CounterState(currents=[0.021739130434782608, -0.26521739130434785, 0.05217391304347826], powers=[5, -61, 12], voltages=[230.0, 230.0, 230.0], power_factors=[63.836, 19.3, 62.036], imported=0.0, exported=0.0, power=-21, frequency=50.02)
2023-11-14 12:29:01,224 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/counter/6/get/power_factors, Payload 63.84 liegt in keinem der angegebenen Wertebereiche.
2023-11-14 12:29:01,361 - {control.bat_all:164} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-11-14 12:29:01,364 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 6: [15.98, 16.27, 15.95]A
2023-11-14 12:29:01,367 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 6: 11021W
2023-11-14 12:29:01,393 - {control.chargepoint.chargepoint:271} - {INFO:MainThread} - LP 1: Keine Ladung, da kein Auto angesteckt ist.
2023-11-14 12:29:01,399 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1699961332.022217, power=1059, imported=2402684.856906262, exported=0)
2023-11-14 12:29:01,401 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0026047, power1: 1059, power2: 994
2023-11-14 12:29:01,402 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.67372
2023-11-14 12:29:01,404 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 2.67372 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1699961341.3991203, power=994, imported=2402687.5306260493, exported=0)
2023-11-14 12:29:01,406 - {control.data:337} - {INFO:MainThread} - bat8
BatData(get=Get(soc=16, daily_exported=0, daily_imported=600, imported=158000, exported=136300, fault_state=0, fault_str='Kein Fehler.', power=595))
2023-11-14 12:29:01,407 - {control.data:307} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=16, daily_exported=0, daily_imported=600, imported=158000, exported=136300, power=595), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-11-14 12:29:01,408 - {control.data:308} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0, power=0, imported=40958.0, exported=0))
2023-11-14 12:29:01,409 - {control.data:337} - {INFO:MainThread} - cp1
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.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=40958.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=[231.78, 230.24, 231.75]), set=Set(change_ev_permitted=[True, ''], 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=3, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7114c3d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, 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))
2023-11-14 12:29:01,414 - {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-Profil', rfid_enabling=False, valid_tags=[])
2023-11-14 12:29:01,417 - {control.data:337} - {INFO:MainThread} - counter6
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), get=Get(powers=[5, -61, 12], currents=[0.02, -0.27, 0.05], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=0.0, imported=0.0, exported=0.0, fault_state=0, fault_str='Kein Fehler.', power=-21), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=11021, raw_currents_left=[15.98, 16.27, 15.95], surplus_power_left=0, state_str=''))
2023-11-14 12:29:01,418 - {control.data:312} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 6, 'type': 'counter', 'children': [{'id': 7, 'type': 'inverter', 'children': [{'id': 8, 'type': 'bat', 'children': []}]}, {'id': 1, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=994, invalid_home_consumption=0, daily_yield_home_consumption=5569.6092316201, imported_home_consumption=2402687.5306260493, disengageable_smarthome_power=0))
2023-11-14 12:29:01,423 - {control.data:337} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=90), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=90))))
2023-11-14 12:29:01,424 - {control.data:337} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '07:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), 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={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Zielladen-Standard', limit=ScheduledLimit(selected='amount', amount=1000, soc_limit=90, soc_scheduled=80), time='07:00')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-11-14 12:29:01,425 - {control.data:337} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=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=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='stop', chargemode='stop', imported_instant_charging=None, imported_at_plan_start=None, 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=True, range=0, fault_state=0, fault_str=''))
2023-11-14 12:29:01,427 - {control.data:337} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=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=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'>, imported_instant_charging=None, imported_at_plan_start=None, 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='Kein Fehler.'))
2023-11-14 12:29:01,430 - {control.data:337} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Fiat500e', 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=6, max_current_single_phase=32, battery_capacity=42000, 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='stop', chargemode='stop', imported_instant_charging=None, imported_at_plan_start=None, current_plan=None, state=0), charge_template=0, ev_template=1, name='Fiat FF99', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-11-14 12:29:01,432 - {control.data:337} - {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=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, nominal_difference=1, keep_charge_active_duration=40)
2023-11-14 12:29:01,433 - {control.data:337} - {INFO:MainThread} - et1
EvTemplateData(name='Fiat500e', 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=6, max_current_single_phase=32, battery_capacity=42000, nominal_difference=1, keep_charge_active_duration=40)
2023-11-14 12:29:01,433 - {control.data:316} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=5, phases_to_use=0, rundown_power=1000, rundown_soc=30, switch_off_delay=60, switch_off_soc=30, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-11-14 12:29:01,434 - {control.data:317} - {INFO:MainThread} - general_data-display
primary
2023-11-14 12:29:01,435 - {control.data:318} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-11-14 12:29:01,436 - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x7114c250>), led=Led(active=False), rfid=Rfid(active=False))
2023-11-14 12:29:01,436 - {control.data:337} - {INFO:MainThread} - pv7
PvData(config=Config(max_ac_out=25000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=2700, monthly_exported=0, yearly_exported=0, exported=279200, fault_state=0, fault_str='Kein Fehler.', power=-1610))
2023-11-14 12:29:01,436 - {control.data:321} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=2700, monthly_exported=0, yearly_exported=0, exported=279200, power=-1610))
2023-11-14 12:29:01,437 - {control.data:337} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.62', 'current_commit': '2023-09-27 10:18:20 +0200 [380ac109e]', 'current_branch': 'Release', 'current_branch_commit': '2023-09-27 10:18:20 +0200 [380ac109e]', 'current_missing_commits': [], 'datastore_version': 21, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.1', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1699961332, 'time': '12:28:52', 'grid': -0.009, 'house-power': 1.059, 'charging-all': 0.0, 'pv-all': 1.663, 'cp1-power': 0.0, 'bat-all-power': 0.595, 'bat-all-soc': 16}, 'module_update_completed': True}
2023-11-14 12:29:01,437 - {control.data:350} - {INFO:MainThread} - device5
{'name': 'GoodWe', 'type': 'good_we', 'id': 5, 'configuration': {'ip_address': '192.168.178.19', 'modbus_id': 247}}
2023-11-14 12:29:01,438 - {control.data:352} - {INFO:MainThread} - component6
{'name': 'GoodWe Zähler', 'type': 'counter', 'id': 6, 'configuration': {}}
2023-11-14 12:29:01,438 - {control.data:352} - {INFO:MainThread} - component7
{'name': 'GoodWe Wechselrichter', 'type': 'inverter', 'id': 7, 'configuration': {}}
2023-11-14 12:29:01,438 - {control.data:352} - {INFO:MainThread} - component8
{'name': 'GoodWe Speicher', 'type': 'bat', 'id': 8, 'configuration': {}}
2023-11-14 12:29:01,439 - {control.data:324} - {INFO:MainThread} - 

2023-11-14 12:29:01,439 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-11-14 12:29:01,440 - {control.algorithm.algorithm:31} - {INFO:MainThread} - **Mindestrom setzen**
2023-11-14 12:29:01,446 - {control.algorithm.algorithm:33} - {INFO:MainThread} - **Sollstrom setzen**
2023-11-14 12:29:01,451 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-11-14 12:29:01,452 - {control.counter:470} - {DEBUG:MainThread} - Zähler 6: Begrenzung der verbleibenden Leistung auf 0W
2023-11-14 12:29:01,453 - {control.algorithm.algorithm:44} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-11-14 12:29:01,454 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-11-14 12:29:01,457 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-11-14 12:29:01,481 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-11-14 12:29:01,726 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-14 12:29:05,760 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-14 12:29:10,774 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-11-14 12:29:10,775 - {root:66} - {INFO:MainThread} - # ***Start*** 
2023-11-14 12:29:10,840 - {modules.devices.good_we.device:56} - {DEBUG:device5} - Start device reading {'component6': <modules.devices.good_we.counter.GoodWeCounter object at 0x760378e0>, 'component7': <modules.devices.good_we.inverter.GoodWeInverter object at 0x719d4d60>, 'component8': <modules.devices.good_we.bat.GoodWeBat object at 0x719c9a18>}
2023-11-14 12:29:10,842 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-11-14 12:29:10,842 - {modules.common.component_context:24} - {DEBUG:device5} - Update Komponente ['GoodWe Zähler']
2023-11-14 12:29:11,116 - {modules.common.store._api:26} - {DEBUG:device5} - Raw data CounterState(currents=[0.1782608695652174, -0.11739130434782609, 0.20434782608695654], powers=[41, -27, 47], voltages=[230.0, 230.0, 230.0], power_factors=[63.536, 18.2, 61.136], imported=0.0, exported=0.0, power=60, frequency=50.02)
2023-11-14 12:29:11,117 - {modules.common.component_context:24} - {DEBUG:device5} - Update Komponente ['GoodWe Wechselrichter']
2023-11-14 12:29:11,350 - {modules.common.store._api:26} - {DEBUG:device5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-973, exported=257500, dc_power=None)
2023-11-14 12:29:11,352 - {modules.common.component_context:24} - {DEBUG:device5} - Update Komponente ['GoodWe Speicher']
2023-11-14 12:29:11,535 - {modules.common.store._api:26} - {DEBUG:device5} - Raw data BatState(imported=158000, exported=136300, power=697, soc=16)
2023-11-14 12:29:11,538 - {modules.common.component_context:24} - {DEBUG:component8} - Update Komponente ['GoodWe Speicher']
2023-11-14 12:29:11,539 - {modules.common.store._api:30} - {INFO:component8} - Saving BatState(imported=158000, exported=136300, power=697, soc=16)
2023-11-14 12:29:11,575 - {modules.common.component_context:24} - {DEBUG:component7} - Update Komponente ['GoodWe Wechselrichter']
2023-11-14 12:29:11,576 - {modules.common.store._api:26} - {DEBUG:component7} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1670, exported=279200, dc_power=None)
2023-11-14 12:29:11,576 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-11-14 12:29:11,577 - {modules.common.store._api:30} - {INFO:component7} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1670, exported=279200, dc_power=None)
2023-11-14 12:29:11,611 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['GoodWe Zähler']
2023-11-14 12:29:11,612 - {modules.common.store._api:30} - {INFO:component6} - Saving CounterState(currents=[0.1782608695652174, -0.11739130434782609, 0.20434782608695654], powers=[41, -27, 47], voltages=[230.0, 230.0, 230.0], power_factors=[63.536, 18.2, 61.136], imported=0.0, exported=0.0, power=60, frequency=50.02)
2023-11-14 12:29:11,678 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/counter/6/get/power_factors, Payload 63.54 liegt in keinem der angegebenen Wertebereiche.
2023-11-14 12:29:11,864 - {control.bat_all:164} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-11-14 12:29:11,872 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 6: [15.82, 16.12, 15.8]A
2023-11-14 12:29:11,873 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 6: 10940W
2023-11-14 12:29:11,875 - {control.chargepoint.chargepoint:271} - {INFO:MainThread} - LP 1: Keine Ladung, da kein Auto angesteckt ist.
2023-11-14 12:29:11,881 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1699961341.3991203, power=994, imported=2402687.5306260493, exported=0)
2023-11-14 12:29:11,882 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00291181, power1: 994, power2: 1033
2023-11-14 12:29:11,885 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.95112
2023-11-14 12:29:11,886 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 2.95112 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1699961351.881646, power=1033, imported=2402690.4817481833, exported=0)
2023-11-14 12:29:11,895 - {control.data:337} - {INFO:MainThread} - bat8
BatData(get=Get(soc=16, daily_exported=0, daily_imported=600, imported=158000, exported=136300, fault_state=0, fault_str='Kein Fehler.', power=697))
2023-11-14 12:29:11,896 - {control.data:307} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=16, daily_exported=0, daily_imported=600, imported=158000, exported=136300, power=697), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-11-14 12:29:11,900 - {control.data:308} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0, power=0, imported=40958.0, exported=0))
2023-11-14 12:29:11,901 - {control.data:337} - {INFO:MainThread} - cp1
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.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=40958.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=[232.02, 230.19, 231.98]), set=Set(change_ev_permitted=[True, ''], 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=3, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71155790>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, 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))
2023-11-14 12:29:11,902 - {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-Profil', rfid_enabling=False, valid_tags=[])
2023-11-14 12:29:11,904 - {control.data:337} - {INFO:MainThread} - counter6
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), get=Get(powers=[41, -27, 47], currents=[0.18, -0.12, 0.2], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=0.0, imported=0.0, exported=0.0, fault_state=0, fault_str='Kein Fehler.', power=60), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=10940, raw_currents_left=[15.82, 16.12, 15.8], surplus_power_left=0, state_str=''))
2023-11-14 12:29:11,905 - {control.data:312} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 6, 'type': 'counter', 'children': [{'id': 7, 'type': 'inverter', 'children': [{'id': 8, 'type': 'bat', 'children': []}]}, {'id': 1, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=1033, invalid_home_consumption=0, daily_yield_home_consumption=5569.6092316201, imported_home_consumption=2402690.4817481833, disengageable_smarthome_power=0))
2023-11-14 12:29:11,907 - {control.data:337} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=90), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=90))))
2023-11-14 12:29:11,908 - {control.data:337} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '07:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), 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={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Zielladen-Standard', limit=ScheduledLimit(selected='amount', amount=1000, soc_limit=90, soc_scheduled=80), time='07:00')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-11-14 12:29:11,909 - {control.data:337} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=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=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='stop', chargemode='stop', imported_instant_charging=None, imported_at_plan_start=None, 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=True, range=0, fault_state=0, fault_str=''))
2023-11-14 12:29:11,911 - {control.data:337} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=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=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'>, imported_instant_charging=None, imported_at_plan_start=None, 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='Kein Fehler.'))
2023-11-14 12:29:11,912 - {control.data:337} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Fiat500e', 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=6, max_current_single_phase=32, battery_capacity=42000, 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='stop', chargemode='stop', imported_instant_charging=None, imported_at_plan_start=None, current_plan=None, state=0), charge_template=0, ev_template=1, name='Fiat FF99', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-11-14 12:29:11,913 - {control.data:337} - {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=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, nominal_difference=1, keep_charge_active_duration=40)
2023-11-14 12:29:11,913 - {control.data:337} - {INFO:MainThread} - et1
EvTemplateData(name='Fiat500e', 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=6, max_current_single_phase=32, battery_capacity=42000, nominal_difference=1, keep_charge_active_duration=40)
2023-11-14 12:29:11,916 - {control.data:316} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=5, phases_to_use=0, rundown_power=1000, rundown_soc=30, switch_off_delay=60, switch_off_soc=30, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-11-14 12:29:11,916 - {control.data:317} - {INFO:MainThread} - general_data-display
primary
2023-11-14 12:29:11,917 - {control.data:318} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-11-14 12:29:11,918 - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x7114e868>), led=Led(active=False), rfid=Rfid(active=False))
2023-11-14 12:29:11,920 - {control.data:337} - {INFO:MainThread} - pv7
PvData(config=Config(max_ac_out=25000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=2700, monthly_exported=0, yearly_exported=0, exported=279200, fault_state=0, fault_str='Kein Fehler.', power=-1670))
2023-11-14 12:29:11,921 - {control.data:321} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=2700, monthly_exported=0, yearly_exported=0, exported=279200, power=-1670))
2023-11-14 12:29:11,922 - {control.data:337} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.62', 'current_commit': '2023-09-27 10:18:20 +0200 [380ac109e]', 'current_branch': 'Release', 'current_branch_commit': '2023-09-27 10:18:20 +0200 [380ac109e]', 'current_missing_commits': [], 'datastore_version': 21, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.1', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1699961341, 'time': '12:29:01', 'grid': -0.021, 'house-power': 0.994, 'charging-all': 0.0, 'pv-all': 1.61, 'cp1-power': 0.0, 'bat-all-power': 0.595, 'bat-all-soc': 16}, 'module_update_completed': True}
2023-11-14 12:29:11,924 - {control.data:350} - {INFO:MainThread} - device5
{'name': 'GoodWe', 'type': 'good_we', 'id': 5, 'configuration': {'ip_address': '192.168.178.19', 'modbus_id': 247}}
2023-11-14 12:29:11,925 - {control.data:352} - {INFO:MainThread} - component6
{'name': 'GoodWe Zähler', 'type': 'counter', 'id': 6, 'configuration': {}}
2023-11-14 12:29:11,926 - {control.data:352} - {INFO:MainThread} - component7
{'name': 'GoodWe Wechselrichter', 'type': 'inverter', 'id': 7, 'configuration': {}}
2023-11-14 12:29:11,928 - {control.data:352} - {INFO:MainThread} - component8
{'name': 'GoodWe Speicher', 'type': 'bat', 'id': 8, 'configuration': {}}
2023-11-14 12:29:11,929 - {control.data:324} - {INFO:MainThread} - 

2023-11-14 12:29:11,933 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-11-14 12:29:11,937 - {control.algorithm.algorithm:31} - {INFO:MainThread} - **Mindestrom setzen**
2023-11-14 12:29:11,942 - {control.algorithm.algorithm:33} - {INFO:MainThread} - **Sollstrom setzen**
2023-11-14 12:29:11,946 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-11-14 12:29:11,947 - {control.counter:470} - {DEBUG:MainThread} - Zähler 6: Begrenzung der verbleibenden Leistung auf 0W
2023-11-14 12:29:11,949 - {control.algorithm.algorithm:44} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-11-14 12:29:11,950 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-11-14 12:29:11,954 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-11-14 12:29:11,986 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-11-14 12:29:12,198 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-14 12:29:15,215 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-14 12:29:20,229 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
Philip
Beiträge: 80
Registriert: Fr Okt 27, 2023 6:41 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Philip »

Habe abgesehen von GoodWe auch das Problem, dass das SoC-Modul "Manueller SoC" in den Fahrzeugeinstellungen nicht übernommen wird. Ich vermute erstmal keinen Zusammenhang - wollte es nur erwähnen, falls dazu auch etwas im Log zu erkennen ist. Siehe hier: viewtopic.php?p=96594#p96594

Das SoC-Log lädt nicht / ist leer(!), sonst hätte ich das hier auch gepostet.
Philip
Beiträge: 80
Registriert: Fr Okt 27, 2023 6:41 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Philip »

LenaK hat geschrieben: Di Nov 14, 2023 7:58 am Ich habe eine Modbus-Doku V1.7 und V1.10 für ET/EH/BH/BT Series. Das Register für die Speicherleistung hat sich verschoben von 35183 auf 35182. Das wird bisher nicht berücksichtigt. Welche Register liest Du anders als openWB aus?
Hab das jetzt nochmal über den Tag beobachtet - klar, ohne Status keine korrekten Summen, aber dass der Hausverbrauch mit zurückgehendem PV-Ertrag ebenfalls zurückgeht, ergibt auch keinen Sinn, oder? Es scheinen also noch mehr Werte falsch erhoben oder berechnet zu werden...
Screenshot_20231114_171839.png
Vielen Dank für's Prüfen und lass mich gerne wissen, wenn ich noch etwas tun kann!
Gruß
Philip
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von LenaK »

Es hat sich noch ein anderer Kunde mit GoodWe-WR im Support gemeldet. Es haben sich wohl auch die Datentypen einiger Register geändert, die neue GoodWe-Doku ist wohl aber noch nicht verfügbar. Es gibt bald ein Update für das GoodWe-Modul. Ein paar Details müssen noch geklärt werden.
ich würde vorschlagen, Du probierst es dann mit dieser Version nochmal.
Philip
Beiträge: 80
Registriert: Fr Okt 27, 2023 6:41 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Philip »

Vielen Dank, Lena. Das heißt, dass Du grundsätzlich keinen Fehler in meinem Log erkennen konntest?
Bin gespannt auf das neue Modul und das Update - gerade lade ich zum ersten Mal mit PV, aber bis zum Frühjahr / Sommer ist ja noch etwas Zeit. ;)

Beste Grüße!
Philip
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von LenaK »

Ich habe in software2 einen Feature-Branch für die neue GoodWe-Version 1.1 angelegt. Dort ist der aktuelle Stand erweitert um die neue Version enthalten.
Um auf den Feature-Branch zu wechseln, unter System -> System -> Entwicklungszweig feature_goodwe auswählen. Vorher eine Sicherung erstellen.
In den Geräteeinstellungen kannst du dann als Version 1.1. auswählen.

Es gibt wohl einige geänderte Register und Datentypen, zB für den Import und Export des Zählers. Wenn es mit dem Feature-Branch noch nicht passt, bitte nochmal einen aktuellen Logauszug posten.
Philip
Beiträge: 80
Registriert: Fr Okt 27, 2023 6:41 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Philip »

Klasse - das macht richtig Spaß so. Ich probiere es direkt aus, sobald ich die Version wählen kann. Gerade sehe ich sie trotz Neustart und Aktualisierung der Versionsliste noch nicht. Bin ich dann automatisch im Master-Branch?
Screenshot_20231116_123733.png
Gruß
Philip
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von LenaK »

Bitte nochmal die Versions-Liste aktualisieren. Wenn der Feature-Branch dann immer noch nicht auftaucht, ein Ticket eröffnen.
Philip
Beiträge: 80
Registriert: Fr Okt 27, 2023 6:41 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Philip »

Vielen Dank. Habe ein Ticket eröffnet, das aber scheinbar nicht versendet wurde (habe keine Mail erhalten, auch nicht im Spam-Ordner). Habe es gerade nochmals versucht und laut Systemdialog ist der Fehlerbericht versandt. Die Bestätigungsmail habe ich noch nicht bekommen, war aber auch erst gerade...
Philip
Beiträge: 80
Registriert: Fr Okt 27, 2023 6:41 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Philip »

LenaK, nach 30m Minuten noch keine Mail zum Ticket im Posteingang oder Spam-Ordner. Kannst Du sehen, ob das angekommen ist?
Antworten