NEWS
Test Adapter alpha-ess v3.0.1
-
@merlin123 said in Test Adapter alpha-ess v3.0.1:
Oder sagt der Wert was anderes?
Ja. Leider sind die Infos über die Open API, auf der der Adapter basiert, recht spärlich. In der Doku steht nur das, was ich auch beim Datenpunkt als Name angegeben habe: "Battery Available Percentage [usCapacity]".
Chat GPT meint dazu:
Die Abkürzung usCapacity steht sehr wahrscheinlich für:
Usable Capacity (also: nutzbare Kapazität).Was bedeutet das in der Praxis?
usCapacity bzw. „Battery Available Percentage“ beschreibt typischerweise den prozentualen Anteil der Gesamtbatteriekapazität, der aktuell nutzbar ist – unabhängig davon, wie voll die Batterie gerade ist.Typische Verwendung:
Begriff Bedeutung Total Capacity Bruttokapazität der Batterie (z. B. 10 kWh) Usable Capacity (usCapacity) Anteil, den das System tatsächlich nutzt (z. B. 8 kWh = 80 %) SOC (State of Charge) Aktueller Ladezustand innerhalb des nutzbaren Bereichs (z. B. 50 % von 8 kWh = 4 kWh) Beispiel:
Batterie hat 10 kWh Bruttokapazität
usCapacity = 80 (also 80 % nutzbar → 8 kWh)
SOC = 50 %
→ Es sind 4 kWh verfügbar zum Laden oder Entladen
→ Die restlichen 20 % (2 kWh) sind z. B. als Puffer (Notstrom, Zellschutz etc.) reserviertWarum ist das wichtig?
Dieser Wert ist systemkonstant oder wird langsam durch Alterung angepasst. Er ist also:- Nicht tagesaktuell variabel wie SOC
- Wichtig für Berechnungen der real nutzbaren Energie
- Oft auch interessant für Eigenverbrauchsanalysen
-
@gaspode Ah ok. Danke für die Erklärung. Hab ich fast befürchtet. Ist der aktuelle SOC auch via Adapter ersichtlich? (wie gesagt: System läuft nicht, daher stimmen da bei mir noch nicht alle DPs....
Aktuell würde mir der SOC noch fehlen. Was aktuell an Leistung in/aus der Batterie kommt sieht man in der API auch nicht, oder? Dann muss ich wohl doch noch eine Modbus Anbindung machen
-
@merlin123 said in Test Adapter alpha-ess v3.0.1:
Aktuell würde mir der SOC noch fehlen. Was aktuell an Leistung in/aus der Batterie kommt sieht man in der API auch nicht, oder?
Doch, wird alles geliefert. In der Gruppe Realtime findest du Battery_SOC und Battery _power, letzteres ist vorzeichenbehaftet (negativ = Laden, positiv = Entladen).
In der Gruppe Energy findest du u.a. auch, wie viel Energie am aktuellen Tag in die Batterie geladen und was entladen wurde und vieles mehr.
Du musst die Gruppen natürlich in der Konfiguration aktivieren und - ganz wichtig - auch alle Zugangsdaten korrekt eintragen, also Application ID, Application Secret und die System ID (SN) deines Systems.
Edit:
Details zur Registrierung hier:
https://github.com/alphaess-developer/alphacloud_open_api -
@gaspode ok. Eingetragen hab ich alles, er zeigt auch ein paar Sachen an. Aktuell ist aber nur die Backupbox online. Im Storion Forum hab ich ja einen vermutlichen Fehler im Anschluss gepostet (da hast Du ja kommentiert).
Dann warte ich mal, bis alles läuft, und schau dann mal was alles geliefert wird
Die app zeigt ja auch aktuell nix sinnvolles an. Im Adapter ist alles angehakt.
-
@merlin123 said in Test Adapter alpha-ess v3.0.1:
Eingetragen hab ich alles, er zeigt auch ein paar Sachen an.
Welche denn? Die Gruppen solltest du alle sehen, wenn du sie eingeschaltet hast. Wenn nicht, dann ist ggfs. mit der Registrierung was nicht OK. Zeig mal bitte das Log von einem Adapter-Neustart.
-
@gaspode Bitteschön:
alpha-ess.0 2025-05-17 12:51:32.632 debug Watchdog interval started! alpha-ess.0 2025-05-17 12:51:32.599 info Wallbox data disabled! Adapter won't fetch Wallbox data. According states deleted. alpha-ess.0 2025-05-17 12:51:32.599 debug oAIntervalWallboxMins: 300 alpha-ess.0 2025-05-17 12:51:32.599 debug Timeout with interval 300000 ms started for group Summary alpha-ess.0 2025-05-17 12:51:32.503 info Initialized states for : Summary alpha-ess.0 2025-05-17 12:51:32.502 debug Created object Summary.moneyType alpha-ess.0 2025-05-17 12:51:32.501 debug Created object Summary.carbonNum alpha-ess.0 2025-05-17 12:51:32.500 debug Created object Summary.treeNum alpha-ess.0 2025-05-17 12:51:32.498 debug Created object Summary.eselfSufficiency alpha-ess.0 2025-05-17 12:51:32.497 debug Created object Summary.eselfConsumption alpha-ess.0 2025-05-17 12:51:32.496 debug Created object Summary.totalIncome alpha-ess.0 2025-05-17 12:51:32.494 debug Created object Summary.todayIncome alpha-ess.0 2025-05-17 12:51:32.493 debug Created object Summary.edischarge alpha-ess.0 2025-05-17 12:51:32.491 debug Created object Summary.echarge alpha-ess.0 2025-05-17 12:51:32.490 debug Created object Summary.einput alpha-ess.0 2025-05-17 12:51:32.488 debug Created object Summary.eoutput alpha-ess.0 2025-05-17 12:51:32.487 debug Created object Summary.eload alpha-ess.0 2025-05-17 12:51:32.486 debug Created object Summary.epvtotal alpha-ess.0 2025-05-17 12:51:32.484 debug Created object Summary.epvtoday alpha-ess.0 2025-05-17 12:51:30.665 debug Fetching Summary data... alpha-ess.0 2025-05-17 12:51:30.614 debug Set state Summary.Battery_discharge_today to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.564 debug Set state Summary.Battery_charge_today to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.510 debug Set state Summary.Grid_consumption_today to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.448 debug Set state Summary.Grid_feed_in_today to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.401 debug Set state Summary.Consumption_today to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.352 debug Set state Summary.Currency to val: EUR; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.295 debug Set state Summary.CO2_reduction_total to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.235 debug Set state Summary.Trees_plantet_total to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.179 debug Set state Summary.Self_sufficiency_total to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.124 debug Set state Summary.Self_consumption_total to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.073 debug Set state Summary.Income_total to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:30.025 debug Set state Summary.Income_today to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:29.973 debug Set state Summary.Generation_total to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:29.926 debug Set state Summary.Generation_today to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:29.881 debug oAIntervalSummaryMins: 300 alpha-ess.0 2025-05-17 12:51:29.880 debug Timeout with interval 300000 ms started for group Settings_Discharge alpha-ess.0 2025-05-17 12:51:29.812 info Initialized states for : Settings_Discharge alpha-ess.0 2025-05-17 12:51:29.812 debug Subscribed State: Settings_Discharge.Discharging_Cutoff_SOC alpha-ess.0 2025-05-17 12:51:29.811 debug Created object Settings_Discharge.batUseCap alpha-ess.0 2025-05-17 12:51:29.809 debug Subscribed State: Settings_Discharge.Discharging_period_2_end alpha-ess.0 2025-05-17 12:51:29.808 debug Created object Settings_Discharge.timeDise2 alpha-ess.0 2025-05-17 12:51:29.805 debug Subscribed State: Settings_Discharge.Discharging_period_2_start alpha-ess.0 2025-05-17 12:51:29.804 debug Created object Settings_Discharge.timeDisf2 alpha-ess.0 2025-05-17 12:51:29.802 debug Subscribed State: Settings_Discharge.Discharging_period_1_end alpha-ess.0 2025-05-17 12:51:29.800 debug Created object Settings_Discharge.timeDise1 alpha-ess.0 2025-05-17 12:51:29.797 debug Subscribed State: Settings_Discharge.Discharging_period_1_start alpha-ess.0 2025-05-17 12:51:29.796 debug Created object Settings_Discharge.timeDisf1 alpha-ess.0 2025-05-17 12:51:29.795 debug Subscribed State: Settings_Discharge.Battery_Discharging_enabled alpha-ess.0 2025-05-17 12:51:29.794 debug Created object Settings_Discharge.ctrDis alpha-ess.0 2025-05-17 12:51:28.956 debug Fetching Settings_Discharge data... alpha-ess.0 2025-05-17 12:51:28.907 debug Set state Settings_Discharge.Discharging_Cutoff_SOC to val: 10; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:28.857 debug Set state Settings_Discharge.Discharging_period_2_end to val: 00:00; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:28.809 debug Set state Settings_Discharge.Discharging_period_2_start to val: 00:00; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:28.761 debug Set state Settings_Discharge.Discharging_period_1_end to val: 00:00; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:28.714 debug Set state Settings_Discharge.Discharging_period_1_start to val: 00:00; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:28.658 debug Set state Settings_Discharge.Battery_Discharging_enabled to val: false; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:28.612 debug oAIntervalSettingsDischargeMins: 300 alpha-ess.0 2025-05-17 12:51:28.612 debug Timeout with interval 300000 ms started for group Settings_Charge alpha-ess.0 2025-05-17 12:51:28.539 info Initialized states for : Settings_Charge alpha-ess.0 2025-05-17 12:51:28.538 debug Subscribed State: Settings_Charge.Charging_stopps_at_SOC alpha-ess.0 2025-05-17 12:51:28.538 debug Created object Settings_Charge.batHighCap alpha-ess.0 2025-05-17 12:51:28.536 debug Subscribed State: Settings_Charge.Charging_period_2_end alpha-ess.0 2025-05-17 12:51:28.533 debug Created object Settings_Charge.timeChae2 alpha-ess.0 2025-05-17 12:51:28.532 debug Subscribed State: Settings_Charge.Charging_period_2_start alpha-ess.0 2025-05-17 12:51:28.531 debug Created object Settings_Charge.timeChaf2 alpha-ess.0 2025-05-17 12:51:28.529 debug Subscribed State: Settings_Charge.Charging_period_1_end alpha-ess.0 2025-05-17 12:51:28.527 debug Created object Settings_Charge.timeChae1 alpha-ess.0 2025-05-17 12:51:28.525 debug Subscribed State: Settings_Charge.Charging_period_1_start alpha-ess.0 2025-05-17 12:51:28.522 debug Created object Settings_Charge.timeChaf1 alpha-ess.0 2025-05-17 12:51:28.520 debug Subscribed State: Settings_Charge.Battery_Charging_enabled alpha-ess.0 2025-05-17 12:51:28.518 debug Created object Settings_Charge.gridCharge alpha-ess.0 2025-05-17 12:51:27.684 debug Fetching Settings_Charge data... alpha-ess.0 2025-05-17 12:51:27.637 debug Set state Settings_Charge.Charging_stopps_at_SOC to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:27.586 debug Set state Settings_Charge.Charging_period_2_end to val: 00:00; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:27.538 debug Set state Settings_Charge.Charging_period_2_start to val: 00:00; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:27.489 debug Set state Settings_Charge.Charging_period_1_end to val: 00:00; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:27.438 debug Set state Settings_Charge.Charging_period_1_start to val: 00:00; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:27.388 debug Set state Settings_Charge.Battery_Charging_enabled to val: false; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:27.375 debug oAIntervalSettingsChargeMins: 300 alpha-ess.0 2025-05-17 12:51:27.374 debug Timeout with interval 300000 ms started for group Energy alpha-ess.0 2025-05-17 12:51:27.374 info Initialized states for : Energy alpha-ess.0 2025-05-17 12:51:27.374 debug Skipped object Energy.theDate alpha-ess.0 2025-05-17 12:51:27.374 debug Skipped object Energy.sysSn alpha-ess.0 2025-05-17 12:51:26.839 debug Fetching Energy data... alpha-ess.0 2025-05-17 12:51:26.790 debug oAIntervalEnergyMins: 300 alpha-ess.0 2025-05-17 12:51:26.790 debug Timeout with interval 30000 ms started for group System alpha-ess.0 2025-05-17 12:51:26.703 info Initialized states for : System alpha-ess.0 2025-05-17 12:51:26.703 debug Created object System.emsStatus alpha-ess.0 2025-05-17 12:51:26.701 debug Created object System.usCapacity alpha-ess.0 2025-05-17 12:51:26.700 debug Created object System.surplusCobat alpha-ess.0 2025-05-17 12:51:26.699 debug Created object System.mbat alpha-ess.0 2025-05-17 12:51:26.697 debug Created object System.cobat alpha-ess.0 2025-05-17 12:51:26.696 debug Created object System.poinv alpha-ess.0 2025-05-17 12:51:26.694 debug Created object System.minv alpha-ess.0 2025-05-17 12:51:26.693 debug Created object System.popv alpha-ess.0 2025-05-17 12:51:26.691 debug Created object System.sysSn alpha-ess.0 2025-05-17 12:51:26.300 debug Fetching System data... alpha-ess.0 2025-05-17 12:51:26.249 debug Set state System.System_SN to val: AL7002022070198; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:26.183 debug Set state System.Battery_available_percentage to val: 90; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:26.130 debug Set state System.Battery_capacity_remaining to val: 8.3; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:26.081 debug Set state System.PV_nominal_power to val: 0; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:26.030 debug Set state System.Inverter_nominal_power to val: 3; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:25.980 debug Set state System.Inverter_model to val: Storion-SMILE-B3; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:25.925 debug Set state System.Battery_model to val: M4856-P; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:25.874 debug Set state System.EMS_status to val: Offline; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:25.813 debug Set state System.Battery_capacity to val: 8.6; q: 2; ack: true alpha-ess.0 2025-05-17 12:51:25.766 debug oAIntervalEssList: 30 alpha-ess.0 2025-05-17 12:51:25.708 info Recent data disabled! Adapter won't fetch Recent data. According states deleted. alpha-ess.0 2025-05-17 12:51:25.708 debug Timeout with interval 30000 ms started for group Realtime alpha-ess.0 2025-05-17 12:51:25.707 info Initialized states for : Realtime alpha-ess.0 2025-05-17 12:51:24.768 debug Fetching Realtime data... alpha-ess.0 2025-05-17 12:51:24.669 debug oAIntervalRealtime: 30 alpha-ess.0 2025-05-17 12:51:24.618 debug config updateUnchangedStates: false alpha-ess.0 2025-05-17 12:51:24.618 debug config oAEnableWallbox: false alpha-ess.0 2025-05-17 12:51:24.618 debug config oAEnableSummary: true alpha-ess.0 2025-05-17 12:51:24.618 debug config oAEnableSettingsDischarge: true alpha-ess.0 2025-05-17 12:51:24.618 debug config oAEnableSettingsCharge: true alpha-ess.0 2025-05-17 12:51:24.618 debug config oAEnableSettingsCharge: true alpha-ess.0 2025-05-17 12:51:24.618 debug config oAEnableEnergy: true alpha-ess.0 2025-05-17 12:51:24.618 debug config oAEnableEnergy: true alpha-ess.0 2025-05-17 12:51:24.618 debug config oAEnableRealtime: false alpha-ess.0 2025-05-17 12:51:24.617 debug config oAEnableRealtime: true alpha-ess.0 2025-05-17 12:51:24.617 debug config oAIntervalWallboxMins: 5 alpha-ess.0 2025-05-17 12:51:24.617 debug config oAIntervalSummaryMins: 5 alpha-ess.0 2025-05-17 12:51:24.617 debug config oAIntervalSettingsDischargeMins 5 alpha-ess.0 2025-05-17 12:51:24.617 debug config oAIntervalSettingsChargeMins 5 alpha-ess.0 2025-05-17 12:51:24.617 debug config oAIntervalEnergyMins: 30 alpha-ess.0 2025-05-17 12:51:24.617 debug config oAIntervalEnergyMins: 5 alpha-ess.0 2025-05-17 12:51:24.616 debug config oAIntervalRealtime: 30 alpha-ess.0 2025-05-17 12:51:24.616 debug config systemId: AL7002022070198 alpha-ess.0 2025-05-17 12:51:24.616 debug config appID: alpha9bde203b1aef514a alpha-ess.0 2025-05-17 12:51:24.616 debug Used API: Open API alpha-ess.0 2025-05-17 12:51:24.489 info starting. Version 3.0.1 in /opt/iobroker/node_modules/iobroker.alpha-ess, node: v20.19.2, js-controller: 7.0.7
-
@merlin123
Sieht soweit gut aus. Da ich jetzt ja aus dem anderen Forum weiß, dass es sich um einen i3 handelt:
Es kann sein, dass die API für diesen nicht alle Werte bereit stellt, ich bin mir aber gerade nicht sicher. Versuch mal mit Aktivieren von "Recent data", da sollte dann ein wenig mehr Info kommen (u.a. SOC). -
@gaspode Wie gesagt: Die Anlage ist aktuell noch nicht in Betrieb. Der Speicher ist ausgeschaltet, nur die Backupbox läuft..... Ich warte jetzt mal bis alles läuft bevor ich da Fehler suche, die vielleicht nicht da sind
-
@merlin123 said in Test Adapter alpha-ess v3.0.1:
Ich warte jetzt mal bis alles läuft bevor ich da Fehler suche, die vielleicht nicht da sind
Wenn die Anlage registriert ist, sollte die API bereits alle Werte liefern. Mit anderen Worten: Was jetzt nicht angezeigt wird, wird wahrscheinlich auch nicht mehr kommen. Aber warten und nochmal kontrollieren ist bestimmt eine gute Strategie.
Schonmal "Recent data" aktivieren schadet aber auf jeden Fall nicht.
-
@gaspode Bin wohl grad blind.... Wo finde ich das? Im Adapter?
-
@merlin123
Im Admin bei Instanzen auf den Schraubenschlüssel deiner Alpha-ESS Instanz klicken (da, wo du auch die Zugangsdaten eingegeben hast). -
@gaspode Das ist klar
Aber wo dort?
-
@merlin123
Das dritte Kästchen von unten. Ich weiß doch heute nicht mehr, wie ich das vor ein paar Monaten auf deutsch genannt habe.