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

Add support for Fairland RMIC06 pool heat pump

Issue #1301
Jason Rumney 1 год назад
Родитель
Сommit
194907df1c

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -673,3 +673,4 @@ Further device support has been made with the assistance of users. Please consid
 - [larronni](https://github.com/larronni) for contributing support for Calex aroma diffuser.
 - [JennyIglesias](https://github.com/JennyIglesias) for assisting with support for Tongou TO-Q-SYS-WT circuit breaker
 - [pot-noble](https://github.com/pot-noble) for contributing support for Petrust TK-WF002 pet fountain
+- [nedvedhonza](https://github.com/nedvedhonza) for contributing support for Fairland RMIC06 pool heat pump.

+ 2 - 1
DEVICES.md

@@ -114,7 +114,8 @@
 
 - BWT FI 45 heat pump
 - Evotherm ETI series heat pump
-- Fairland IPHCR15 pool heat pump (matches others above, but allows control of heat/cool modes while others seem to be fixed to auto only)
+- Fairland IPHCR15 pool heat pump (allows control of heat/cool modes)
+- Fairland RMIC06 pool heat pump
 - Fairland X20 series (also sold as Pool Systems IPS 100MAX)
 - Garden PAC pool heat pump (also works with Summerwave Si Series)
 - Madimack Eco pool heat pump

+ 240 - 0
custom_components/tuya_local/devices/fairland_rmic06_heatpump.yaml

@@ -0,0 +1,240 @@
+name: Pool heat pump
+# products:
+#   - id: UNKNOWN
+#     name: Fairland RMIC06
+primary_entity:
+  entity: climate
+  translation_key: pool_heatpump
+  dps:
+    - id: 1
+      name: hvac_mode
+      type: boolean
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          constraint: mode
+          conditions:
+            - dps_val: warm
+              value: heat
+            - dps_val: cool
+              value: cool
+            - dps_val: smart
+              value: heat_cool
+    - id: 102
+      name: current_temperature
+      type: integer
+    - id: 103
+      name: temperature_unit
+      type: boolean
+      mapping:
+        - dps_val: false
+          value: F
+        - dps_val: true
+          value: C
+    - id: 105
+      name: mode
+      type: string
+      hidden: true
+    - id: 106
+      name: temperature
+      type: integer
+      range:
+        min: 18
+        max: 115
+    - id: 107
+      type: integer
+      name: min_temperature
+    - id: 108
+      type: integer
+      name: max_temperature
+    - id: 117
+      name: preset_mode
+      type: boolean
+      mapping:
+        - dps_val: false
+          value: quiet
+        - dps_val: true
+          value: smart
+secondary_entities:
+  - entity: sensor
+    category: diagnostic
+    name: Power level
+    icon: "mdi:signal"
+    dps:
+      - id: 104
+        type: integer
+        name: sensor
+        unit: "%"
+  - entity: sensor
+    category: diagnostic
+    class: temperature
+    name: Evaporator coil pipe temperature
+    dps:
+      - id: 120
+        type: integer
+        name: sensor
+      - id: 103
+        name: unit
+        type: boolean
+        mapping:
+          - dps_val: false
+            value: F
+          - dps_val: true
+            value: C
+  - entity: binary_sensor
+    name: Water flow
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 115
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 4
+            value: true
+          - value: false
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 116
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: true
+            constraint: fault_code
+            conditions:
+              - dps_val: 0
+                value: false
+              - dps_val: 4
+                value: false
+          - value: true
+      - id: 115
+        type: bitfield
+        name: fault_code
+      - id: 116
+        type: bitfield
+        name: fault_code_2
+  - entity: binary_sensor
+    translation_key: defrost
+    category: diagnostic
+    dps:
+      - id: 130
+        type: boolean
+        name: sensor
+  - entity: sensor
+    category: diagnostic
+    class: temperature
+    name: Exhaust gas temperature
+    dps:
+      - id: 122
+        type: integer
+        name: sensor
+      - id: 103
+        name: unit
+        type: boolean
+        mapping:
+          - dps_val: false
+            value: F
+          - dps_val: true
+            value: C
+  - entity: sensor
+    category: diagnostic
+    name: Ambient temperature
+    class: temperature
+    dps:
+      - id: 124
+        type: integer
+        name: sensor
+      - id: 103
+        name: unit
+        type: boolean
+        mapping:
+          - dps_val: false
+            value: F
+          - dps_val: true
+            value: C
+  - entity: sensor
+    category: diagnostic
+    name: Compressor speed
+    dps:
+      - id: 125
+        type: integer
+        name: sensor
+        unit: "%"
+  - entity: sensor
+    category: diagnostic
+    name: Compressor Current
+    dps:
+      - id: 126
+        name: sensor
+        type: integer
+        unit: "%"
+  - entity: sensor
+    category: diagnostic
+    class: temperature
+    name: Cooling plate temperature
+    dps:
+      - id: 127
+        type: integer
+        name: sensor
+      - id: 103
+        name: unit
+        type: boolean
+        mapping:
+          - dps_val: false
+            value: F
+          - dps_val: true
+            value: C
+  - entity: sensor
+    category: diagnostic
+    name: EEV opening
+    dps:
+      - id: 128
+        name: sensor
+        type: integer
+  - entity: sensor
+    category: diagnostic
+    name: Fan speed
+    dps:
+      - id: 129
+        name: sensor
+        type: integer
+  - entity: binary_sensor
+    name: Circulating Pump
+    class: running
+    category: diagnostic
+    dps:
+      - id: 135
+        type: boolean
+        name: sensor
+  - entity: binary_sensor
+    name: Four-way Valve
+    category: diagnostic
+    dps:
+      - id: 136
+        type: boolean
+        name: sensor
+  - entity: sensor
+    name: AC Fan Motor Speed
+    category: diagnostic
+    dps:
+      - id: 140
+        name: sensor
+        type: string
+  - entity: binary_sensor
+    name: Current-limiting Charging Relay
+    category: diagnostic
+    dps:
+      - id: 139
+        type: boolean
+        name: sensor
+  - entity: binary_sensor
+    name: Current-limiting Charging Relay
+    category: diagnostic
+    dps:
+      - id: 134
+        type: boolean
+        name: sensor

+ 4 - 1
custom_components/tuya_local/translations/bg.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Умен охлаждане",
                             "quick_cool": "Бързо охлаждане",
                             "quiet_cool": "Тихо охлаждане",
-                            "auto": "Автоматичен"
+                            "auto": "Автоматичен",
+                            "smart": "Умен",
+                            "quick": "Бързо",
+                            "quiet": "Тихо"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/cz.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Chytré chlazení",
                             "quick_cool": "Rychlé chlazení",
                             "quiet_cool": "Tiché chlazení",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Chytrý",
+                            "quick": "Rychlý",
+                            "quiet": "Tichý"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/de.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Intelligent kühlen",
                             "quick_cool": "Schnell kühlen",
                             "quiet_cool": "Leise kühlen",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Intelligent",
+                            "quick": "Schnell",
+                            "quiet": "Leise"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/el.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Έξυπνη ψύξη",
                             "quick_cool": "Γρήγορη ψύξη",
                             "quiet_cool": "Ήσυχη ψύξη",
-                            "auto": "Αυτόματο"
+                            "auto": "Αυτόματο",
+                            "smart": "Έξυπνο",
+                            "quick": "Γρήγορο",
+                            "quiet": "Ήσυχο"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/en.json

@@ -215,7 +215,10 @@
                             "smart_cool": "Smart cool",
                             "quick_cool": "Quick cool",
                             "quiet_cool": "Quiet cool",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Smart",
+                            "quick": "Quick",
+                            "quiet": "Quiet"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/es.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Fresco inteligente",
                             "quick_cool": "Fresco rapido",
                             "quiet_cool": "Fresco tranquilo",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Inteligente",
+                            "quick": "Rápido",
+                            "quiet": "Tranquilo"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/fr.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Froid Intelligent",
                             "quick_cool": "Froid Boost",
                             "quiet_cool": "Froid Eco",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Intelligent",
+                            "quick": "Boost",
+                            "quiet": "Eco"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/hu.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Okos hűtés",
                             "quick_cool": "gyors hűtés",
                             "quiet_cool": "Csendes hűtés",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Okos",
+                            "quick": "Gyors",
+                            "quiet": "Csendes"
                         }
                     }
                 }

+ 5 - 2
custom_components/tuya_local/translations/id.json

@@ -198,8 +198,11 @@
                             "quiet_heat": "Pemanasan senyap",
                             "smart_cool": "Pendinginan pintar",
                             "quick_cool": "Pendinginan cepat",
-                            "quiet_cool": "PEndinginan senyap",
-                            "auto": "Otomatis"
+                            "quiet_cool": "Pendinginan senyap",
+                            "auto": "Otomatis",
+                            "smart": "Pintar",
+                            "quick": "Cepat",
+                            "quiet": "Senyap"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/it.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Raffreddamento intelligente",
                             "quick_cool": "Raffreddamento rapido",
                             "quiet_cool": "Raffreddamento tranquillo",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Intelligente",
+                            "quiet": "Tranquillo",
+                            "quick": "Veloce"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/ja.json

@@ -199,7 +199,10 @@
                             "smart_cool": "スマート冷却",
                             "quick_cool": "急速冷却",
                             "quiet_cool": "静粛冷却",
-                            "auto": "自動"
+                            "auto": "自動",
+                            "smart": "スマート",
+                            "quick": "急速",
+                            "quiet": "静粛"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/no-NB.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Smart kjøling",
                             "quick_cool": "Kjapp kjøling",
                             "quiet_cool": "Stille kjøling",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Smart",
+                            "quick": "Kjapp",
+                            "quiet": "Stille"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/pl.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Inteligentne chłodzenie",
                             "quick_cool": "Szybkie chłodzenie",
                             "quiet_cool": "Ciche chłodzenie",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Inteligentne",
+                            "quick": "Szybkie",
+                            "quiet": "Ciche"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/pt-BR.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Resfriamento inteligente",
                             "quick_cool": "Resfriamento rápido",
                             "quiet_cool": "Resfriamento silencioso",
-                            "auto": "Auto"
+                            "auto": "Auto",
+                            "smart": "Inteligente",
+                            "quick": "Rápido",
+                            "quiet": "Silencioso"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/ru.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Умное охлаждение",
                             "quick_cool": "Быстрое охлаждение",
                             "quiet_cool": "Тихое охлаждение",
-                            "auto": "Авто"
+                            "auto": "Авто",
+                            "smart": "Умный",
+                            "quiet": "Тихий",
+                            "quick": "Быстрый"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/uk.json

@@ -199,7 +199,10 @@
                             "smart_cool": "Розумне холонути",
                             "quick_cool": "Швидке холонути",
                             "quiet_cool": "Тихе холонути",
-                            "auto": "Авто"
+                            "auto": "Авто",
+                            "smart": "Розумний",
+                            "quick": "Швидкий",
+                            "quiet": "Тихий"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/ur.json

@@ -199,7 +199,10 @@
                             "smart_cool": "ہوشیار ٹھنڈا",
                             "quick_cool": "فوری ٹھنڈا ۔",
                             "quiet_cool": "پرسکون ٹھنڈا ۔",
-                            "auto": "خود مختار"
+                            "auto": "خود مختار",
+                            "smart": "اسمارٹ",
+                            "quick": "فوری",
+                            "quiet": "پرسکون"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/zh-Hans.json

@@ -215,7 +215,10 @@
                             "smart_cool": "智能冷却",
                             "quick_cool": "快速冷却",
                             "quiet_cool": "安静冷却",
-                            "auto": "自动"
+                            "auto": "自动",
+                            "smart": "智能",
+                            "quiet": "安静",
+                            "quick": "快速"
                         }
                     }
                 }

+ 4 - 1
custom_components/tuya_local/translations/zh-Hant.json

@@ -199,7 +199,10 @@
                             "smart_cool": "智能冷卻",
                             "quick_cool": "快速冷卻",
                             "quiet_cool": "安靜冷卻",
-                            "auto": "自動"
+                            "auto": "自動",
+                            "smart": "智能",
+                            "quick": "快速",
+                            "quiet": "安靜"
                         }
                     }
                 }