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

Add support for Moes IR SD16Pro controlled heatpump/AC.

Issue #478
Jason Rumney 2 лет назад
Родитель
Сommit
dd006f4780
3 измененных файлов с 78 добавлено и 0 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 2 0
      DEVICES.md
  3. 75 0
      custom_components/tuya_local/devices/ir_moes_heatpump.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -254,3 +254,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [xZetsubou](https://github.com/xZetsubou) for contributing improvements for covers to better support Zemismart roller shades, triple switch with timers, and quad switch plus USB with restore power state config.
 - [burn1879](https://github.com/burn1879) for contributing support for subdevices, and Loratap zigbee curtains.
 - [hronek](https://github.com/hronek) for assisting with support for BLE PT216 temperature and humidity sensors.
+- [bparten](https://github.com/bparten) for assisting with support for Moes IR hub connected heatpump.

+ 2 - 0
DEVICES.md

@@ -377,6 +377,8 @@ of device.
 
 ### Devices supported via IR hubs
 
+- Air conditioner / heatpump via Moes IR hub
+
 ### Devices supported via Zigbee hubs
 
 - LoraTap SC500ZB-V2 curtain controller

+ 75 - 0
custom_components/tuya_local/devices/ir_moes_heatpump.yaml

@@ -0,0 +1,75 @@
+name: IR heatpump
+products:
+  - id: hwktwkq
+    name: Moes IR remote heatpump
+primary_entity:
+  entity: climate
+  dps:
+    - id: 1
+      type: boolean
+      name: hvac_mode
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          constraint: mode
+          conditions:
+            - dps_val: cold
+              value: cool
+            - dps_val: warm
+              value: heat
+            - dps_val: auto
+              value: heatcool
+            - dps_val: air
+              value: fan_only
+            - dps_val: dehumidify
+              value: dry
+    - id: 2
+      type: integer
+      name: current_temperature
+      mapping:
+        - scale: 10
+    - id: 3
+      type: integer
+      name: temperature
+      range:
+        min: 16
+        max: 32
+    - id: 4
+      type: string
+      name: mode
+      hidden: true
+    - id: 5
+      type: string
+      name: fan_mode
+      mapping:
+        - dps_val: auto
+          value: Auto
+        - dps_val: low
+          value: Low
+        - dps_val: middle
+          value: Medium
+        - dps_val: high
+          value: High
+    - id: 9
+      type: integer
+      name: unknown_9
+    - id: 10
+      type: integer
+      name: unknown_10
+    - id: 11
+      type: string
+      name: display_unit
+    - id: 12
+      type: integer
+      name: current_humidity
+    - id: 15
+      type: string
+      name: unknown_15
+    - id: 16
+      type: string
+      name: unknown_16
+    - id: 18
+      type: integer
+      name: unknown_18
+