Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set-current.sh $evsecon == http existiert nicht (Zeile 293) #2752

Closed
pungerer opened this issue Jun 30, 2023 · 0 comments
Closed

set-current.sh $evsecon == http existiert nicht (Zeile 293) #2752

pungerer opened this issue Jun 30, 2023 · 0 comments

Comments

@pungerer
Copy link

Die Stromvorgabe hatte bei meinem Versuch eine Innogy Wallbox via http requests zu steuern nicht funktioniert. Nach langem Suchen glaube ich der Ursache auf die Spur gekommen zu sein. Da ich die setChargingCurrenthttp Funktion für meine Zwecke etwas anpassen musste, habe ich bemerkt dass im restlichen set-current.sh file keine weitere Stelle mit $evsecon == "httpevse" zu finden war. Nachdem ich dann kurzer Hand "http" auf "httpevse" in der main routine (Zeile 293) geändert hatte, klappte die Regelung.

function setChargingCurrent () {
if [[ $evsecon == "dac" ]]; then
setChargingCurrentDAC "$current" "$dacregister"
fi
if [[ $evsecon == "buchse" ]]; then
setChargingCurrentBuchse "$current"
fi
if [[ $evsecon == "daemon" ]]; then
setChargingCurrentDaemon "$current"
fi
if [[ $evsecon == "http" ]]; then # Sollte meines Erachtens $evsecon == "httpevse" lauten
setChargingCurrenthttp "$current"
fi
if [[ $evsecon == "extopenwb" ]]; then
setChargingCurrentExtopenwb "$current" "$chargep1ip" "$chargep1cp"
fi

Würde mich freuen wenn sich ein Experte dem kleinen Fix dafür annehmen würde.

Vg

hhoefling added a commit to hhoefling/openWB that referenced this issue Jul 3, 2023
@benderl benderl closed this as completed Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants