-
-
Couldn't load subscription status.
- Fork 1.1k
Optimizer: publish battery forecast #24633
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
base: master
Are you sure you want to change the base?
Conversation
| }) | ||
| } | ||
|
|
||
| site.publish("evopt-batteries", batteries) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer this to be folded into the existing structure:
"battery": [
{
"title": "Sungrow",
"power": -1977,
"energy": 5755.5,
"capacity": 22.4,
"soc": 51.7,
+ "estimatedEmpty": ___
+ "estimatedFull": ___
"controllable": true
}
],There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, macht sinn (auch wenn ich nicht weiss, wie). Wo packen wir das für die Fahrzeuge hin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wo packen wir das für die Fahrzeuge hin?
Die publishen wir ja auch. Würd ich auch da direkt im Objekt sehen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Da sind ja aktuell nur die Stammdaten drin. Das hier wären Bewegungsdaten. Wir müssten die dann also einzeln am Loadpoint publizieren. Größeres Topic wäre, mal zu überlegen, ob wir unsere ganze Publishingstruktur mal umkrempeln wollen. Das wird allerdings nicht ohne Fallout gehen und würde ich aktuell gerne vermeiden.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Da sind ja aktuell nur die Stammdaten drin. Das hier wären Bewegungsdaten.
Eine Trennung zwischen Stammdaten und Bewegungsdaten haben wir ja auch nicht wirklich an anderen Stellen battery.0.title/battery.0.power.
Wir müssten die dann also einzeln am Loadpoint publizieren.
Können wir auch machen. Wäre dann konsistent mit den bestehenden Fahrzeugwerten wie range.
Größeres Topic wäre, mal zu überlegen, ob wir unsere ganze Publishingstruktur mal umkrempeln wollen. Das wird allerdings nicht ohne Fallout gehen und würde ich aktuell gerne vermeiden.
🙀
Fix #24560