Skip to content

Conversation

@ndrsnhs
Copy link
Contributor

@ndrsnhs ndrsnhs commented Oct 24, 2025

No description provided.


def error_handler():
run_command(f"{Path(__file__).resolve().parents[4]}/modules/common/restart_protoss_admin")
run_command((f"{Path(__file__).resolve().parents[4]}/modules/common/restart_protoss_admin 192.168.193.125"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ob eine fixe IP hier wirklich zielführend ist?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was spricht dagegen und welchen Vorteil hätte es das an dieser Stelle variabel zu gestalten?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diese IP gilt nur in Deinem Netzwerk, nirgendwo sonst.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die IP des AlphaESS Kit wird werkseitig fix vergeben und ist in Z.58 ebenfalls hart codiert. Bei einem AlphaESS mit nativem LAN Anschluss lässt sich kein Protoss neu starten (gibt es nicht), daher spielt das dort keine Rolle.
Kunden könnten sicher ihren eigenen Protoss konfigurieren der dann natürlich eine andere IP hätte aber da funktioniert das Skript wegen Login Credentials ebenfalls nicht.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, war mir nicht klar, dass es Firmen gibt, die so einen Unsinn machen...

Copy link
Contributor

@LKuemmel LKuemmel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bitte nach dem Skript suchen, das wird noch an weiteren Stellen verwendet.

@ndrsnhs
Copy link
Contributor Author

ndrsnhs commented Oct 24, 2025

Bitte nach dem Skript suchen, das wird noch an weiteren Stellen verwendet.

Das Skript erfordert die Übergabe einer IP Adresse. Sollen die anderen Stellen an denen es aufgerufen wird dann, falls nötig, ebenfalls angepasst werden?

@LKuemmel
Copy link
Contributor

Ja, sonst ist der Skript-Aufruf bei den anderen Modulen wirkungslos.

@LKuemmel LKuemmel merged commit 1a4c104 into openWB:master Oct 27, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants