einzubinden scheitert derzeit daran das die PV Leistung nicht angezeigt wird.
abgefragt werden.Die Modul config sollte auch passen, zumindest kommt der Zählerstand des WR an.
Code: Alles auswählen
2023-01-09 09:12:48,461 - {root:61} - {INFO:MainThread} - # ***Start***
2023-01-09 09:12:48,478 - {soc.modules.common.component_context:24} - {DEBUG:device10} - Update Komponente ['HTTP Speicher']
2023-01-09 09:12:48,479 - {soc.modules.common.component_context:51} - {DEBUG:device14} - Update Komponenten ['Json Zähler VZ']
2023-01-09 09:12:48,486 - {urllib3.connectionpool:272} - {DEBUG:device10} - Resetting dropped connection: 192.168.188.20
2023-01-09 09:12:48,493 - {urllib3.connectionpool:227} - {DEBUG:device14} - Starting new HTTP connection (1): 192.168.188.20:8081
2023-01-09 09:12:48,499 - {urllib3.connectionpool:452} - {DEBUG:device10} - http://192.168.188.20:80 "GET /openWB/ramdisk/speicherikwh_senec HTTP/1.1" 200 7
2023-01-09 09:12:48,501 - {soc.modules.common.req:11} - {DEBUG:device10} - Get-Response: 2985246
2023-01-09 09:12:48,509 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.188.20:8081 "GET / HTTP/1.1" 200 548
2023-01-09 09:12:48,511 - {urllib3.connectionpool:452} - {DEBUG:device10} - http://192.168.188.20:80 "GET /openWB/ramdisk/speicherekwh_senec HTTP/1.1" 200 7
2023-01-09 09:12:48,513 - {soc.modules.common.req:11} - {DEBUG:device10} - Get-Response: 3046520
2023-01-09 09:12:48,519 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: { "version": "0.8.1", "generator": "vzlogger", "data": [ { "uuid": "fde8f1d0-c5d0-11e0-856e-f9e4360ced10", "last": 1673251966823, "interval": -1, "protocol": "sml", "tuples": [ [ 1673251960000, 142.99663582842726 ] ] }, { "uuid": "a8da012a-9eb4-49ed-b7f3-38c95142a90c", "last": 1673251966823, "interval": -1, "protocol": "sml", "tuples": [ [ 1673251960000, 9277317.9000000004 ] ] }, { "uuid": "d5c6db0f-533e-498d-a85a-be972c104b48", "last": 1673251966823, "interval": -1, "protocol": "sml", "tuples": [ [ 1673251960000, 6260839.8000000007 ] ] } ] }
2023-01-09 09:12:48,869 - {urllib3.connectionpool:452} - {DEBUG:device10} - http://192.168.188.20:80 "GET /openWB/ramdisk/speicherleistung_senec HTTP/1.1" 200 3
2023-01-09 09:12:49,035 - {soc.modules.common.req:11} - {DEBUG:device10} - Get-Response: -13
2023-01-09 09:12:49,037 - {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=9277317.9, exported=6260839.800000001, power=142.99663582842726, frequency=50)
2023-01-09 09:12:49,041 - {urllib3.connectionpool:452} - {DEBUG:device10} - http://192.168.188.20:80 "GET /openWB/ramdisk/speichersoc_senec HTTP/1.1" 200 1
2023-01-09 09:12:49,042 - {soc.modules.common.req:11} - {DEBUG:device10} - Get-Response: 0
2023-01-09 09:12:49,044 - {soc.modules.common.store._api:26} - {DEBUG:device10} - Raw data BatState(imported=2985246.0, exported=3046520.0, power=-13.0, soc=0.0)
2023-01-09 09:12:49,046 - {soc.modules.common.component_context:24} - {DEBUG:device10} - Update Komponente ['HTTP Wechselrichter']
2023-01-09 09:12:49,052 - {urllib3.connectionpool:452} - {DEBUG:device10} - http://192.168.188.20:80 "GET /openWB/ramdisk/pvwatt_senec HTTP/1.1" 200 3
2023-01-09 09:12:49,054 - {soc.modules.common.req:11} - {DEBUG:device10} - Get-Response: 218
2023-01-09 09:12:49,060 - {urllib3.connectionpool:452} - {DEBUG:device10} - http://192.168.188.20:80 "GET /openWB/ramdisk/pvewh_senec HTTP/1.1" 200 8
2023-01-09 09:12:49,061 - {soc.modules.common.req:11} - {DEBUG:device10} - Get-Response: 15079374
2023-01-09 09:12:49,061 - {soc.modules.common.store._api:26} - {DEBUG:device10} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=218.0, exported=15079374.0, dc_power=None)
2023-01-09 09:12:49,063 - {modules.common.utils.component_parser:30} - {ERROR:MainThread} - Element 14 konnte keinem Gerät zugeordnet werden.
2023-01-09 09:12:49,063 - {modules.common.utils.component_parser:30} - {ERROR:MainThread} - Element 13 konnte keinem Gerät zugeordnet werden.
2023-01-09 09:12:49,064 - {soc.modules.common.component_context:24} - {DEBUG:component27} - Update Komponente ['Json Zähler VZ']
2023-01-09 09:12:49,064 - {soc.modules.common.store._api:30} - {DEBUG:component27} - Saving 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=9277317.9, exported=6260839.800000001, power=142.99663582842726, frequency=50)
2023-01-09 09:12:49,064 - {soc.modules.common.component_context:24} - {DEBUG:component23} - Update Komponente ['HTTP Wechselrichter']
2023-01-09 09:12:49,065 - {soc.modules.common.component_context:24} - {DEBUG:component18} - Update Komponente ['HTTP Speicher']
2023-01-09 09:12:49,067 - {soc.modules.common.store._api:26} - {DEBUG:component23} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=218.0, exported=15079374.0, dc_power=None)
2023-01-09 09:12:49,072 - {soc.modules.common.store._api:30} - {DEBUG:component18} - Saving BatState(imported=2985246.0, exported=3046520.0, power=-13.0, soc=0.0)
2023-01-09 09:12:49,073 - {soc.modules.common.store._api:30} - {DEBUG:component23} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=218.0, exported=15079374.0, dc_power=None)
2023-01-09 09:12:49,095 - {helpermodules.setdata:287} - {ERROR:Thread-6} - Payload ungültig: Topic openWB/set/pv/23/get/power, Payload 218.0 liegt in keinem der angegebenen Wertebereiche.
2023-01-09 09:12:49,118 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 27: [15.0, 15.0, 15.0]
2023-01-09 09:12:49,120 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 27: 29857.003364171575
2023-01-09 09:12:49,121 - {control.bat:118} - {INFO:MainThread} - -13.0W verbliebende Speicher-Leistung
2023-01-09 09:12:49,123 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': -13.0, 'imported': 2985246.0, 'exported': 3046520.0, 'daily_exported': 123.0, 'daily_imported': 0.0, 'soc': 0}, 'config': {'configured': True}, 'set': {'charging_power_left': -13.0, 'switch_on_soc_reached': False}}
2023-01-09 09:12:49,124 - {control.data:297} - {DEBUG:MainThread} - bat18
{'get': {'daily_imported': 0.0, 'daily_exported': 123.0, 'power': -13.0, 'soc': 0, 'imported': 2985246.0, 'exported': 3046520.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}}
2023-01-09 09:12:49,125 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-01-09 09:12:49,125 - {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 09:12:49,125 - {control.data:297} - {DEBUG:MainThread} - counter27
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 29857.003364171575, 'surplus_power_left': 0, 'raw_currents_left': [15.0, 15.0, 15.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 2559.8, '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': 9277317.9, 'exported': 6260839.800000001, 'power': 142.99663582842726, 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 30000}}
2023-01-09 09:12:49,126 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 27, 'type': 'counter', 'children': []}, {'id': 23, 'type': 'inverter', 'children': []}, {'id': 18, 'type': 'bat', 'children': []}, {'id': 14, 'type': 'counter', 'children': []}, {'id': 13, 'type': 'counter', 'children': []}]), set=Set(loadmanagement_active=False, home_consumption=142.99663582842726, invalid_home_consumption=0, daily_yield_home_consumption=2697.8))
2023-01-09 09:12:49,126 - {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=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-09 09:12:49,126 - {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=<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 09:12:49,127 - {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 09:12:49,128 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-09 09:12:49,129 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-09 09:12:49,129 - {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 09:12:49,129 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0.0, 'exported': 15079373.0, 'daily_exported': 15.0, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-09 09:12:49,129 - {control.data:297} - {DEBUG:MainThread} - pv23
{'get': {'daily_exported': 15.0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0.0, 'exported': 15079374.0, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 7000}}
2023-01-09 09:12:49,129 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.188.20', 'current_commit': '2023-01-06 15:24:41 +0100 [6c4877ac]', 'current_branch': 'master', 'current_branch_commit': '2023-01-06 15:24:41 +0100 [6c4877ac]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'lastlivevaluesJson': {'timestamp': 1673251957, 'time': '09:12:37', 'grid': 0.161, 'house-power': 0.161, 'charging-all': 0.0, 'pv-all': -0.0, 'bat-all-power': -0.013, 'bat-all-soc': 0}, 'module_update_completed': True}
2023-01-09 09:12:49,130 - {control.data:310} - {DEBUG:MainThread} - device10
{'name': 'HTTP', 'type': 'http', 'id': 10, 'configuration': {'url': 'http://192.168.188.20'}}
2023-01-09 09:12:49,132 - {control.data:312} - {DEBUG:MainThread} - component18
{'name': 'HTTP Speicher', 'type': 'bat', 'id': 18, 'configuration': {'power_path': '/openWB/ramdisk/speicherleistung_senec', 'soc_path': '/openWB/ramdisk/speichersoc_senec', 'imported_path': '/openWB/ramdisk/speicherikwh_senec', 'exported_path': '/openWB/ramdisk/speicherekwh_senec'}}
2023-01-09 09:12:49,132 - {control.data:312} - {DEBUG:MainThread} - component23
{'name': 'HTTP Wechselrichter', 'type': 'inverter', 'id': 23, 'configuration': {'power_path': '/openWB/ramdisk/pvwatt_senec', 'exported_path': '/openWB/ramdisk/pvewh_senec'}}
2023-01-09 09:12:49,132 - {control.data:310} - {DEBUG:MainThread} - device14
{'name': 'Json vzlogger', 'type': 'json', 'id': 14, 'configuration': {'url': 'http://192.168.188.20:8081'}}
2023-01-09 09:12:49,132 - {control.data:312} - {DEBUG:MainThread} - component27
{'name': 'Json Zähler VZ', 'type': 'counter', 'id': 27, 'configuration': {'jq_power': '.data[] | select(.uuid=="fde8f1d0-c5d0-11e0-856e-f9e4360ced10") | .tuples |.[0][1]', 'jq_exported': '.data[] | select(.uuid=="d5c6db0f-533e-498d-a85a-be972c104b48") | .tuples |.[0][1]', 'jq_imported': '.data[] | select(.uuid=="a8da012a-9eb4-49ed-b7f3-38c95142a90c") | .tuples |.[0][1]'}}
2023-01-09 09:12:49,132 - {control.data:284} - {DEBUG:MainThread} -
2023-01-09 09:12:49,132 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-09 09:12:49,133 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-09 09:12:49,133 - {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 15, in set_min_current
for mode_tuple, counter in common.mode_and_counter_generator():
File "/var/www/html/openWB/packages/control/algorithm/common.py", line 53, in mode_and_counter_generator
counter = data.data.counter_data[f"counter{element['id']}"]
KeyError: 'counter14'
2023-01-09 09:12:49,141 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-09 09:12:49,141 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-09 09:12:49,348 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-09 09:12:54,351 - {modules.utils:17} - {ERROR:MainThread} - Modul-Daten wurden noch nicht vollständig empfangen. Timeout abgelaufen, fortsetzen der Regelung.
2023-01-09 09:12:59,354 - {modules.utils:17} - {ERROR:MainThread} - Modul-Daten wurden noch nicht vollständig empfangen. Timeout abgelaufen, fortsetzen der Regelung.
2023-01-09 09:13:00,362 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-09 09:13:00,362 - {root:61} - {INFO:MainThread} - # ***Start***
in die ramdisk wird ein Wert ohne Vorzeichen, Punkt oder Komma geschrieben.