Просмотр исходного кода

Add support for dé Wall Charger (3-phase 22kW)

Issue #3120
Jason Rumney 8 месяцев назад
Родитель
Сommit
1ed2ca5c4a
3 измененных файлов с 196 добавлено и 0 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 194 0
      custom_components/tuya_local/devices/dewall_evcharger.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -927,3 +927,4 @@ Further device support has been made with the assistance of users. Please consid
 - [LordGuenni](https://github.com/LordGuenni) for contributing support for Inkbird IBS-M2 temperature probe hub.
 - [arni077r](https://github.com/arni077r) for contributing support for Euroster 4040 Smart thermostat.
 - [maksim-petukhov](https://github.com/maksim-petukhov) for assisting with support for Fral Super Cool FSC14.2 DH portable air conditioner.
+- [MchlLyn](https://github.com/MchlLyn) for assisting with support for dé Wall Charger (3-phase 22Kw).

+ 1 - 0
DEVICES.md

@@ -476,6 +476,7 @@
 
 - Absina Wallbox EV charger (also sold as Dé Wallbox and supporting 16, 32, 40 and 50A single and 3-phase variants)
 - AFYEEV 16A 11kW, 32A 22kW portable EV chargers
+- dé Wall Charger (3-phase 22Kw)
 - Demuda 4048/6048 MPPT solar charge controller
 - EcoPoint EV charger
 - EVSun EV charger

+ 194 - 0
custom_components/tuya_local/devices/dewall_evcharger.yaml

@@ -0,0 +1,194 @@
+name: EV charger
+products:
+  - id: witok7vhhjohtr02
+    manufacturer: dé
+    model: Wall charger 3-phase 22kW
+entities:
+  - entity: sensor
+    translation_key: status
+    class: enum
+    category: diagnostic
+    dps:
+      - id: 109
+        type: string
+        name: sensor
+        mapping:
+          - dps_val: SLEEP
+            value: sleep
+          - dps_val: IDLE
+            value: idle
+          - dps_val: IDLEINS
+            value: plugged_in
+          - dps_val: WORKING
+            value: charging
+          - dps_val: WAIT
+            value: waiting
+          - dps_val: ERRORPAUSE
+            value: fault
+          - dps_val: PAUSE
+            value: paused
+          - dps_val: STOP
+            value: charged
+      - id: 102
+        type: string
+        name: metrics
+      - id: 103
+        type: string
+        optional: true
+        name: selftest
+      - id: 104
+        type: string
+        optional: true
+        name: alarm
+      - id: 105
+        type: string
+        optional: true
+        name: history
+      - id: 157
+        type: integer
+        optional: true
+        name: product_variant
+  - entity: button
+    name: Charge
+    icon: "mdi:ev-station"
+    dps:
+      - id: 140
+        type: boolean
+        optional: true
+        name: button
+  - entity: button
+    name: Stop
+    icon: "mdi:stop"
+    dps:
+      - id: 140
+        type: boolean
+        optional: true
+        name: button
+  - entity: button
+    name: Reset
+    icon: "mdi:refresh"
+    category: config
+    dps:
+      - id: 141
+        type: boolean
+        optional: true
+        name: button
+  - entity: button
+    class: restart
+    category: config
+    dps:
+      - id: 142
+        type: boolean
+        optional: true
+        name: button
+  - entity: number
+    name: Charge current
+    category: config
+    class: current
+    dps:
+      - id: 150
+        type: integer
+        name: value
+        unit: A
+        range:
+          min: 1
+          max: 1000
+      - id: 150
+        type: integer
+        name: maximum
+      - id: 107
+        type: string
+        name: steps
+  - entity: number
+    name: Maximum current
+    category: config
+    class: current
+    dps:
+      - id: 152
+        type: integer
+        name: value
+        unit: A
+        range:
+          min: 1
+          max: 1000
+  - entity: select
+    name: Plug in action
+    icon: "mdi:ev-plug-type2"
+    category: config
+    dps:
+      - id: 154
+        type: integer
+        optional: true
+        name: option
+        mapping:
+          - dps_val: 0
+            value: Prompt
+          - dps_val: 1
+            value: Charge
+          - dps_val: 2
+            value: Idle
+  - entity: switch
+    name: NFC
+    icon: "mdi:nfc"
+    category: config
+    hidden: unavailable
+    dps:
+      - id: 155
+        type: boolean
+        name: switch
+      - id: 157
+        type: integer
+        optional: true
+        name: available
+        mapping:
+          - dps_val: 1
+            value: false
+          - value: true
+  - entity: switch
+    name: Unearthed
+    icon: "mdi:lightning-bolt-circle"
+    category: config
+    dps:
+      - id: 156
+        type: boolean
+        name: switch
+  - entity: number
+    name: Operating state
+    category: config
+    icon: "mdi:state-machine"
+    hidden: true
+    dps:
+      - id: 101
+        type: integer
+        name: value
+        range:
+          min: 1
+          max: 10000
+  - entity: text
+    name: Charger info
+    category: config
+    icon: "mdi:information"
+    hidden: true
+    dps:
+      - id: 106
+        type: string
+        name: value
+  - entity: text
+    name: Charge mode
+    category: config
+    icon: "mdi:ev-station"
+    hidden: true
+    dps:
+      - id: 151
+        type: string
+        name: value
+  - entity: text
+    name: Language config
+    icon: "mdi:translate"
+    category: config
+    hidden: true
+    dps:
+      - id: 153
+        type: string
+        optional: true
+        name: value