Bladeren bron

Add support for Koi Duo water hater

Issue #1831
Jason Rumney 1 jaar geleden
bovenliggende
commit
8f868c1fe8
3 gewijzigde bestanden met toevoegingen van 85 en 0 verwijderingen
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 83 0
      custom_components/tuya_local/devices/koiduo_water_heater.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -558,3 +558,4 @@ Further device support has been made with the assistance of users. Please consid
 - [Netjuggernaut](https://github.com/Netjuggernaut) for assisting with support for Gainsborough Liberty entrance locks.
 - [Onvisoc](https://github.com/Onvisoc) for contributing support for Soho air purifiers.
 - [wlfc2031](https://github.com/wlfc2031) for assisting with support for Ailrinni BLE fingerprint locks.
+- [MerzkayaGnida](https://github.com/MerzkayaGnida) for assisting with support for Koi Duo water heaters.

+ 1 - 0
DEVICES.md

@@ -128,6 +128,7 @@
 - Geyserwise TSE1 Geyser controller kit
 - Hydrotherm Dynamic/X8 heat pump hot water systems (Gen 5 and 6)
 - ITS-4.5HD super water heatpump
+- Koi Duo HTW-TD-080KOID
 - Thermex IF series V pro hot water systems
 - Thermex Lima 80V
 

+ 83 - 0
custom_components/tuya_local/devices/koiduo_water_heater.yaml

@@ -0,0 +1,83 @@
+name: Water heater
+products:
+  - id: 7lkpskrohoygvb8y
+    name: Koi Duo HTW-TD-080
+primary_entity:
+  entity: water_heater
+  dps:
+    - id: 1
+      type: boolean
+      name: away
+      mapping:
+        - dps_val: true
+          value: false
+        - dps_val: false
+          value: true
+    - id: 2
+      type: string
+      name: operation_mode
+      mapping:
+        - dps_val: jiheat
+          value: performance
+        - dps_val: maneco
+          value: eco
+    - id: 9
+      type: integer
+      name: temperature
+      unit: C
+      range:
+        min: 40
+        max: 80
+      mapping:
+        - step: 10
+    - id: 10
+      type: integer
+      name: current_temperature
+secondary_entities:
+  - entity: sensor
+    class: energy
+    dps:
+      - id: 12
+        type: integer
+        name: sensor
+        unit: kWh
+        class: total_increasing
+  - entity: sensor
+    name: Status
+    class: enum
+    dps:
+      - id: 13
+        type: string
+        name: sensor
+        mapping:
+          - dps_val: standby
+            value: standby
+          - dps_val: heating
+            value: heating
+          - dps_val: warm
+            value: keeping_warm
+          - dps_val: yuyueing
+            value: reserve_only
+  - entity: sensor
+    name: Remaining hot water
+    category: diagnostic
+    dps:
+      - id: 14
+        type: integer
+        name: sensor
+        unit: "%"
+        class: measurement
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 20
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 20
+        type: bitfield
+        name: fault_code