Compare commits

...

6 Commits

Author SHA1 Message Date
7c8f7e62db Try to fix #117 2023-10-06 01:33:23 +02:00
b995439227 Add more exapmle images 2023-10-03 18:46:14 +02:00
735a83673c Bump version 2023-10-03 01:59:23 +02:00
08fb9cb5b9 Add changing fan position for ac #97 #108 2023-10-03 01:49:24 +02:00
0e3d917ed1 Add more supported devices 2023-10-03 01:02:59 +02:00
16055acd17 Remove one supported ac model, fix #110 2023-10-02 04:37:24 +02:00
35 changed files with 630 additions and 46 deletions

View File

@ -13,8 +13,8 @@ Home Assistant integration for [Haier's mobile app hOn](https://hon-smarthome.co
[![Supported Languages](https://img.shields.io/badge/Languages-19-royalblue)](https://github.com/Andre0512/hon#supported-languages) [![Supported Languages](https://img.shields.io/badge/Languages-19-royalblue)](https://github.com/Andre0512/hon#supported-languages)
[![Supported Appliances](https://img.shields.io/badge/Appliances-11-forestgreen)](https://github.com/Andre0512/hon#supported-appliances) [![Supported Appliances](https://img.shields.io/badge/Appliances-11-forestgreen)](https://github.com/Andre0512/hon#supported-appliances)
[![Supported Models](https://img.shields.io/badge/Models-72-yellowgreen)](https://github.com/Andre0512/hon#supported-models) [![Supported Models](https://img.shields.io/badge/Models-74-yellowgreen)](https://github.com/Andre0512/hon#supported-models)
[![Supported Entities](https://img.shields.io/badge/Entities-313-crimson)](https://github.com/Andre0512/hon#appliance-features) [![Supported Entities](https://img.shields.io/badge/Entities-315-crimson)](https://github.com/Andre0512/hon#appliance-features)
## Supported Appliances ## Supported Appliances
- [Washing Machine](https://github.com/Andre0512/hon#washing-machine) - [Washing Machine](https://github.com/Andre0512/hon#washing-machine)
@ -45,18 +45,66 @@ _Restart Home Assistant_
**Method 2**: Settings > Devices & Services > Add Integration > **Haier hOn** **Method 2**: Settings > Devices & Services > Add Integration > **Haier hOn**
_If the integration is not in the list, you need to clear the browser cache._ _If the integration is not in the list, you need to clear the browser cache._
## Examples
_Click to expand..._
<details>
<summary>Washing Machine</summary>
![Washing Machine](assets/example_wm.png)
</details>
<details>
<summary>Tumble Dryer</summary>
![Tumble Dryer](assets/example_td.png)
</details>
<details>
<summary>Washer Dryer</summary>
![Washer Dryer](assets/example_wd.png)
</details>
<details>
<summary>Oven</summary>
![Oven](assets/example_ov.png)
</details>
<details>
<summary>Dish Washer</summary>
![Dish Washer](assets/example_dw.png)
</details>
<details>
<summary>Air conditioner</summary>
![Air conditioner](assets/example_ac.png)
</details>
<details>
<summary>Fridge</summary>
![Fridge](assets/example_ref.png)
</details>
<details>
<summary>Wine Cellar</summary>
![Wine Cellar](assets/example_wc.png)
</details>
<details>
<summary>Air Purifier</summary>
![Air Purifier](assets/example_ap.png)
</details>
## Supported Models ## Supported Models
Support has been confirmed for these **72 models**, but many more will work. Please add already supported devices [with this form to complete the list](https://forms.gle/bTSD8qFotdZFytbf8). Support has been confirmed for these **74 models**, but many more will work. Please add already supported devices [with this form to complete the list](https://forms.gle/bTSD8qFotdZFytbf8).
| | **Haier** | **Hoover** | **Candy** | | | **Haier** | **Hoover** | **Candy** |
|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| |---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|
| **Washing Machine** | HW80-B14959TU1DE <br/> HW80-B14959TU1IT <br/> HW80-B14979TU1 <br/> HW90-B14TEAM5 <br/> HW90G-BD14979UD <br/> HW100-B14959U1 <br/> HW110-14979 | H-WASH 500 <br/> H7W4 48MBC-S <br/> HLWPS495TAMBE-11 <br/> HW 410AMBCB/1-80 <br/> HWE 49AMBS/1-S | CO4 107T1/2-07 <br/> CBWO49TWME-S <br/> RO14126DWMST-S <br/> RO441286DWMC4-07 <br/> HW 68AMC/1-80 <br/> HWPD 69AMBC/1-S | | **Washing Machine** | HW80-B14959TU1DE <br/> HW80-B14959TU1IT <br/> HW80-B14979TU1 <br/> HW90-B14TEAM5 <br/> HW90-B14959S8U1 <br/> HW90G-BD14979UD <br/> HW100-B14959U1 <br/> HW110-14979 | H7W4 48MBC-S <br/> HLWPS495TAMBE-11 <br/> HW 410AMBCB/1-80 <br/> HW 411AMBCB/1-80 <br/> HWE 49AMBS/1-S | CO4 107T1/2-07 <br/> CBWO49TWME-S <br/> RO14126DWMST-S <br/> RO441286DWMC4-07 <br/> HW 68AMC/1-80 <br/> HWPD 69AMBC/1-S |
| **Tumble Dryer** | HD80-A3959 <br/> HD90-A3TEAM5 <br/> HD90-A2959 | H-DRY 500 <br/> H9A3TCBEXS-S <br/> HLE C10DCE-80 <br/> H5WPB447AMBC/1-S <br/> NDE H10A2TCE-80 <br/> NDE H9A2TSBEXS-S <br/> NDPHY10A2TCBEXSS | BCTDH7A1TE <br/> CSOE C10DE-80 <br/> ROE H9A3TCEX-S <br/> ROE H10A2TCE-07 | | **Tumble Dryer** | HD80-A3959 <br/> HD90-A3TEAM5 <br/> HD90-A2959 <br/> HD90-A2959S | H9A3TCBEXS-S <br/> HLE9A2TCE-80 <br/> HLE C10DCE-80 <br/> H5WPB447AMBC/1-S <br/> NDE H10A2TCE-80 <br/> NDE H9A2TSBEXS-S <br/> NDPHY10A2TCBEXSS | BCTDH7A1TE <br/> CSOE C10DE-80 <br/> ROE H9A3TCEX-S <br/> ROE H10A2TCE-07 |
| **Washer Dryer** | HWD80-B14979U1 <br/> HWD100-B14979 <br/> HWD100-B14978 | HD 485AMBB/1-S <br/> HD 495AMC/1-S <br/> HD 4106AMC/1-80 <br/> HDQ 496AMBS/1-S <br/> HWPS4954DAMR-11 | RPW41066BWMR/1-S | | **Washer Dryer** | HWD80-B14979U1 <br/> HWD100-B14979 <br/> HWD100-B14978 | HD 485AMBB/1-S <br/> HD 495AMC/1-S <br/> HD 4106AMC/1-80 <br/> HDQ 496AMBS/1-S <br/> HWPS4954DAMR-11 | RPW41066BWMR/1-S |
| **Oven** | HWO60SM2F3XH | HSOT3161WG | | | **Oven** | HWO60SM2F3XH | HSOT3161WG | |
| **Dish Washer** | XIB 3B2SFS-80 <br/> XIB 6B2D3FB | HFB 6B2S3FX | | | **Dish Washer** | XIB 3B2SFS-80 <br/> XIB 6B2D3FB | HFB 6B2S3FX | |
| **Air Conditioner** | AD105S2SM3FA <br/> AS09TS4HRA-M <br/> AS20HPL1HRA <br/> AS25PBAHRA <br/> AS25S2SF1FA-WH <br/> AS25TADHRA-2 <br/> AS25TEDHRA(M1) <br/> AS35PBAHRA <br/> AS35S2SF1FA-WH <br/> AS35S2SF2FA-3 <br/> AS35TADHRA-2 <br/> AS35TAMHRA-C <br/> AS35TEDHRA(M1) | | CY-12TAIN | | **Air Conditioner** | AD105S2SM3FA <br/> AS09TS4HRA-M <br/> AS25PBAHRA <br/> AS25S2SF1FA-WH <br/> AS25TADHRA-2 <br/> AS25TEDHRA(M1) <br/> AS35PBAHRA <br/> AS35S2SF1FA-WH <br/> AS35S2SF2FA-3 <br/> AS35TADHRA-2 <br/> AS35TAMHRA-C <br/> AS35TEDHRA(M1) | | CY-12TAIN |
| **Fridge** | HFW7720ENMB <br/> HFW7819EWMP | | CCE4T620EWU <br/> CCE4T618EW | | **Fridge** | HFW7720ENMB <br/> HFW7819EWMP <br/> HSW59F18EIPT | | CCE4T620EWU <br/> CCE4T618EW |
| **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI | | **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI |
| **Hood** | HADG6DS46BWIFI | | | | **Hood** | HADG6DS46BWIFI | | |
| **Wine Cellar** | HWS247FDU1 | | | | **Wine Cellar** | HWS247FDU1 | | |
@ -99,10 +147,7 @@ The apps on this (incomplete) list have been requested so far:
| Haier Uhome | China | :x: | [banto6/haier](https://github.com/banto6/haier) | | Haier Uhome | China | :x: | [banto6/haier](https://github.com/banto6/haier) |
| Haier U+ | China | :x: | | | Haier U+ | China | :x: | |
| GE SmartHQ | North America | :x: | [simbaja/ha_gehome](https://github.com/simbaja/ha_gehome) | | GE SmartHQ | North America | :x: | [simbaja/ha_gehome](https://github.com/simbaja/ha_gehome) |
| Haier Evo | Russia | :x: | |
## Examples
### Washing Machine
![washing_machine.png](assets/washing_machine.png)
## Contribute ## Contribute
Any kind of contribution is welcome! Any kind of contribution is welcome!
@ -172,6 +217,8 @@ For every device exists a button under diagnostics which can be used to log all
| Echo | `account-voice` | `switch` | `echoStatus` | | Echo | `account-voice` | `switch` | `echoStatus` |
| Eco Mode | `sprout` | `switch` | `ecoMode` | | Eco Mode | `sprout` | `switch` | `ecoMode` |
| Eco Pilot | `run` | `select` | `settings.humanSensingStatus` | | Eco Pilot | `run` | `select` | `settings.humanSensingStatus` |
| Fan Direction Horizontal | `fan` | `select` | `settings.windDirectionHorizontal` |
| Fan Direction Vertical | `fan` | `select` | `settings.windDirectionVertical` |
| Health Mode | `medication-outline` | `switch` | `healthMode` | | Health Mode | `medication-outline` | `switch` | `healthMode` |
| Night Mode | `bed` | `switch` | `silentSleepStatus` | | Night Mode | `bed` | `switch` | `silentSleepStatus` |
| Rapid Mode | `run-fast` | `switch` | `rapidMode` | | Rapid Mode | `run-fast` | `switch` | `rapidMode` |

BIN
assets/example_ac.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

BIN
assets/example_ap.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
assets/example_dw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

BIN
assets/example_ov.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
assets/example_ref.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
assets/example_td.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
assets/example_wc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
assets/example_wd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

BIN
assets/example_wm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 KiB

View File

@ -264,3 +264,21 @@ STAIN_TYPES: dict[int, str] = {
25: "chili_sauce", 25: "chili_sauce",
26: "fruit", 26: "fruit",
} }
AC_POSITION_HORIZONTAL = {
0: "position_1",
3: "position_2",
4: "position_3",
5: "position_4",
6: "position_5",
7: "swing",
}
AC_POSITION_VERTICAL = {
2: "position_1",
4: "position_2",
5: "position_3",
6: "position_4",
7: "position_5",
8: "swing",
}

View File

@ -9,7 +9,7 @@
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"issue_tracker": "https://github.com/Andre0512/hon/issues", "issue_tracker": "https://github.com/Andre0512/hon/issues",
"requirements": [ "requirements": [
"pyhOn==0.15.8" "pyhOn==0.15.9"
], ],
"version": "0.10.0-beta.1" "version": "0.10.1-beta.1"
} }

View File

@ -140,6 +140,20 @@ SELECTS: dict[str, tuple[SelectEntityDescription, ...]] = {
translation_key="eco_pilot", translation_key="eco_pilot",
option_list=const.AC_HUMAN_SENSE, option_list=const.AC_HUMAN_SENSE,
), ),
HonSelectEntityDescription(
key="settings.windDirectionHorizontal",
name="Fan Direction Horizontal",
icon="mdi:fan",
translation_key="fan_horizontal",
option_list=const.AC_POSITION_HORIZONTAL,
),
HonSelectEntityDescription(
key="settings.windDirectionVertical",
name="Fan Direction Vertical",
icon="mdi:fan",
translation_key="fan_vertical",
option_list=const.AC_POSITION_VERTICAL,
),
), ),
"REF": ( "REF": (
HonConfigSelectEntityDescription( HonConfigSelectEntityDescription(

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Úroveň znečištění" "name": "Úroveň znečištění"
},
"fan_horizontal": {
"name": "Směr proudu vzduchu Vodorovný",
"state": {
"position_1": "Pevný - Poloha 1",
"position_2": "Pevný - Poloha 2",
"position_3": "Pevný - Poloha 3",
"position_4": "Pevný - Poloha 4",
"position_5": "Pevný - Poloha 5",
"swing": "Pohyb lamel"
}
},
"fan_vertical": {
"name": "Směr proudu vzduchu Svislý",
"state": {
"position_1": "Pevný - Poloha 1",
"position_2": "Pevný - Poloha 2",
"position_3": "Pevný - Poloha 3",
"position_4": "Pevný - Poloha 4",
"position_5": "Pevný - Poloha 5",
"swing": "Pohyb lamel"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Grad der Verschmutzung" "name": "Grad der Verschmutzung"
},
"fan_horizontal": {
"name": "Richtung des Gebläses Horizontal",
"state": {
"position_1": "Fest - Position 1",
"position_2": "Fest - Position 2",
"position_3": "Fest - Position 3",
"position_4": "Fest - Position 4",
"position_5": "Fest - Position 5",
"swing": "Schwenkbewegung"
}
},
"fan_vertical": {
"name": "Richtung des Gebläses Vertikal",
"state": {
"position_1": "Fest - Position 1",
"position_2": "Fest - Position 2",
"position_3": "Fest - Position 3",
"position_4": "Fest - Position 4",
"position_5": "Fest - Position 5",
"swing": "Schwenkbewegung"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Επίπεδο λεκέδων" "name": "Επίπεδο λεκέδων"
},
"fan_horizontal": {
"name": "Κατεύθυνση ανεμιστήρα Οριζόντιος",
"state": {
"position_1": "Σταθερός - Θέση 1",
"position_2": "Σταθερός - Θέση 2",
"position_3": "Σταθερός - Θέση 3",
"position_4": "Σταθερός - Θέση 4",
"position_5": "Σταθερός - Θέση 5",
"swing": "Ταλάντευση"
}
},
"fan_vertical": {
"name": "Κατεύθυνση ανεμιστήρα Κατακόρυφος",
"state": {
"position_1": "Σταθερός - Θέση 1",
"position_2": "Σταθερός - Θέση 2",
"position_3": "Σταθερός - Θέση 3",
"position_4": "Σταθερός - Θέση 4",
"position_5": "Σταθερός - Θέση 5",
"swing": "Ταλάντευση"
}
} }
}, },
"switch": { "switch": {

View File

@ -1793,6 +1793,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Stain level" "name": "Stain level"
},
"fan_horizontal": {
"name": "Fan direction Horizontal",
"state": {
"position_1": "Fixed - Position 1",
"position_2": "Fixed - Position 2",
"position_3": "Fixed - Position 3",
"position_4": "Fixed - Position 4",
"position_5": "Fixed - Position 5",
"swing": "Swing"
}
},
"fan_vertical": {
"name": "Fan direction Vertical",
"state": {
"position_1": "Fixed - Position 1",
"position_2": "Fixed - Position 2",
"position_3": "Fixed - Position 3",
"position_4": "Fixed - Position 4",
"position_5": "Fixed - Position 5",
"swing": "Swing"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Nivel de manchas" "name": "Nivel de manchas"
},
"fan_horizontal": {
"name": "Dirección del ventilador Horizontal",
"state": {
"position_1": "Fijo - Posición 1",
"position_2": "Fijo - Posición 2",
"position_3": "Fijo - Posición 3",
"position_4": "Fijo - Posición 4",
"position_5": "Fijo - Posición 5",
"swing": "Oscilar"
}
},
"fan_vertical": {
"name": "Dirección del ventilador Vertical",
"state": {
"position_1": "Fijo - Posición 1",
"position_2": "Fijo - Posición 2",
"position_3": "Fijo - Posición 3",
"position_4": "Fijo - Posición 4",
"position_5": "Fijo - Posición 5",
"swing": "Oscilar"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Niveau de salissure" "name": "Niveau de salissure"
},
"fan_horizontal": {
"name": "Direction du ventilateur Horizontale",
"state": {
"position_1": "Fixe - Position 1",
"position_2": "Fixe - Position 2",
"position_3": "Fixe - Position 3",
"position_4": "Fixe - Position 4",
"position_5": "Fixe - Position 5",
"swing": "Oscillation"
}
},
"fan_vertical": {
"name": "Direction du ventilateur Verticale",
"state": {
"position_1": "Fixe - Position 1",
"position_2": "Fixe - Position 2",
"position_3": "Fixe - Position 3",
"position_4": "Fixe - Position 4",
"position_5": "Fixe - Position 5",
"swing": "Oscillation"
}
} }
}, },
"switch": { "switch": {

View File

@ -829,6 +829,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Stain level" "name": "Stain level"
},
"fan_horizontal": {
"name": "Fan direction Horizontal",
"state": {
"position_1": "Fixed - Position 1",
"position_2": "Fixed - Position 2",
"position_3": "Fixed - Position 3",
"position_4": "Fixed - Position 4",
"position_5": "Fixed - Position 5",
"swing": "Swing"
}
},
"fan_vertical": {
"name": "Fan direction Vertical",
"state": {
"position_1": "Fixed - Position 1",
"position_2": "Fixed - Position 2",
"position_3": "Fixed - Position 3",
"position_4": "Fixed - Position 4",
"position_5": "Fixed - Position 5",
"swing": "Swing"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Razina mrlja" "name": "Razina mrlja"
},
"fan_horizontal": {
"name": "Smjer ventilatora Vodoravno",
"state": {
"position_1": "Fiksno - Položaj 1",
"position_2": "Fiksno - Položaj 2",
"position_3": "Fiksno - Položaj 3",
"position_4": "Fiksno - Položaj 4",
"position_5": "Fiksno - Položaj 5",
"swing": "Njihanje"
}
},
"fan_vertical": {
"name": "Smjer ventilatora Okomito",
"state": {
"position_1": "Fiksno - Položaj 1",
"position_2": "Fiksno - Položaj 2",
"position_3": "Fiksno - Položaj 3",
"position_4": "Fiksno - Položaj 4",
"position_5": "Fiksno - Položaj 5",
"swing": "Njihanje"
}
} }
}, },
"switch": { "switch": {

View File

@ -1773,6 +1773,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Livello di sporco" "name": "Livello di sporco"
},
"fan_horizontal": {
"name": "Direzione ventola Orizzontale",
"state": {
"position_1": "Fissa - Posizione 1",
"position_2": "Fissa - Posizione 2",
"position_3": "Fissa - Posizione 3",
"position_4": "Fissa - Posizione 4",
"position_5": "Fissa - Posizione 5",
"swing": "Swing"
}
},
"fan_vertical": {
"name": "Direzione ventola Verticale",
"state": {
"position_1": "Fissa - Posizione 1",
"position_2": "Fissa - Posizione 2",
"position_3": "Fissa - Posizione 3",
"position_4": "Fissa - Posizione 4",
"position_5": "Fissa - Posizione 5",
"swing": "Swing"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Vlekniveau" "name": "Vlekniveau"
},
"fan_horizontal": {
"name": "Ventilatorrichting Horizontaal",
"state": {
"position_1": "Vast - Positie 1",
"position_2": "Vast - Positie 2",
"position_3": "Vast - Positie 3",
"position_4": "Vast - Positie 4",
"position_5": "Vast - Positie 5",
"swing": "Draaiend"
}
},
"fan_vertical": {
"name": "Ventilatorrichting Verticaal",
"state": {
"position_1": "Vast - Positie 1",
"position_2": "Vast - Positie 2",
"position_3": "Vast - Positie 3",
"position_4": "Vast - Positie 4",
"position_5": "Vast - Positie 5",
"swing": "Draaiend"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Stopień zabrudzenia" "name": "Stopień zabrudzenia"
},
"fan_horizontal": {
"name": "Kierunek wentylatora Poziomy",
"state": {
"position_1": "Stały - Pozycja 1",
"position_2": "Stały - Pozycja 2",
"position_3": "Stały - Pozycja 3",
"position_4": "Stały - Pozycja 4",
"position_5": "Stały - Pozycja 5",
"swing": "Swing"
}
},
"fan_vertical": {
"name": "Kierunek wentylatora Pionowy",
"state": {
"position_1": "Stały - Pozycja 1",
"position_2": "Stały - Pozycja 2",
"position_3": "Stały - Pozycja 3",
"position_4": "Stały - Pozycja 4",
"position_5": "Stały - Pozycja 5",
"swing": "Swing"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Nível da nódoa" "name": "Nível da nódoa"
},
"fan_horizontal": {
"name": "Direção do ventilador Horizontal",
"state": {
"position_1": "Fixa - Posição 1",
"position_2": "Fixa - Posição 2",
"position_3": "Fixa - Posição 3",
"position_4": "Fixa - Posição 4",
"position_5": "Fixa - Posição 5",
"swing": "Oscilação"
}
},
"fan_vertical": {
"name": "Direção do ventilador Vertical",
"state": {
"position_1": "Fixa - Posição 1",
"position_2": "Fixa - Posição 2",
"position_3": "Fixa - Posição 3",
"position_4": "Fixa - Posição 4",
"position_5": "Fixa - Posição 5",
"swing": "Oscilação"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Nivelul de pătare" "name": "Nivelul de pătare"
},
"fan_horizontal": {
"name": "Direcția ventilatorului Orizontal",
"state": {
"position_1": "Fix - Poziție 1",
"position_2": "Fix - Poziție 2",
"position_3": "Fix - Poziție 3",
"position_4": "Fix - Poziție 4",
"position_5": "Fix - Poziție 5",
"swing": "Baleiere"
}
},
"fan_vertical": {
"name": "Direcția ventilatorului Vertical",
"state": {
"position_1": "Fix - Poziție 1",
"position_2": "Fix - Poziție 2",
"position_3": "Fix - Poziție 3",
"position_4": "Fix - Poziție 4",
"position_5": "Fix - Poziție 5",
"swing": "Baleiere"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Уровень загрязнения" "name": "Уровень загрязнения"
},
"fan_horizontal": {
"name": "Направление вентилятора Горизонтальное",
"state": {
"position_1": "Фиксированное - Позиция 1",
"position_2": "Фиксированное - Позиция 2",
"position_3": "Фиксированное - Позиция 3",
"position_4": "Фиксированное - Позиция 4",
"position_5": "Фиксированное - Позиция 5",
"swing": "Качание"
}
},
"fan_vertical": {
"name": "Направление вентилятора Вертикальное",
"state": {
"position_1": "Фиксированное - Позиция 1",
"position_2": "Фиксированное - Позиция 2",
"position_3": "Фиксированное - Позиция 3",
"position_4": "Фиксированное - Позиция 4",
"position_5": "Фиксированное - Позиция 5",
"swing": "Качание"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Úroveň škvŕn" "name": "Úroveň škvŕn"
},
"fan_horizontal": {
"name": "Smer ventilátora Horizontálny",
"state": {
"position_1": "Pevný - Poloha 1",
"position_2": "Pevný - Poloha 2",
"position_3": "Pevný - Poloha 3",
"position_4": "Pevný - Poloha 4",
"position_5": "Pevný - Poloha 5",
"swing": "Otáčanie"
}
},
"fan_vertical": {
"name": "Smer ventilátora Vertikálny",
"state": {
"position_1": "Pevný - Poloha 1",
"position_2": "Pevný - Poloha 2",
"position_3": "Pevný - Poloha 3",
"position_4": "Pevný - Poloha 4",
"position_5": "Pevný - Poloha 5",
"swing": "Otáčanie"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Stopnja madežev" "name": "Stopnja madežev"
},
"fan_horizontal": {
"name": "Smer ventilatorja Vodoravno",
"state": {
"position_1": "Fiksno - Položaj 1",
"position_2": "Fiksno - Položaj 2",
"position_3": "Fiksno - Položaj 3",
"position_4": "Fiksno - Položaj 4",
"position_5": "Fiksno - Položaj 5",
"swing": "Nihanje"
}
},
"fan_vertical": {
"name": "Smer ventilatorja Navpično",
"state": {
"position_1": "Fiksno - Položaj 1",
"position_2": "Fiksno - Položaj 2",
"position_3": "Fiksno - Položaj 3",
"position_4": "Fiksno - Položaj 4",
"position_5": "Fiksno - Položaj 5",
"swing": "Nihanje"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Nivo mrlje" "name": "Nivo mrlje"
},
"fan_horizontal": {
"name": "Pravac duvanja ventilatora Horizontalan",
"state": {
"position_1": "Fiksiran - Položaj 1",
"position_2": "Fiksiran - Položaj 2",
"position_3": "Fiksiran - Položaj 3",
"position_4": "Fiksiran - Položaj 4",
"position_5": "Fiksiran - Položaj 5",
"swing": "Njihanje"
}
},
"fan_vertical": {
"name": "Pravac duvanja ventilatora Vertikalan",
"state": {
"position_1": "Fiksiran - Položaj 1",
"position_2": "Fiksiran - Položaj 2",
"position_3": "Fiksiran - Položaj 3",
"position_4": "Fiksiran - Položaj 4",
"position_5": "Fiksiran - Položaj 5",
"swing": "Njihanje"
}
} }
}, },
"switch": { "switch": {

View File

@ -1764,6 +1764,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "Leke seviyesi" "name": "Leke seviyesi"
},
"fan_horizontal": {
"name": "Fan yönü Yatay",
"state": {
"position_1": "Sabit - Pozisyon 1",
"position_2": "Sabit - Pozisyon 2",
"position_3": "Sabit - Pozisyon 3",
"position_4": "Sabit - Pozisyon 4",
"position_5": "Sabit - Pozisyon 5",
"swing": "Salınım"
}
},
"fan_vertical": {
"name": "Fan yönü Dikey",
"state": {
"position_1": "Sabit - Pozisyon 1",
"position_2": "Sabit - Pozisyon 2",
"position_3": "Sabit - Pozisyon 3",
"position_4": "Sabit - Pozisyon 4",
"position_5": "Sabit - Pozisyon 5",
"swing": "Salınım"
}
} }
}, },
"switch": { "switch": {

View File

@ -1750,6 +1750,28 @@
"unknown": "unknown" "unknown": "unknown"
}, },
"name": "污渍水平" "name": "污渍水平"
},
"fan_horizontal": {
"name": "风扇方向 水平",
"state": {
"position_1": "固定 - 位置 1",
"position_2": "固定 - 位置 2",
"position_3": "固定 - 位置 3",
"position_4": "固定 - 位置 4",
"position_5": "固定 - 位置 5",
"swing": "摆动"
}
},
"fan_vertical": {
"name": "风扇方向 垂直",
"state": {
"position_1": "固定 - 位置 1",
"position_2": "固定 - 位置 2",
"position_3": "固定 - 位置 3",
"position_4": "固定 - 位置 4",
"position_5": "固定 - 位置 5",
"swing": "摆动"
}
} }
}, },
"switch": { "switch": {

71
info.md
View File

@ -11,8 +11,8 @@ Home Assistant integration for [Haier's mobile app hOn](https://hon-smarthome.co
[![Supported Languages](https://img.shields.io/badge/Languages-19-royalblue)](https://github.com/Andre0512/hon#supported-languages) [![Supported Languages](https://img.shields.io/badge/Languages-19-royalblue)](https://github.com/Andre0512/hon#supported-languages)
[![Supported Appliances](https://img.shields.io/badge/Appliances-11-forestgreen)](https://github.com/Andre0512/hon#supported-appliances) [![Supported Appliances](https://img.shields.io/badge/Appliances-11-forestgreen)](https://github.com/Andre0512/hon#supported-appliances)
[![Supported Models](https://img.shields.io/badge/Models-72-yellowgreen)](https://github.com/Andre0512/hon#supported-models) [![Supported Models](https://img.shields.io/badge/Models-74-yellowgreen)](https://github.com/Andre0512/hon#supported-models)
[![Supported Entities](https://img.shields.io/badge/Entities-241-crimson)](https://github.com/Andre0512/hon#appliance-features) [![Supported Entities](https://img.shields.io/badge/Entities-315-crimson)](https://github.com/Andre0512/hon#appliance-features)
## Supported Appliances ## Supported Appliances
- [Washing Machine](https://github.com/Andre0512/hon#washing-machine) - [Washing Machine](https://github.com/Andre0512/hon#washing-machine)
@ -34,18 +34,66 @@ Home Assistant integration for [Haier's mobile app hOn](https://hon-smarthome.co
**Method 2**: Settings > Devices & Services > Add Integration > **Haier hOn** **Method 2**: Settings > Devices & Services > Add Integration > **Haier hOn**
_If the integration is not in the list, you need to clear the browser cache._ _If the integration is not in the list, you need to clear the browser cache._
## Examples
_Click to expand..._
<details>
<summary>Washing Machine</summary>
![Washing Machine](assets/example_wm.png)
</details>
<details>
<summary>Tumble Dryer</summary>
![Tumble Dryer](assets/example_td.png)
</details>
<details>
<summary>Washer Dryer</summary>
![Washer Dryer](assets/example_wd.png)
</details>
<details>
<summary>Oven</summary>
![Oven](assets/example_ov.png)
</details>
<details>
<summary>Dish Washer</summary>
![Dish Washer](assets/example_dw.png)
</details>
<details>
<summary>Air conditioner</summary>
![Air conditioner](assets/example_ac.png)
</details>
<details>
<summary>Fridge</summary>
![Fridge](assets/example_ref.png)
</details>
<details>
<summary>Wine Cellar</summary>
![Wine Cellar](assets/example_wc.png)
</details>
<details>
<summary>Air Purifier</summary>
![Air Purifier](assets/example_ap.png)
</details>
## Supported Models ## Supported Models
Support has been confirmed for these **72 models**, but many more will work. Please add already supported devices [with this form to complete the list](https://forms.gle/bTSD8qFotdZFytbf8). Support has been confirmed for these **74 models**, but many more will work. Please add already supported devices [with this form to complete the list](https://forms.gle/bTSD8qFotdZFytbf8).
| | **Haier** | **Hoover** | **Candy** | | | **Haier** | **Hoover** | **Candy** |
|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| |---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|
| **Washing Machine** | HW80-B14959TU1DE <br/> HW80-B14959TU1IT <br/> HW80-B14979TU1 <br/> HW90-B14TEAM5 <br/> HW90G-BD14979UD <br/> HW100-B14959U1 <br/> HW110-14979 | H-WASH 500 <br/> H7W4 48MBC-S <br/> HLWPS495TAMBE-11 <br/> HW 410AMBCB/1-80 <br/> HWE 49AMBS/1-S | CO4 107T1/2-07 <br/> CBWO49TWME-S <br/> RO14126DWMST-S <br/> RO441286DWMC4-07 <br/> HW 68AMC/1-80 <br/> HWPD 69AMBC/1-S | | **Washing Machine** | HW80-B14959TU1DE <br/> HW80-B14959TU1IT <br/> HW80-B14979TU1 <br/> HW90-B14TEAM5 <br/> HW90-B14959S8U1 <br/> HW90G-BD14979UD <br/> HW100-B14959U1 <br/> HW110-14979 | H7W4 48MBC-S <br/> HLWPS495TAMBE-11 <br/> HW 410AMBCB/1-80 <br/> HW 411AMBCB/1-80 <br/> HWE 49AMBS/1-S | CO4 107T1/2-07 <br/> CBWO49TWME-S <br/> RO14126DWMST-S <br/> RO441286DWMC4-07 <br/> HW 68AMC/1-80 <br/> HWPD 69AMBC/1-S |
| **Tumble Dryer** | HD80-A3959 <br/> HD90-A3TEAM5 <br/> HD90-A2959 | H-DRY 500 <br/> H9A3TCBEXS-S <br/> HLE C10DCE-80 <br/> H5WPB447AMBC/1-S <br/> NDE H10A2TCE-80 <br/> NDE H9A2TSBEXS-S <br/> NDPHY10A2TCBEXSS | BCTDH7A1TE <br/> CSOE C10DE-80 <br/> ROE H9A3TCEX-S <br/> ROE H10A2TCE-07 | | **Tumble Dryer** | HD80-A3959 <br/> HD90-A3TEAM5 <br/> HD90-A2959 <br/> HD90-A2959S | H9A3TCBEXS-S <br/> HLE9A2TCE-80 <br/> HLE C10DCE-80 <br/> H5WPB447AMBC/1-S <br/> NDE H10A2TCE-80 <br/> NDE H9A2TSBEXS-S <br/> NDPHY10A2TCBEXSS | BCTDH7A1TE <br/> CSOE C10DE-80 <br/> ROE H9A3TCEX-S <br/> ROE H10A2TCE-07 |
| **Washer Dryer** | HWD80-B14979U1 <br/> HWD100-B14979 <br/> HWD100-B14978 | HD 485AMBB/1-S <br/> HD 495AMC/1-S <br/> HD 4106AMC/1-80 <br/> HDQ 496AMBS/1-S <br/> HWPS4954DAMR-11 | RPW41066BWMR/1-S | | **Washer Dryer** | HWD80-B14979U1 <br/> HWD100-B14979 <br/> HWD100-B14978 | HD 485AMBB/1-S <br/> HD 495AMC/1-S <br/> HD 4106AMC/1-80 <br/> HDQ 496AMBS/1-S <br/> HWPS4954DAMR-11 | RPW41066BWMR/1-S |
| **Oven** | HWO60SM2F3XH | HSOT3161WG | | | **Oven** | HWO60SM2F3XH | HSOT3161WG | |
| **Dish Washer** | XIB 3B2SFS-80 <br/> XIB 6B2D3FB | HFB 6B2S3FX | | | **Dish Washer** | XIB 3B2SFS-80 <br/> XIB 6B2D3FB | HFB 6B2S3FX | |
| **Air Conditioner** | AD105S2SM3FA <br/> AS09TS4HRA-M <br/> AS20HPL1HRA <br/> AS25PBAHRA <br/> AS25S2SF1FA-WH <br/> AS25TADHRA-2 <br/> AS25TEDHRA(M1) <br/> AS35PBAHRA <br/> AS35S2SF1FA-WH <br/> AS35S2SF2FA-3 <br/> AS35TADHRA-2 <br/> AS35TAMHRA-C <br/> AS35TEDHRA(M1) | | CY-12TAIN | | **Air Conditioner** | AD105S2SM3FA <br/> AS09TS4HRA-M <br/> AS25PBAHRA <br/> AS25S2SF1FA-WH <br/> AS25TADHRA-2 <br/> AS25TEDHRA(M1) <br/> AS35PBAHRA <br/> AS35S2SF1FA-WH <br/> AS35S2SF2FA-3 <br/> AS35TADHRA-2 <br/> AS35TAMHRA-C <br/> AS35TEDHRA(M1) | | CY-12TAIN |
| **Fridge** | HFW7720ENMB <br/> HFW7819EWMP | | CCE4T620EWU <br/> CCE4T618EW | | **Fridge** | HFW7720ENMB <br/> HFW7819EWMP <br/> HSW59F18EIPT | | CCE4T620EWU <br/> CCE4T618EW |
| **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI | | **Hob** | HA2MTSJ68MC | | CIS633SCTTWIFI |
| **Hood** | HADG6DS46BWIFI | | | | **Hood** | HADG6DS46BWIFI | | |
| **Wine Cellar** | HWS247FDU1 | | | | **Wine Cellar** | HWS247FDU1 | | |
@ -88,14 +136,9 @@ The apps on this (incomplete) list have been requested so far:
| Haier Uhome | China | :x: | [banto6/haier](https://github.com/banto6/haier) | | Haier Uhome | China | :x: | [banto6/haier](https://github.com/banto6/haier) |
| Haier U+ | China | :x: | | | Haier U+ | China | :x: | |
| GE SmartHQ | North America | :x: | [simbaja/ha_gehome](https://github.com/simbaja/ha_gehome) | | GE SmartHQ | North America | :x: | [simbaja/ha_gehome](https://github.com/simbaja/ha_gehome) |
| Haier Evo | Russia | :x: | |
## Examples
### Washing Machine
![washing_machine.png](assets/washing_machine.png)
## Contribute ## Contribute
Want to help us to support more appliances? Or add more sensors? Or help with translating? Or beautify some icons or captions? Want to help us to support more appliances? Or add more sensors? Or help with translating? Or beautify some icons or captions?
Check out the [project on GitHub](https://github.com/Andre0512/hon), every contribution is welcome! Check out the [project on GitHub](https://github.com/Andre0512/hon), every contribution is welcome!

View File

@ -85,6 +85,40 @@ AC_HUMAN_SENSE = {
"unknown": "unknown", "unknown": "unknown",
} }
AC_POSITIONS = {
"position_1": [
"AC.PROGRAM_DETAIL.FAN_MODE_FIXED",
"-",
"AC.PROGRAM_DETAIL.POSITION",
"1",
],
"position_2": [
"AC.PROGRAM_DETAIL.FAN_MODE_FIXED",
"-",
"AC.PROGRAM_DETAIL.POSITION",
"2",
],
"position_3": [
"AC.PROGRAM_DETAIL.FAN_MODE_FIXED",
"-",
"AC.PROGRAM_DETAIL.POSITION",
"3",
],
"position_4": [
"AC.PROGRAM_DETAIL.FAN_MODE_FIXED",
"-",
"AC.PROGRAM_DETAIL.POSITION",
"4",
],
"position_5": [
"AC.PROGRAM_DETAIL.FAN_MODE_FIXED",
"-",
"AC.PROGRAM_DETAIL.POSITION",
"5",
],
"swing": "AC.PROGRAM_DETAIL.FAN_MODE_SWING",
}
AP_MACH_MODE = { AP_MACH_MODE = {
"standby": "AP.RUNNING_MODE.STANDBY", "standby": "AP.RUNNING_MODE.STANDBY",
"sleep": "AP.RUNNING_MODE.SLEEP", "sleep": "AP.RUNNING_MODE.SLEEP",
@ -178,6 +212,8 @@ SELECT = {
"diffuser": AP_DIFFUSER_LEVEL, "diffuser": AP_DIFFUSER_LEVEL,
"dirt_level": DIRTY_LEVEL, "dirt_level": DIRTY_LEVEL,
"stain_type": STAINS, "stain_type": STAINS,
"fan_horizontal": AC_POSITIONS,
"fan_vertical": AC_POSITIONS,
} }
PROGRAMS = { PROGRAMS = {
@ -344,6 +380,14 @@ NAMES = {
"steam_level": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.STEAM_LEVEL", "steam_level": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.STEAM_LEVEL",
"dirt_level": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.DIRTY_LEVEL", "dirt_level": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.DIRTY_LEVEL",
"stain_type": "STAIN_TYPE_LIST.STAINS.STAIN_LEVEL", "stain_type": "STAIN_TYPE_LIST.STAINS.STAIN_LEVEL",
"fan_horizontal": [
"AC.PROGRAM_DETAIL.FAN_DIRECTION",
"AC.PROGRAM_DETAIL.FAN_DIRECTION_HORIZONTAL",
],
"fan_vertical": [
"AC.PROGRAM_DETAIL.FAN_DIRECTION",
"AC.PROGRAM_DETAIL.FAN_DIRECTION_VERTICAL",
],
}, },
"sensor": { "sensor": {
"dry_levels": "WASHING_CMD&CTRL.DRAWER_CYCLE_DRYING.TAB_LEVEL", "dry_levels": "WASHING_CMD&CTRL.DRAWER_CYCLE_DRYING.TAB_LEVEL",