Seite 11 von 15

Re: Feedback Alpha 4

Verfasst: Fr Nov 11, 2022 3:58 pm
von mrinas
Ich geh' mal schwer davon aus dass auch das wieder konfigurierbar werden wird, ja. Es gab schon die passenden Konstrukte in der Konfiguration, die wurden kürzlich wieder zurückgezogen. Bleibt halt ein bewegliches Ziel.

Re: Feedback Alpha 4

Verfasst: Fr Nov 11, 2022 4:19 pm
von rleidner
aiole hat geschrieben: Fr Nov 11, 2022 3:49 pm Ok - Danke. Ich bräuchte wie früher permanent aller 5min. Einen i3 stört das nicht.
Also kommt da später noch etwas zur Abrufeinstellung rein, oder?
Es geht schon, aber etwas umständlich via z.B. MQTT-Explorer.
Die Intervalle stehen im entsprechenden ev_template, z.B.:
openWB/vehicle/template/ev_template/3
Die Struktur darin:

Code: Alles auswählen

{
 "name": "BMW 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_one_phase": 16, 
 "battery_capacity": 42, 
 "nominal_difference": 2, 
 "soc": {
   "request_interval_charging": 5, 
   "request_interval_not_charging": 720, 
   "request_only_plugged": false
   }
}
Die Struktur mit Änderung (720 -> 5) publishen als topic:
openWB/set/vehicle/template/ev_template/3
.. und schon wird alle 5 min aktualisiert.

Re: Feedback Alpha 4

Verfasst: Fr Nov 11, 2022 4:22 pm
von mrinas
Geht das immer noch? Ich hab'S nicht getestet, nur gesehen dass die dataclass wieder 'rausgeflogen ist und im Code die Limits derzeit wieder fix mit drin sind:
https://github.com/openWB/core/pull/615/files

Re: Feedback Alpha 4

Verfasst: Fr Nov 11, 2022 5:06 pm
von rleidner
Hmm, Du hat Recht.
Im soc.log sehe ich keine updates, obwohl ich die nt_charging-Intervalle verkürzt habe.
Ich meine, das hat schon mal funktioniert.

@aiole, sorry, geht momentan doch nicht.

Re: Feedback Alpha 4

Verfasst: Fr Nov 11, 2022 5:09 pm
von Ihaglc
Ihaglc hat geschrieben: Mo Okt 31, 2022 4:23 pm
2022-10-31 10:08:37 +0100 [0880c9e5]
Sieht jetzt besser aus, die Spitzen sind weg, aber nun erscheint während der Dunkelheit plötzlich PV Leistung und der Hausverbrauch wird um die PV Leistung höher angezeigt??
LenaK hat geschrieben: Di Nov 01, 2022 8:09 am Bitte das Debuglevel auf Details stellen und einen Auszug aus dem main.log schicken, wenn der Fehler wieder auftritt.
SW-Stand:2022-11-10 12:58:50 +0100 [dae7a3f6]
Ich konnte jetzt ein Log bei Anstehen und Beenden des Fehlers erstellen:
2022-11-11 17_53_38-Start.png
2022-11-11 17_55_38-Start.png
OWB__2_0_11_11_2.txt
(1.87 MiB) 44-mal heruntergeladen
2022-11-11 18_25_02-Start.png
OWB__2_0_11_11_3.txt
(1.97 MiB) 42-mal heruntergeladen

Code: Alles auswählen

2022-11-11 18:13:01,544 - {control.algorithm:45} - {DEBUG:MainThread} - # Algorithmus-Start
2022-11-11 18:13:01,544 - {control.algorithm:47} - {INFO:MainThread} - EVU-Punkt: Leistung[W] 34.0, Ströme[A] [-3.3, 5.8, -3.0]
2022-11-11 18:13:01,544 - {control.algorithm:85} - {INFO:MainThread} - ## Überschuss-Ladung über Mindeststrom bei PV-Laden zurücknehmen.
2022-11-11 18:13:01,545 - {control.algorithm:205} - {DEBUG:MainThread} - ## Ladung muss nicht wegen aktiven Lastmanagements gestoppt werden.
2022-11-11 18:13:01,545 - {control.algorithm:574} - {INFO:MainThread} - ## Zuteilung des Überschusses
2022-11-11 18:13:01,546 - {control.algorithm:610} - {INFO:MainThread} - ## Zuteilung beendet, da kein Ladepunkt mehr auf Zuteilung wartet.
2022-11-11 18:13:01,546 - {control.algorithm:870} - {INFO:MainThread} - ## Übrigen Überschuss verteilen.
2022-11-11 18:13:01,548 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2022-11-11 18:13:01,551 - {control.pv:433} - {DEBUG:MainThread} - 0W EVU-Überschuss, der für die Regelung verfügbar ist, davon 0W für die Einschaltverzögerung reservierte Leistung.
2022-11-11 18:13:01,551 - {control.counter:446} - {DEBUG:MainThread} - 39966.0W verbleibende EVU-Bezugs-Leistung
2022-11-11 18:13:11,017 - {root:63} - {INFO:MainThread} - # ***Start*** 
2022-11-11 18:13:11,034 - {modules.solaredge.device:99} - {DEBUG:device0} - Start device reading {'component0': <modules.solaredge.counter.SolaredgeCounter object at 0xb16b8040>, 'component1': <modules.solaredge.inverter.SolaredgeInverter object at 0xb16b83a0>, 'component2': <modules.solaredge.bat.SolaredgeBat object at 0xb16ae6d0>}
2022-11-11 18:13:11,038 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2022-11-11 18:13:11,073 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [6, 761, -1290, 535], Scale 0
2022-11-11 18:13:11,093 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [34, 57, 30], Scale -1
2022-11-11 18:13:11,112 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [23464, 23504, 23635, 0, 0, 0, 0], Scale -2
2022-11-11 18:13:11,153 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2022-11-11 18:13:11,173 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [-9409, 9470, -7379], Scale -2
2022-11-11 18:13:11,194 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [6579694, 2067446, 3927341, 3955899, 2849348, 4567765, 1059726, 592848], Scale 0
2022-11-11 18:13:11,195 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[234.64000000000001, 235.04, 236.35], powers=[-761.0, 1290.0, -535.0], currents=[-3.4000000000000004, 5.7, -3.0], power_factors=[-0.9409000000000001, 0.9470000000000001, -0.7379000000000001], imported=2849348.0, exported=6579694.0, power=-6.0, frequency=50.0)
2022-11-11 18:13:11,197 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2022-11-11 18:13:11,212 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [3353], Scale 0
2022-11-11 18:13:11,232 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [15105096], Scale 0
2022-11-11 18:13:11,273 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [475, 475, 474], Scale -2
2022-11-11 18:13:11,292 - {modules.solaredge.scale:16} - {DEBUG:device0} - Registers [3404], Scale 0
2022-11-11 18:13:11,292 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[-4.75, -4.75, -4.74], power=-3353.0, exported=15105096.0, dc_power=-3404.0)
2022-11-11 18:13:11,295 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2022-11-11 18:13:11,354 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1668186781.4042375, power=-3571.0, imported=29885.637470031666, exported=2654.3421416566803)
2022-11-11 18:13:11,354 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0027639, power1: -3571, power2: -3587
2022-11-11 18:13:11,355 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: -9.89201
2022-11-11 18:13:11,355 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 9.89201 Wh, new state: SimCounterState(timestamp=1668186791.3542883, power=-3587.0, imported=29885.637470031666, exported=2664.234150524341)
2022-11-11 18:13:11,356 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=29885.637470031666, exported=2664.234150524341, power=-3587.0, soc=12.0)
2022-11-11 18:13:11,368 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Speicher']
2022-11-11 18:13:11,370 - {soc.modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=29885.637470031666, exported=2664.234150524341, power=-3587.0, soc=12.0)
2022-11-11 18:13:11,399 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2022-11-11 18:13:11,400 - {soc.modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=234.0, exported=15102431.77, dc_power=-3404.0)
2022-11-11 18:13:11,400 - {soc.modules.common.store._api:30} - {DEBUG:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=234.0, exported=15102431.77, dc_power=-3404.0)
2022-11-11 18:13:11,403 - {helpermodules.setdata:279} - {ERROR:Thread-6} - Payload ungültig: Topic openWB/set/pv/1/get/power, Payload 234.0 liegt in keinem der angegebenen Wertebereiche.
2022-11-11 18:13:11,425 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2022-11-11 18:13:11,425 - {soc.modules.common.store._api:30} - {DEBUG:component0} - Saving CounterState(voltages=[234.64000000000001, 235.04, 236.35], powers=[-761.0, 1290.0, -535.0], currents=[-3.4000000000000004, 5.7, -3.0], power_factors=[-0.9409000000000001, 0.9470000000000001, -0.7379000000000001], imported=2849348.0, exported=6579694.0, power=-6.0, frequency=50.0)
2022-11-11 18:13:11,492 - {control.counter:427} - {DEBUG:MainThread} - 40000W EVU-Leistung, die noch bezogen werden kann.
2022-11-11 18:13:11,494 - {control.pv:89} - {DEBUG:MainThread} - 121.0W EVU-Überschuss, der für die Regelung verfügbar ist, davon 0W für die Einschaltverzögerung reservierte Leistung.
2022-11-11 18:13:11,496 - {control.bat:118} - {INFO:MainThread} - -3571.0W verbliebende Speicher-Leistung
2022-11-11 18:13:11,497 - {control.data:296} - {DEBUG:MainThread} - all
{'get': {'power': -3571.0, 'imported': 29885.64, 'exported': 2654.34, 'daily_exported': 2407.59, 'daily_imported': 885.57, 'soc': 12}, 'config': {'configured': True}, 'set': {'charging_power_left': -3571.0, 'switch_on_soc_reached': False}}
2022-11-11 18:13:11,497 - {control.data:296} - {DEBUG:MainThread} - bat2
{'get': {'daily_imported': 885.57, 'daily_exported': 2407.59, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -3587.0, 'soc': 12, 'imported': 29885.64, 'exported': 2664.23}}
2022-11-11 18:13:11,497 - {control.data:269} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2022-11-11 18:13:11,497 - {control.data:296} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[], id=0)
2022-11-11 18:13:11,498 - {control.data:296} - {DEBUG:MainThread} - counter0
{'set': {'consumption_left': 40000, 'currents_used': [-3.4, 5.7, -3.0]}, 'get': {'daily_exported': 41.0, 'daily_imported': 85.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [234.64, 235.04, 236.35], 'currents': [-3.4, 5.7, -3.0], 'powers': [-761.0, 1290.0, -535.0], 'power_factors': [-0.94, 0.95, -0.74], 'imported': 2849348.0, 'exported': 6579694.0, 'power': -6.0, 'frequency': 50.0}, 'config': {'max_currents': [50, 50, 50], 'max_total_power': 40000}}
2022-11-11 18:13:11,498 - {control.data:273} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 2, 'type': 'bat', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=5179.0, invalid_home_consumption=0, daily_yield_home_consumption=1813.13))
2022-11-11 18:13:11,498 - {control.data:296} - {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))))
2022-11-11 18:13:11,499 - {control.data:296} - {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_one_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=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=False, range=0, fault_state=0, fault_str=''))
2022-11-11 18:13:11,499 - {control.data:296} - {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_one_phase=32, battery_capacity=82, nominal_difference=2)
2022-11-11 18:13:11,500 - {control.data:277} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=300, control_range=[0, 230], feed_in_yield=6900, phase_switch_delay=7, phases_to_use=1, rundown_power=5000, rundown_soc=50, switch_off_delay=120, switch_off_soc=0, switch_off_threshold=50, switch_on_delay=120, switch_on_soc=0, switch_on_threshold=1400), 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))
2022-11-11 18:13:11,500 - {control.data:296} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2022-11-11 18:13:11,500 - {control.data:279} - {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))
2022-11-11 18:13:11,500 - {control.data:296} - {DEBUG:MainThread} - all
{'set': {'overhang_power_left': 121.0, 'available_power': 121.0, 'reserved_evu_overhang': 0, 'released_evu_overhang': 0}, 'get': {'power': -1598.0, 'exported': 15102432.66, 'daily_exported': 258.41, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2022-11-11 18:13:11,500 - {control.data:296} - {DEBUG:MainThread} - pv1
{'get': {'daily_exported': 258.41, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -1598.0, 'exported': 15102431.77, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 7200}}
2022-11-11 18:13:11,501 - {control.data:296} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.2.129', 'current_commit': '2022-11-10 12:58:50 +0100 [dae7a3f6]', 'current_branch': 'master', 'current_branch_commit': '2022-11-10 12:58:50 +0100 [dae7a3f6]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.100', 'datastore_version': 3, 'lastlivevaluesJson': {'timestamp': 1668186781, 'time': '18:13:01', 'grid': 0.034, 'house-power': 5.203, 'charging-all': 0.0, 'pv-all': 1.598, 'bat-all-power': -3.489, 'bat-all-soc': 12}, 'module_update_completed': True}
2022-11-11 18:13:11,501 - {control.data:309} - {DEBUG:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.2.134'}}
2022-11-11 18:13:11,501 - {control.data:311} - {DEBUG:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2022-11-11 18:13:11,501 - {control.data:311} - {DEBUG:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2022-11-11 18:13:11,503 - {control.data:311} - {DEBUG:MainThread} - component2
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 2, 'configuration': {'modbus_id': 1}}
2022-11-11 18:13:11,503 - {control.data:283} - {DEBUG:MainThread} - 

2022-11-11 18:13:11,503 - {control.algorithm:45} - {DEBUG:MainThread} - # Algorithmus-Start

Re: Feedback Alpha 4

Verfasst: Sa Nov 12, 2022 5:49 am
von tobox
Ich würde gerne die Software 2.0 ausprobieren, aber möchte keinen weiteren Raspberry dafür anschaffen. Mehrere Proxmox Server sind vorhanden. Welche "Grundlage" ist aktuell am besten unterstützt?

- reicht ein LXC-Container oder muss es eine komplette VM sein? Falls ein LXC-Container reicht, werden nesting und/oder privileged benötigt?
- debian 10 oder 11?

Re: Feedback Alpha 4

Verfasst: Sa Nov 12, 2022 6:38 am
von mrinas
Ich hab mir neulich ein neues test-und Entwicklungssystem als VM aufgesetzt, das funktioniert bisher einwandfrei. Basis ist Debian 11.

In meinem Fall als VM in Azure da ich dort noch ein wenig monatliches Guthaben habe. Azure eignet sich allerdings nur als Test- und Entwicklungssystem da man von dort ja nicht ohne weiteres an die Ladepunkte und sonstinge lokale Infrastruktur ran kommt. Zusammen mit dem Simulator für PV, EVU, Speicher und Ladepunkten https://github.com/openWB/tools gibt das eine schöne Spielwiese für Anpassungen.

Aber ich schweife ab. Die Antwort ist Debian 11.

Re: Feedback Alpha 4

Verfasst: Sa Nov 12, 2022 2:25 pm
von newbe2020
Hallo,

kann mir jemand User und Passwort nennen um mich auf OS ebene am Alpha4 Image anzumelden?

Vielen Dank

Re: Feedback Alpha 4

Verfasst: Sa Nov 12, 2022 2:33 pm
von mrinas
newbe2020 hat geschrieben: Sa Nov 12, 2022 2:25 pm Hallo,

kann mir jemand User und Passwort nennen um mich auf OS ebene am Alpha4 Image anzumelden?

Vielen Dank
Die Zugangsdaten für das Image wurden angepasst: User "openwb" Passwort "openWB"

(steckt in der Ankündigung für die Alpha3)

Re: Feedback Alpha 4

Verfasst: Sa Nov 12, 2022 4:57 pm
von newbe2020
mrinas hat geschrieben: Sa Nov 12, 2022 2:33 pm
newbe2020 hat geschrieben: Sa Nov 12, 2022 2:25 pm Hallo,

kann mir jemand User und Passwort nennen um mich auf OS ebene am Alpha4 Image anzumelden?

Vielen Dank
Die Zugangsdaten für das Image wurden angepasst: User "openwb" Passwort "openWB"

(steckt in der Ankündigung für die Alpha3)
Dankeschön