Feedback Nightly 101.1

Fragen zur Nutzung, Features, usw..
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: Feedback Nightly 101.1

Beitrag von LenaK »

Mit PR#741 im Master behoben:

Abschaltschwelle
Fehlermeldung Modul-Daten wurden noch nicht vollständig empfangen.
Ladestart nach Umschalten von Sofortladen auf PV-Laden nach Phasenumschaltung
Verschachtelter WR
Benutzeravatar
mrinas
Beiträge: 1911
Registriert: Mi Jan 29, 2020 10:12 pm

Re: Feedback Nightly 101.1

Beitrag von mrinas »

LenaK hat geschrieben: Mo Jan 09, 2023 1:06 pm Mit PR#741 im Master behoben:

Abschaltschwelle
Fehlermeldung Modul-Daten wurden noch nicht vollständig empfangen.
Ladestart nach Umschalten von Sofortladen auf PV-Laden nach Phasenumschaltung
Verschachtelter WR
super, danke! Dann mache ich doch gleich mal ein Update.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
Benutzeravatar
mrinas
Beiträge: 1911
Registriert: Mi Jan 29, 2020 10:12 pm

Re: Feedback Nightly 101.1

Beitrag von mrinas »

hier war ein Fehler, ist mit einem offenen PR inzwischen gelöst.
Zuletzt geändert von mrinas am Mo Jan 09, 2023 8:49 pm, insgesamt 1-mal geändert.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
rleidner
Beiträge: 799
Registriert: Mo Nov 02, 2020 9:50 am

Re: Feedback Nightly 101.1

Beitrag von rleidner »

LenaK hat geschrieben: Mo Jan 09, 2023 1:06 pm Mit PR#741 im Master behoben:

Abschaltschwelle
Fehlermeldung Modul-Daten wurden noch nicht vollständig empfangen.
Ladestart nach Umschalten von Sofortladen auf PV-Laden nach Phasenumschaltung
Verschachtelter WR
Die Meldung "Fehlermeldung Modul-Daten wurden noch nicht vollständig empfangen" ist jetzt weg.
Vielen Dank! :-)
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Smart EQ forfour
Benutzeravatar
mrinas
Beiträge: 1911
Registriert: Mi Jan 29, 2020 10:12 pm

Re: Feedback Nightly 101.1

Beitrag von mrinas »

Ich hab' derzeit auch dauerhaft einen ungültigen (negativen) Hausverbrauch. Der ist schon im Log oben enthalten und bleibt mir auch wenn ich den virtuellen Zähler wieder entferne.

Der negative Hausverbrauch ist wohl auf 'hängende' Werte zurückzuführen. Ich hab' mal manuell über MQTT einen anderen Wert für 'power' geschrieben, jetzt ist der negativer Hausverbrauch weg. Dennoch werden die EVU Daten nicht aktualisiert.

EVU Werte stammen vom SMA EnergyMeter (device4), ich finde in den Logs die aktuellen Roh-Messwerte, allerdings kommen diese nie in den passenden Topics an, die Werte dort bleiben unverändert.

[Update] Kaum beklagt man sich, startet den Dienst neu, schon klappts wieder mit dem EnergyMeter. Ist ja nicht so alsob ich die Box schon mal neu gestartet hätte oder sonst was. Whatever. es geht wieder.

Code: Alles auswählen

2023-01-09 18:08:40,202 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-09 18:08:40,263 - {soc.modules.common.component_context:51} - {DEBUG:device4} - Update Komponenten ['EnergyMeter 1.0']
2023-01-09 18:08:40,264 - {soc.modules.common.component_context:51} - {DEBUG:device8} - Update Komponenten ['Pumpe']
2023-01-09 18:08:40,265 - {soc.modules.common.component_context:51} - {DEBUG:device9} - Update Komponenten ['Trockner']
2023-01-09 18:08:40,274 - {soc.modules.common.component_context:24} - {DEBUG:device14} - Update Komponente ['LP1 (Garage)']
2023-01-09 18:08:40,276 - {urllib3.connectionpool:227} - {DEBUG:device8} - Starting new HTTP connection (1): 192.168.178.81:80
2023-01-09 18:08:40,278 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device15} - Start device reading {'component22': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x71487f40>}
2023-01-09 18:08:40,283 - {urllib3.connectionpool:227} - {DEBUG:device9} - Starting new HTTP connection (1): 192.168.178.209:80
2023-01-09 18:08:40,285 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device16} - Start device reading {'component23': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x71495fb8>}
2023-01-09 18:08:40,288 - {urllib3.connectionpool:272} - {DEBUG:device14} - Resetting dropped connection: 192.168.178.51
2023-01-09 18:08:40,294 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-09 18:08:40,296 - {soc.modules.common.component_context:24} - {DEBUG:device16} - Update Komponente ['WR Haus (neu)']
2023-01-09 18:08:40,298 - {soc.modules.common.component_context:24} - {DEBUG:device15} - Update Komponente ['WR Garage (neu)']
2023-01-09 18:08:40,302 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/llkwh HTTP/1.1" 200 8
2023-01-09 18:08:40,305 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 6058.137
2023-01-09 18:08:40,312 - {urllib3.connectionpool:452} - {DEBUG:device8} - http://192.168.178.81:80 "GET /meter/0 HTTP/1.1" 200 113
2023-01-09 18:08:40,315 - {soc.modules.common.req:11} - {DEBUG:device8} - Get-Response: {"power":0.00,"overpower":0.00,"is_valid":true,"timestamp":1673287720,"counters":[0.000, 0.000, 0.000],"total":0}
2023-01-09 18:08:40,317 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/llaktuell HTTP/1.1" 200 1
2023-01-09 18:08:40,718 - {urllib3.connectionpool:452} - {DEBUG:device9} - http://192.168.178.209:80 "GET /meter/0 HTTP/1.1" 200 87
2023-01-09 18:08:40,724 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0
2023-01-09 18:08:40,725 - {modules.common.simcount._simcount:38} - {DEBUG:device8} - Previous state: SimCounterState(timestamp=1673284110.863254, power=0.0, imported=56424.15561013759, exported=0.0)
2023-01-09 18:08:40,730 - {soc.modules.common.req:11} - {DEBUG:device9} - Get-Response: {"power":2.39,"is_valid":true,"timestamp":0,"counters":[0.000, 0.000, 0.000],"total":0}
2023-01-09 18:08:40,732 - {modules.common.simcount._calculate:13} - {DEBUG:device8} - time passed: 0.00273944, power1: 0, power2: 0
2023-01-09 18:08:40,732 - {modules.common.simcount._simcount:38} - {DEBUG:device14} - Previous state: SimCounterState(timestamp=1673284111.2801237, power=0.0, imported=712174.5949851922, exported=0)
2023-01-09 18:08:41,116 - {soc.modules.common.component_context:24} - {DEBUG:device4} - Update Komponente ['EnergyMeter 1.0']
2023-01-09 18:08:41,122 - {soc.modules.common.store._api:26} - {DEBUG:device4} - Raw data CounterState(voltages=[227.349, 225.298, 225.014], powers=[48.4, 240.7, 289.6], currents=[0.356, 1.594, 1.491], power_factors=[0.714, 0.726, 0.967], imported=35936813.6, exported=73850745.2, power=578.7, frequency=50)
2023-01-09 18:08:41,120 - {modules.common.simcount._simcount:38} - {DEBUG:device9} - Previous state: SimCounterState(timestamp=1673284111.2744412, power=2.42, imported=108124.75537632378, exported=0.0)
2023-01-09 18:08:41,124 - {modules.common.simcount._calculate:13} - {DEBUG:device9} - time passed: 0.00273491, power1: 2.42, power2: 2.39
2023-01-09 18:08:41,118 - {modules.common.simcount._calculate:29} - {DEBUG:device8} - power did not change sign. Total energy: 0
2023-01-09 18:08:41,121 - {modules.common.simcount._calculate:13} - {DEBUG:device14} - time passed: 0.0026256, power1: 0, power2: 0
2023-01-09 18:08:41,134 - {modules.common.simcount._calculate:29} - {DEBUG:device14} - power did not change sign. Total energy: 0
2023-01-09 18:08:41,133 - {modules.common.simcount._simcount:47} - {DEBUG:device8} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673284120.7252283, power=0.0, imported=56424.15561013759, exported=0.0)
2023-01-09 18:08:41,134 - {modules.common.simcount._simcount:47} - {DEBUG:device14} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673284120.7322783, power=0.0, imported=712174.5949851922, exported=0)
2023-01-09 18:08:41,125 - {modules.common.simcount._calculate:29} - {DEBUG:device9} - power did not change sign. Total energy: 0.00657747
2023-01-09 18:08:41,150 - {modules.common.simcount._simcount:47} - {DEBUG:device9} - imported: 0.00657747 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673284121.1201344, power=2.39, imported=108124.76195379376, exported=0.0)
2023-01-09 18:08:41,144 - {soc.modules.common.store._api:26} - {DEBUG:device8} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=56424.15561013759, exported=0.0, power=0.0, frequency=50)
2023-01-09 18:08:41,139 - {modules.devices.sma_shm.device:29} - {DEBUG:device4} - All components updated
2023-01-09 18:08:41,155 - {soc.modules.common.store._api:26} - {DEBUG:device9} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=108124.76195379376, exported=0.0, power=2.39, frequency=50)
2023-01-09 18:08:41,158 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla1 HTTP/1.1" 200 3
2023-01-09 18:08:41,167 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-09 18:08:41,177 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla2 HTTP/1.1" 200 3
2023-01-09 18:08:41,178 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-09 18:08:41,183 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device15} - WR 192.168.178.204: InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=2530325, dc_power=4294967296)
2023-01-09 18:08:41,186 - {soc.modules.common.store._api:26} - {DEBUG:device15} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=2530325, dc_power=4294967296)
2023-01-09 18:08:41,190 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla3 HTTP/1.1" 200 3
2023-01-09 18:08:41,192 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-09 18:08:41,194 - {soc.modules.common.store._api:26} - {DEBUG:device14} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=712174.5949851922, exported=0, power=0.0, frequency=50)
2023-01-09 18:08:41,353 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device16} - WR 192.168.178.201: InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=41027131, dc_power=4294967296)
2023-01-09 18:08:41,353 - {soc.modules.common.store._api:26} - {DEBUG:device16} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=41027131, dc_power=4294967296)
2023-01-09 18:08:41,358 - {soc.modules.common.component_context:24} - {DEBUG:component23} - Update Komponente ['WR Haus (neu)']
2023-01-09 18:08:41,362 - {soc.modules.common.component_context:24} - {DEBUG:component22} - Update Komponente ['WR Garage (neu)']
2023-01-09 18:08:41,365 - {soc.modules.common.component_context:24} - {DEBUG:component14} - Update Komponente ['Pumpe']
2023-01-09 18:08:41,366 - {soc.modules.common.store._api:26} - {DEBUG:component23} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=41027131, dc_power=4294967296)
2023-01-09 18:08:41,368 - {soc.modules.common.component_context:24} - {DEBUG:component15} - Update Komponente ['Trockner']
2023-01-09 18:08:41,368 - {soc.modules.common.store._api:26} - {DEBUG:component22} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=2530325, dc_power=4294967296)
2023-01-09 18:08:41,369 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-09 18:08:41,370 - {soc.modules.common.component_context:24} - {DEBUG:component21} - Update Komponente ['LP1 (Garage)']
2023-01-09 18:08:41,370 - {soc.modules.common.store._api:30} - {DEBUG:component23} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=41027131, dc_power=4294967296)
2023-01-09 18:08:41,371 - {soc.modules.common.store._api:30} - {DEBUG:component22} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=2530325, dc_power=4294967296)
2023-01-09 18:08:41,409 - {soc.modules.common.component_context:24} - {DEBUG:component7} - Update Komponente ['EnergyMeter 1.0']
2023-01-09 18:08:41,480 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 7: [36.71, 36.44, 32.64]
2023-01-09 18:08:41,481 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 7: 23500.0
2023-01-09 18:08:41,481 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 14: [15.0, 15.0, 15.0]
2023-01-09 18:08:41,482 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 15: [15.0, 15.0, 15.0]
2023-01-09 18:08:41,482 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 21: [31.0, 31.0, 31.0]
2023-01-09 18:08:41,491 - {control.chargepoint:696} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-01-09 18:08:41,494 - {control.chargepoint:687} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-01-09 18:08:41,495 - {control.ev:618} - {DEBUG:MainThread} - Keine Ladung, da kein Zeitfenster für Zeitladen aktiv ist.
2023-01-09 18:08:41,497 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus :False
2023-01-09 18:08:41,498 - {control.chargepoint:856} - {DEBUG:MainThread} - LP 13, EV: Tesla (EV-Nr.3): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.0
2023-01-09 18:08:41,520 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-09 18:08:41,521 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=33756.84, daily_exported=0, power=0, imported=4319093.75, exported=0))
2023-01-09 18:08:41,522 - {control.data:297} - {DEBUG:MainThread} - cp13
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), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=76.0), currents=[0.0, 0.0, 0.0], daily_imported=33756.84, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=4319093.75, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[225.94, 225.01, 227.31]), set=Set(change_ev_permitted=[True, ''], charging_ev=3, charging_ev_prev=3, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=4319093.75, imported_at_plugtime=4284011.72, imported_since_mode_switch=0, imported_since_plugged=35082.03000000026, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='01/08/2023, 17:57:37', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71e45d00>), config=Config(connection_module={'type': 'external_openwb', 'configuration': {'ip_address': '192.168.178.210', 'duo_num': 1}}, power_module={}, ev=3, name='Gartenhaus', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=13))
2023-01-09 18:08:41,522 - {control.data:297} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-09 18:08:41,523 - {control.data:297} - {DEBUG:MainThread} - counter7
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 23500.0, 'surplus_power_left': 0, 'consumption_left': 21395.8, 'raw_currents_left': [36.71, 36.44, 32.64]}, 'get': {'daily_exported': 561.2, 'daily_imported': 62958.7, 'voltages': [232.46, 228.36, 229.13], 'currents': [-2.71, -2.44, 1.36], 'powers': [-625.9, -479.5, 248.9], 'power_factors': [1.0, 0.95, 0.98], 'imported': 35931677.6, 'exported': 73850688.5, 'power': 500, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'frequency': 50}, 'config': {'max_currents': [35, 35, 35], 'max_total_power': 24000}}
2023-01-09 18:08:41,523 - {control.data:297} - {DEBUG:MainThread} - counter14
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [15.0, 15.0, 15.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 0.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 56424.15561013759, 'exported': 0.0, 'power': 0.0, 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-09 18:08:41,523 - {control.data:297} - {DEBUG:MainThread} - counter15
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [15.0, 15.0, 15.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 0.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 106081.77902665432, 'power': 0.0, 'frequency': 50, 'exported': 0.0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-09 18:08:41,524 - {control.data:297} - {DEBUG:MainThread} - counter21
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [31.0, 31.0, 31.0]}, 'get': {'daily_exported': 0, 'daily_imported': 18537.7817088174, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 712174.5949851922, 'exported': 0, 'power': 0.0, 'frequency': 50, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [32, 32, 32], 'max_total_power': 22000}}
2023-01-09 18:08:41,524 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 7, 'type': 'counter', 'children': [{'id': 23, 'type': 'inverter', 'children': []}, {'id': 22, 'type': 'inverter', 'children': []}, {'id': 14, 'type': 'counter', 'children': []}, {'id': 15, 'type': 'counter', 'children': []}, {'id': 13, 'type': 'cp', 'children': []}, {'id': 21, 'type': 'counter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=500.0, invalid_home_consumption=0, daily_yield_home_consumption=67386.5))
2023-01-09 18:08:41,524 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=22, soc=50))))
2023-01-09 18:08:41,526 - {control.data:297} - {DEBUG:MainThread} - ct1
ChargeTemplateData(name='Tesla', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=True, plans={'3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2022-11-07', '2022-11-07'], weekly=[False, False, False, False, False, False, False]), time=['01:00', '06:30'], name='Nachts', current=16, limit=Limit(selected='soc', amount=1000, soc=75))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=0, feed_in_limit=False, min_soc=0, max_soc=95), scheduled_charging=ScheduledCharging(plans={'1': ScheduledChargingPlan(active=True, 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='none', amount=1000, soc_limit=65, soc_scheduled=65), time='07:00')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=20000, soc=75))))
2023-01-09 18:08:41,527 - {control.data:297} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-09 18:08:41,527 - {control.data:297} - {DEBUG:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-09 18:08:41,528 - {control.data:297} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-09 18:08:41,529 - {control.data:297} - {DEBUG:MainThread} - ev3
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla', 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=20, min_current=6, max_current_single_phase=32, battery_capacity=75, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[0.0, 6, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=1, ev_template=1, name='Tesla', tag_id=[], get=Get(soc=76.0, soc_timestamp='01/09/2023, 16:33:52', force_soc_update=False, range=367.8307504, fault_state=0, fault_str='Kein Fehler.'))
2023-01-09 18:08:41,529 - {control.data:297} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2)
2023-01-09 18:08:41,529 - {control.data:297} - {DEBUG:MainThread} - et1
EvTemplateData(name='Tesla', 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=20, min_current=6, max_current_single_phase=32, battery_capacity=75, nominal_difference=2)
2023-01-09 18:08:41,530 - {control.data:278} - {DEBUG: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=0, phase_switch_delay=8, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=180, switch_off_soc=40, switch_off_threshold=350, switch_on_delay=40, switch_on_soc=60, switch_on_threshold=1300), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=False, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.23, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-09 18:08:41,530 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-09 18:08:41,530 - {control.data:280} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-01-09 18:08:41,531 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'exported': 43557456, 'daily_exported': 4989, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-09 18:08:41,531 - {control.data:297} - {DEBUG:MainThread} - pv22
{'get': {'daily_exported': 2399, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0, 'exported': 2530325, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 0}}
2023-01-09 18:08:41,532 - {control.data:297} - {DEBUG:MainThread} - pv23
{'get': {'daily_exported': 2590, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0, 'exported': 41027131, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 0}}
2023-01-09 18:08:41,533 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.99', 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'lastlivevaluesJson': {'timestamp': 1673284111, 'time': '18:08:31', 'grid': 0.5, 'counter14-power': 0.0, 'counter15-power': 0.0, 'counter21-power': 0.0, 'house-power': 0.5, 'charging-all': 0.0, 'pv-all': -0.0, 'cp13-power': 0.0, 'ev3-soc': 76.0}, 'version': '1.99.101.1', 'current_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'current_missing_commits': [], 'current_branch': 'master', 'current_branch_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'datastore_version': 6, 'module_update_completed': True}
2023-01-09 18:08:41,534 - {control.data:310} - {DEBUG:MainThread} - device4
{'name': 'EVU', 'type': 'sma_shm', 'id': 4, 'configuration': {}}
2023-01-09 18:08:41,534 - {control.data:312} - {DEBUG:MainThread} - component7
{'name': 'EnergyMeter 1.0', 'type': 'counter', 'id': 7, 'configuration': {'serials': None}}
2023-01-09 18:08:41,534 - {control.data:310} - {DEBUG:MainThread} - device8
{'name': 'Pumpe', 'type': 'json', 'id': 8, 'configuration': {'url': 'http://192.168.178.81/meter/0'}}
2023-01-09 18:08:41,535 - {control.data:312} - {DEBUG:MainThread} - component14
{'name': 'Pumpe', 'type': 'counter', 'id': 14, 'configuration': {'jq_power': '.power', 'jq_exported': None, 'jq_imported': None}}
2023-01-09 18:08:41,535 - {control.data:310} - {DEBUG:MainThread} - device9
{'name': 'Trockner', 'type': 'json', 'id': 9, 'configuration': {'url': 'http://192.168.178.209/meter/0'}}
2023-01-09 18:08:41,535 - {control.data:312} - {DEBUG:MainThread} - component15
{'name': 'Trockner', 'type': 'counter', 'id': 15, 'configuration': {'jq_power': '.power', 'jq_exported': None, 'jq_imported': None}}
2023-01-09 18:08:41,535 - {control.data:310} - {DEBUG:MainThread} - device14
{'name': 'openWB (1.9)', 'type': 'http', 'id': 14, 'configuration': {'url': 'http://192.168.178.51'}}
2023-01-09 18:08:41,536 - {control.data:312} - {DEBUG:MainThread} - component21
{'name': 'LP1 (Garage)', 'type': 'counter', 'id': 21, 'configuration': {'current_l1_path': '/openWB/ramdisk/lla1', 'current_l2_path': '/openWB/ramdisk/lla2', 'current_l3_path': '/openWB/ramdisk/lla3', 'exported_path': None, 'imported_path': '/openWB/ramdisk/llkwh', 'power_path': '/openWB/ramdisk/llaktuell'}}
2023-01-09 18:08:41,536 - {control.data:310} - {DEBUG:MainThread} - device15
{'name': 'WR Garage (neu)', 'type': 'sma_sunny_boy', 'id': 15, 'configuration': {'ip_address': '192.168.178.204'}}
2023-01-09 18:08:41,536 - {control.data:312} - {DEBUG:MainThread} - component22
{'name': 'WR Garage (neu)', 'type': 'inverter', 'id': 22, 'configuration': {'hybrid': False, 'version': 0}}
2023-01-09 18:08:41,536 - {control.data:310} - {DEBUG:MainThread} - device16
{'name': 'WR Haus (neu)', 'type': 'sma_sunny_boy', 'id': 16, 'configuration': {'ip_address': '192.168.178.201'}}
2023-01-09 18:08:41,537 - {control.data:312} - {DEBUG:MainThread} - component23
{'name': 'WR Haus (neu)', 'type': 'inverter', 'id': 23, 'configuration': {'hybrid': False, 'version': 0}}
2023-01-09 18:08:41,537 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-09 18:08:41,537 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-09 18:08:41,538 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-09 18:08:41,549 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 7
2023-01-09 18:08:41,553 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-09 18:08:41,564 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-09 18:08:41,564 - {control.counter:407} - {DEBUG:MainThread} - Zähler 7: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 18:08:41,565 - {control.counter:407} - {DEBUG:MainThread} - Zähler 14: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 18:08:41,565 - {control.counter:407} - {DEBUG:MainThread} - Zähler 15: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 18:08:41,565 - {control.counter:407} - {DEBUG:MainThread} - Zähler 21: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 18:08:41,566 - {control.chargepoint:349} - {INFO:MainThread} - LP 13: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle 1300W nicht erreicht wird.
2023-01-09 18:08:41,566 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-09 18:08:41,566 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-09 18:08:41,569 - {control.process:106} - {INFO:MainThread} - LP13: set current 0 A
2023-01-09 18:08:41,574 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-09 18:08:41,587 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-09 18:08:41,857 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
Zuletzt geändert von mrinas am Mo Jan 09, 2023 8:51 pm, insgesamt 4-mal geändert.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
vuffiraa
Beiträge: 251
Registriert: Mo Apr 19, 2021 11:26 am

Re: Feedback Nightly 101.1

Beitrag von vuffiraa »

Ich konnte heute das erste Mal meinen Enyaq an die OpenWB hängen. Sie haben das bei mir wirklich gut gemeint mit der Wartezeit, die Wallbox hängt ja schon seit über einem Jahr an der Wand.

Setup ist:
- Series 2 custom 11 kW mit Phasenumschaltung und 1.9.288 stable
- RPi mit 2023-01-09 13:58:35 +0100 [7b73a5c1]

Erst mal wurde das Auto geladen, soweit funktioniert das Wichtigste. Jetzt kommen aber ein paar Aber:
Im Main.log habe ich einen Fehler, wenn ich die Konfiguration der Ladepunkte speichere:

Code: Alles auswählen

2023-01-09 17:31:01,067 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-09 17:31:01,067 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-09 17:31:01,071 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-09 17:31:01,074 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-09 17:31:01,075 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 17:31:01,076 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-09 17:31:01,077 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-09 17:31:01,083 - {soc.modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-01-09 17:31:01,098 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-09 17:31:01,293 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-09 17:31:05,019 - {helpermodules.subdata:420} - {ERROR:Thread-5} - Fehler im subdata-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/subdata.py", line 417, in process_chargepoint_template_topic
    var["cpt"+index].data = dataclass_from_dict(chargepoint.CpTemplateData, payload)
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in dataclass_from_dict
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in <listcomp>
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 36, in _get_argument_value
    return _dataclass_from_dict_recurse(value, arg_spec.annotations.get(argument_name))
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 40, in _dataclass_from_dict_recurse
    return dataclass_from_dict(requested_type, value) \
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in dataclass_from_dict
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in <listcomp>
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 36, in _get_argument_value
    return _dataclass_from_dict_recurse(value, arg_spec.annotations.get(argument_name))
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 41, in _dataclass_from_dict_recurse
    if isinstance(value, dict) and not issubclass(requested_type, dict) \
TypeError: issubclass() arg 1 must be a class
Leider ist hier nicht so leicht zu sehen, was stört. Vielleicht helfen diese Einträge:

Code: Alles auswählen

2023-01-09 17:31:01,052 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=6, feed_in_limit=False, min_soc=0, max_soc=80), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=80))))
2023-01-09 17:31:01,053 - {control.data:297} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=19, min_current=6, max_current_single_phase=32, battery_capacity=77, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), 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-01-09 17:31:01,053 - {control.data:297} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=21, min_current=6, max_current_single_phase=32, battery_capacity=77, nominal_difference=2)
Da ich nur eine Wallbox und ein Auto habe, habe ich die Vorlagen direkt angepasst und keine eigenen Konfigurationen angelegt. Ist das schon der Fehler?

Dann habe ich Sofortladen und PV-Laden probiert. Aufgefallen ist, dass nur 3-phasig geladen wurde, obwohl Sofortladen 1-phasig konfiguriert ist und auch nicht genug Leistung vom Dach kam. Könnte aber ein Folgeproblem der Exception sein.

Das Ladelog zeigt auch eine falsche Energiesumme an:
Ladelog.jpg
Die Energiesumme zählt imported_since_plugged zusammen. Das Auto war den ganzen Tag angesteckt und die einzelnen Ladevorgänge wurden auch nicht als Unterbrechung der Verbindung registriert. Hängt vielleicht alles mit der Exception von oben zusammen.

VG
openWB serie 2 custom 11kW
Skoda Enyaq iV80
PV 9,4kWp SSW, Fronius Symo 8.2-3-M, Fronius Smart Meter 63A
vuffiraa
Beiträge: 251
Registriert: Mo Apr 19, 2021 11:26 am

Re: Feedback Nightly 101.1

Beitrag von vuffiraa »

Kleiner Nachtrag zu meine vorherigen Beitrag. Das Problem scheint der MQTT-Payload eines chargepoint/template zu sein.

Code: Alles auswählen

{"autolock": {"active": false, "plans": {}, "wait_for_charging_end": false}, "id": 1, "max_current_multi_phases": 32, "max_current_single_phase": 32, "name": "Standard Ladepunkt-Vorlage", "rfid_enabling": false, "valid_tags": []}
Die Exception tritt beim Einlesen des Elements plans im autolock-Element auf. Ohne dieses Element tritt die Exception nicht auf.
Eigentlich dachte ich zuerst, hier werden die Zeitpläne konfiguriert. Diese werden aber als eigenes autolock-Subtopic im Broker abgelegt.

Warum hat die Klasse Autolock im cargepoint.py das Feld plans?

VG
openWB serie 2 custom 11kW
Skoda Enyaq iV80
PV 9,4kWp SSW, Fronius Symo 8.2-3-M, Fronius Smart Meter 63A
StEFfen_10
Beiträge: 25
Registriert: Mo Jan 17, 2022 9:54 pm

Re: Feedback Nightly 101.1

Beitrag von StEFfen_10 »

LenaK hat geschrieben: Mo Jan 09, 2023 8:44 am
StEFfen_10 hat geschrieben: Fr Jan 06, 2023 5:32 pm Nach dem Update auf Nightly 101.1 ist mir folgendes aufgefallen.

Anhand der Fehlermeldung tippe ich auf ein Problem in der Struktur. Wie sieht die aus? Und bitte vor dem Erstellen des Logs das Debuglevel auf Details stellen und nochmal einen Log einstellen, wenn es nicht lädt.
Stimmt lag an der Struktur da dort 2 Smartmeter konfiguriert waren. Nach dem entfernen vom 2. Smartmeter funktionierte alles wie es sollte.

Nach dem heutigen Update werden wie schon oben bemerkt keine EVU Daten mehr angezeigt. Somit ist auch kein Laden möglich. Im Status steht alles auf "-" beim EVU Modul allerdings ohne Fehlermeldung.

Im Main.log sind alle Werte vom Smartmeter zu finden.

Code: Alles auswählen

2023-01-09 21:30:51,123 - {soc.modules.common.req:11} - {DEBUG:device0} - Get-Response: {
   "Body" : {
      "Data" : {
         "Current_AC_Phase_1" : 0.73999999999999999,
         "Current_AC_Phase_2" : 2.4969999999999999,
         "Current_AC_Phase_3" : 2.246,
         "Details" : {
            "Manufacturer" : "Fronius",
            "Model" : "Smart Meter 63A",
            "Serial" : "20300570"
         },
         "Enable" : 1,
         "EnergyReactive_VArAC_Sum_Consumed" : 3600510,
         "EnergyReactive_VArAC_Sum_Produced" : 29158310,
         "EnergyReal_WAC_Minus_Absolute" : 4236529,
         "EnergyReal_WAC_Plus_Absolute" : 7813024,
         "EnergyReal_WAC_Sum_Consumed" : 7813024,
         "EnergyReal_WAC_Sum_Produced" : 4236529,
         "Frequency_Phase_Average" : 50,
         "Meter_Location_Current" : 0,
         "PowerApparent_S_Phase_1" : 172.642,
         "PowerApparent_S_Phase_2" : 580.80219999999997,
         "PowerApparent_S_Phase_3" : 517.92759999999998,
         "PowerApparent_S_Sum" : 1127,
         "PowerFactor_Phase_1" : 0.77000000000000002,
         "PowerFactor_Phase_2" : 0.92000000000000004,
         "PowerFactor_Phase_3" : 0.96999999999999997,
         "PowerFactor_Sum" : 0.93000000000000005,
         "PowerReactive_Q_Phase_1" : -81.120000000000005,
         "PowerReactive_Q_Phase_2" : -205.75999999999999,
         "PowerReactive_Q_Phase_3" : -100.67,
         "PowerReactive_Q_Sum" : -387.55000000000001,
         "PowerReal_P_Phase_1" : 100.05,
         "PowerReal_P_Phase_2" : 523.58000000000004,
         "PowerReal_P_Phase_3" : 435.18000000000001,
         "PowerReal_P_Sum" : 1058.8099999999999,
         "TimeStamp" : 1673296250,
         "Visible" : 1,
         "Voltage_AC_PhaseToPhase_12" : 403.5,
         "Voltage_AC_PhaseToPhase_23" : 401.10000000000002,
         "Voltage_AC_PhaseToPhase_31" : 401.80000000000001,
         "Voltage_AC_Phase_1" : 233.30000000000001,
         "Voltage_AC_Phase_2" : 232.59999999999999,
         "Voltage_AC_Phase_3" : 230.59999999999999
      }
   },
PV: 24,7 kWp Ost Süd West mit Fronius GEN24 8.0 zusammen mit 2xBYD HVS 10.2 und Fronius Symo
Canadian Solar 370Watt/380Watt.
Smartmeter: Fronius TS63A-3
WB: OpenWb Standard 2 + und Selbstbau OpenWb
VW E-UP
Renault E-Twingo
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: Feedback Nightly 101.1

Beitrag von LenaK »

StEFfen_10 hat geschrieben: Mo Jan 09, 2023 8:48 pm
LenaK hat geschrieben: Mo Jan 09, 2023 8:44 am
StEFfen_10 hat geschrieben: Fr Jan 06, 2023 5:32 pm Nach dem Update auf Nightly 101.1 ist mir folgendes aufgefallen.

Anhand der Fehlermeldung tippe ich auf ein Problem in der Struktur. Wie sieht die aus? Und bitte vor dem Erstellen des Logs das Debuglevel auf Details stellen und nochmal einen Log einstellen, wenn es nicht lädt.
Stimmt lag an der Struktur da dort 2 Smartmeter konfiguriert waren. Nach dem entfernen vom 2. Smartmeter funktionierte alles wie es sollte.

Nach dem heutigen Update werden wie schon oben bemerkt keine EVU Daten mehr angezeigt. Somit ist auch kein Laden möglich. Im Status steht alles auf "-" beim EVU Modul allerdings ohne Fehlermeldung.

Im Main.log sind alle Werte vom Smartmeter zu finden.

Code: Alles auswählen

2023-01-09 21:30:51,123 - {soc.modules.common.req:11} - {DEBUG:device0} - Get-Response: {
   "Body" : {
      "Data" : {
         "Current_AC_Phase_1" : 0.73999999999999999,
         "Current_AC_Phase_2" : 2.4969999999999999,
         "Current_AC_Phase_3" : 2.246,
         "Details" : {
            "Manufacturer" : "Fronius",
            "Model" : "Smart Meter 63A",
            "Serial" : "20300570"
         },
         "Enable" : 1,
         "EnergyReactive_VArAC_Sum_Consumed" : 3600510,
         "EnergyReactive_VArAC_Sum_Produced" : 29158310,
         "EnergyReal_WAC_Minus_Absolute" : 4236529,
         "EnergyReal_WAC_Plus_Absolute" : 7813024,
         "EnergyReal_WAC_Sum_Consumed" : 7813024,
         "EnergyReal_WAC_Sum_Produced" : 4236529,
         "Frequency_Phase_Average" : 50,
         "Meter_Location_Current" : 0,
         "PowerApparent_S_Phase_1" : 172.642,
         "PowerApparent_S_Phase_2" : 580.80219999999997,
         "PowerApparent_S_Phase_3" : 517.92759999999998,
         "PowerApparent_S_Sum" : 1127,
         "PowerFactor_Phase_1" : 0.77000000000000002,
         "PowerFactor_Phase_2" : 0.92000000000000004,
         "PowerFactor_Phase_3" : 0.96999999999999997,
         "PowerFactor_Sum" : 0.93000000000000005,
         "PowerReactive_Q_Phase_1" : -81.120000000000005,
         "PowerReactive_Q_Phase_2" : -205.75999999999999,
         "PowerReactive_Q_Phase_3" : -100.67,
         "PowerReactive_Q_Sum" : -387.55000000000001,
         "PowerReal_P_Phase_1" : 100.05,
         "PowerReal_P_Phase_2" : 523.58000000000004,
         "PowerReal_P_Phase_3" : 435.18000000000001,
         "PowerReal_P_Sum" : 1058.8099999999999,
         "TimeStamp" : 1673296250,
         "Visible" : 1,
         "Voltage_AC_PhaseToPhase_12" : 403.5,
         "Voltage_AC_PhaseToPhase_23" : 401.10000000000002,
         "Voltage_AC_PhaseToPhase_31" : 401.80000000000001,
         "Voltage_AC_Phase_1" : 233.30000000000001,
         "Voltage_AC_Phase_2" : 232.59999999999999,
         "Voltage_AC_Phase_3" : 230.59999999999999
      }
   },
Bitte einen vollständigen Regeldurchlauf von # ***Start*** bis # ***Start*** posten, damit ich sehe, wie die Daten weiter verarbeitet werden.
StEFfen_10
Beiträge: 25
Registriert: Mo Jan 17, 2022 9:54 pm

Re: Feedback Nightly 101.1

Beitrag von StEFfen_10 »

LenaK hat geschrieben: Di Jan 10, 2023 9:00 am
StEFfen_10 hat geschrieben: Mo Jan 09, 2023 8:48 pm
LenaK hat geschrieben: Mo Jan 09, 2023 8:44 am

Anhand der Fehlermeldung tippe ich auf ein Problem in der Struktur. Wie sieht die aus? Und bitte vor dem Erstellen des Logs das Debuglevel auf Details stellen und nochmal einen Log einstellen, wenn es nicht lädt.
Stimmt lag an der Struktur da dort 2 Smartmeter konfiguriert waren. Nach dem entfernen vom 2. Smartmeter funktionierte alles wie es sollte.

Nach dem heutigen Update werden wie schon oben bemerkt keine EVU Daten mehr angezeigt. Somit ist auch kein Laden möglich. Im Status steht alles auf "-" beim EVU Modul allerdings ohne Fehlermeldung.

Im Main.log sind alle Werte vom Smartmeter zu finden.

Code: Alles auswählen

2023-01-09 21:30:51,123 - {soc.modules.common.req:11} - {DEBUG:device0} - Get-Response: {
   "Body" : {
      "Data" : {
         "Current_AC_Phase_1" : 0.73999999999999999,
         "Current_AC_Phase_2" : 2.4969999999999999,
         "Current_AC_Phase_3" : 2.246,
         "Details" : {
            "Manufacturer" : "Fronius",
            "Model" : "Smart Meter 63A",
            "Serial" : "20300570"
         },
         "Enable" : 1,
         "EnergyReactive_VArAC_Sum_Consumed" : 3600510,
         "EnergyReactive_VArAC_Sum_Produced" : 29158310,
         "EnergyReal_WAC_Minus_Absolute" : 4236529,
         "EnergyReal_WAC_Plus_Absolute" : 7813024,
         "EnergyReal_WAC_Sum_Consumed" : 7813024,
         "EnergyReal_WAC_Sum_Produced" : 4236529,
         "Frequency_Phase_Average" : 50,
         "Meter_Location_Current" : 0,
         "PowerApparent_S_Phase_1" : 172.642,
         "PowerApparent_S_Phase_2" : 580.80219999999997,
         "PowerApparent_S_Phase_3" : 517.92759999999998,
         "PowerApparent_S_Sum" : 1127,
         "PowerFactor_Phase_1" : 0.77000000000000002,
         "PowerFactor_Phase_2" : 0.92000000000000004,
         "PowerFactor_Phase_3" : 0.96999999999999997,
         "PowerFactor_Sum" : 0.93000000000000005,
         "PowerReactive_Q_Phase_1" : -81.120000000000005,
         "PowerReactive_Q_Phase_2" : -205.75999999999999,
         "PowerReactive_Q_Phase_3" : -100.67,
         "PowerReactive_Q_Sum" : -387.55000000000001,
         "PowerReal_P_Phase_1" : 100.05,
         "PowerReal_P_Phase_2" : 523.58000000000004,
         "PowerReal_P_Phase_3" : 435.18000000000001,
         "PowerReal_P_Sum" : 1058.8099999999999,
         "TimeStamp" : 1673296250,
         "Visible" : 1,
         "Voltage_AC_PhaseToPhase_12" : 403.5,
         "Voltage_AC_PhaseToPhase_23" : 401.10000000000002,
         "Voltage_AC_PhaseToPhase_31" : 401.80000000000001,
         "Voltage_AC_Phase_1" : 233.30000000000001,
         "Voltage_AC_Phase_2" : 232.59999999999999,
         "Voltage_AC_Phase_3" : 230.59999999999999
      }
   },
Bitte einen vollständigen Regeldurchlauf von # ***Start*** bis # ***Start*** posten, damit ich sehe, wie die Daten weiter verarbeitet werden.

Ein kompletter Regeldurchlauf aus dem Main.log

Code: Alles auswählen

2023-01-10 16:50:10,441 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-10 16:50:10,495 - {modules.devices.fronius.device:59} - {DEBUG:device0} - Start device reading {'component1': <modules.devices.fronius.inverter.FroniusInverter object at 0x714aec58>, 'component5': <modules.devices.fronius.counter_sm.FroniusSmCounter object at 0x714ebb98>}
2023-01-10 16:50:10,497 - {soc.modules.common.component_context:51} - {DEBUG:device1} - Update Komponenten ['Kostal Plenticore Wechselrichter']
2023-01-10 16:50:10,497 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['Fronius Wechselrichter', 'Fronius SM Zähler']
2023-01-10 16:50:10,498 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-10 16:50:10,510 - {urllib3.connectionpool:227} - {DEBUG:device0} - Starting new HTTP connection (1): 192.168.188.126:80
2023-01-10 16:50:10,528 - {soc.modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=8870279.0, dc_power=None)
2023-01-10 16:50:10,572 - {urllib3.connectionpool:452} - {DEBUG:device0} - http://192.168.188.126:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 1365
2023-01-10 16:50:10,574 - {soc.modules.common.req:11} - {DEBUG:device0} - Get-Response: {
   "Body" : {
      "Data" : {
         "Inverters" : {
            "1" : {
               "DT" : 111,
               "E_Day" : 2722.10009765625,
               "E_Total" : 7022149.5,
               "E_Year" : 17123,
               "P" : 0
            },
            "2" : {
               "DT" : 112,
               "E_Day" : 2237.900146484375,
               "E_Total" : 7637100,
               "E_Year" : 13073.7998046875,
               "P" : 0
            }
         },
         "SecondaryMeters" : {
            "16711681" : {
               "Category" : "METER_CAT_OTHER",
               "Label" : "Wohnungunten",
               "MLoc" : 256,
               "P" : -112.56999999999999
            }
         },
         "Site" : {
            "E_Day" : 4960.000244140625,
            "E_Total" : 14659249.5,
            "E_Year" : 30196.7998046875,
            "Meter_Location" : "grid",
            "Mode" : "meter",
            "P_Akku" : null,
            "P_Grid" : 907,
            "P_Load" : -907,
            "P_PV" : null,
            "rel_Autonomy" : 0,
            "rel_SelfConsumption" : null
         },
         "Version" : "12"
      }
   },
   "Head" : {
      "RequestArguments" : {},
      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },
      "Timestamp" : "2023-01-10T16:50:10+01:00"
   }
}

2023-01-10 16:50:10,576 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673365800.4789944, power=0, imported=0.0, exported=4960.972240530056)
2023-01-10 16:50:10,577 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00280488, power1: 0, power2: 0
2023-01-10 16:50:10,577 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-01-10 16:50:10,578 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673365810.5765526, power=0, imported=0.0, exported=4960.972240530056)
2023-01-10 16:50:10,579 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=4960.972240530056, dc_power=None)
2023-01-10 16:50:10,586 - {urllib3.connectionpool:227} - {DEBUG:device0} - Starting new HTTP connection (1): 192.168.188.126:80
2023-01-10 16:50:10,688 - {urllib3.connectionpool:452} - {DEBUG:device0} - http://192.168.188.126:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0&DataCollection=MeterRealtimeData HTTP/1.1" 200 2237
2023-01-10 16:50:10,691 - {soc.modules.common.req:11} - {DEBUG:device0} - Get-Response: {
   "Body" : {
      "Data" : {
         "Current_AC_Phase_1" : 0.93899999999999995,
         "Current_AC_Phase_2" : 2.177,
         "Current_AC_Phase_3" : 2.0670000000000002,
         "Details" : {
            "Manufacturer" : "Fronius",
            "Model" : "Smart Meter 63A",
            "Serial" : "20300570"
         },
         "Enable" : 1,
         "EnergyReactive_VArAC_Sum_Consumed" : 3607220,
         "EnergyReactive_VArAC_Sum_Produced" : 29203840,
         "EnergyReal_WAC_Minus_Absolute" : 4241280,
         "EnergyReal_WAC_Plus_Absolute" : 7836266,
         "EnergyReal_WAC_Sum_Consumed" : 7836266,
         "EnergyReal_WAC_Sum_Produced" : 4241280,
         "Frequency_Phase_Average" : 49.899999999999999,
         "Meter_Location_Current" : 0,
         "PowerApparent_S_Phase_1" : 217.00289999999998,
         "PowerApparent_S_Phase_2" : 500.4923,
         "PowerApparent_S_Phase_3" : 480.57750000000004,
         "PowerApparent_S_Sum" : 1067,
         "PowerFactor_Phase_1" : 0.56999999999999995,
         "PowerFactor_Phase_2" : 0.83999999999999997,
         "PowerFactor_Phase_3" : 0.92000000000000004,
         "PowerFactor_Sum" : 0.84999999999999998,
         "PowerReactive_Q_Phase_1" : -146.11000000000001,
         "PowerReactive_Q_Phase_2" : -260.25,
         "PowerReactive_Q_Phase_3" : -155.99000000000001,
         "PowerReactive_Q_Sum" : -562.35000000000002,
         "PowerReal_P_Phase_1" : 103.55,
         "PowerReal_P_Phase_2" : 416.18000000000001,
         "PowerReal_P_Phase_3" : 387.26999999999998,
         "PowerReal_P_Sum" : 907,
         "TimeStamp" : 1673365809,
         "Visible" : 1,
         "Voltage_AC_PhaseToPhase_12" : 399.19999999999999,
         "Voltage_AC_PhaseToPhase_23" : 400.5,
         "Voltage_AC_PhaseToPhase_31" : 401.5,
         "Voltage_AC_Phase_1" : 231.09999999999999,
         "Voltage_AC_Phase_2" : 229.90000000000001,
         "Voltage_AC_Phase_3" : 232.5
      }
   },
   "Head" : {
      "RequestArguments" : {
         "DeviceClass" : "Meter",
         "DeviceId" : "0",
         "Scope" : "Device"
      },
      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },
      "Timestamp" : "2023-01-10T16:50:10+01:00"
   }
}

2023-01-10 16:50:10,693 - {modules.devices.fronius.counter_sm:67} - {DEBUG:device0} - Einbauort: MeterLocation.grid
2023-01-10 16:50:10,694 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673365800.5322697, power=915.58, imported=23942.492760924637, exported=4763.509414284538)
2023-01-10 16:50:10,694 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028227, power1: 915.58, power2: 907
2023-01-10 16:50:10,694 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 2.5723
2023-01-10 16:50:10,695 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 2.5723 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673365810.693991, power=907, imported=23945.06505951888, exported=4763.509414284538)
2023-01-10 16:50:10,696 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[231.1, 229.9, 232.5], powers=[103.55, 416.18, 387.27], currents=[0.44807442665512764, 1.810265332753371, 1.6656774193548387], power_factors=[0.57, 0.84, 0.92], imported=23945.06505951888, exported=4763.509414284538, power=907, frequency=49.9)
2023-01-10 16:50:10,704 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-10 16:50:10,705 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Kostal Plenticore Wechselrichter']
2023-01-10 16:50:10,709 - {soc.modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=8870279.0, dc_power=None)
2023-01-10 16:50:10,710 - {soc.modules.common.store._api:30} - {DEBUG:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=8870279.0, dc_power=None)
2023-01-10 16:50:10,715 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Fronius Wechselrichter']
2023-01-10 16:50:10,716 - {soc.modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=4960.972240530056, dc_power=None)
2023-01-10 16:50:10,717 - {soc.modules.common.store._api:30} - {DEBUG:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=4960.972240530056, dc_power=None)
2023-01-10 16:50:10,786 - {soc.modules.common.component_context:24} - {DEBUG:component5} - Update Komponente ['Fronius SM Zähler']
2023-01-10 16:50:10,864 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
2023-01-10 16:50:10,872 - {control.chargepoint:696} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-01-10 16:50:10,877 - {control.chargepoint:687} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-01-10 16:50:10,883 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus :False
2023-01-10 16:50:10,885 - {control.chargepoint:856} - {DEBUG:MainThread} - LP 3, EV: VW (EV-Nr.1): Theoretisch benötigter Strom 16A, Lademodus instant_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 0.0
2023-01-10 16:50:10,888 - {control.counter_all:110} - {ERROR:MainThread} - Fehler in der allgemeinen Zähler-Klasse
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter_all.py", line 81, in set_home_consumption
    home_consumption, elements = self._calc_home_consumption()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 128, in _calc_home_consumption
    evu = data.data.counter_data[self.get_evu_counter_str()].data["get"]["power"]
KeyError: 'power'
2023-01-10 16:50:10,891 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-10 16:50:10,892 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0, power=0, imported=3114875.0, exported=0))
2023-01-10 16:50:10,893 - {control.data:297} - {DEBUG:MainThread} - cp3
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), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=75), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=3114875.0, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[233.43, 234.13, 231.12]), 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=3114875.0, imported_at_plugtime=3114875.0, imported_since_mode_switch=0, imported_since_plugged=0.0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='01/09/2023, 20:35:10', required_power=11040, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x70a7d088>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.188.114', 'duo_num': 1}}, power_module={}, ev=1, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-01-10 16:50:10,893 - {control.data:297} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-10 16:50:10,894 - {control.data:297} - {DEBUG:MainThread} - counter5
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 0, 'surplus_power_left': 0}, 'get': {'daily_exported': 0, 'daily_imported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-10 16:50:10,894 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 5, 'type': 'counter', 'children': [{'id': 3, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}, {'id': 1, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=9917.972))
2023-01-10 16:50:10,894 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-10 16:50:10,896 - {control.data:297} - {DEBUG:MainThread} - ct1
ChargeTemplateData(name='VW', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='scheduled_charging', 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=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, True, False, False]), current=14, name='Arbeitswoche', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=100), time='06:00')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-10 16:50:10,896 - {control.data:297} - {DEBUG:MainThread} - ct2
ChargeTemplateData(name='Renault', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={'1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, True, True, False, False]), current=14, name='Arbeitswoche', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=100), time='08:00')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-10 16:50:10,897 - {control.data:297} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=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', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), 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-01-10 16:50:10,897 - {control.data:297} - {DEBUG:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=16, required_currents=[16, 16, 16], phases=3, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, chargemode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='VW', tag_id=[], get=Get(soc=75, soc_timestamp='01/10/2023, 08:25:46', force_soc_update=False, range=140, fault_state=0, fault_str='Kein Fehler.'))
2023-01-10 16:50:10,899 - {control.data:297} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=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', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Renault', tag_id=[], get=Get(soc=0, soc_timestamp='01/10/2023, 09:26:16', force_soc_update=False, range=0, fault_state=2, fault_str='OSError None: Unbekannter Fehler None'))
2023-01-10 16:50:10,900 - {control.data:297} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2)
2023-01-10 16:50:10,900 - {control.data:297} - {DEBUG:MainThread} - et1
EvTemplateData(name='VW', max_current_multi_phases=16, max_phases=2, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=15, min_current=6, max_current_single_phase=16, battery_capacity=33, nominal_difference=2)
2023-01-10 16:50:10,900 - {control.data:297} - {DEBUG:MainThread} - et2
EvTemplateData(name='Renault', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=15, min_current=6, max_current_single_phase=16, battery_capacity=22, nominal_difference=2)
2023-01-10 16:50:10,901 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=24800, phase_switch_delay=7, phases_to_use=0, rundown_power=1000, rundown_soc=100, switch_off_delay=60, switch_off_soc=0, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=0, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=3), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-10 16:50:10,901 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-10 16:50:10,901 - {control.data:280} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=True))
2023-01-10 16:50:10,901 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'exported': 8875239.972, 'daily_exported': 9917.972, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-10 16:50:10,902 - {control.data:297} - {DEBUG:MainThread} - pv1
{'get': {'daily_exported': 4960.972, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0, 'exported': 4960.972, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 8200}}
2023-01-10 16:50:10,903 - {control.data:297} - {DEBUG:MainThread} - pv2
{'get': {'daily_exported': 4957.0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0, 'exported': 8870279.0, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 7000}}
2023-01-10 16:50:10,903 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.188.137', 'current_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'current_branch': 'master', 'current_branch_commit': '2023-01-10 11:20:30 +0100 [d489ed16]', 'current_missing_commits': ['2023-01-10 11:20:30 +0100 [d489ed16] - Merge pull request #744 from benderl/web', '2023-01-10 11:18:20 +0100 [aa84729f] - updated settings', '2023-01-10 09:32:20 +0100 [14ecafe3] - Merge pull request #743 from LKuemmel/changes_snaptec_repo', '2023-01-10 09:30:34 +0100 [436c0878] - fix e3dc', "2023-01-10 09:28:45 +0100 [c2b2c85f] - Merge remote-tracking branch 'snaptec/master' into changes_snaptec_repo", '2023-01-10 09:10:31 +0100 [927f5d68] - fix inverter behind virtual counter (#742)', '2023-01-06 15:49:20 +0100 [6279dac3] - Merge pull request #2577 from LKuemmel/fix', '2023-01-06 15:46:04 +0100 [4092831f] - remove unneccessary log msg', '2023-01-06 14:40:15 +0100 [2e2dc21c] - Merge pull request #2576 from LKuemmel/fix', '2023-01-06 14:36:52 +0100 [487722b4] - batterx: fix ids'], 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'lastlivevaluesJson': {'timestamp': 1673358086, 'time': '14:41:26', 'house-power': 0.0, 'charging-all': 0.0, 'pv-all': 1.306, 'ev1-soc': 88}, 'module_update_completed': True}
2023-01-10 16:50:10,904 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'Fronius', 'type': 'fronius', 'id': 0, 'configuration': {'ip_address': '192.168.188.126'}}
2023-01-10 16:50:10,904 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'Fronius Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-01-10 16:50:10,904 - {control.data:312} - {DEBUG:MainThread} - component5
{'name': 'Fronius SM Zähler', 'type': 'counter_sm', 'id': 5, 'configuration': {'meter_id': 0, 'variant': 1}}
2023-01-10 16:50:10,905 - {control.data:310} - {DEBUG:MainThread} - device1
{'name': 'Kostal Plenticore', 'type': 'kostal_plenticore', 'id': 1, 'configuration': {'ip_address': '192.168.188.113'}}
2023-01-10 16:50:10,905 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'Kostal Plenticore Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-01-10 16:50:10,905 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-10 16:50:10,905 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-10 16:50:10,906 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-10 16:50:10,908 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.INSTANT_CHARGING: 'instant_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 5
2023-01-10 16:50:10,908 - {control.algorithm.algorithm:48} - {ERROR:MainThread} - Fehler im Algorithmus-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/algorithm/algorithm.py", line 33, in calc_current
    self.min_current.set_min_current()
  File "/var/www/html/openWB/packages/control/algorithm/min_current.py", line 24, in set_min_current
    available_currents, limit = Loadmanagement().get_available_currents(missing_currents, counter)
  File "/var/www/html/openWB/packages/control/loadmanagement.py", line 24, in get_available_currents
    raw_currents_left = counter.data["set"]["raw_currents_left"]
KeyError: 'raw_currents_left'
2023-01-10 16:50:10,918 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-10 16:50:10,920 - {control.process:106} - {INFO:MainThread} - LP3: set current 0 A
2023-01-10 16:50:10,924 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-10 16:50:10,940 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-10 16:50:10,942 - {helpermodules.graph:56} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 27, in pub_graph_data
    dataline.update({"grid": _convert_to_kW(data.data.counter_data[evu_counter].data["get"]["power"])})
KeyError: 'power'
2023-01-10 16:50:10,943 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-10 16:50:20,028 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-10 16:50:20,029 - {root:61} - {INFO:MainThread} - # ***Start***
PV: 24,7 kWp Ost Süd West mit Fronius GEN24 8.0 zusammen mit 2xBYD HVS 10.2 und Fronius Symo
Canadian Solar 370Watt/380Watt.
Smartmeter: Fronius TS63A-3
WB: OpenWb Standard 2 + und Selbstbau OpenWb
VW E-UP
Renault E-Twingo
Gesperrt