Seite 3 von 4

Re: Fahrzeugidentifikation

Verfasst: Do Aug 22, 2024 3:33 pm
von tux75at
Funktioniert bei dir die SoC Auslesung?
d.h. manuell Entsperren und schauen ob der SoC aktualisiert wird.

Das funktioniert bei mir, aber ich möchte dass auch automatisch entsperrt wird.

Re: Fahrzeugidentifikation

Verfasst: Do Aug 22, 2024 5:00 pm
von Hijacker66
Ja das geht ist mir aber nicht so wichtig wie das entsperren.... sogar 2 Nachkommastellen..... s. LP Carport
Screenshot_20240822_190051_Chrome.jpg
(481.38 KiB) Noch nie heruntergeladen
das soc auslesen ging ja auch über die Fahrzeug api

Re: Fahrzeugidentifikation

Verfasst: Do Aug 22, 2024 6:32 pm
von tux75at
2 Nachkommastellen werden hoch gerechnet vom einmaligen Auslesen.

Das bedeutet die Kommunikation funktioniert prinzipiell. Aber die Entsperrung will nicht. Und das ist der gleiche Stand wie bei mir.
Danke für die Info dass bei das SoC Auslesen funktioniert.

Re: Fahrzeugidentifikation

Verfasst: Fr Aug 23, 2024 12:14 pm
von tux75at
Ich hab das Log-Leve auf "Details" gestellt und nach einem Reboot das erste Anstecken gesucht.
Unterhalb ist der Log von 2x ***Start*** bis ***Start***, wobei ich die Zeilen oberhalb auch noch dazuzähle.

Code: Alles auswählen

2024-08-23 13:36:41,290 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-08-23 13:36:41,291 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-08-23 13:36:41,295 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-08-23 13:36:41,297 - {control.counter:249} - {DEBUG:MainThread} - Anpassen des Regelbereichs 115.0W
2024-08-23 13:36:41,299 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 5757.0W
2024-08-23 13:36:41,300 - {control.counter:495} - {DEBUG:MainThread} - Zähler 7: Begrenzung der verbleibenden Leistung auf 5757.0W
2024-08-23 13:36:41,301 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-08-23 13:36:41,304 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-08-23 13:36:41,308 - {modules.common.component_context:25} - {DEBUG:set current cp5} - Update Komponente ['Ladepunkt']
2024-08-23 13:36:41,317 - {urllib3.connectionpool:227} - {DEBUG:set current cp5} - Starting new HTTP connection (1): IP.ADDR.LP1.XX:80
2024-08-23 13:36:41,346 - {urllib3.connectionpool:452} - {DEBUG:set current cp5} - http://IP.ADDR.LP1.XX:80 "POST /connect.php HTTP/1.1" 200 19
2024-08-23 13:36:41,350 - {modules.common.req:11} - {DEBUG:set current cp5} - Get-Response: OK Value:0 accepted
2024-08-23 13:36:41,353 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-08-23 13:36:45,542 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-08-23 13:36:50,561 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-08-23 13:36:50,564 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-08-23 13:36:50,566 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-08-23 13:36:50,642 - {modules.devices.solaredge.device:124} - {DEBUG:device1} - Start device reading {'component7': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70a8fee0>, 'component8': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70a8ffb8>}
2024-08-23 13:36:50,643 - {modules.common.component_context:54} - {DEBUG:device1} - Update Komponenten ['SolarEdge Zähler', 'SolarEdge Wechselrichter']
2024-08-23 13:36:50,644 - {modules.common.component_context:25} - {DEBUG:set values cp5} - Update Komponente ['Ladepunkt']
2024-08-23 13:36:50,654 - {urllib3.connectionpool:227} - {DEBUG:set values cp5} - Starting new HTTP connection (1): IP.ADDR.LP1.XX:80
2024-08-23 13:36:50,656 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SolarEdge Zähler']
2024-08-23 13:36:50,671 - {urllib3.connectionpool:452} - {DEBUG:set values cp5} - http://IP.ADDR.LP1.XX:80 "GET /connect.php HTTP/1.1" 200 486
2024-08-23 13:36:50,674 - {modules.common.req:11} - {DEBUG:set values cp5} - Get-Response: {"date":"2024:08:23-13:36:50","timestamp":1724413010,"powers":[0,0,0],"power_all":0,"currents":[0,0,0],"voltages":[242.99,242.5,242.03],"frequency":49.97,"imported":2678311,"exported":5044,"plug_state":true,"charge_state":false,"phases_actual":0,"phases_target":3,"phases_in_use":1,"offered_current":0,"evse_signaling":"basic+fake_highlevel_dc","v2g_ready":0,"soc_value":null,"soc_timestamp":null,"vehicle_id":"CAR:ID:CAR:ID:CAR:ID","rfid_tag":null,"rfid_timestamp":null,"serial":"SERIAL"}
2024-08-23 13:36:50,675 - {modules.common.store._api:26} - {DEBUG:set values cp5} - Raw data ChargepointState(currents=[0, 0, 0], powers=[0, 0, 0], voltages=[242.99, 242.5, 242.03], frequency=49.97, imported=2678311, exported=5044, power=0, serial_number=SERIAL, phases_in_use=1, charge_state=False, plug_state=True, rfid=None, rfid_timestamp=None, power_factors=[0.0, 0.0, 0.0], soc=None, soc_timestamp=None, evse_current=0, vehicle_id=CAR:ID:CAR:ID:CAR:ID)
2024-08-23 13:36:50,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [5594, 1552, 1999, 2042], Scale 0
2024-08-23 13:36:50,742 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [67, 82, 84], Scale -1
2024-08-23 13:36:50,761 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [24237, 24290, 24204, 0, 0, 0, 0], Scale -2
2024-08-23 13:36:50,803 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [4999], Scale -2
2024-08-23 13:36:50,821 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [-9710, -9900, -9969], Scale -2
2024-08-23 13:36:50,878 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [17815956, 5486588, 6211569, 7242692, 7484876, 3213153, 4476344, 920273], Scale 0
2024-08-23 13:36:50,879 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[-6.7, -8.200000000000001, -8.4], powers=[-1552.0, -1999.0, -2042.0], voltages=[242.37, 242.9, 242.04], power_factors=[-0.9710000000000001, -0.99, -0.9969], imported=7484876.0, exported=17815956.0, power=-5594.0, frequency=49.99)
2024-08-23 13:36:50,882 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SolarEdge Wechselrichter']
2024-08-23 13:36:50,934 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [6381], Scale 0
2024-08-23 13:36:50,952 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [24378782], Scale 0
2024-08-23 13:36:50,993 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [875, 877, 876], Scale -2
2024-08-23 13:36:51,013 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [6478], Scale 0
2024-08-23 13:36:51,014 - {modules.common.component_state:124} - {DEBUG:device1} - currents sign wrong [8.75, 8.77, 8.76]
2024-08-23 13:36:51,014 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[8.75, 8.77, 8.76], power=-6381.0, exported=24378782.0, dc_power=-6478.0)
2024-08-23 13:36:51,021 - {modules.common.component_context:25} - {DEBUG:update values cp5} - Update Komponente ['Ladepunkt']
2024-08-23 13:36:51,022 - {modules.common.store._api:30} - {INFO:update values cp5} - Saving ChargepointState(currents=[0, 0, 0], powers=[0, 0, 0], voltages=[242.99, 242.5, 242.03], frequency=49.97, imported=2678311, exported=5044, power=0, serial_number=SERIAL, phases_in_use=1, charge_state=False, plug_state=True, rfid=None, rfid_timestamp=None, power_factors=[0.0, 0.0, 0.0], soc=None, soc_timestamp=None, evse_current=0, vehicle_id=CAR:ID:CAR:ID:CAR:ID)
2024-08-23 13:36:51,024 - {modules.common.component_context:25} - {DEBUG:component8} - Update Komponente ['SolarEdge Wechselrichter']
2024-08-23 13:36:51,030 - {modules.common.store._api:26} - {DEBUG:component8} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-6381.0, exported=24378782.0, dc_power=None)
2024-08-23 13:36:51,037 - {modules.common.store._api:30} - {INFO:component8} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-6381.0, exported=24378782.0, dc_power=None)
2024-08-23 13:36:51,183 - {modules.common.component_context:25} - {DEBUG:component7} - Update Komponente ['SolarEdge Zähler']
2024-08-23 13:36:51,184 - {modules.common.store._api:30} - {INFO:component7} - Saving CounterState(currents=[-6.7, -8.200000000000001, -8.4], powers=[-1552.0, -1999.0, -2042.0], voltages=[242.37, 242.9, 242.04], power_factors=[-0.9710000000000001, -0.99, -0.9969], imported=7484876.0, exported=17815956.0, power=-5594.0, frequency=49.99)
2024-08-23 13:36:51,244 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-08-23 13:36:51,244 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-08-23 13:36:51,245 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x70a60a78>
2024-08-23 13:36:51,246 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-08-23 13:36:51,248 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x70a60a78>
2024-08-23 13:36:51,362 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 7: [26.7, 28.2, 28.4]A
2024-08-23 13:36:51,363 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 7: 17594.0W
2024-08-23 13:36:51,364 - {control.chargepoint.chargepoint_template:66} - {INFO:MainThread} - Keine Sperrung durch Autolock, weil keine Zeitpläne konfiguriert sind.
2024-08-23 13:36:51,369 - {control.chargepoint.chargepoint:691} - {DEBUG:MainThread} - SoC nach Anstecken
2024-08-23 13:36:51,370 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 5: Keine Ladung, da der Ladepunkt gesperrt wurde.
2024-08-23 13:36:51,382 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1724413001.2307692, power=744.0, imported=206299.48017296256, exported=0)
2024-08-23 13:36:51,383 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00281981, power1: 744, power2: 787
2024-08-23 13:36:51,384 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.15857
2024-08-23 13:36:51,385 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 2.15857 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1724413011.382101, power=787.0, imported=206301.63874089884, exported=0)
2024-08-23 13:36:51,392 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=False), get=Get(soc=0, daily_exported=0.0, daily_imported=0.0, fault_str='Kein Fehler.', fault_state=0, imported=0, exported=0, power=0), set=Set(charging_power_left=0, regulate_up=False))
2024-08-23 13:36:51,398 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=969.0, daily_exported=2.0, power=0, imported=2678311, exported=5044))
2024-08-23 13:36:51,401 - {control.data:266} - {INFO:MainThread} - cp5
ChargepointData(control_parameter=ControlParameter(chargemode='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=0, submode='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=None), currents=[0, 0, 0], daily_imported=969.0, daily_exported=2.0, evse_current=0, exported=5044, fault_str='Kein Fehler.', fault_state=0, imported=2678311, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, serial_number='SERIAL', soc=None, soc_timestamp=None, state_str='Keine Ladung, da der Ladepunkt gesperrt wurde.', vehicle_id='CAR:ID:CAR:ID:CAR:ID', voltages=[242.99, 242.5, 242.03]), 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=True, phases_to_use=1, plug_state_prev=False, plug_time=1724413011.361103, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x70a5d298>), config=Config(configuration={'ip_address': 'IP.ADDR.LP1.XX', 'duo_num': 0}, ev=1, name='openWB Pro', type='openwb_pro', template=1, connected_phases=1, phase_1=1, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=5))
2024-08-23 13:36:51,405 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=True, plans={'0': AutolockPlan(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='Standard Autolock-Plan')}, wait_for_charging_end=True), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Profil', rfid_enabling=True, valid_tags=[])
2024-08-23 13:36:51,407 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=True, plans={}, wait_for_charging_end=True), id=1, max_current_multi_phases=16, max_current_single_phase=16, name='OpenWB pro Ladepunkt-Profil', rfid_enabling=True, valid_tags=['CAR:ID:CAR:ID:CAR:ID'])
2024-08-23 13:36:51,410 - {control.data:266} - {INFO:MainThread} - counter7
CounterData(config=Config(max_currents=[20, 20, 20], max_total_power=12000), get=Get(powers=[-1552.0, -1999.0, -2042.0], currents=[-6.7, -8.2, -8.4], voltages=[242.37, 242.9, 242.04], power_factors=[-0.97, -0.99, -1.0], unbalanced_load=0, frequency=49.99, daily_exported=17496.0, daily_imported=2722.0, imported=7484876.0, exported=17815956.0, fault_state=0, fault_str='Kein Fehler.', power=-5594.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=17594.0, raw_currents_left=[26.7, 28.2, 28.4], surplus_power_left=0, state_str=''))
2024-08-23 13:36:51,411 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 7, 'type': 'counter', 'children': [{'id': 5, 'type': 'cp', 'children': []}, {'id': 8, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=787.0, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=10947.0, imported_home_consumption=206301.63874089884, disengageable_smarthome_power=0))
2024-08-23 13:36:51,412 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=True, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-08-23 13:36:51,415 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Mazda MX-30 - Lade-Profil', disable_after_unplug=True, 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=True, min_soc=30, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=10000, soc=80))))
2024-08-23 13:36:51,416 - {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-08-23 13:36:51,417 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=2, name='Mazda-MX30', tag_id=['CAR:ID:CAR:ID:CAR:ID'], get=Get(soc=None, soc_timestamp=1724412850.813656, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-08-23 13:36:51,419 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=38000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-08-23 13:36:51,420 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Mazda MX-30 - Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=38000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-08-23 13:36:51,421 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=7, phases_to_use=1, 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=False, scheduled_charging=ScheduledCharging(phases_to_use=1), 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=7e-05), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x700c09e8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-08-23 13:36:51,425 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-08-23 13:36:51,427 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-08-23 13:36:51,428 - {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 0x70a549e8>), led=Led(active=False), rfid=Rfid(active=True))
2024-08-23 13:36:51,437 - {control.data:266} - {INFO:MainThread} - pv8
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=27538.0, monthly_exported=555218.0, yearly_exported=555218.0, exported=24378782.0, fault_state=0, fault_str='Kein Fehler.', power=-6381.0))
2024-08-23 13:36:51,439 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=27538.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=984950.0, yearly_exported=8418469.0, exported=24378782.0, power=-6381.0))
2024-08-23 13:36:51,444 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': 'IP.ADDR.STAND.ALONE', 'current_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_branch': 'Release', 'current_branch_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'datastore_version': 44, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1724413001, 'time': '13:36:41', 'grid': -5.642, 'house-power': 0.744, 'charging-all': 0.0, 'pv-all': 6.386, 'cp5-power': 0.0, 'ev1-soc': None}, 'backup_before_update': True, 'module_update_completed': True}
2024-08-23 13:36:51,446 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SolarEdge', 'type': 'solaredge', 'id': 1, 'configuration': <modules.devices.solaredge.config.SolaredgeConfiguration object at 0x70a75190>}
2024-08-23 13:36:51,448 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'port': 502, 'ip_address': 'IP.ADDR.SOLAREDGE.WR'}
2024-08-23 13:36:51,449 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 1, 'configuration': {'port': 502, 'ip_address': 'IP.ADDR.SOLAREDGE.WR'}}
2024-08-23 13:36:51,450 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 7, 'configuration': <modules.devices.solaredge.config.SolaredgeCounterConfiguration object at 0x70a8ffa0>}
2024-08-23 13:36:51,452 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'modbus_id': 1, 'meter_id': 1}
2024-08-23 13:36:51,454 - {control.data:281} - {INFO:MainThread} - component7
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 7, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-08-23 13:36:51,456 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 8, 'configuration': <modules.devices.solaredge.config.SolaredgeInverterConfiguration object at 0x70a96058>}
2024-08-23 13:36:51,457 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'modbus_id': 1}
2024-08-23 13:36:51,459 - {control.data:281} - {INFO:MainThread} - component8
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 8, 'configuration': {'modbus_id': 1}}
2024-08-23 13:36:51,460 - {control.data:253} - {INFO:MainThread} - 

2024-08-23 13:36:51,460 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-08-23 13:36:51,462 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-08-23 13:36:51,465 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-08-23 13:36:51,469 - {control.counter:249} - {DEBUG:MainThread} - Anpassen des Regelbereichs 115.0W
2024-08-23 13:36:51,470 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 5709.0W
2024-08-23 13:36:51,473 - {control.counter:495} - {DEBUG:MainThread} - Zähler 7: Begrenzung der verbleibenden Leistung auf 5709.0W
2024-08-23 13:36:51,475 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-08-23 13:36:51,478 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-08-23 13:36:51,487 - {modules.common.component_context:25} - {DEBUG:set current cp5} - Update Komponente ['Ladepunkt']
2024-08-23 13:36:51,501 - {urllib3.connectionpool:227} - {DEBUG:set current cp5} - Starting new HTTP connection (1): IP.ADDR.LP1.XX:80
2024-08-23 13:36:51,518 - {urllib3.connectionpool:452} - {DEBUG:set current cp5} - http://IP.ADDR.LP1.XX:80 "POST /connect.php HTTP/1.1" 200 19
2024-08-23 13:36:51,520 - {modules.common.req:11} - {DEBUG:set current cp5} - Get-Response: OK Value:0 accepted
2024-08-23 13:36:51,524 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-08-23 13:36:55,737 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-08-23 13:37:00,753 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-08-23 13:37:00,756 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-08-23 13:37:00,757 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-08-23 13:37:00,832 - {modules.devices.solaredge.device:124} - {DEBUG:device1} - Start device reading {'component7': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70a8fee0>, 'component8': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70a8ffb8>}
2024-08-23 13:37:00,833 - {modules.common.component_context:54} - {DEBUG:device1} - Update Komponenten ['SolarEdge Zähler', 'SolarEdge Wechselrichter']
2024-08-23 13:37:00,834 - {modules.common.component_context:25} - {DEBUG:set values cp5} - Update Komponente ['Ladepunkt']
2024-08-23 13:37:00,847 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SolarEdge Zähler']
2024-08-23 13:37:00,850 - {urllib3.connectionpool:227} - {DEBUG:set values cp5} - Starting new HTTP connection (1): IP.ADDR.LP1.XX:80
2024-08-23 13:37:00,876 - {urllib3.connectionpool:452} - {DEBUG:set values cp5} - http://IP.ADDR.LP1.XX:80 "GET /connect.php HTTP/1.1" 200 491
2024-08-23 13:37:00,878 - {modules.common.req:11} - {DEBUG:set values cp5} - Get-Response: {"date":"2024:08:23-13:37:00","timestamp":1724413020,"powers":[0,0,0],"power_all":0,"currents":[0,0,0],"voltages":[242.99,242.53,242.22],"frequency":49.99,"imported":2678311,"exported":5044,"plug_state":true,"charge_state":false,"phases_actual":0,"phases_target":3,"phases_in_use":1,"offered_current":0,"evse_signaling":"basic+fake_highlevel_dc","v2g_ready":0,"soc_value":56,"soc_timestamp":1724413013,"vehicle_id":"CAR:ID:CAR:ID:CAR:ID","rfid_tag":null,"rfid_timestamp":null,"serial":"SERIAL"}
2024-08-23 13:37:00,879 - {modules.common.store._api:26} - {DEBUG:set values cp5} - Raw data ChargepointState(currents=[0, 0, 0], powers=[0, 0, 0], voltages=[242.99, 242.53, 242.22], frequency=49.99, imported=2678311, exported=5044, power=0, serial_number=SERIAL, phases_in_use=1, charge_state=False, plug_state=True, rfid=None, rfid_timestamp=None, power_factors=[0.0, 0.0, 0.0], soc=56, soc_timestamp=1724413013, evse_current=0, vehicle_id=CAR:ID:CAR:ID:CAR:ID)
2024-08-23 13:37:00,892 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [5653, 1630, 1979, 2042], Scale 0
2024-08-23 13:37:00,912 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [68, 83, 84], Scale -1
2024-08-23 13:37:00,980 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [24226, 24264, 24178, 0, 0, 0, 0], Scale -2
2024-08-23 13:37:01,022 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [5000], Scale -2
2024-08-23 13:37:01,041 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [-9769, -9909, -9959], Scale -2
2024-08-23 13:37:01,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [17815962, 5486590, 6211571, 7242695, 7484876, 3213153, 4476344, 920273], Scale 0
2024-08-23 13:37:01,083 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[-6.800000000000001, -8.3, -8.4], powers=[-1630.0, -1979.0, -2042.0], voltages=[242.26, 242.64000000000001, 241.78], power_factors=[-0.9769, -0.9909, -0.9959], imported=7484876.0, exported=17815962.0, power=-5653.0, frequency=50.0)
2024-08-23 13:37:01,085 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SolarEdge Wechselrichter']
2024-08-23 13:37:01,102 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [6384], Scale 0
2024-08-23 13:37:01,121 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [24378800], Scale 0
2024-08-23 13:37:01,162 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [874, 878, 876], Scale -2
2024-08-23 13:37:01,181 - {modules.devices.solaredge.scale:16} - {DEBUG:device1} - Registers [6481], Scale 0
2024-08-23 13:37:01,182 - {modules.common.component_state:124} - {DEBUG:device1} - currents sign wrong [8.74, 8.78, 8.76]
2024-08-23 13:37:01,182 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[8.74, 8.78, 8.76], power=-6384.0, exported=24378800.0, dc_power=-6481.0)
2024-08-23 13:37:01,190 - {modules.common.component_context:25} - {DEBUG:update values cp5} - Update Komponente ['Ladepunkt']
2024-08-23 13:37:01,191 - {modules.common.store._api:30} - {INFO:update values cp5} - Saving ChargepointState(currents=[0, 0, 0], powers=[0, 0, 0], voltages=[242.99, 242.53, 242.22], frequency=49.99, imported=2678311, exported=5044, power=0, serial_number=SERIAL, phases_in_use=1, charge_state=False, plug_state=True, rfid=None, rfid_timestamp=None, power_factors=[0.0, 0.0, 0.0], soc=56, soc_timestamp=1724413013, evse_current=0, vehicle_id=CAR:ID:CAR:ID:CAR:ID)
2024-08-23 13:37:01,198 - {modules.common.component_context:25} - {DEBUG:component8} - Update Komponente ['SolarEdge Wechselrichter']
2024-08-23 13:37:01,203 - {modules.common.store._api:26} - {DEBUG:component8} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-6384.0, exported=24378800.0, dc_power=None)
2024-08-23 13:37:01,205 - {modules.common.store._api:30} - {INFO:component8} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-6384.0, exported=24378800.0, dc_power=None)
2024-08-23 13:37:01,304 - {modules.common.component_context:25} - {DEBUG:component7} - Update Komponente ['SolarEdge Zähler']
2024-08-23 13:37:01,304 - {modules.common.store._api:30} - {INFO:component7} - Saving CounterState(currents=[-6.800000000000001, -8.3, -8.4], powers=[-1630.0, -1979.0, -2042.0], voltages=[242.26, 242.64000000000001, 241.78], power_factors=[-0.9769, -0.9909, -0.9959], imported=7484876.0, exported=17815962.0, power=-5653.0, frequency=50.0)
2024-08-23 13:37:01,358 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-08-23 13:37:01,359 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-08-23 13:37:01,359 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x70a57088>
2024-08-23 13:37:01,361 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-08-23 13:37:01,362 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x70a57088>
2024-08-23 13:37:01,478 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 7: [26.8, 28.3, 28.4]A
2024-08-23 13:37:01,479 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 7: 17653.0W
2024-08-23 13:37:01,480 - {control.chargepoint.chargepoint_template:66} - {INFO:MainThread} - Keine Sperrung durch Autolock, weil keine Zeitpläne konfiguriert sind.
2024-08-23 13:37:01,484 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 5: Keine Ladung, da der Ladepunkt gesperrt wurde.
2024-08-23 13:37:01,488 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1724413011.382101, power=787.0, imported=206301.63874089884, exported=0)
2024-08-23 13:37:01,489 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028073, power1: 787, power2: 731
2024-08-23 13:37:01,499 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.13074
2024-08-23 13:37:01,501 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 2.13074 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1724413021.4883683, power=731.0, imported=206303.7694789031, exported=0)
2024-08-23 13:37:01,507 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=False), get=Get(soc=0, daily_exported=0.0, daily_imported=0.0, fault_str='Kein Fehler.', fault_state=0, imported=0, exported=0, power=0), set=Set(charging_power_left=0, regulate_up=False))
2024-08-23 13:37:01,515 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=969.0, daily_exported=2.0, power=0, imported=2678311, exported=5044))
2024-08-23 13:37:01,519 - {control.data:266} - {INFO:MainThread} - cp5
ChargepointData(control_parameter=ControlParameter(chargemode='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=0, submode='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=None), currents=[0, 0, 0], daily_imported=969.0, daily_exported=2.0, evse_current=0, exported=5044, fault_str='Kein Fehler.', fault_state=0, imported=2678311, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, serial_number='SERIAL', soc=56, soc_timestamp=1724413013, state_str='Keine Ladung, da der Ladepunkt gesperrt wurde.', vehicle_id='CAR:ID:CAR:ID:CAR:ID', voltages=[242.99, 242.53, 242.22]), 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=True, phases_to_use=1, plug_state_prev=True, plug_time=1724413011.361103, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x700c0bb0>), config=Config(configuration={'ip_address': 'IP.ADDR.LP1.XX', 'duo_num': 0}, ev=1, name='openWB Pro', type='openwb_pro', template=1, connected_phases=1, phase_1=1, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=5))
2024-08-23 13:37:01,520 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=True, plans={'0': AutolockPlan(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='Standard Autolock-Plan')}, wait_for_charging_end=True), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Profil', rfid_enabling=True, valid_tags=[])
2024-08-23 13:37:01,522 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=True, plans={}, wait_for_charging_end=True), id=1, max_current_multi_phases=16, max_current_single_phase=16, name='OpenWB pro Ladepunkt-Profil', rfid_enabling=True, valid_tags=['CAR:ID:CAR:ID:CAR:ID'])
2024-08-23 13:37:01,523 - {control.data:266} - {INFO:MainThread} - counter7
CounterData(config=Config(max_currents=[20, 20, 20], max_total_power=12000), get=Get(powers=[-1630.0, -1979.0, -2042.0], currents=[-6.8, -8.3, -8.4], voltages=[242.26, 242.64, 241.78], power_factors=[-0.98, -0.99, -1.0], unbalanced_load=0, frequency=50.0, daily_exported=17496.0, daily_imported=2722.0, imported=7484876.0, exported=17815962.0, fault_state=0, fault_str='Kein Fehler.', power=-5653.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=17653.0, raw_currents_left=[26.8, 28.3, 28.4], surplus_power_left=0, state_str=''))
2024-08-23 13:37:01,524 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 7, 'type': 'counter', 'children': [{'id': 5, 'type': 'cp', 'children': []}, {'id': 8, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=731.0, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=10947.0, imported_home_consumption=206303.7694789031, disengageable_smarthome_power=0))
2024-08-23 13:37:01,531 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=True, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-08-23 13:37:01,532 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Mazda MX-30 - Lade-Profil', disable_after_unplug=True, 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=True, min_soc=30, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=10000, soc=80))))
2024-08-23 13:37:01,533 - {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-08-23 13:37:01,534 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=2, name='Mazda-MX30', tag_id=['CAR:ID:CAR:ID:CAR:ID'], get=Get(soc=None, soc_timestamp=1724413011.435228, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-08-23 13:37:01,535 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=38000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-08-23 13:37:01,536 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Mazda MX-30 - Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=38000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-08-23 13:37:01,537 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=7, phases_to_use=1, 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=False, scheduled_charging=ScheduledCharging(phases_to_use=1), 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=7e-05), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x70a5d610>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-08-23 13:37:01,538 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-08-23 13:37:01,539 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-08-23 13:37:01,541 - {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 0x70a42670>), led=Led(active=False), rfid=Rfid(active=True))
2024-08-23 13:37:01,542 - {control.data:266} - {INFO:MainThread} - pv8
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=27538.0, monthly_exported=555218.0, yearly_exported=555218.0, exported=24378800.0, fault_state=0, fault_str='Kein Fehler.', power=-6384.0))
2024-08-23 13:37:01,543 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=27538.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=984950.0, yearly_exported=8418469.0, exported=24378800.0, power=-6384.0))
2024-08-23 13:37:01,546 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': 'IP.ADDR.STAND.ALONE', 'current_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_branch': 'Release', 'current_branch_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'datastore_version': 44, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1724413011, 'time': '13:36:51', 'grid': -5.594, 'house-power': 0.787, 'charging-all': 0.0, 'pv-all': 6.381, 'cp5-power': 0.0, 'ev1-soc': None}, 'backup_before_update': True, 'module_update_completed': True}
2024-08-23 13:37:01,551 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SolarEdge', 'type': 'solaredge', 'id': 1, 'configuration': <modules.devices.solaredge.config.SolaredgeConfiguration object at 0x70a75190>}
2024-08-23 13:37:01,553 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'port': 502, 'ip_address': 'IP.ADDR.SOLAREDGE.WR'}
2024-08-23 13:37:01,554 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 1, 'configuration': {'port': 502, 'ip_address': 'IP.ADDR.SOLAREDGE.WR'}}
2024-08-23 13:37:01,560 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 7, 'configuration': <modules.devices.solaredge.config.SolaredgeCounterConfiguration object at 0x70a8ffa0>}
2024-08-23 13:37:01,562 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'modbus_id': 1, 'meter_id': 1}
2024-08-23 13:37:01,565 - {control.data:281} - {INFO:MainThread} - component7
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 7, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-08-23 13:37:01,566 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 8, 'configuration': <modules.devices.solaredge.config.SolaredgeInverterConfiguration object at 0x70a96058>}
2024-08-23 13:37:01,570 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'modbus_id': 1}
2024-08-23 13:37:01,571 - {control.data:281} - {INFO:MainThread} - component8
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 8, 'configuration': {'modbus_id': 1}}
2024-08-23 13:37:01,572 - {control.data:253} - {INFO:MainThread} - 
Was mir hier auffällt:
Zeile 24 wird mit GET/connect.php die Information der Wallbox geholt, darunter ist die Response, diese scheint auch zu passen.
Raw data ChargepointState schaut auch gut aus, die MAC habe ich im Ladepunktprofil und Fahrzeugprofil eingetragen, mehrfach an mehreren Tagen geprüft und ist immer noch richtig.
Weiter unten dann die Information "Keine Sperrung durch Autolock, weil keine Zeitpläne konfiguriert sind." ist auch richtig, das ist nichts eingesetllt.
Danach "SoC nach Anstecken" aber nichts weiter, es wurde angesteckt aber nicht entsperrt, das könnte der Grund sein.
Die Zeile Danach bei Timestamp "2024-08-23 13:36:51,370" ist Merkwürdig:

Code: Alles auswählen

2024-08-23 13:36:51,370 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 5: Keine Ladung, da der Ladepunkt gesperrt wurde.
Hier hätte entsperrt werden müssen, bzw. eine Meldung warum beim Anstecken nicht entsperrt wurde.

Die Meldung "SoC nach Anstecken" kommt nur beim Anstecken, das passt auch soweit.
Aber ich Vermisse hier eine Meldung bezüglich des Entsperrens. Entweder ist es ein Bug, oder es fehlt eine Einstellung die versteckt ist.

Re: Fahrzeugidentifikation

Verfasst: Sa Aug 24, 2024 4:08 pm
von tux75at
Jetzt habe ich in einem Foreneintrag gefunden: viewtopic.php?t=8020
In der openWB Pro muss ein RFID-Leser verbaut sein.
Mir wurde im Forum zwar mitgeteilt, dass der RFID-Leser nicht benötigt wird, aber obiger Foreneintrag sagt hier doch etwas anderes.
edit: Vielleicht war das auch ein Missverständnis, ist jetzt auch egal

Den RFID-Leser habe ich früher schon bestellt, jetzt habe ich versucht diesen einzubauen, intern ist beim Netzwerkanschluss ein USB Anschluss.
Sollte dieser dort angeschlossen werden, bzw. Was muss dann alles gemacht werden, dass dieser dann auch Funktioniert?
Oder erkennt die OpenWB Pro den RFID-Reader ohne weiteres zutun und auch die Standalone erkennt das automatisch ohne weiterer Konfiguration?

Bitte keine Warnungen zu Elektrischer Anlage, dass diese in Profi machen sollte.
Ich weiß was ich mache und habe auch eine entsprechende Ausbildung.

Re: Fahrzeugidentifikation

Verfasst: Sa Aug 24, 2024 6:34 pm
von openWB
Der rfid Leser ist nur nötig wenn du rfid nutzen möchtest.
Für die fahrzeugerkennung und Zuweisung ist KEIN rfid Leser nötig!

Re: Fahrzeugidentifikation

Verfasst: Sa Aug 24, 2024 7:23 pm
von Hijacker66
Dann wäre es gut wenn die dann auch funktionieren würde. Sollen hier logs, wenn ja auf welchem Level usw., gepostet werden damit man vielleicht mal dahinter kommt woran es liegt das es in meinem Fall mit zwei Fahrzeugen nicht funktioniert.

Re: Fahrzeugidentifikation

Verfasst: Sa Aug 24, 2024 7:43 pm
von tux75at
Der Sticky Post sollte dann aber auch korrigiert werden. Danke jedenfalls für die Info dass der RFID-Leser nicht benötigt wird.

Welche Informationen können noch helfen?
Detail Log von mir ist schon gepostet worden, wenn weiteres gebraucht wird, bitte bescheid geben.

Re: Fahrzeugidentifikation

Verfasst: Mo Sep 09, 2024 3:31 pm
von tux75at
Ich habe jetzt nochmals getestet und wollte ein Ticket aufgeben, da RFID Tags auch nicht funktionieren.
D.h. RFID-Funktion ist aktiviert und beim Einlesen eines Tags sollte dieser in den Einstellungen (Einstellungen - Optionale Hardware - Identifikation) im Feld "Erkannte ID-Tags" sichtbar sein.

Ich habe nochmals geprüft auf ein Update, entweder gab es noch ein neues oder das letzte Installierte hat nicht geklappt.
Verision: "2024-08-30 12:39:38 +0200 [ec4ee03c6]"

Nach herumprobieren habe ich bei den Tags nichts gesehen, kein Eintrag bei den erkannten Tags.
Dann habe ich das Fahrzeug angeschlossen (vermutlich innerhalb der 5 Minuten). Am PC prüfe ich das logfile und sehe folgendes:

Code: Alles auswählen

2024-09-09 16:54:10,899 - {control.ev:906} - {DEBUG:MainThread} - MAC XX:XX:XX:XX:XX:XX wird EV 1 zugeordnet.
2024-09-09 16:54:10,900 - {control.chargepoint.chargepoint:724} - {DEBUG:MainThread} - SoC nach EV-Wechsel
Scheinbar hat die Zuordnung des Fahrzeuges geklappt. Es konnte jedoch sein, dass der Ladepunkt durch den RFID-Tag entsperrt wurde.
Nachdem ich das im Logfile gefunden habe, sehe ich plötzlich einen erkannten RFID-Tag, erst nach Anschluss des Fahrzuges, zuvor war nicht nichts eingetragen.

Da ich den Tag an der Standalone _und_ an der Pro gescannt habe, stellt sich hier noch die Frage, welcher Scan gezählt hat.
Die Pro liefert jetzt folgende Werte:

Code: Alles auswählen

{
  "date": "2024:09:09-17:08:23",
  "timestamp": 1725894503,
  "powers": [0, 0, 0],
  "power_all": 0,
  "currents": [0, 0, 0],
  "voltages": [240.73, 240.38, 239.16],
  "frequency": 50.01,
  "imported": 2762800,
  "exported": 5204,
  "plug_state": true,
  "charge_state": false,
  "phases_actual": 0,
  "phases_target": 3,
  "phases_in_use": 1,
  "offered_current": 6,
  "evse_signaling": "basic+fake_highlevel_dc",
  "v2g_ready": 0,
  "soc_value": 72,
  "soc_timestamp": 1725893646,
  "vehicle_id": "GÜLTIGE-MAC",
  "rfid_tag": "MEIN-RFID-TAG",
  "rfid_timestamp": 1725893559,
  "serial": "SERIAL"
}
Kann man im Log irgendwo sehen, was der Grund für das Entsperren ist? Der RFID-Scanner ist in der Pro zwar gut montiert, das Montageklebeband ist aber zu dick (ca 2 mm) es kann nicht mehr gescannt werden ohne die WB zu öffnen.
Erkannte OD-Tags in den Einstellungen ist jedenfalls mein Tag mit "(zugewiesen an openWB Pro)" im Feld, wobei dies nichts zu bedeuten hat, ist vermutlich nur der Vermerk, dass dieser Tag in den Einstellungen für die Pro eingetragen ist und nicht wo dieser eingelesen worden ist.

Leider hat das einlesen des SoC jetzt nicht geklappt, obwohl wie oben ersichtlich der soc_value auf 72 steht und dadurch eigentlich ausgewertet werden kann.

Es funktioniert jetzt mit dem Update scheinbar mehr, auch @hijacker66 kann ich das Update empfehlen.

Was genau funktioniert kann ich nicht sagen, da ich einiges probiert habe und nicht sehen kann, was funktioniert hat. Hier muss ich jetzt weiter probieren, außer mir kann jemand weiterhelfen, an welchen Zeilen im Log man erkennen kann, wodurch die OpenWB Pro freigeschaltet worden ist.

Gruß
Tux

Re: Fahrzeugidentifikation

Verfasst: Di Sep 10, 2024 9:05 pm
von chrisu
Bei mir (2.1.5-Patch.1 / OpenWB Pro) funktioniert das Entsperren anhand der vehicle_id auch nicht, dafür aber mit einer RF-ID.

Ich bin jetzt kein Experte für den OpenWB Code, aber ich könnte mir vorstellen, dass für das entsperren mit der vehicle_id die folgende Zeile angepasst gehört:
https://github.com/openWB/core/blob/mas ... nt.py#L168

Wenn ich es richtig verstehe wird hier nur die RFID Tags geprüft aber nicht nicht die vehicle_id.

Eventuell müsste die Zeile ca. so lauten:
if ((self.data.get.rfid or self.data.set.rfid or self.data.get.vehicle_id) in self.template.data.valid_tags