Very nice work @mitchztm!
Unfortunately it did not work für my e-Up, but with small changes I got it work for most of the sensors:
You may try what I did today:
volkswagen_we_connect_id # diff -u __init__.py.old __init__.py
--- __init__.py.old 2024-08-17 12:51:01.000000000 +0200
+++ __init__.py 2024-08-17 17:03:49.029374797 +0200
@@ -33,7 +33,7 @@
_LOGGER = logging.getLogger(__name__)
-SUPPORTED_VEHICLES = ["ID.3", "ID.4", "ID.5", "ID. Buzz", "ID.7 Limousine"]
+SUPPORTED_VEHICLES = ["ID.3", "ID.4", "ID.5", "ID. Buzz", "ID.7 Limousine", "e-up!"]
@dataclass
@@ -67,6 +67,8 @@
for vin, vehicle in _we_connect.vehicles.items():
if vehicle.model.value in SUPPORTED_VEHICLES:
vehicles.append(vehicle)
+ else:
+ _LOGGER.error("UNSUPPORTED vehicle '%s'. Skipped ", vehicle.model.value)
domain_entry: DomainEntry = hass.data[DOMAIN][entry.entry_id]
domain_entry.vehicles = vehicles
volkswagen_we_connect_id # diff -u number.py.old number.py
--- number.py.old 2024-08-17 12:51:01.000000000 +0200
+++ number.py 2024-08-17 14:03:03.521105950 +0200
@@ -77,7 +77,7 @@
return int(
get_object_value(
self.data.domains["charging"]["chargingSettings"].targetSOC_pct.value
- )
+ ) or 0
)
async def async_set_native_value(self, value: float) -> None:
Problem was that e-Up does not support self.data.domains[“charging”][“chargingSettings”].targetSOC_pct.value .
Right now many of the sensors seem to work:
Not all Sensors are supported by the e-Up. I did test the buttons start-charging and stop-charging. This works. Great! Very nice for automation!
My dashboard
And yes. It is just a quick hack. No warranty! And just done some hours ago.
But for me it seems sufficient.
Only drawback is that logging shows some sensor that the integration does not know:
2024-08-17 19:02:53.197 WARNING (SyncWorker_15) [weconnect] /vehicles/WVWremoved/domains/charging/chargingSettings: Unknown attribute maxChargeCurrentAC_A with value 10
2024-08-17 19:03:43.702 WARNING (SyncWorker_35) [weconnect] /vehicles/WVWremoved/domains/charging/chargingSettings: Unknown attribute maxChargeCurrentAC_A with value 10
2024-08-17 19:04:30.230 WARNING (SyncWorker_61) [weconnect] /vehicles/WVWremoved/domains/charging/chargingSettings: Unknown attribute maxChargeCurrentAC_A with value 10
But this will not break my homeassistant…