evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.58k stars 660 forks source link

Experimental: unsichtbare Einträge in Herstellerliste bei Fahrzeug hinzufügen #6239

Closed VolkerK62 closed 1 year ago

VolkerK62 commented 1 year ago

In der Herstellerliste sind wohl oberhalb von Aiways noch weiter Auswahlmöglichkeiten die aber nicht angezeigt werden. Je nachdem, welche der "Leerzeilen" man auswählt, ändert sich das Fenster mit den Parametereingaben. Anscheinend sind nur die Bezeichnungen unsichtbar.

image

andig commented 1 year ago

@VolkerK62 kannst Du mal in der Browserkonsole schauen was da als XHR Request empfangen wird (im Netzwerk Tab)?

VolkerK62 commented 1 year ago
{,…}
result
: 
[{Template: "aiways", Products: [{Brand: "Aiways", Description: ""}], Params: [,…], Lang: ""},…]
0
: 
{Template: "aiways", Products: [{Brand: "Aiways", Description: ""}], Params: [,…], Lang: ""}
1
: 
{Template: "etron", Products: [{Brand: "Audi", Description: "e-tron"}], Params: [,…], Lang: ""}
2
: 
{Template: "audi", Products: [{Brand: "Audi", Description: "Andere"}], Params: [,…], Lang: ""}
3
: 
{Template: "bmw", Products: [{Brand: "BMW", Description: ""}], Params: [,…], Lang: ""}
4
: 
{Template: "carwings", Products: [{Brand: "Nissan", Description: "Leaf (pre 2019)"}], Params: [,…],…}
5
: 
{Template: "citroen", Products: [{Brand: "Citroën", Description: ""}], Params: [,…], Lang: ""}
6
: 
{Template: "dacia", Products: [{Brand: "Dacia", Description: ""}], Params: [,…], Lang: ""}
7
: 
{Template: "ds", Products: [{Brand: "DS", Description: ""}], Params: [,…], Lang: ""}
8
: 
{Template: "evnotify", Group: "generic", Products: [{Brand: "", Description: "evNotify"}],…}
9
: 
{Template: "fiat", Products: [{Brand: "Fiat", Description: ""}], Params: [,…], Lang: ""}
10
: 
{Template: "ford", Products: [{Brand: "Ford", Description: ""}], Params: [,…], Lang: ""}
11
: 
{Template: "hyundai", Products: [{Brand: "Hyundai", Description: "Bluelink"}], Params: [,…], Lang: ""}
12
: 
{Template: "jaguar-landrover",…}
13
: 
{Template: "kia", Products: [{Brand: "Kia", Description: "Bluelink"}], Params: [,…], Lang: ""}
14
: 
{Template: "mini", Products: [{Brand: "Mini", Description: ""}], Params: [,…], Lang: ""}
15
: 
{Template: "nissan", Products: [{Brand: "Nissan", Description: "Leaf"}], Params: [,…], Lang: ""}
16
: 
{Template: "niu-e-scooter", Group: "scooter", Products: [{Brand: "NIU", Description: "E-Scooter"}],…}
17
: 
{Template: "offline", Group: "generic", Products: [{Brand: "", Description: "Offline"}], Params: [,…],…}
18
: 
{Template: "opel", Products: [{Brand: "Opel", Description: ""}], Params: [,…], Lang: ""}
19
: 
{Template: "ovms", Group: "generic",…}
20
: 
{Template: "peugeot", Products: [{Brand: "Peugeot", Description: ""}], Params: [,…], Lang: ""}
21
: 
{Template: "porsche", Products: [{Brand: "Porsche", Description: ""}], Params: [,…], Lang: ""}
22
: 
{Template: "renault", Products: [{Brand: "Renault", Description: ""}], Params: [,…], Lang: ""}
23
: 
{Template: "cupra", Products: [{Brand: "Seat", Description: "Cupra Born, My Cupra"}], Params: [,…],…}
24
: 
{Template: "seat", Products: [{Brand: "Seat", Description: "Andere"}], Params: [,…], Lang: ""}
25
: 
{Template: "silence", Group: "scooter", Products: [{Brand: "Silence", Description: "S01/S02"}],…}
26
: 
{Template: "enyaq", Products: [{Brand: "Skoda", Description: "Enyaq"}], Params: [,…], Lang: ""}
27
: 
{Template: "skoda", Products: [{Brand: "Skoda", Description: "Andere"}], Params: [,…], Lang: ""}
28
: 
{Template: "smart", Products: [{Brand: "Smart", Description: "EQ"}], Params: [,…], Lang: ""}
29
: 
{Template: "tesla", Products: [{Brand: "Tesla", Description: ""}], Params: [,…], Lang: ""}
30
: 
{Template: "tronity", Group: "generic", Products: [{Brand: "", Description: "Tronity"}], Params: [,…],…}
31
: 
{Template: "volvo-connected", Products: [{Brand: "Volvo", Description: ""}], Params: [,…], Lang: ""}
32
: 
{Template: "volvo", Products: [{Brand: "Volvo (legacy)", Description: ""}], Params: [,…], Lang: ""}
33
: 
{Template: "id", Products: [{Brand: "Volkswagen", Description: "We Connect ID"}], Params: [,…],…}
34
: 
{Template: "vw", Products: [{Brand: "Volkswagen", Description: "We Connect (legacy)"}], Params: [,…],…}
VolkerK62 commented 1 year ago

Die mit Group: "generic" tauchen in der angezeigten Liste nicht auf. Das sind die unsichbaren.

VolkerK62 commented 1 year ago

In dem Zusammenhang ist mir noch etwas aufgefallen. Sobald man "Fahrzeug hinzufügen" anklickt, wird im UI auf "Gastfahrzeug" gewechselt und das bleibt auch, wenn ich das Auswahlfenster über "X" schließe.

andig commented 1 year ago

Ich mache mal zu, das werden wir mit https://github.com/evcc-io/evcc/pull/6199 reparieren wo wir je Product statt je Template vorgehen.