- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 807
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
UI Config: add aux meters, improve reference handling #19939
Conversation
612f433
to
4569aa3
Compare
@naltatis schau mal bitte ob dir Schritt eins schon hilft. |
@andig warum würdest du aux meter in-scope und ext meter out-of-scope sehen? Bei aux/ext meter haben wir keine Usage-Begrenzung, richtig? Heißt wir bieten hier jedes Meter an und der Nutzer muss zusätzlich eine Usage auswählen. |
Aux ist für die Funktionalität wichtig, ext generiert einfach nur Messwerte für externe Zwecke. Und die APIs wären jetzt da. ist aber kein absolutes Muss.
|
Ggf. müssen wir dazu nochmal das aktuelle Usage-Modell modifizieren/erweitern. |
Wir könnten für aux alles erlauben was |
@andig der aktuelle Stand führt beim Starten mit einem kaputten Meter (hier Shelly) zu dem hier:
|
Konkreter: der Stacktrace tritt beim API-Call nach dem Starten auf: |
Gerne! |
Der wunderbare nil Check bei Interfaces- sollte jetzt gehen! |
added screenshots in description can go in once I've added e2e tests for this |
Super gut 👍🏻 |
Test ist in master gefixed |
fixes #19889
@andig I've added a failing test case for #19889. It UI-creates a shelly device talking to a simulator. Simulator is stopped and evcc restarted. Expectation is, that evcc starts (maybe in fatal mode) but the shelly should be visible and deletable. Currently the broken meter isn't shown at all.
Todos:
GET /config/site
endpoint in fatal @andigOut of scope