Repository navigation
v0.2.0
Minimal Home Assistant custom integration to expose a Webasto Unite / Vestel EVC04 as an evcc Home Assistant charger. This bridge intentionally has no solar logic, no DLB and no automatic phase switching — evcc owns all charging decisions; the bridge only adapts Home Assistant entities to the charger Modbus registers.
New
- "Cable locking" switch on the device (needs the Web-UI login): same JSON-first pattern as the charger, with webconfig fallback. It never touches charging logic.
- "Plug locked" sensor: shows the live lock state of the plug.
- 3-phase restore, twice over: a "Restore 3-phase setting" button for the known Unite fault where the charger sticks on 1 phase, plus automatic re-apply of the installation phase config after every unplug (opt-in, 3-phase installs only).
- Clean exit: when the integration is removed or unloaded, it puts the charger's registers back the way it found them.
- Settings in plain language (English and Dutch) and a rewritten README with evcc template + custom charger examples (including RFID identify and 1p/3p phases).
Fixes
- Older firmware stays online: RFID registers probed once per connection and skipped when absent; same careful treatment for 405/404.
- RFID tags read cleanly: ASCII and UTF-16 firmware both decode to the exact tag, so evcc vehicle identification works either way.
- No more duplicate devices: setup uses the charger serial (retried) instead of the bare IP, and old host-based entries are repaired to the serial on next start.
- Clearer names: "Requested phase" (sensor) vs "Phase" (selector), "Phase capability (404)", "Phase selection (405)".
Thanks
@djvdorp for the DLB-safety PR discussion that shaped the slimmer baseline approach the bridge shares with the charger; @lonkhuijzen for Unite REST reverse-engineering that guided the JSON-API routes; and the field testers and forum reporters (RFID encoding, lockable cable, stuck-1-phase confirmations).