]> git.basschouten.com Git - openhab-addons.git/commitdiff
[keba] Add support for additional x-series wallboxes (#16474)
authorMikeTheTux <44850211+MikeTheTux@users.noreply.github.com>
Mon, 11 Mar 2024 19:06:35 +0000 (20:06 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Mar 2024 19:06:35 +0000 (20:06 +0100)
* extended list of supported x-series wallboxes with "S" (4G, w/o LM) and "U" (WLAN, w/o LM)

---------

Signed-off-by: Michael Weger <weger.michael@gmx.net>
bundles/org.openhab.binding.keba/README.md
bundles/org.openhab.binding.keba/src/main/java/org/openhab/binding/keba/internal/KebaBindingConstants.java

index 1250d0246cba30bee3f6856f5d6845f0d9c53b8b..2bdef1ea07b2f4266a29b7da0a62d1d84118b4e3 100644 (file)
@@ -4,7 +4,7 @@ This binding integrates the [Keba KeContact EV Charging Stations](https://www.ke
 
 ## Supported Things
 
-The Keba KeContact P20 and P30 stations which are providing the UDP interface (P20 LSA+ socket, P30 c-series and x-series) are supported by this binding, the thing type id is `kecontact`.
+The Keba KeContact P20 and P30 stations which are providing the UDP interface (P20 LSA+ socket, P30 c-series and x-series or BMW wallbox) are supported by this binding, the thing type id is `kecontact`.
 
 ## Thing Configuration
 
index 229e9dc247843a5dbada617c72924661c5dfaf99..394b8441101998944e4e341a5153867d79939e29 100644 (file)
@@ -79,10 +79,17 @@ public class KebaBindingConstants {
 
     public enum KebaSeries {
 
+        /*
+         * Mapping derived from:
+         * - https://www.keba.com/download/x/ea958eb797/kecontactp30_bden_web.pdf
+         * - https://www.keba.com/file/downloads/e-mobility/KeContact_KCP20_30_ih_de.pdf
+         * 'G' is still unclear
+         */
         E('0'),
         B('1'),
-        C('2', '3'),
-        X('A', 'B', 'C', 'D', 'E', 'G', 'H');
+        C('2', '3', 'A'), // '3' is P20 c-series + PLC
+        // A('3'), // '3' is also P30 a-series - but P30 a-series doesn't support the required UDS protocol
+        X('B', 'C', 'D', 'E', 'G', 'H', 'S', 'U');
 
         private final List<Character> things = new ArrayList<>();