Feedback 2.0 Alpha 1
-
- Beiträge: 4447
- Registriert: Mi Nov 11, 2020 7:16 pm
- Has thanked: 4 times
- Been thanked: 26 times
Re: Feedback 2.0 Alpha 1
Vermute, das ist eine Transparenz Sache der beiden überlagerten Farben rot und grün
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 300 (06/2024)
Re: Feedback 2.0 Alpha 1
Config sieht so aus:
"none" akzeptiert die Eingabemaske nicht, deshalb "/none". Status meldet das:
Code: Alles auswählen
Modulmeldung:
<class 'ValueError'> could not
convert string to float: '{ "error": "command none unknown", "getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID", "get": "http://192.168.178.56:8087/get/stateID/?prettyPrint", "getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint", "set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint", "toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint", "setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint", "setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1", "objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint", "states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint", "search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint", "query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"}'
http://192.168.178.56:8087/getPlainValu ... 53_P_Total
Code: Alles auswählen
1851.11
Code: Alles auswählen
3301638.92
Code: Alles auswählen
2022-03-03 14:31:19,937 - {/packages/main.py:160} - DEBUG - Warten auf das Ende des Boot-Prozesses
2022-03-03 14:31:29,951 - {/packages/main.py:163} - DEBUG - Boot-Prozess abgeschlossen
2022-03-03 14:31:29,952 - {/packages/helpermodules/update_config.py:297} - DEBUG - Broker-Konfiguration aktualisieren
2022-03-04 08:27:59,877 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID autolock_plan -1
2022-03-04 08:27:59,878 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID mqtt_bridge -1
2022-03-04 08:27:59,878 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID charge_template 0
2022-03-04 08:27:59,879 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID charge_template_scheduled_plan -1
2022-03-04 08:27:59,880 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID charge_template_time_charging_plan -1
2022-03-04 08:27:59,880 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID chargepoint_template 0
2022-03-04 08:27:59,881 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID device 3
2022-03-04 08:27:59,882 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID ev_template 0
2022-03-04 08:27:59,882 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID vehicle 0
2022-03-04 08:27:59,883 - {/packages/helpermodules/command.py:137} - DEBUG - Max ID hierarchy 4
2022-03-04 08:28:08,888 - {/packages/main.py:39} - INFO - # ***Start***
2022-03-04 08:28:08,891 - {/packages/modules/loadvars.py:104} - ERROR - Fehler im loadvars-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/main.py", line 40, in handler10Sec
exit_time = data.data.general_data["general"].data["control_interval"]
KeyError: 'general'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/loadvars.py", line 100, in _get_general
if data.data.general_data["general"].data[
KeyError: 'general'
2022-03-04 08:28:08,898 - {/packages/modules/http/device.py:60} - DEBUG - Start device reading {'component0': <modules.http.counter.HttpCounter object at 0x7397e130>}
2022-03-04 08:28:08,899 - {/packages/modules/http/counter.py:41} - DEBUG - Komponente HTTP Zähler auslesen.
2022-03-04 08:28:08,903 - {/packages/modules/json/device.py:56} - DEBUG - Start device reading {'component1': <modules.json.inverter.JsonInverter object at 0x7397e268>}
2022-03-04 08:28:08,906 - {/packages/modules/http/device.py:60} - DEBUG - Start device reading {'component4': <modules.http.counter.HttpCounter object at 0x7397e460>}
2022-03-04 08:28:08,907 - {/packages/modules/http/counter.py:41} - DEBUG - Komponente HTTP Zähler auslesen.
2022-03-04 08:28:08,952 - {/packages/modules/common/req.py:10} - DEBUG - Get-Response: {
"error": "command none unknown",
"getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID",
"get": "http://192.168.178.56:8087/get/stateID/?prettyPrint",
"getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint",
"set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint",
"toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint",
"setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint",
"setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1",
"objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint",
"states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint",
"search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint",
"query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"
}
2022-03-04 08:28:08,953 - {/packages/modules/http/api.py:14} - DEBUG - Antwort auf http://192.168.178.56:8087/none {
"error": "command none unknown",
"getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID",
"get": "http://192.168.178.56:8087/get/stateID/?prettyPrint",
"getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint",
"set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint",
"toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint",
"setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint",
"setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1",
"objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint",
"states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint",
"search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint",
"query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"
}
2022-03-04 08:28:08,960 - {/packages/modules/common/fault_state.py:34} - ERROR - HTTP Zähler: FaultState FaultStateLevel.ERROR, FaultStr <class 'ValueError'> could not convert string to float: '{ "error": "command none unknown", "getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID", "get": "http://192.168.178.56:8087/get/stateID/?prettyPrint", "getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint", "set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint", "toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint", "setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint", "setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1", "objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint", "states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint", "search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint", "query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"}', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/http/device.py", line 65, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/http/counter.py", line 44, in update
currents=[getter() for getter in self.__get_currents],
File "/var/www/html/openWB/packages/modules/http/counter.py", line 44, in <listcomp>
currents=[getter() for getter in self.__get_currents],
File "/var/www/html/openWB/packages/modules/http/api.py", line 15, in request_value
return float(response.text.replace("\n", ""))
ValueError: could not convert string to float: '{ "error": "command none unknown", "getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID", "get": "http://192.168.178.56:8087/get/stateID/?prettyPrint", "getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint", "set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint", "toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint", "setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint", "setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1", "objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint", "states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint", "search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint", "query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"}'
2022-03-04 08:28:08,989 - {/packages/modules/common/fault_state.py:34} - ERROR - HTTP Zähler: FaultState FaultStateLevel.ERROR, FaultStr HTTP 404: Client-Fehler. Überprüfe die Konfiguration., Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/http/device.py", line 65, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/http/counter.py", line 44, in update
currents=[getter() for getter in self.__get_currents],
File "/var/www/html/openWB/packages/modules/http/counter.py", line 44, in <listcomp>
currents=[getter() for getter in self.__get_currents],
File "/var/www/html/openWB/packages/modules/http/api.py", line 12, in request_value
response = req.get_http_session().get(url, timeout=5)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 662, in send
r = dispatch_hook('response', hooks, r, **kwargs)
File "/usr/lib/python3/dist-packages/requests/hooks.py", line 31, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "/var/www/html/openWB/packages/modules/common/req.py", line 9, in <lambda>
session.hooks['response'].append(lambda r, *args, **kwargs: r.raise_for_status())
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://192.168.178.53/openWB/ramdisk/llaktuell/current_l1.txt
2022-03-04 08:28:09,060 - {/packages/modules/common/req.py:10} - DEBUG - Get-Response: {"dxsEntries":[{"dxsId":67109120,"value":973.737610},{"dxsId":251658753,"value":24172.097656}],"session":{"sessionId":0,"roleId":0},"status":{"code":0}}
2022-03-04 08:28:09,061 - {/packages/modules/json/inverter.py:33} - DEBUG - Komponente Json Wechselrichter auslesen.
2022-03-04 08:28:10,198 - {/packages/control/pv.py:85} - DEBUG - -115.0W EVU-Überschuss, der für die Regelung verfügbar ist, davon 0W für die Einschaltverzögerung reservierte Leistung.
2022-03-04 08:28:10,209 - {/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-03-04 08:28:10,209 - {/packages/control/data.py:268} - DEBUG - all
{'get': {'daily_yield': 0, 'power': 0, 'counter': 0}}
2022-03-04 08:28:10,209 - {/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-03-04 08:28:10,210 - {/packages/control/data.py:268} - DEBUG - all
{'set': {'loadmanagement_active': False, 'home_consumption': 973, 'invalid_home_consumption': 0, 'daily_yield_home_consumption': 681.640000000596}, 'get': {'hierarchy': [{'id': 4, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 0, 'type': 'counter', 'children': []}]}]}}
2022-03-04 08:28:10,210 - {/packages/control/data.py:268} - DEBUG - counter0
{'set': {'consumption_left': 10982.13}, 'get': {'daily_yield_export': 0.0, 'daily_yield_import': 0.0, 'fault_str': '<class \'ValueError\'> could not convert string to float: \'{ "error": "command none unknown", "getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID", "get": "http://192.168.178.56:8087/get/stateID/?prettyPrint", "getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint", "set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint", "toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint", "setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint", "setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1", "objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint", "states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint", "search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint", "query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"}\'', 'fault_state': 2, 'voltages': [230.0, 230.0, 230.0], 'currents': [18.61, 18.43, 18.43], 'powers': [4280.3, 4238.9, 4238.9], 'power_factors': [0.0, 0.0, 0.0], 'imported': 18.43, 'exported': 18.43, 'power': 0, 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2022-03-04 08:28:10,211 - {/packages/control/data.py:268} - DEBUG - counter4
{'set': {}, 'get': {'daily_yield_export': 0, 'daily_yield_import': 0, 'fault_str': 'HTTP 404: Client-Fehler. Überprüfe die Konfiguration.', 'fault_state': 2, 'power': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2022-03-04 08:28:10,213 - {/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-03-04 08:28:10,213 - {/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-03-04 08:28:10,214 - {/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-03-04 08:28:10,214 - {/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-03-04 08:28:10,214 - {/packages/control/data.py:268} - DEBUG - graph
{'config': {'duration': 120}}
2022-03-04 08:28:10,214 - {/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-03-04 08:28:10,215 - {/packages/control/data.py:268} - DEBUG - all
{'set': {'overhang_power_left': -115.0, 'available_power': -115.0, 'reserved_evu_overhang': 0, 'released_evu_overhang': 0}, 'get': {'power': -973.74, 'counter': 24172097.656, 'daily_yield': 681.640000000596, 'monthly_yield': 0, 'yearly_yield': 0}, 'config': {'configured': True}}
2022-03-04 08:28:10,215 - {/packages/control/data.py:268} - DEBUG - pv1
{'get': {'daily_yield': 681.640000000596, 'monthly_yield': 0, 'yearly_yield': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -973.74, 'counter': 24172097.656, 'currents': [0.0, 0.0, 0.0]}}
2022-03-04 08:28:10,216 - {/packages/control/data.py:268} - DEBUG - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '', 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'lastlivevaluesJson': {'timestamp': 1646314273, 'time': '14:31:13', 'house-power': 2.625, 'charging-all': 0.0, 'pv-all': -2.623}}
2022-03-04 08:28:10,218 - {/packages/control/data.py:255} - DEBUG -
2022-03-04 08:28:10,218 - {/packages/control/algorithm.py:39} - DEBUG - # Algorithmus-Start
2022-03-04 08:28:10,219 - {/packages/control/algorithm.py:41} - INFO - EVU-Punkt: Leistung[W] 0, Ströme[A] None
2022-03-04 08:28:10,219 - {/packages/control/algorithm.py:46} - INFO - ## Überschuss-Ladung über Mindeststrom bei PV-Laden zurücknehmen.
2022-03-04 08:28:10,219 - {/packages/control/loadmanagement.py:258} - ERROR - Fehler im Lastmanagement-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/main.py", line 40, in handler10Sec
exit_time = data.data.general_data["general"].data["control_interval"]
KeyError: 'general'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/loadmanagement.py", line 249, in _check_max_power
consumption_left = data.data.counter_data[evu_counter].data[
KeyError: 'consumption_left'
2022-03-04 08:28:10,232 - {/packages/control/algorithm.py:217} - DEBUG - ## Ladung muss nicht wegen aktiven Lastmanagements gestoppt werden.
2022-03-04 08:28:10,233 - {/packages/control/algorithm.py:638} - INFO - ## Zuteilung des Überschusses
2022-03-04 08:28:10,236 - {/packages/control/algorithm.py:677} - INFO - ## Zuteilung beendet, da kein Ladepunkt mehr auf Zuteilung wartet.
2022-03-04 08:28:10,236 - {/packages/control/algorithm.py:956} - INFO - ## Übrigen Überschuss verteilen.
2022-03-04 08:28:10,238 - {/packages/control/process.py:20} - DEBUG - # Ladung starten.
2022-03-04 08:28:10,239 - {/packages/control/pv.py:429} - DEBUG - -115.0W EVU-Überschuss, der für die Regelung verfügbar ist, davon 0W für die Einschaltverzögerung reservierte Leistung.
2022-03-04 08:28:10,243 - {/packages/control/counter.py:369} - ERROR - Fehler in der Zähler-Klasse von 4
Traceback (most recent call last):
File "/var/www/html/openWB/packages/main.py", line 40, in handler10Sec
exit_time = data.data.general_data["general"].data["control_interval"]
KeyError: 'general'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/counter.py", line 366, in put_stats
self.data["set"]["consumption_left"])
KeyError: 'consumption_left'
2022-03-04 08:28:18,886 - {/packages/main.py:39} - INFO - # ***Start***
2022-03-04 08:28:18,891 - {/packages/modules/http/device.py:60} - DEBUG - Start device reading {'component0': <modules.http.counter.HttpCounter object at 0x7397e130>}
2022-03-04 08:28:18,892 - {/packages/modules/json/device.py:56} - DEBUG - Start device reading {'component1': <modules.json.inverter.JsonInverter object at 0x7397e268>}
2022-03-04 08:28:18,893 - {/packages/modules/http/counter.py:41} - DEBUG - Komponente HTTP Zähler auslesen.
2022-03-04 08:28:18,894 - {/packages/modules/http/device.py:60} - DEBUG - Start device reading {'component4': <modules.http.counter.HttpCounter object at 0x7397e460>}
2022-03-04 08:28:18,916 - {/packages/modules/http/counter.py:41} - DEBUG - Komponente HTTP Zähler auslesen.
2022-03-04 08:28:18,932 - {/packages/modules/common/req.py:10} - DEBUG - Get-Response: {
"error": "command none unknown",
"getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID",
"get": "http://192.168.178.56:8087/get/stateID/?prettyPrint",
"getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint",
"set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint",
"toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint",
"setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint",
"setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1",
"objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint",
"states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint",
"search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint",
"query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"
}
2022-03-04 08:28:18,933 - {/packages/modules/http/api.py:14} - DEBUG - Antwort auf http://192.168.178.56:8087/none {
"error": "command none unknown",
"getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID",
"get": "http://192.168.178.56:8087/get/stateID/?prettyPrint",
"getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint",
"set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint",
"toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint",
"setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint",
"setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1",
"objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint",
"states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint",
"search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint",
"query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"
}
2022-03-04 08:28:18,941 - {/packages/modules/common/fault_state.py:34} - ERROR - HTTP Zähler: FaultState FaultStateLevel.ERROR, FaultStr <class 'ValueError'> could not convert string to float: '{ "error": "command none unknown", "getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID", "get": "http://192.168.178.56:8087/get/stateID/?prettyPrint", "getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint", "set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint", "toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint", "setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint", "setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1", "objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint", "states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint", "search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint", "query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"}', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/http/device.py", line 65, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/http/counter.py", line 44, in update
currents=[getter() for getter in self.__get_currents],
File "/var/www/html/openWB/packages/modules/http/counter.py", line 44, in <listcomp>
currents=[getter() for getter in self.__get_currents],
File "/var/www/html/openWB/packages/modules/http/api.py", line 15, in request_value
return float(response.text.replace("\n", ""))
ValueError: could not convert string to float: '{ "error": "command none unknown", "getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID", "get": "http://192.168.178.56:8087/get/stateID/?prettyPrint", "getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint", "set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint", "toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint", "setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint", "setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1", "objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint", "states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint", "search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint", "query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"}'
2022-03-04 08:28:18,942 - {/packages/modules/common/fault_state.py:34} - ERROR - HTTP Zähler: FaultState FaultStateLevel.ERROR, FaultStr HTTP 404: Client-Fehler. Überprüfe die Konfiguration., Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/http/device.py", line 65, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/http/counter.py", line 44, in update
currents=[getter() for getter in self.__get_currents],
File "/var/www/html/openWB/packages/modules/http/counter.py", line 44, in <listcomp>
currents=[getter() for getter in self.__get_currents],
File "/var/www/html/openWB/packages/modules/http/api.py", line 12, in request_value
response = req.get_http_session().get(url, timeout=5)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 662, in send
r = dispatch_hook('response', hooks, r, **kwargs)
File "/usr/lib/python3/dist-packages/requests/hooks.py", line 31, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "/var/www/html/openWB/packages/modules/common/req.py", line 9, in <lambda>
session.hooks['response'].append(lambda r, *args, **kwargs: r.raise_for_status())
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://192.168.178.53/openWB/ramdisk/llaktuell/current_l1.txt
2022-03-04 08:28:18,954 - {/packages/modules/common/req.py:10} - DEBUG - Get-Response: {"dxsEntries":[{"dxsId":67109120,"value":982.394775},{"dxsId":251658753,"value":24172.097656}],"session":{"sessionId":0,"roleId":0},"status":{"code":0}}
2022-03-04 08:28:18,955 - {/packages/modules/json/inverter.py:33} - DEBUG - Komponente Json Wechselrichter auslesen.
2022-03-04 08:28:20,285 - {/packages/control/pv.py:85} - DEBUG - -115.0W EVU-Überschuss, der für die Regelung verfügbar ist, davon 0W für die Einschaltverzögerung reservierte Leistung.
2022-03-04 08:28:20,289 - {/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-03-04 08:28:20,290 - {/packages/control/data.py:268} - DEBUG - all
{'get': {'daily_yield': 0, 'power': 0, 'counter': 0}}
2022-03-04 08:28:20,292 - {/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-03-04 08:28:20,293 - {/packages/control/data.py:268} - DEBUG - all
{'set': {'loadmanagement_active': False, 'home_consumption': 982, 'invalid_home_consumption': 0, 'daily_yield_home_consumption': 681.640000000596}, 'get': {'hierarchy': [{'id': 4, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 0, 'type': 'counter', 'children': []}]}]}}
2022-03-04 08:28:20,294 - {/packages/control/data.py:268} - DEBUG - counter0
{'set': {'consumption_left': 10982.13}, 'get': {'daily_yield_export': 0.0, 'daily_yield_import': 0.0, 'fault_str': '<class \'ValueError\'> could not convert string to float: \'{ "error": "command none unknown", "getPlainValue": "http://192.168.178.56:8087/getPlainValue/stateID", "get": "http://192.168.178.56:8087/get/stateID/?prettyPrint", "getBulk": "http://192.168.178.56:8087/getBulk/stateID1,stateID2/?prettyPrint", "set": "http://192.168.178.56:8087/set/stateID?value=1&prettyPrint", "toggle": "http://192.168.178.56:8087/toggle/stateID&prettyPrint", "setBulk": "http://192.168.178.56:8087/setBulk?stateID1=0.7&stateID2=0&prettyPrint", "setValueFromBody": "http://192.168.178.56:8087/setValueFromBody?stateID1", "objects": "http://192.168.178.56:8087/objects?pattern=system.adapter.admin.0*&prettyPrint", "states": "http://192.168.178.56:8087/states?pattern=system.adapter.admin.0*&prettyPrint", "search": "http://192.168.178.56:8087/search?pattern=system.adapter.admin.0*&prettyPrint", "query": "http://192.168.178.56:8087/query/stateID1,stateID2/?dateFrom=2019-06-06T12:00:00.000Z&dateTo=2019-06-06T12:00:00.000Z&noHistory=false&prettyPrint"}\'', 'fault_state': 2, 'voltages': [230.0, 230.0, 230.0], 'currents': [18.61, 18.43, 18.43], 'powers': [4280.3, 4238.9, 4238.9], 'power_factors': [0.0, 0.0, 0.0], 'imported': 18.43, 'exported': 18.43, 'power': 0, 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2022-03-04 08:28:20,295 - {/packages/control/data.py:268} - DEBUG - counter4
{'set': {}, 'get': {'daily_yield_export': 0, 'daily_yield_import': 0, 'fault_str': 'HTTP 404: Client-Fehler. Überprüfe die Konfiguration.', 'fault_state': 2, 'power': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2022-03-04 08:28:20,296 - {/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-03-04 08:28:20,297 - {/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-03-04 08:28:20,298 - {/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-03-04 08:28:20,300 - {/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-03-04 08:28:20,300 - {/packages/control/data.py:268} - DEBUG - graph
{'config': {'duration': 120}}
2022-03-04 08:28:20,300 - {/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-03-04 08:28:20,301 - {/packages/control/data.py:268} - DEBUG - all
{'set': {'overhang_power_left': -115.0, 'available_power': -115.0, 'reserved_evu_overhang': 0, 'released_evu_overhang': 0}, 'get': {'power': -973.74, 'counter': 24172097.656, 'daily_yield': 681.640000000596, 'monthly_yield': 0, 'yearly_yield': 0}, 'config': {'configured': True}}
2022-03-04 08:28:20,303 - {/packages/control/data.py:268} - DEBUG - pv1
{'get': {'daily_yield': 681.640000000596, 'monthly_yield': 0, 'yearly_yield': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -982.39, 'counter': 24172097.656, 'currents': [0.0, 0.0, 0.0]}}
2022-03-04 08:28:20,303 - {/packages/control/data.py:268} - DEBUG - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '', 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'lastlivevaluesJson': {'timestamp': 1646378890, 'time': '08:28:10', 'house-power': 0.973, 'charging-all': 0.0, 'pv-all': -0.974}}
2022-03-04 08:28:20,303 - {/packages/control/data.py:255} - DEBUG -
Kostal Piko 17
Kostal Plenticore Plus 10
Kostal Smart Energy Meter
BYD HVS 12.8
ioBroker
openWB series2 Duo
VW ID.7
Kostal Plenticore Plus 10
Kostal Smart Energy Meter
BYD HVS 12.8
ioBroker
openWB series2 Duo
VW ID.7
-
- Beiträge: 718
- Registriert: Mo Okt 12, 2020 7:41 am
Re: Feedback 2.0 Alpha 1
Vermutlich liefert die RESTful Api des iobrokers string als return, weil der Wert der Objekte ja auch Text sein könnte. Benötigt wird aber Float.
Aber schick die Daten doch per MQTT rüber!
Alternativ müsste man im Code vermutlich nur den Returnwert in Float konvertieren, aber das wäre gerade eher noch was für andere
Aber schick die Daten doch per MQTT rüber!
Alternativ müsste man im Code vermutlich nur den Returnwert in Float konvertieren, aber das wäre gerade eher noch was für andere
- mrinas
- Beiträge: 2148
- Registriert: Mi Jan 29, 2020 10:12 pm
- Has thanked: 8 times
- Been thanked: 6 times
Re: Feedback 2.0 Alpha 1
Ich glaube hier liegt das PRoblem, /none wird aufgerufen, sieht man auch im Log wenn ich das richtig interpretiere:
Code: Alles auswählen
2022-03-04 08:28:08,953 - {/packages/modules/http/api.py:14} - DEBUG - Antwort auf http://192.168.178.56:8087/none {
"error": "command none unknown"
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Smart #1 (ersetzt den e2008), Tesla Model Y LR.
Re: Feedback 2.0 Alpha 1
Bleibt Ihr eigentlich bei Vue 2? Inzwischen ist ja Vue 3 die offizielle Version.
openWB Serie 2 11 kW
Solaredge WR
Tesla Model 3
Solaredge WR
Tesla Model 3
Re: Feedback 2.0 Alpha 1
Oh, das hatte ich übersehen. Perfekt.
Ich hatte Vueex im Code gesehen, und dachte das ist in Vue 3 nicht mehr unterstützt.
Ich hatte Vueex im Code gesehen, und dachte das ist in Vue 3 nicht mehr unterstützt.
openWB Serie 2 11 kW
Solaredge WR
Tesla Model 3
Solaredge WR
Tesla Model 3
Re: Feedback 2.0 Alpha 1
Kleiner Bug: Gesperrte Ladepunkte werden nicht korrekt angezeigt.
Möglicher Grund: in processAllMqttMsg.js (Zeile 693) wird das folgende Topic ausgewertet:
Gemäss theme.php wird aber das folgende Topic gesetzt:
Es hat einmal "get", einmal "set" nach der Chargepoint-Id. Sollte vermutlich immer "set" sein.
Möglicher Grund: in processAllMqttMsg.js (Zeile 693) wird das folgende Topic ausgewertet:
Code: Alles auswählen
/^openwb\/chargepoint\/[0-9]+\/get\/manual_lock$/i
Code: Alles auswählen
openWB/set/chargepoint/<cp>/set/manual_lock
openWB Serie 2 11 kW
Solaredge WR
Tesla Model 3
Solaredge WR
Tesla Model 3
-
- Beiträge: 667
- Registriert: So Jul 25, 2021 2:32 pm
- Has thanked: 2 times
- Been thanked: 3 times
Re: Feedback 2.0 Alpha 1
"Set" Token werden geschrieben (und nur geschrieben) WO (Write only)
die anderen sind bis auf aussnahmen RO (read only)
Sofern der restliche Topicname korrekt ist ist das richtig.
Set wird beschrieben, Get wird gelesen.
die anderen sind bis auf aussnahmen RO (read only)
Sofern der restliche Topicname korrekt ist ist das richtig.
Set wird beschrieben, Get wird gelesen.
gruss
Heinz
6kWp+7.7kWp PV, RCT Akku, RCT Power DC6+DC8, +Tibber,+Shelly's
Skoda Citigo e-iV, openWB series2 standart+
mit openWB_lite
Github: https://github.com/hhoefling/openWB_lite
https://github.com/hhoefling/MyOwnOWBC
Heinz
6kWp+7.7kWp PV, RCT Akku, RCT Power DC6+DC8, +Tibber,+Shelly's
Skoda Citigo e-iV, openWB series2 standart+
mit openWB_lite
Github: https://github.com/hhoefling/openWB_lite
https://github.com/hhoefling/MyOwnOWBC
-
- Beiträge: 3779
- Registriert: Di Feb 25, 2020 9:23 am
- Has thanked: 4 times
- Been thanked: 24 times
Re: Feedback 2.0 Alpha 1
Es geht um das zweite get/set in dem Topic. Das ist konstant und in diesem Fall falsch.