[miio] Improve Airpurifiers (#9756)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel 2021-01-16 10:07:19 +01:00 committed by GitHub
parent cc70f5609a
commit c426d6de79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1408 additions and 703 deletions

View File

@ -193,8 +193,8 @@ Currently the miio binding supports more than 250 different models.
| Mi Air Purifier 2 | miio:basic | [zhimi.airpurifier.m2](#zhimi-airpurifier-m2) | Yes | | | Mi Air Purifier 2 | miio:basic | [zhimi.airpurifier.m2](#zhimi-airpurifier-m2) | Yes | |
| Mi Air Purifier 2S | miio:basic | [zhimi.airpurifier.ma1](#zhimi-airpurifier-ma1) | Yes | | | Mi Air Purifier 2S | miio:basic | [zhimi.airpurifier.ma1](#zhimi-airpurifier-ma1) | Yes | |
| Mi Air Purifier 2S | miio:basic | [zhimi.airpurifier.ma2](#zhimi-airpurifier-ma2) | Yes | | | Mi Air Purifier 2S | miio:basic | [zhimi.airpurifier.ma2](#zhimi-airpurifier-ma2) | Yes | |
| Mi Air Purifier 3 | miio:basic | [zhimi.airpurifier.ma4](#zhimi-airpurifier-ma4) | Yes | | | Mi Air Purifier 3 | miio:basic | [zhimi.airpurifier.ma4](#zhimi-airpurifier-ma4) | Yes | Identified manual actions for execution<br />`action{"did":"filter-reset-filter-life","siid":4,"aiid":1,"in":[]}`<br />`action{"did":"button-toggle","siid":8,"aiid":1,"in":[]}`<br />`action{"did":"button-toggle-mode","siid":8,"aiid":2,"in":[]}`<br />Please test and feedback if they are working to they can be linked to a channel.<br />Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Mi Air Purifier 3/3H | miio:basic | [zhimi.airpurifier.mb3](#zhimi-airpurifier-mb3) | Yes | | | Mi Air Purifier 3/3H | miio:basic | [zhimi.airpurifier.mb3](#zhimi-airpurifier-mb3) | Yes | Identified manual actions for execution<br />`action{"did":"filter-reset-filter-life","siid":4,"aiid":1,"in":[]}`<br />`action{"did":"button-toggle","siid":8,"aiid":1,"in":[]}`<br />`action{"did":"button-toggle-mode","siid":8,"aiid":2,"in":[]}`<br />Please test and feedback if they are working to they can be linked to a channel.<br />Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Mi Air Purifier Super | miio:basic | [zhimi.airpurifier.sa1](#zhimi-airpurifier-sa1) | Yes | | | Mi Air Purifier Super | miio:basic | [zhimi.airpurifier.sa1](#zhimi-airpurifier-sa1) | Yes | |
| Mi Air Purifier MAX / MAX Pro | miio:basic | [zhimi.airpurifier.sa2](#zhimi-airpurifier-sa2) | Yes | | | Mi Air Purifier MAX / MAX Pro | miio:basic | [zhimi.airpurifier.sa2](#zhimi-airpurifier-sa2) | Yes | |
| Mi Fresh Air Ventilator | miio:basic | [dmaker.airfresh.t2017](#dmaker-airfresh-t2017) | Yes | | | Mi Fresh Air Ventilator | miio:basic | [dmaker.airfresh.t2017](#dmaker-airfresh-t2017) | Yes | |
@ -596,7 +596,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -607,9 +607,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier v2 (<a name="zhimi-airpurifier-v2">zhimi.airpurifier.v2</a>) Channels ### Mi Air Purifier v2 (<a name="zhimi-airpurifier-v2">zhimi.airpurifier.v2</a>) Channels
@ -617,7 +617,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -628,9 +628,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier v3 (<a name="zhimi-airpurifier-v3">zhimi.airpurifier.v3</a>) Channels ### Mi Air Purifier v3 (<a name="zhimi-airpurifier-v3">zhimi.airpurifier.v3</a>) Channels
@ -638,7 +638,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -649,9 +649,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier v5 (<a name="zhimi-airpurifier-v5">zhimi.airpurifier.v5</a>) Channels ### Mi Air Purifier v5 (<a name="zhimi-airpurifier-v5">zhimi.airpurifier.v5</a>) Channels
@ -659,7 +659,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -670,9 +670,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier Pro v6 (<a name="zhimi-airpurifier-v6">zhimi.airpurifier.v6</a>) Channels ### Mi Air Purifier Pro v6 (<a name="zhimi-airpurifier-v6">zhimi.airpurifier.v6</a>) Channels
@ -722,7 +722,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -733,9 +733,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier 2 (<a name="zhimi-airpurifier-m2">zhimi.airpurifier.m2</a>) Channels ### Mi Air Purifier 2 (<a name="zhimi-airpurifier-m2">zhimi.airpurifier.m2</a>) Channels
@ -743,7 +743,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -754,9 +754,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier 2S (<a name="zhimi-airpurifier-ma1">zhimi.airpurifier.ma1</a>) Channels ### Mi Air Purifier 2S (<a name="zhimi-airpurifier-ma1">zhimi.airpurifier.ma1</a>) Channels
@ -764,7 +764,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -775,9 +775,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier 2S (<a name="zhimi-airpurifier-ma2">zhimi.airpurifier.ma2</a>) Channels ### Mi Air Purifier 2S (<a name="zhimi-airpurifier-ma2">zhimi.airpurifier.ma2</a>) Channels
@ -805,127 +805,119 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| Fault | Number | Air Purifier-Device Fault | | | fault | Number | Air Purifier - Device Fault | Value mapping ["0"="No faults","1"="m1_run","2"="m1_stuck","3"="no_sensor","4"="error_hum","5"="error_temp"] |
| On | Switch | Air Purifier-Switch Status | | | on | Switch | Air Purifier - Switch Status | |
| FanLevel | Number | Air Purifier-Fan Level | | | fan-level | Number | Air Purifier - Fan Level | Value mapping ["1"="Level1","2"="Level2","3"="Level3"] |
| Mode | Number | Air Purifier-Mode | | | mode | Number | Air Purifier - Mode | Value mapping ["0"="Auto","1"="Sleep","2"="Favorite","3"="None"] |
| FirmwareRevision | String | Device Information-Current Firmware Version | | | pm2.5-density | Number | Environment - Pm2 5 Density | |
| Manufacturer | String | Device Information-Device Manufacturer | | | relative-humidity | Number:Dimensionless | Environment - Relative Humidity | |
| Model | String | Device Information-Device Model | | | temperature | Number:Temperature | Environment - Temperature | |
| SerialNumber | String | Device Information-Device Serial Number | | | filter-life-level | Number:Dimensionless | Filter - Filter Life Level | |
| Pm25Density | Number | Environment-PM2.5 Density | | | filter-used-time | Number:Time | Filter - Filter Used Time | |
| RelativeHumidity | Number | Environment-Relative Humidity | | | alarm | Switch | Alarm - Alarm | |
| Temperature | Number | Environment-Temperature | | | brightness | Number:Dimensionless | Indicator Light - Brightness | Value mapping ["0"="brightest","1"="glimmer","2"="led_closed"] |
| FilterLifeLevel | Number | Filter-Filter Life Level | | | on1 | Switch | Indicator Light - Switch Status | |
| FilterUsedTime | String | Filter-Filter Used Time | | | physical-controls-locked | Switch | Physical Control Locked - Physical Control Locked | |
| Alarm | Switch | Alarm-Alarm | | | button-pressed | String | Button - Button_pressed | |
| Brightness | Number | Indicator Light-Brightness | | | filter-max-time | Number:Time | Filter Time - Filter Max Time | |
| On1 | Switch | Indicator Light-Switch Status | | | filter-hour-used-debug | Number | Filter Time - Filter Hour Used Debug | |
| PhysicalControlsLocked | Switch | Physical Control Locked-Physical Control Locked | | | m1-strong | Number | Motor Speed - M1 Strong | |
| ButtonPressed | String | button-button_pressed | | | m1-high | Number | Motor Speed - M1 High | |
| FilterMaxTime | Number | filter-time-filter-max-time | | | m1-med | Number | Motor Speed - M1 Med | |
| FilterHourUsedDebug | Number | filter-time-filter-hour-used-debug | | | m1-med-l | Number | Motor Speed - M1 Med L | |
| M1Strong | Number | motor-speed-m1-strong | | | m1-low | Number | Motor Speed - M1 Low | |
| M1High | Number | motor-speed-m1-high | | | m1-silent | Number | Motor Speed - M1 Silent | |
| M1Med | Number | motor-speed-m1-med | | | m1-favorite | Number | Motor Speed - M1 Favorite | |
| M1MedL | Number | motor-speed-m1-med-l | | | motor1-speed | Number | Motor Speed - Motor1 Speed | |
| M1Low | Number | motor-speed-m1-low | | | motor1-set-speed | Number | Motor Speed - Motor1 Set Speed | |
| M1Silent | Number | motor-speed-m1-silent | | | favorite-fan-level | Number | Motor Speed - Favorite Fan Level | |
| M1Favorite | Number | motor-speed-m1-favorite | | | use-time | Number:Time | Use Time - Use Time | |
| Motor1Speed | Number | motor-speed-motor1-speed | | | purify-volume | Number:Volume | Aqi - Purify Volume | |
| Motor1SetSpeed | Number | motor-speed-motor1-set-speed | | | average-aqi | Number | Aqi - Average Aqi | |
| FavoriteFanLevel | Number | motor-speed-favorite fan level | | | average-aqi-cnt | Number | Aqi - Average Aqi Cnt | |
| UseTime | Number | use-time-use-time | | | aqi-zone | String | Aqi - Aqi Zone | |
| PurifyVolume | Number | aqi-purify-volume | | | sensor-state | String | Aqi - Sensor State | |
| AverageAqi | Number | aqi-average-aqi | | | aqi-goodh | Number | Aqi - Aqi Goodh | |
| AverageAqiCnt | Number | aqi-average-aqi-cnt | | | aqi-runstate | Number | Aqi - Aqi Runstate | Value mapping ["0"="continue","1"="hold","2"="sleep"] |
| AqiZone | String | aqi-aqi-zone | | | aqi-state | Number | Aqi - Aqi State | Value mapping ["0"="AQI_GOOD_L","1"="AQI_GOOD_H","2"="AQI_MID_L","3"="AQI_MID_H","4"="AQI_BAD_L","5"="AQI_BAD_H"] |
| SensorState | String | aqi-sensor-state | | | aqi-updata-heartbeat | Number | Aqi - Aqi Updata Heartbeat | |
| AqiGoodh | Number | aqi-aqi-goodh | | | rfid-tag | String | Rfid - Rfid Tag | |
| AqiRunstate | Number | aqi-aqi-runstate | | | rfid-factory-id | String | Rfid - Rfid Factory Id | |
| AqiState | Number | aqi-aqi-state | | | rfid-product-id | String | Rfid - Rfid Product Id | |
| AqiUpdataHeartbeat | Number | aqi-aqi-updata-heartbeat | | | rfid-time | String | Rfid - Rfid Time | |
| RfidTag | String | rfid-rfid-tag | | | rfid-serial-num | String | Rfid - Rfid Serial Num | |
| RfidFactoryId | String | rfid-rfid-factory-id | | | app-extra | Number | Others - App Extra | |
| RfidProductId | String | rfid-rfid-product-id | | | main-channel | Number | Others - Main Channel | |
| RfidTime | String | rfid-rfid-time | | | slave-channel | Number | Others - Slave Channel | |
| RfidSerialNum | String | rfid-rfid-serial-num | | | cola | String | Others - Cola | |
| AppExtra | Number | others-app-extra | | | buttom-door | Switch | Others - Buttom Door | |
| MainChannel | Number | others-main-channel | | | reboot-cause | Number | Others - Reboot_cause | Value mapping ["0"="REASON_HW_BOOT","1"="REASON_USER_REBOOT","2"="REASON_UPDATE","3"="REASON_WDT"] |
| SlaveChannel | Number | others-slave-channel | | | hw-version | Number | Others - Hw Version | |
| Cola | String | others-cola | | | i2c-error-count | Number | Others - I2c Error Count | |
| ButtomDoor | Switch | others-buttom-door | | | manual-level | Number | Others - Manual Level | Value mapping ["1"="Level1","2"="Level2","3"="Level3"] |
| RebootCause | Number | others-reboot_cause | |
| HwVersion | Number | others-hw-version | |
| I2cErrorCount | Number | others-i2c-error-count | |
| ManualLevel | Number | others-manual-level | |
### Mi Air Purifier 3/3H (<a name="zhimi-airpurifier-mb3">zhimi.airpurifier.mb3</a>) Channels ### Mi Air Purifier 3/3H (<a name="zhimi-airpurifier-mb3">zhimi.airpurifier.mb3</a>) Channels
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| Fault | Number | Air Purifier-fault | | | fault | Number | Air Purifier - Fault | Value mapping ["0"="No faults","1"="m1_run","2"="m1_stuck","3"="no_sensor","4"="error_hum","5"="error_temp"] |
| On | Switch | Air Purifier-Switch Status | | | on | Switch | Air Purifier - Switch Status | |
| FanLevel | Number | Air Purifier-Fan Level | | | fan-level | Number | Air Purifier - Fan Level | Value mapping ["1"="Level1","2"="Level2","3"="Level3"] |
| Mode | Number | Air Purifier-Mode | | | mode | Number | Air Purifier - Mode | Value mapping ["0"="Auto","1"="Sleep","2"="Favorite","3"="None"] |
| FirmwareRevision | String | Device Information-Current Firmware Version | | | pm2.5-density | Number | Environment - Pm2 5 | |
| Manufacturer | String | Device Information-Device Manufacturer | | | relative-humidity | Number:Dimensionless | Environment - Relative Humidity | |
| Model | String | Device Information-Device Model | | | temperature | Number:Temperature | Environment - Temperature | |
| SerialNumber | String | Device Information-Device Serial Number | | | filter-life-level | Number:Dimensionless | Filter - Filter Life Level | |
| Pm25Density | Number | Environment-PM2.5 | | | filter-used-time | Number:Time | Filter - Filter Used Time | |
| RelativeHumidity | Number | Environment-Relative Humidity | | | alarm | Switch | Alarm - Alarm | |
| Temperature | Number | Environment-Temperature | | | brightness | Number:Dimensionless | Indicator Light - Brightness | Value mapping ["0"="Brightest","1"="Glimmer","2"="Led Closed"] |
| FilterLifeLevel | Number | Filter-Filter Life Level | | | on1 | Switch | Indicator Light - Switch Status | |
| FilterUsedTime | String | Filter-Filter Used Time | | | physical-controls-locked | Switch | Physical Control Locked - Physical Control Locked | |
| Alarm | Switch | Alarm-Alarm | | | button-pressed | String | Button - Button Pressed | |
| Brightness | Number | Indicator Light-brightness | | | filter-max-time | Number | Filter Time - Filter Max Time | |
| On1 | Switch | Indicator Light-Switch Status | | | filter-hour-debug | Number | Filter Time - Filter Hour Debug | |
| PhysicalControlsLocked | Switch | Physical Control Locked-Physical Control Locked | | | motor-strong | Number | Motor Speed - Motor Strong | |
| ButtonPressed | String | Button-button-pressed | | | motor-high | Number | Motor Speed - Motor High | |
| FilterMaxTime | Number | filter-time-filter-max-time | | | motor-med | Number | Motor Speed - Motor Med | |
| FilterHourDebug | Number | filter-time-filter-hour-debug | | | motor-med-l | Number | Motor Speed - Motor Med L | |
| MotorStrong | Number | motor-speed-motor-strong | | | motor-low | Number | Motor Speed - Motor Low | |
| MotorHigh | Number | motor-speed-motor-high | | | motor-silent | Number | Motor Speed - Motor Silent | |
| MotorMed | Number | motor-speed-motor-med | | | motor-favorite | Number | Motor Speed - Motor Favorite | |
| MotorMedL | Number | motor-speed-motor-med-l | | | motor-speed | Number | Motor Speed - Motor Speed | |
| MotorLow | Number | motor-speed-motor-low | | | motor-set-speed | Number | Motor Speed - Motor Set Speed | |
| MotorSilent | Number | motor-speed-motor-silent | | | favorite-fan-level | Number | Motor Speed - Favorite Fan Level | |
| MotorFavorite | Number | motor-speed-motor-favorite | | | use-time | Number:Time | Use Time - Use Time | |
| MotorSpeed | Number | motor-speed-motor-speed | | | purify-volume | Number:Volume | Aqi - Purify Volume | |
| MotorSetSpeed | Number | motor-speed-motor-set-speed | | | average-aqi | Number | Aqi - Average Aqi | |
| FavoriteFanLevel | Number | motor-speed-favorite-fan-level | | | average-aqi-cnt | Number | Aqi - Average Aqi Cnt | |
| UseTime | Number | use-time-use-time | | | aqi-zone | String | Aqi - Aqi Zone | |
| PurifyVolume | Number | aqi-purify-volume | | | sensor-state | String | Aqi - Sensor State | |
| AverageAqi | Number | aqi-average-aqi | | | aqi-goodh | Number | Aqi - Aqi Goodh | |
| AverageAqiCnt | Number | aqi-average-aqi-cnt | | | aqi-runstate | Number | Aqi - Aqi Runstate | Value mapping ["0"="continuous sampling","1"="preparing sampling","2"="stop sampling"] |
| AqiZone | String | aqi-aqi-zone | | | aqi-state | Number | Aqi - Aqi State | Value mapping ["0"="best","1"="good","2"="normal","3"="bad","4"="worse","5"="unhealthy"] |
| SensorState | String | aqi-sensor-state | | | aqi-updata-heartbeat | Number | Aqi - Aqi Updata Heartbeat | |
| AqiGoodh | Number | aqi-aqi-goodh | | | rfid-tag | String | Rfid - Rfid Tag | |
| AqiRunstate | Number | aqi-aqi-runstate | | | rfid-factory-id | String | Rfid - Rfid Factory Id | |
| AqiState | Number | aqi-aqi-state | | | rfid-product-id | String | Rfid - Rfid Product Id | |
| AqiUpdataHeartbeat | Number | aqi-aqi-updata-heartbeat | | | rfid-time | String | Rfid - Rfid Time | |
| RfidTag | String | rfid-rfid-tag | | | rfid-serial-num | String | Rfid - Rfid Serial Num | |
| RfidFactoryId | String | rfid-rfid-factory-id | | | app-extra | Number | Others - App Extra | |
| RfidProductId | String | rfid-rfid-product-id | | | main-channel | Number | Others - Main Channel | |
| RfidTime | String | rfid-rfid-time | | | slave-channel | Number | Others - Slave Channel | |
| RfidSerialNum | String | rfid-rfid-serial-num | | | cola | String | Others - Cola | |
| AppExtra | Number | others-app-extra | | | buttom-door | Switch | Others - Buttom Door | |
| MainChannel | Number | others-main-channel | | | reboot-cause | Number | Others - Reboot Cause | Value mapping ["0"="hardware reboot","1"="software reboot","2"="update reboot","3"="dog reboot"] |
| SlaveChannel | Number | others-slave-channel | | | hw-version | Number | Others - Hw Version | |
| Cola | String | others-cola | | | iic-error-count | Number | Others - Iic Error Count | |
| ButtomDoor | Switch | others-buttom-door | | | manual-level | Number | Others - Manual Level | Value mapping ["1"="Level1","2"="Level2","3"="Level3"] |
| RebootCause | Number | others-reboot-cause | | | country-code | Number | Others - National Code | Value mapping ["91"="印度","44"="分销英文","852"="中国香港","886"="中国台湾","82"="韩国"] |
| HwVersion | Number | others-hw-version | |
| IicErrorCount | Number | others-iic-error-count | |
| ManualLevel | Number | others-manual-level | |
| CountryCode | Number | others-National code | |
### Mi Air Purifier Super (<a name="zhimi-airpurifier-sa1">zhimi.airpurifier.sa1</a>) Channels ### Mi Air Purifier Super (<a name="zhimi-airpurifier-sa1">zhimi.airpurifier.sa1</a>) Channels
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -936,9 +928,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier MAX / MAX Pro (<a name="zhimi-airpurifier-sa2">zhimi.airpurifier.sa2</a>) Channels ### Mi Air Purifier MAX / MAX Pro (<a name="zhimi-airpurifier-sa2">zhimi.airpurifier.sa2</a>) Channels
@ -946,7 +938,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -957,9 +949,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Fresh Air Ventilator (<a name="dmaker-airfresh-t2017">dmaker.airfresh.t2017</a>) Channels ### Mi Fresh Air Ventilator (<a name="dmaker-airfresh-t2017">dmaker.airfresh.t2017</a>) Channels
@ -1094,7 +1086,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -1105,9 +1097,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier 2S (<a name="zhimi-airpurifier-mc1">zhimi.airpurifier.mc1</a>) Channels ### Mi Air Purifier 2S (<a name="zhimi-airpurifier-mc1">zhimi.airpurifier.mc1</a>) Channels
@ -1115,7 +1107,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -1126,9 +1118,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Air Purifier 2H (<a name="zhimi-airpurifier-mc2">zhimi.airpurifier.mc2</a>) Channels ### Mi Air Purifier 2H (<a name="zhimi-airpurifier-mc2">zhimi.airpurifier.mc2</a>) Channels
@ -1136,7 +1128,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| Channel | Type | Description | Comment | | Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------| |------------------|---------|-------------------------------------|------------|
| power | Switch | Power | | | power | Switch | Power | |
| mode | String | Mode | | | mode | String | Mode | Value mapping ["auto"="Auto","favorite"="Favorite","silent"="Silent","high"="High","medium"="Medium","idle"="Idle","strong"="Strong"] |
| humidity | Number:Dimensionless | Humidity | | | humidity | Number:Dimensionless | Humidity | |
| aqi | Number | Air Quality Index | | | aqi | Number | Air Quality Index | |
| averageaqi | Number | Average Air Quality Index | | | averageaqi | Number | Average Air Quality Index | |
@ -1147,9 +1139,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
| usedhours | Number:Time | Run Time | | | usedhours | Number:Time | Run Time | |
| motorspeed | Number | Motor Speed | | | motorspeed | Number | Motor Speed | |
| filterlife | Number | Filter Life | | | filterlife | Number | Filter Life | |
| favoritelevel | Number | Favorite Level | | | favoritelevel | Number | Favorite Level | Value mapping ["0"="Favorite 0","1"="Favorite 1","2"="Favorite 2","3"="Favorite 3","4"="Favorite 4","5"="Favorite 5","6"="Favorite 6","7"="Favorite 7","8"="Favorite 8","9"="Favorite 9","10"="Favorite 10","11"="Favorite 11","12"="Favorite 13","13"="Favorite 13","14"="Favorite 14","15"="Favorite 15"] |
| temperature | Number:Temperature | Temperature | | | temperature | Number:Temperature | Temperature | |
| purifyvolume | Number | Purivied Volume | | | purifyvolume | Number:Volume | Purified Volume | |
| childlock | Switch | Child Lock | | | childlock | Switch | Child Lock | |
### Mi Smart Fan (<a name="zhimi-fan-v1">zhimi.fan.v1</a>) Channels ### Mi Smart Fan (<a name="zhimi-fan-v1">zhimi.fan.v1</a>) Channels
@ -4349,7 +4341,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4373,7 +4365,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4397,7 +4389,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4421,7 +4413,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4493,7 +4485,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4517,7 +4509,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4541,7 +4533,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4575,60 +4567,56 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo
```java ```java
Group G_airpurifier "Mi Air Purifier 3" <status> Group G_airpurifier "Mi Air Purifier 3" <status>
Number Fault "Air Purifier-Device Fault" (G_airpurifier) {channel="miio:basic:airpurifier:Fault"} Number fault "Air Purifier - Device Fault" (G_airpurifier) {channel="miio:basic:airpurifier:fault"}
Switch On "Air Purifier-Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:On"} Switch on "Air Purifier - Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:on"}
Number FanLevel "Air Purifier-Fan Level" (G_airpurifier) {channel="miio:basic:airpurifier:FanLevel"} Number fan-level "Air Purifier - Fan Level" (G_airpurifier) {channel="miio:basic:airpurifier:fan-level"}
Number Mode "Air Purifier-Mode" (G_airpurifier) {channel="miio:basic:airpurifier:Mode"} Number mode "Air Purifier - Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"}
String FirmwareRevision "Device Information-Current Firmware Version" (G_airpurifier) {channel="miio:basic:airpurifier:FirmwareRevision"} Number pm2.5-density "Environment - Pm2 5 Density" (G_airpurifier) {channel="miio:basic:airpurifier:pm2.5-density"}
String Manufacturer "Device Information-Device Manufacturer" (G_airpurifier) {channel="miio:basic:airpurifier:Manufacturer"} Number:Dimensionless relative-humidity "Environment - Relative Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:relative-humidity"}
String Model "Device Information-Device Model" (G_airpurifier) {channel="miio:basic:airpurifier:Model"} Number:Temperature temperature "Environment - Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
String SerialNumber "Device Information-Device Serial Number" (G_airpurifier) {channel="miio:basic:airpurifier:SerialNumber"} Number:Dimensionless filter-life-level "Filter - Filter Life Level" (G_airpurifier) {channel="miio:basic:airpurifier:filter-life-level"}
Number Pm25Density "Environment-PM2.5 Density" (G_airpurifier) {channel="miio:basic:airpurifier:Pm25Density"} Number:Time filter-used-time "Filter - Filter Used Time" (G_airpurifier) {channel="miio:basic:airpurifier:filter-used-time"}
Number RelativeHumidity "Environment-Relative Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:RelativeHumidity"} Switch alarm "Alarm - Alarm" (G_airpurifier) {channel="miio:basic:airpurifier:alarm"}
Number Temperature "Environment-Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:Temperature"} Number:Dimensionless brightness "Indicator Light - Brightness" (G_airpurifier) {channel="miio:basic:airpurifier:brightness"}
Number FilterLifeLevel "Filter-Filter Life Level" (G_airpurifier) {channel="miio:basic:airpurifier:FilterLifeLevel"} Switch on1 "Indicator Light - Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:on1"}
String FilterUsedTime "Filter-Filter Used Time" (G_airpurifier) {channel="miio:basic:airpurifier:FilterUsedTime"} Switch physical-controls-locked "Physical Control Locked - Physical Control Locked" (G_airpurifier) {channel="miio:basic:airpurifier:physical-controls-locked"}
Switch Alarm "Alarm-Alarm" (G_airpurifier) {channel="miio:basic:airpurifier:Alarm"} String button-pressed "Button - Button_pressed" (G_airpurifier) {channel="miio:basic:airpurifier:button-pressed"}
Number Brightness "Indicator Light-Brightness" (G_airpurifier) {channel="miio:basic:airpurifier:Brightness"} Number:Time filter-max-time "Filter Time - Filter Max Time" (G_airpurifier) {channel="miio:basic:airpurifier:filter-max-time"}
Switch On1 "Indicator Light-Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:On1"} Number filter-hour-used-debug "Filter Time - Filter Hour Used Debug" (G_airpurifier) {channel="miio:basic:airpurifier:filter-hour-used-debug"}
Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" (G_airpurifier) {channel="miio:basic:airpurifier:PhysicalControlsLocked"} Number m1-strong "Motor Speed - M1 Strong" (G_airpurifier) {channel="miio:basic:airpurifier:m1-strong"}
String ButtonPressed "button-button_pressed" (G_airpurifier) {channel="miio:basic:airpurifier:ButtonPressed"} Number m1-high "Motor Speed - M1 High" (G_airpurifier) {channel="miio:basic:airpurifier:m1-high"}
Number FilterMaxTime "filter-time-filter-max-time" (G_airpurifier) {channel="miio:basic:airpurifier:FilterMaxTime"} Number m1-med "Motor Speed - M1 Med" (G_airpurifier) {channel="miio:basic:airpurifier:m1-med"}
Number FilterHourUsedDebug "filter-time-filter-hour-used-debug" (G_airpurifier) {channel="miio:basic:airpurifier:FilterHourUsedDebug"} Number m1-med-l "Motor Speed - M1 Med L" (G_airpurifier) {channel="miio:basic:airpurifier:m1-med-l"}
Number M1Strong "motor-speed-m1-strong" (G_airpurifier) {channel="miio:basic:airpurifier:M1Strong"} Number m1-low "Motor Speed - M1 Low" (G_airpurifier) {channel="miio:basic:airpurifier:m1-low"}
Number M1High "motor-speed-m1-high" (G_airpurifier) {channel="miio:basic:airpurifier:M1High"} Number m1-silent "Motor Speed - M1 Silent" (G_airpurifier) {channel="miio:basic:airpurifier:m1-silent"}
Number M1Med "motor-speed-m1-med" (G_airpurifier) {channel="miio:basic:airpurifier:M1Med"} Number m1-favorite "Motor Speed - M1 Favorite" (G_airpurifier) {channel="miio:basic:airpurifier:m1-favorite"}
Number M1MedL "motor-speed-m1-med-l" (G_airpurifier) {channel="miio:basic:airpurifier:M1MedL"} Number motor1-speed "Motor Speed - Motor1 Speed" (G_airpurifier) {channel="miio:basic:airpurifier:motor1-speed"}
Number M1Low "motor-speed-m1-low" (G_airpurifier) {channel="miio:basic:airpurifier:M1Low"} Number motor1-set-speed "Motor Speed - Motor1 Set Speed" (G_airpurifier) {channel="miio:basic:airpurifier:motor1-set-speed"}
Number M1Silent "motor-speed-m1-silent" (G_airpurifier) {channel="miio:basic:airpurifier:M1Silent"} Number favorite-fan-level "Motor Speed - Favorite Fan Level" (G_airpurifier) {channel="miio:basic:airpurifier:favorite-fan-level"}
Number M1Favorite "motor-speed-m1-favorite" (G_airpurifier) {channel="miio:basic:airpurifier:M1Favorite"} Number:Time use-time "Use Time - Use Time" (G_airpurifier) {channel="miio:basic:airpurifier:use-time"}
Number Motor1Speed "motor-speed-motor1-speed" (G_airpurifier) {channel="miio:basic:airpurifier:Motor1Speed"} Number:Volume purify-volume "Aqi - Purify Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purify-volume"}
Number Motor1SetSpeed "motor-speed-motor1-set-speed" (G_airpurifier) {channel="miio:basic:airpurifier:Motor1SetSpeed"} Number average-aqi "Aqi - Average Aqi" (G_airpurifier) {channel="miio:basic:airpurifier:average-aqi"}
Number FavoriteFanLevel "motor-speed-favorite fan level" (G_airpurifier) {channel="miio:basic:airpurifier:FavoriteFanLevel"} Number average-aqi-cnt "Aqi - Average Aqi Cnt" (G_airpurifier) {channel="miio:basic:airpurifier:average-aqi-cnt"}
Number UseTime "use-time-use-time" (G_airpurifier) {channel="miio:basic:airpurifier:UseTime"} String aqi-zone "Aqi - Aqi Zone" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-zone"}
Number PurifyVolume "aqi-purify-volume" (G_airpurifier) {channel="miio:basic:airpurifier:PurifyVolume"} String sensor-state "Aqi - Sensor State" (G_airpurifier) {channel="miio:basic:airpurifier:sensor-state"}
Number AverageAqi "aqi-average-aqi" (G_airpurifier) {channel="miio:basic:airpurifier:AverageAqi"} Number aqi-goodh "Aqi - Aqi Goodh" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-goodh"}
Number AverageAqiCnt "aqi-average-aqi-cnt" (G_airpurifier) {channel="miio:basic:airpurifier:AverageAqiCnt"} Number aqi-runstate "Aqi - Aqi Runstate" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-runstate"}
String AqiZone "aqi-aqi-zone" (G_airpurifier) {channel="miio:basic:airpurifier:AqiZone"} Number aqi-state "Aqi - Aqi State" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-state"}
String SensorState "aqi-sensor-state" (G_airpurifier) {channel="miio:basic:airpurifier:SensorState"} Number aqi-updata-heartbeat "Aqi - Aqi Updata Heartbeat" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-updata-heartbeat"}
Number AqiGoodh "aqi-aqi-goodh" (G_airpurifier) {channel="miio:basic:airpurifier:AqiGoodh"} String rfid-tag "Rfid - Rfid Tag" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-tag"}
Number AqiRunstate "aqi-aqi-runstate" (G_airpurifier) {channel="miio:basic:airpurifier:AqiRunstate"} String rfid-factory-id "Rfid - Rfid Factory Id" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-factory-id"}
Number AqiState "aqi-aqi-state" (G_airpurifier) {channel="miio:basic:airpurifier:AqiState"} String rfid-product-id "Rfid - Rfid Product Id" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-product-id"}
Number AqiUpdataHeartbeat "aqi-aqi-updata-heartbeat" (G_airpurifier) {channel="miio:basic:airpurifier:AqiUpdataHeartbeat"} String rfid-time "Rfid - Rfid Time" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-time"}
String RfidTag "rfid-rfid-tag" (G_airpurifier) {channel="miio:basic:airpurifier:RfidTag"} String rfid-serial-num "Rfid - Rfid Serial Num" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-serial-num"}
String RfidFactoryId "rfid-rfid-factory-id" (G_airpurifier) {channel="miio:basic:airpurifier:RfidFactoryId"} Number app-extra "Others - App Extra" (G_airpurifier) {channel="miio:basic:airpurifier:app-extra"}
String RfidProductId "rfid-rfid-product-id" (G_airpurifier) {channel="miio:basic:airpurifier:RfidProductId"} Number main-channel "Others - Main Channel" (G_airpurifier) {channel="miio:basic:airpurifier:main-channel"}
String RfidTime "rfid-rfid-time" (G_airpurifier) {channel="miio:basic:airpurifier:RfidTime"} Number slave-channel "Others - Slave Channel" (G_airpurifier) {channel="miio:basic:airpurifier:slave-channel"}
String RfidSerialNum "rfid-rfid-serial-num" (G_airpurifier) {channel="miio:basic:airpurifier:RfidSerialNum"} String cola "Others - Cola" (G_airpurifier) {channel="miio:basic:airpurifier:cola"}
Number AppExtra "others-app-extra" (G_airpurifier) {channel="miio:basic:airpurifier:AppExtra"} Switch buttom-door "Others - Buttom Door" (G_airpurifier) {channel="miio:basic:airpurifier:buttom-door"}
Number MainChannel "others-main-channel" (G_airpurifier) {channel="miio:basic:airpurifier:MainChannel"} Number reboot-cause "Others - Reboot_cause" (G_airpurifier) {channel="miio:basic:airpurifier:reboot-cause"}
Number SlaveChannel "others-slave-channel" (G_airpurifier) {channel="miio:basic:airpurifier:SlaveChannel"} Number hw-version "Others - Hw Version" (G_airpurifier) {channel="miio:basic:airpurifier:hw-version"}
String Cola "others-cola" (G_airpurifier) {channel="miio:basic:airpurifier:Cola"} Number i2c-error-count "Others - I2c Error Count" (G_airpurifier) {channel="miio:basic:airpurifier:i2c-error-count"}
Switch ButtomDoor "others-buttom-door" (G_airpurifier) {channel="miio:basic:airpurifier:ButtomDoor"} Number manual-level "Others - Manual Level" (G_airpurifier) {channel="miio:basic:airpurifier:manual-level"}
Number RebootCause "others-reboot_cause" (G_airpurifier) {channel="miio:basic:airpurifier:RebootCause"}
Number HwVersion "others-hw-version" (G_airpurifier) {channel="miio:basic:airpurifier:HwVersion"}
Number I2cErrorCount "others-i2c-error-count" (G_airpurifier) {channel="miio:basic:airpurifier:I2cErrorCount"}
Number ManualLevel "others-manual-level" (G_airpurifier) {channel="miio:basic:airpurifier:ManualLevel"}
``` ```
### Mi Air Purifier 3/3H (zhimi.airpurifier.mb3) item file lines ### Mi Air Purifier 3/3H (zhimi.airpurifier.mb3) item file lines
@ -4637,61 +4625,57 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo
```java ```java
Group G_airpurifier "Mi Air Purifier 3/3H" <status> Group G_airpurifier "Mi Air Purifier 3/3H" <status>
Number Fault "Air Purifier-fault" (G_airpurifier) {channel="miio:basic:airpurifier:Fault"} Number fault "Air Purifier - Fault" (G_airpurifier) {channel="miio:basic:airpurifier:fault"}
Switch On "Air Purifier-Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:On"} Switch on "Air Purifier - Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:on"}
Number FanLevel "Air Purifier-Fan Level" (G_airpurifier) {channel="miio:basic:airpurifier:FanLevel"} Number fan-level "Air Purifier - Fan Level" (G_airpurifier) {channel="miio:basic:airpurifier:fan-level"}
Number Mode "Air Purifier-Mode" (G_airpurifier) {channel="miio:basic:airpurifier:Mode"} Number mode "Air Purifier - Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"}
String FirmwareRevision "Device Information-Current Firmware Version" (G_airpurifier) {channel="miio:basic:airpurifier:FirmwareRevision"} Number pm2.5-density "Environment - Pm2 5" (G_airpurifier) {channel="miio:basic:airpurifier:pm2.5-density"}
String Manufacturer "Device Information-Device Manufacturer" (G_airpurifier) {channel="miio:basic:airpurifier:Manufacturer"} Number:Dimensionless relative-humidity "Environment - Relative Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:relative-humidity"}
String Model "Device Information-Device Model" (G_airpurifier) {channel="miio:basic:airpurifier:Model"} Number:Temperature temperature "Environment - Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
String SerialNumber "Device Information-Device Serial Number" (G_airpurifier) {channel="miio:basic:airpurifier:SerialNumber"} Number:Dimensionless filter-life-level "Filter - Filter Life Level" (G_airpurifier) {channel="miio:basic:airpurifier:filter-life-level"}
Number Pm25Density "Environment-PM2.5" (G_airpurifier) {channel="miio:basic:airpurifier:Pm25Density"} Number:Time filter-used-time "Filter - Filter Used Time" (G_airpurifier) {channel="miio:basic:airpurifier:filter-used-time"}
Number RelativeHumidity "Environment-Relative Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:RelativeHumidity"} Switch alarm "Alarm - Alarm" (G_airpurifier) {channel="miio:basic:airpurifier:alarm"}
Number Temperature "Environment-Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:Temperature"} Number:Dimensionless brightness "Indicator Light - Brightness" (G_airpurifier) {channel="miio:basic:airpurifier:brightness"}
Number FilterLifeLevel "Filter-Filter Life Level" (G_airpurifier) {channel="miio:basic:airpurifier:FilterLifeLevel"} Switch on1 "Indicator Light - Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:on1"}
String FilterUsedTime "Filter-Filter Used Time" (G_airpurifier) {channel="miio:basic:airpurifier:FilterUsedTime"} Switch physical-controls-locked "Physical Control Locked - Physical Control Locked" (G_airpurifier) {channel="miio:basic:airpurifier:physical-controls-locked"}
Switch Alarm "Alarm-Alarm" (G_airpurifier) {channel="miio:basic:airpurifier:Alarm"} String button-pressed "Button - Button Pressed" (G_airpurifier) {channel="miio:basic:airpurifier:button-pressed"}
Number Brightness "Indicator Light-brightness" (G_airpurifier) {channel="miio:basic:airpurifier:Brightness"} Number filter-max-time "Filter Time - Filter Max Time" (G_airpurifier) {channel="miio:basic:airpurifier:filter-max-time"}
Switch On1 "Indicator Light-Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:On1"} Number filter-hour-debug "Filter Time - Filter Hour Debug" (G_airpurifier) {channel="miio:basic:airpurifier:filter-hour-debug"}
Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" (G_airpurifier) {channel="miio:basic:airpurifier:PhysicalControlsLocked"} Number motor-strong "Motor Speed - Motor Strong" (G_airpurifier) {channel="miio:basic:airpurifier:motor-strong"}
String ButtonPressed "Button-button-pressed" (G_airpurifier) {channel="miio:basic:airpurifier:ButtonPressed"} Number motor-high "Motor Speed - Motor High" (G_airpurifier) {channel="miio:basic:airpurifier:motor-high"}
Number FilterMaxTime "filter-time-filter-max-time" (G_airpurifier) {channel="miio:basic:airpurifier:FilterMaxTime"} Number motor-med "Motor Speed - Motor Med" (G_airpurifier) {channel="miio:basic:airpurifier:motor-med"}
Number FilterHourDebug "filter-time-filter-hour-debug" (G_airpurifier) {channel="miio:basic:airpurifier:FilterHourDebug"} Number motor-med-l "Motor Speed - Motor Med L" (G_airpurifier) {channel="miio:basic:airpurifier:motor-med-l"}
Number MotorStrong "motor-speed-motor-strong" (G_airpurifier) {channel="miio:basic:airpurifier:MotorStrong"} Number motor-low "Motor Speed - Motor Low" (G_airpurifier) {channel="miio:basic:airpurifier:motor-low"}
Number MotorHigh "motor-speed-motor-high" (G_airpurifier) {channel="miio:basic:airpurifier:MotorHigh"} Number motor-silent "Motor Speed - Motor Silent" (G_airpurifier) {channel="miio:basic:airpurifier:motor-silent"}
Number MotorMed "motor-speed-motor-med" (G_airpurifier) {channel="miio:basic:airpurifier:MotorMed"} Number motor-favorite "Motor Speed - Motor Favorite" (G_airpurifier) {channel="miio:basic:airpurifier:motor-favorite"}
Number MotorMedL "motor-speed-motor-med-l" (G_airpurifier) {channel="miio:basic:airpurifier:MotorMedL"} Number motor-speed "Motor Speed - Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier:motor-speed"}
Number MotorLow "motor-speed-motor-low" (G_airpurifier) {channel="miio:basic:airpurifier:MotorLow"} Number motor-set-speed "Motor Speed - Motor Set Speed" (G_airpurifier) {channel="miio:basic:airpurifier:motor-set-speed"}
Number MotorSilent "motor-speed-motor-silent" (G_airpurifier) {channel="miio:basic:airpurifier:MotorSilent"} Number favorite-fan-level "Motor Speed - Favorite Fan Level" (G_airpurifier) {channel="miio:basic:airpurifier:favorite-fan-level"}
Number MotorFavorite "motor-speed-motor-favorite" (G_airpurifier) {channel="miio:basic:airpurifier:MotorFavorite"} Number:Time use-time "Use Time - Use Time" (G_airpurifier) {channel="miio:basic:airpurifier:use-time"}
Number MotorSpeed "motor-speed-motor-speed" (G_airpurifier) {channel="miio:basic:airpurifier:MotorSpeed"} Number:Volume purify-volume "Aqi - Purify Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purify-volume"}
Number MotorSetSpeed "motor-speed-motor-set-speed" (G_airpurifier) {channel="miio:basic:airpurifier:MotorSetSpeed"} Number average-aqi "Aqi - Average Aqi" (G_airpurifier) {channel="miio:basic:airpurifier:average-aqi"}
Number FavoriteFanLevel "motor-speed-favorite-fan-level" (G_airpurifier) {channel="miio:basic:airpurifier:FavoriteFanLevel"} Number average-aqi-cnt "Aqi - Average Aqi Cnt" (G_airpurifier) {channel="miio:basic:airpurifier:average-aqi-cnt"}
Number UseTime "use-time-use-time" (G_airpurifier) {channel="miio:basic:airpurifier:UseTime"} String aqi-zone "Aqi - Aqi Zone" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-zone"}
Number PurifyVolume "aqi-purify-volume" (G_airpurifier) {channel="miio:basic:airpurifier:PurifyVolume"} String sensor-state "Aqi - Sensor State" (G_airpurifier) {channel="miio:basic:airpurifier:sensor-state"}
Number AverageAqi "aqi-average-aqi" (G_airpurifier) {channel="miio:basic:airpurifier:AverageAqi"} Number aqi-goodh "Aqi - Aqi Goodh" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-goodh"}
Number AverageAqiCnt "aqi-average-aqi-cnt" (G_airpurifier) {channel="miio:basic:airpurifier:AverageAqiCnt"} Number aqi-runstate "Aqi - Aqi Runstate" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-runstate"}
String AqiZone "aqi-aqi-zone" (G_airpurifier) {channel="miio:basic:airpurifier:AqiZone"} Number aqi-state "Aqi - Aqi State" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-state"}
String SensorState "aqi-sensor-state" (G_airpurifier) {channel="miio:basic:airpurifier:SensorState"} Number aqi-updata-heartbeat "Aqi - Aqi Updata Heartbeat" (G_airpurifier) {channel="miio:basic:airpurifier:aqi-updata-heartbeat"}
Number AqiGoodh "aqi-aqi-goodh" (G_airpurifier) {channel="miio:basic:airpurifier:AqiGoodh"} String rfid-tag "Rfid - Rfid Tag" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-tag"}
Number AqiRunstate "aqi-aqi-runstate" (G_airpurifier) {channel="miio:basic:airpurifier:AqiRunstate"} String rfid-factory-id "Rfid - Rfid Factory Id" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-factory-id"}
Number AqiState "aqi-aqi-state" (G_airpurifier) {channel="miio:basic:airpurifier:AqiState"} String rfid-product-id "Rfid - Rfid Product Id" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-product-id"}
Number AqiUpdataHeartbeat "aqi-aqi-updata-heartbeat" (G_airpurifier) {channel="miio:basic:airpurifier:AqiUpdataHeartbeat"} String rfid-time "Rfid - Rfid Time" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-time"}
String RfidTag "rfid-rfid-tag" (G_airpurifier) {channel="miio:basic:airpurifier:RfidTag"} String rfid-serial-num "Rfid - Rfid Serial Num" (G_airpurifier) {channel="miio:basic:airpurifier:rfid-serial-num"}
String RfidFactoryId "rfid-rfid-factory-id" (G_airpurifier) {channel="miio:basic:airpurifier:RfidFactoryId"} Number app-extra "Others - App Extra" (G_airpurifier) {channel="miio:basic:airpurifier:app-extra"}
String RfidProductId "rfid-rfid-product-id" (G_airpurifier) {channel="miio:basic:airpurifier:RfidProductId"} Number main-channel "Others - Main Channel" (G_airpurifier) {channel="miio:basic:airpurifier:main-channel"}
String RfidTime "rfid-rfid-time" (G_airpurifier) {channel="miio:basic:airpurifier:RfidTime"} Number slave-channel "Others - Slave Channel" (G_airpurifier) {channel="miio:basic:airpurifier:slave-channel"}
String RfidSerialNum "rfid-rfid-serial-num" (G_airpurifier) {channel="miio:basic:airpurifier:RfidSerialNum"} String cola "Others - Cola" (G_airpurifier) {channel="miio:basic:airpurifier:cola"}
Number AppExtra "others-app-extra" (G_airpurifier) {channel="miio:basic:airpurifier:AppExtra"} Switch buttom-door "Others - Buttom Door" (G_airpurifier) {channel="miio:basic:airpurifier:buttom-door"}
Number MainChannel "others-main-channel" (G_airpurifier) {channel="miio:basic:airpurifier:MainChannel"} Number reboot-cause "Others - Reboot Cause" (G_airpurifier) {channel="miio:basic:airpurifier:reboot-cause"}
Number SlaveChannel "others-slave-channel" (G_airpurifier) {channel="miio:basic:airpurifier:SlaveChannel"} Number hw-version "Others - Hw Version" (G_airpurifier) {channel="miio:basic:airpurifier:hw-version"}
String Cola "others-cola" (G_airpurifier) {channel="miio:basic:airpurifier:Cola"} Number iic-error-count "Others - Iic Error Count" (G_airpurifier) {channel="miio:basic:airpurifier:iic-error-count"}
Switch ButtomDoor "others-buttom-door" (G_airpurifier) {channel="miio:basic:airpurifier:ButtomDoor"} Number manual-level "Others - Manual Level" (G_airpurifier) {channel="miio:basic:airpurifier:manual-level"}
Number RebootCause "others-reboot-cause" (G_airpurifier) {channel="miio:basic:airpurifier:RebootCause"} Number country-code "Others - National Code" (G_airpurifier) {channel="miio:basic:airpurifier:country-code"}
Number HwVersion "others-hw-version" (G_airpurifier) {channel="miio:basic:airpurifier:HwVersion"}
Number IicErrorCount "others-iic-error-count" (G_airpurifier) {channel="miio:basic:airpurifier:IicErrorCount"}
Number ManualLevel "others-manual-level" (G_airpurifier) {channel="miio:basic:airpurifier:ManualLevel"}
Number CountryCode "others-National code" (G_airpurifier) {channel="miio:basic:airpurifier:CountryCode"}
``` ```
### Mi Air Purifier Super (zhimi.airpurifier.sa1) item file lines ### Mi Air Purifier Super (zhimi.airpurifier.sa1) item file lines
@ -4714,7 +4698,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4738,7 +4722,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4904,7 +4888,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4928,7 +4912,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```
@ -4952,7 +4936,7 @@ Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier
Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"}
Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"}
Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} Number:Temperature temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"}
Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Number:Volume purifyvolume "Purified Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"}
Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"}
``` ```

View File

@ -56,6 +56,8 @@ public enum MiIoQuantiyTypes {
PERCENT(Units.PERCENT), PERCENT(Units.PERCENT),
KGM3(Units.KILOGRAM_PER_CUBICMETRE, "kilogram_per_cubicmeter"), KGM3(Units.KILOGRAM_PER_CUBICMETRE, "kilogram_per_cubicmeter"),
UGM3(Units.MICROGRAM_PER_CUBICMETRE, "microgram_per_cubicmeter"), UGM3(Units.MICROGRAM_PER_CUBICMETRE, "microgram_per_cubicmeter"),
M3(SIUnits.CUBIC_METRE, "cubic_meter", "cubic_metre"),
LITER(Units.LITRE, "L", "litre"),
PPM(Units.PARTS_PER_MILLION, "parts_per_million"); PPM(Units.PARTS_PER_MILLION, "parts_per_million");
private final Unit<?> unit; private final Unit<?> unit;

View File

@ -39,8 +39,39 @@
"channel": "mode", "channel": "mode",
"channelType": "mode", "channelType": "mode",
"type": "String", "type": "String",
"stateDescription": {
"options": [
{
"value": "auto",
"label": "Auto"
},
{
"value": "favorite",
"label": "Favorite"
},
{
"value": "silent",
"label": "Silent"
},
{
"value": "high",
"label": "High"
},
{
"value": "medium",
"label": "Medium"
},
{
"value": "idle",
"label": "Idle"
},
{
"value": "strong",
"label": "Strong"
}
]
},
"refresh": true, "refresh": true,
"ChannelGroup": "actions",
"actions": [ "actions": [
{ {
"command": "set_mode", "command": "set_mode",
@ -49,7 +80,8 @@
], ],
"tags": [ "tags": [
"Control" "Control"
] ],
"readmeComment": "Value mapping [\"auto\"\u003d\"Auto\",\"favorite\"\u003d\"Favorite\",\"silent\"\u003d\"Silent\",\"high\"\u003d\"High\",\"medium\"\u003d\"Medium\",\"idle\"\u003d\"Idle\",\"strong\"\u003d\"Strong\"]"
}, },
{ {
"property": "humidity", "property": "humidity",
@ -181,16 +213,83 @@
"property": "favorite_level", "property": "favorite_level",
"friendlyName": "Favorite Level", "friendlyName": "Favorite Level",
"channel": "favoritelevel", "channel": "favoritelevel",
"channelType": "favoritelevel",
"type": "Number", "type": "Number",
"stateDescription": {
"options": [
{
"value": "0",
"label": "Favorite 0"
},
{
"value": "1",
"label": "Favorite 1"
},
{
"value": "2",
"label": "Favorite 2"
},
{
"value": "3",
"label": "Favorite 3"
},
{
"value": "4",
"label": "Favorite 4"
},
{
"value": "5",
"label": "Favorite 5"
},
{
"value": "6",
"label": "Favorite 6"
},
{
"value": "7",
"label": "Favorite 7"
},
{
"value": "8",
"label": "Favorite 8"
},
{
"value": "9",
"label": "Favorite 9"
},
{
"value": "10",
"label": "Favorite 10"
},
{
"value": "11",
"label": "Favorite 11"
},
{
"value": "12",
"label": "Favorite 13"
},
{
"value": "13",
"label": "Favorite 13"
},
{
"value": "14",
"label": "Favorite 14"
},
{
"value": "15",
"label": "Favorite 15"
}
]
},
"refresh": true, "refresh": true,
"ChannelGroup": "Status",
"actions": [ "actions": [
{ {
"command": "set_level_favorite", "command": "set_level_favorite",
"parameterType": "NUMBER" "parameterType": "NUMBER"
} }
] ],
"readmeComment": "Value mapping [\"0\"\u003d\"Favorite 0\",\"1\"\u003d\"Favorite 1\",\"2\"\u003d\"Favorite 2\",\"3\"\u003d\"Favorite 3\",\"4\"\u003d\"Favorite 4\",\"5\"\u003d\"Favorite 5\",\"6\"\u003d\"Favorite 6\",\"7\"\u003d\"Favorite 7\",\"8\"\u003d\"Favorite 8\",\"9\"\u003d\"Favorite 9\",\"10\"\u003d\"Favorite 10\",\"11\"\u003d\"Favorite 11\",\"12\"\u003d\"Favorite 13\",\"13\"\u003d\"Favorite 13\",\"14\"\u003d\"Favorite 14\",\"15\"\u003d\"Favorite 15\"]"
}, },
{ {
"property": "temp_dec", "property": "temp_dec",
@ -211,19 +310,23 @@
}, },
{ {
"property": "purify_volume", "property": "purify_volume",
"friendlyName": "Purivied Volume", "friendlyName": "Purified Volume",
"channel": "purifyvolume", "channel": "purifyvolume",
"channelType": "purifyvolume", "channelType": "purifyvolume",
"type": "Number", "type": "Number:Volume",
"unit": "liter",
"refresh": true, "refresh": true,
"ChannelGroup": "Status", "ChannelGroup": "Status",
"actions": [] "actions": [],
"tags": [
"Measurement",
"Volume"
]
}, },
{ {
"property": "child_lock", "property": "child_lock",
"friendlyName": "Child Lock", "friendlyName": "Child Lock",
"channel": "childlock", "channel": "childlock",
"channelType": "childlock",
"type": "Switch", "type": "Switch",
"refresh": true, "refresh": true,
"ChannelGroup": "Status", "ChannelGroup": "Status",