From d48ae0686d93fd31bd8b145191093ab75edbb655 Mon Sep 17 00:00:00 2001 From: andig Date: Mon, 20 Dec 2021 17:38:36 +0100 Subject: [PATCH] Add Dacia --- README.md | 1 + vehicle/renault.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index dd4f27212..d4b962aa7 100644 --- a/README.md +++ b/README.md @@ -296,6 +296,7 @@ Available vehicle remote interface implementations are: - `bmw`: BMW (i3) - `carwings`: Nissan (Leaf pre 2019) - `citroen`, `ds`, `opel`, `peugeot`: All PSA brands +- `dacia`: Dacia (Spring) - `fiat`: Fiat (500e, Neuer 500) - `ford`: Ford (Kuga, Mustang) - `kia`: Kia (Soul and other Bluelink models) diff --git a/vehicle/renault.go b/vehicle/renault.go index 1700173e5..3208676d7 100644 --- a/vehicle/renault.go +++ b/vehicle/renault.go @@ -20,6 +20,7 @@ import ( // https://github.com/epenet/Renault-Zoe-API/blob/newapimockup/Test/MyRenault.py // https://github.com/jamesremuscat/pyze // https://github.com/hacf-fr/renault-api +// https://muscatoxblog.blogspot.com/2019/07/delving-into-renaults-new-api.html const ( keyStore = "https://renault-wrd-prod-1-euw1-myrapp-one.s3-eu-west-1.amazonaws.com/configuration/android/config_%s.json" @@ -110,6 +111,7 @@ type Renault struct { } func init() { + registry.Add("dacia", NewRenaultFromConfig) registry.Add("renault", NewRenaultFromConfig) }