SMA EM/HomeManager
Verfasst: Mo Feb 14, 2022 8:54 am
Ein neuer Thread rund um das Thema SMA EM/SHM in der openWB 2.0.
Aktueller Stand:
- EVU Daten kommen nun auf der Box an
- Graph baut sich nicht auf (lasse ich noch mal eine Weile laufen, womögilch brauchts noch mehr Daten?)
- Fehlermeldungen im Log, u.a. Speedwire component not subscriptable.
Meine Struktur besteht aktuell ausschließlich aus dem SMA SHM Zähler um es so einfach wie möglich zu halten.
Aktueller Stand:
- EVU Daten kommen nun auf der Box an
- Graph baut sich nicht auf (lasse ich noch mal eine Weile laufen, womögilch brauchts noch mehr Daten?)
- Fehlermeldungen im Log, u.a. Speedwire component not subscriptable.
Meine Struktur besteht aktuell ausschließlich aus dem SMA SHM Zähler um es so einfach wie möglich zu halten.
Code: Alles auswählen
2022-02-14 09:44:16,854 - {/packages/main.py:39} - INFO - # ***Start***
2022-02-14 09:44:17,777 - {/packages/control/prepare.py:96} - ERROR - Fehler im Prepare-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/prepare.py", line 66, in copy_module_data
self.__copy_counter_data()
File "/var/www/html/openWB/packages/control/prepare.py", line 53, in __copy_counter_data
if component[9:] == counter[7:]:
TypeError: 'SpeedwireComponent' object is not subscriptable
2022-02-14 09:44:18,284 - {/packages/control/prepare.py:96} - ERROR - Fehler im Prepare-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/prepare.py", line 66, in copy_module_data
self.__copy_counter_data()
File "/var/www/html/openWB/packages/control/prepare.py", line 53, in __copy_counter_data
if component[9:] == counter[7:]:
TypeError: 'SpeedwireComponent' object is not subscriptable
2022-02-14 09:44:18,292 - {/packages/control/prepare.py:142} - ERROR - Fehler im Prepare-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/prepare.py", line 139, in copy_data
self.__copy_counter_data()
File "/var/www/html/openWB/packages/control/prepare.py", line 53, in __copy_counter_data
if component[9:] == counter[7:]:
TypeError: 'SpeedwireComponent' object is not subscriptable
2022-02-14 09:44:18,298 - {/packages/control/pv.py:94} - DEBUG - Kein PV-Modul konfiguriert.
2022-02-14 09:44:18,308 - {/packages/control/counter.py:61} - ERROR - Fehler in der allgemeinen Zähler-Klasse
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/counter.py", line 42, in calc_home_consumption
evu = data.data.counter_data[self.get_evu_counter()].data["get"]["power"]
KeyError: 'counter0'
2022-02-14 09:44:18,311 - {/packages/control/data.py:268} - DEBUG - all
{'get': {'power': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': 0, 'hybrid_system_detected': False}}
2022-02-14 09:44:18,311 - {/packages/control/data.py:268} - DEBUG - all
{'get': {'daily_yield': 0, 'power': 0, 'counter': 0}}
2022-02-14 09:44:18,312 - {/packages/control/data.py:268} - DEBUG - cpt0
{'name': 'Standard Ladepunkt-Vorlage', 'autolock': {'wait_for_charging_end': False, 'active': False, 'plans': {}}, 'rfid_enabling': False, 'valid_tags': []}
2022-02-14 09:44:18,312 - {/packages/control/data.py:268} - DEBUG - all
{'set': {'loadmanagement_active': False, 'home_consumption': 0, 'invalid_home_consumption': 0, 'daily_yield_home_consumption': 0}, 'get': {'hierarchy': [{'id': 'counter0', 'children': []}]}}
2022-02-14 09:44:18,314 - {/packages/control/data.py:268} - DEBUG - ct0
{'name': 'Standard-Ladeprofil-Vorlage', 'disable_after_unplug': False, 'prio': False, 'load_default': False, 'time_charging': {'active': False, 'plans': {}}, 'chargemode': {'selected': 'stop', 'pv_charging': {'min_soc_current': 10, 'min_current': 6, 'feed_in_limit': False, 'min_soc': 0, 'max_soc': 100}, 'scheduled_charging': {'plans': {}}, 'instant_charging': {'current': 10, 'limit': {'selected': 'none', 'soc': 50, 'amount': 10}}}}
2022-02-14 09:44:18,315 - {/packages/control/data.py:268} - DEBUG - ev0
{'set': {}, 'get': {'range_charged': 0, 'soc': 0}, 'control_parameter': {'required_current': 0, 'phases': 0, 'prio': False, 'timestamp_switch_on_off': '0', 'timestamp_auto_phase_switch': '0', 'timestamp_perform_phase_switch': '0', 'submode': 'stop', 'chargemode': 'stop'}, 'name': 'Standard-Fahrzeug', 'charge_template': 0, 'ev_template': 0, 'tag_id': []}
2022-02-14 09:44:18,316 - {/packages/control/data.py:268} - DEBUG - et0
{'name': 'Standard-Fahrzeug-Vorlage', 'max_current_multi_phases': 16, 'max_phases': 3, 'phase_switch_pause': 2, 'prevent_switch_stop': False, 'control_pilot_interruption': False, 'average_consump': 17, 'min_current': 6, 'max_current_one_phase': 32, 'battery_capacity': 82, 'nominal_difference': 2, 'request_interval_charging': 5, 'request_interval_not_charging': 720, 'request_only_plugged': False}
2022-02-14 09:44:18,316 - {/packages/control/data.py:268} - DEBUG - general
{'grid_protection_active': False, 'chargemode_config': {'instant_charging': {'phases_to_use': 1}, 'pv_charging': {'bat_prio': 1, 'switch_on_soc': 60, 'switch_off_soc': 40, 'rundown_power': 1000, 'rundown_soc': 50, 'charging_power_reserve': 200, 'control_range': [0, 230], 'switch_off_threshold': 5, 'switch_off_delay': 60, 'switch_on_delay': 30, 'switch_on_threshold': 1500, 'feed_in_yield': 15000, 'phase_switch_delay': 7, 'phases_to_use': 1}, 'scheduled_charging': {'phases_to_use': 0}, 'standby': {'phases_to_use': 1}, 'phases_to_use': 1, 'time_charging': {'phases_to_use': 1}, 'individual_mode': True, 'unbalanced_load': False, 'unbalanced_load_limit': 18}, 'control_interval': 10, 'extern': False, 'extern_display_mode': 'local', 'external_buttons_hw': False, 'grid_protection_configured': True, 'notifications': {'selected': 'none', 'plug': False, 'start_charging': False, 'stop_charging': False, 'smart_home': False, 'configuration': {}}, 'price_kwh': 0.3, 'range_unit': 'km', 'ripple_control_receiver': {'configured': False}}
2022-02-14 09:44:18,317 - {/packages/control/data.py:268} - DEBUG - graph
{'config': {'duration': 120}}
2022-02-14 09:44:18,318 - {/packages/control/data.py:268} - DEBUG - optional
{'et': {'get': {}, 'active': False, 'config': {'max_price': 0, 'provider': {}}}, 'int_display': {'active': False, 'on_if_plugged_in': True, 'pin_active': False, 'pin_code': '0000', 'standby': 60, 'theme': 'cards'}, 'led': {'active': False}, 'active': False, 'max_current': 16, 'rfid': {'active': False}}
2022-02-14 09:44:18,318 - {/packages/control/data.py:268} - DEBUG - all
{'set': {'overhang_power_left': 0, 'available_power': 0, 'reserved_evu_overhang': 0, 'released_evu_overhang': 0}, 'get': {'power': 0}, 'config': {'configured': False}}
2022-02-14 09:44:18,318 - {/packages/control/data.py:268} - DEBUG - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '', 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master'}
2022-02-14 09:44:18,319 - {/packages/control/data.py:255} - DEBUG -
2022-02-14 09:44:18,319 - {/packages/control/algorithm.py:39} - DEBUG - # Algorithmus-Start
2022-02-14 09:44:18,320 - {/packages/control/algorithm.py:86} - ERROR - Fehler im Algorithmus-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/algorithm.py", line 42, in calc_current
"EVU-Punkt: Leistung[W] " + str(data.data.counter_data[evu_counter].data["get"]["power"]) +
KeyError: 'counter0'
2022-02-14 09:44:18,323 - {/packages/control/process.py:20} - DEBUG - # Ladung starten.
2022-02-14 09:44:18,328 - {/packages/control/pv.py:429} - DEBUG - 0W EVU-Überschuss, der für die Regelung verfügbar ist, davon 0W für die Einschaltverzögerung reservierte Leistung.
2022-02-14 09:44:18,329 - {/packages/control/process.py:70} - ERROR - Fehler im Process-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/process.py", line 68, in process_algorithm_results
data.data.counter_data[data.data.counter_data["all"].get_evu_counter()].put_stats()
KeyError: 'counter0'
2022-02-14 09:44:18,330 - {/packages/helpermodules/graph.py:72} - ERROR - Fehler im Graph-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/graph.py", line 24, in pub_graph_data
if data.data.counter_data[evu_counter].data["get"]["fault_state"] == 0:
KeyError: 'counter0'