]> git.basschouten.com Git - openhab-addons.git/commitdiff
[miio] improve Mi Water Purifier 600G yunmi.waterpuri.lx8. (#9752)
authorMarcel <marcel@verpaalen.com>
Mon, 18 Jan 2021 18:56:58 +0000 (19:56 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Jan 2021 18:56:58 +0000 (10:56 -0800)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
bundles/org.openhab.binding.miio/README.md
bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json
bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.lx8.json [new file with mode: 0644]

index 13046f4297e43d1cc96dfbbd21b41d207397b277..6c5ef52ef758af728e5ad877119dbb9e65811a6f 100644 (file)
@@ -359,7 +359,7 @@ Currently the miio binding supports more than 250 different models.
 | Mi Water Purifier 1A/400G Pro | miio:basic       | [yunmi.waterpuri.lx5](#yunmi-waterpuri-lx5) | Yes       | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
 | Mi Water Purifier (Under Counter) | miio:basic       | [yunmi.waterpuri.lx6](#yunmi-waterpuri-lx6) | Yes       | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
 | Mi Water Purifier 500G/500G Pro | miio:basic       | [yunmi.waterpuri.lx7](#yunmi-waterpuri-lx7) | Yes       | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
-| Mi Water Purifier 600G       | miio:basic       | [yunmi.waterpuri.lx8](#yunmi-waterpuri-lx8) | Yes       | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
+| Mi Water Purifier 600G       | miio:basic       | [yunmi.waterpuri.lx8](#yunmi-waterpuri-lx8) | Yes       |            |
 | Mi Water Purifier D1         | miio:basic       | [yunmi.waterpuri.lx9](#yunmi-waterpuri-lx9) | Yes       | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
 | Mi Water Purifier lx10       | miio:basic       | [yunmi.waterpuri.lx10](#yunmi-waterpuri-lx10) | Yes       | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
 | Mi Water Purifier C1 (Triple Setting) | miio:basic       | [yunmi.waterpuri.lx11](#yunmi-waterpuri-lx11) | Yes       | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
@@ -2404,7 +2404,6 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2422,12 +2421,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier v2 (<a name="yunmi-waterpurifier-v2">yunmi.waterpurifier.v2</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2445,12 +2452,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier (Under sink) v3 (<a name="yunmi-waterpurifier-v3">yunmi.waterpurifier.v3</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2468,12 +2483,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier v4 (<a name="yunmi-waterpurifier-v4">yunmi.waterpurifier.v4</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2491,12 +2514,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier lx2 (<a name="yunmi-waterpuri-lx2">yunmi.waterpuri.lx2</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2514,12 +2545,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier (Under Counter) (<a name="yunmi-waterpuri-lx3">yunmi.waterpuri.lx3</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2537,12 +2576,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier lx4 (<a name="yunmi-waterpuri-lx4">yunmi.waterpuri.lx4</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2560,12 +2607,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier 1A/400G Pro (<a name="yunmi-waterpuri-lx5">yunmi.waterpuri.lx5</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2583,12 +2638,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier (Under Counter) (<a name="yunmi-waterpuri-lx6">yunmi.waterpuri.lx6</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2606,12 +2669,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier 500G/500G Pro (<a name="yunmi-waterpuri-lx7">yunmi.waterpuri.lx7</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2629,14 +2700,21 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier 600G (<a name="yunmi-waterpuri-lx8">yunmi.waterpuri.lx8</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
-| temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
 | tds_in           | Number  | TDS in                              |            |
 | tds_out          | Number  | TDS out                             |            |
@@ -2652,12 +2730,19 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier D1 (<a name="yunmi-waterpuri-lx9">yunmi.waterpuri.lx9</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2675,12 +2760,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier lx10 (<a name="yunmi-waterpuri-lx10">yunmi.waterpuri.lx10</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2698,12 +2791,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier C1 (Triple Setting) (<a name="yunmi-waterpuri-lx11">yunmi.waterpuri.lx11</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2721,12 +2822,20 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Water Purifier S1 (<a name="yunmi-waterpuri-lx12">yunmi.waterpuri.lx12</a>) Channels
 
 | Channel          | Type    | Description                         | Comment    |
 |------------------|---------|-------------------------------------|------------|
-| power            | Switch  | Power                               |            |
 | run_status       | Number  | Run Status                          |            |
 | temperature      | Number:Temperature | Temperature                         |            |
 | rinse            | Number  | Rinse                               |            |
@@ -2744,6 +2853,15 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
 | f3_totaltime     | Number  | Filter 3 Total Time                 |            |
 | f3_usedflow      | Number  | Filter 3 Used Flow                  |            |
 | f3_usedtime      | Number  | Filter 3 Used Time                  |            |
+| f4_totalflow     | Number  | Filter 4 Total Flow                 |            |
+| f4_totaltime     | Number  | Filter 4 Total Time                 |            |
+| f4_usedflow      | Number  | Filter 4 Used Flow                  |            |
+| f4_usedtime      | Number  | Filter 4 Used Time                  |            |
+| maintenance_state | Number  | Maintenance State                   |            |
+| maintenance_interval | Number  | Maintenance Interval                |            |
+| tds_warn_thd     | Number  | TDS Warn Threshold                  |            |
+| tds_out_avg      | Number  | Average TDS out                     |            |
+| lightMode        | Number  | Light Mode                          |            |
 
 ### Mi Inverter Air Conditioner (1.5HP) (<a name="xiaomi-aircondition-ma1">xiaomi.aircondition.ma1</a>) Channels
 
@@ -6496,7 +6614,6 @@ note: Autogenerated example. Replace the id (waterpurifier) in the channel with
 
 ```java
 Group G_waterpurifier "Mi Water Purifier v1" <status>
-Switch power "Power" (G_waterpurifier) {channel="miio:basic:waterpurifier:power"}
 Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"}
 Number rinse "Rinse" (G_waterpurifier) {channel="miio:basic:waterpurifier:rinse"}
@@ -6514,6 +6631,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpurifier) {channel="miio:basic
 Number f3_totaltime "Filter 3 Total Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpurifier) {channel="miio:basic:waterpurifier:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpurifier) {channel="miio:basic:waterpurifier:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpurifier) {channel="miio:basic:waterpurifier:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpurifier) {channel="miio:basic:waterpurifier:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifier:lightMode"}
 ```
 
 ### Mi Water Purifier v2 (yunmi.waterpurifier.v2) item file lines
@@ -6522,7 +6648,6 @@ note: Autogenerated example. Replace the id (waterpurifier) in the channel with
 
 ```java
 Group G_waterpurifier "Mi Water Purifier v2" <status>
-Switch power "Power" (G_waterpurifier) {channel="miio:basic:waterpurifier:power"}
 Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"}
 Number rinse "Rinse" (G_waterpurifier) {channel="miio:basic:waterpurifier:rinse"}
@@ -6540,6 +6665,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpurifier) {channel="miio:basic
 Number f3_totaltime "Filter 3 Total Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpurifier) {channel="miio:basic:waterpurifier:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpurifier) {channel="miio:basic:waterpurifier:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpurifier) {channel="miio:basic:waterpurifier:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpurifier) {channel="miio:basic:waterpurifier:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifier:lightMode"}
 ```
 
 ### Mi Water Purifier (Under sink) v3 (yunmi.waterpurifier.v3) item file lines
@@ -6548,7 +6682,6 @@ note: Autogenerated example. Replace the id (waterpurifier) in the channel with
 
 ```java
 Group G_waterpurifier "Mi Water Purifier (Under sink) v3" <status>
-Switch power "Power" (G_waterpurifier) {channel="miio:basic:waterpurifier:power"}
 Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"}
 Number rinse "Rinse" (G_waterpurifier) {channel="miio:basic:waterpurifier:rinse"}
@@ -6566,6 +6699,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpurifier) {channel="miio:basic
 Number f3_totaltime "Filter 3 Total Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpurifier) {channel="miio:basic:waterpurifier:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpurifier) {channel="miio:basic:waterpurifier:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpurifier) {channel="miio:basic:waterpurifier:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpurifier) {channel="miio:basic:waterpurifier:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifier:lightMode"}
 ```
 
 ### Mi Water Purifier v4 (yunmi.waterpurifier.v4) item file lines
@@ -6574,7 +6716,6 @@ note: Autogenerated example. Replace the id (waterpurifier) in the channel with
 
 ```java
 Group G_waterpurifier "Mi Water Purifier v4" <status>
-Switch power "Power" (G_waterpurifier) {channel="miio:basic:waterpurifier:power"}
 Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"}
 Number rinse "Rinse" (G_waterpurifier) {channel="miio:basic:waterpurifier:rinse"}
@@ -6592,6 +6733,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpurifier) {channel="miio:basic
 Number f3_totaltime "Filter 3 Total Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpurifier) {channel="miio:basic:waterpurifier:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpurifier) {channel="miio:basic:waterpurifier:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpurifier) {channel="miio:basic:waterpurifier:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpurifier) {channel="miio:basic:waterpurifier:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpurifier) {channel="miio:basic:waterpurifier:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifier:lightMode"}
 ```
 
 ### Mi Water Purifier lx2 (yunmi.waterpuri.lx2) item file lines
@@ -6600,7 +6750,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier lx2" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6618,6 +6767,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier (Under Counter) (yunmi.waterpuri.lx3) item file lines
@@ -6626,7 +6784,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier (Under Counter)" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6644,6 +6801,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier lx4 (yunmi.waterpuri.lx4) item file lines
@@ -6652,7 +6818,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier lx4" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6670,6 +6835,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier 1A/400G Pro (yunmi.waterpuri.lx5) item file lines
@@ -6678,7 +6852,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier 1A/400G Pro" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6696,6 +6869,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier (Under Counter) (yunmi.waterpuri.lx6) item file lines
@@ -6704,7 +6886,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier (Under Counter)" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6722,6 +6903,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier 500G/500G Pro (yunmi.waterpuri.lx7) item file lines
@@ -6730,7 +6920,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier 500G/500G Pro" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6748,6 +6937,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier 600G (yunmi.waterpuri.lx8) item file lines
@@ -6756,9 +6954,7 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier 600G" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
-Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
 Number tds_in "TDS in" (G_waterpuri) {channel="miio:basic:waterpuri:tds_in"}
 Number tds_out "TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out"}
@@ -6774,6 +6970,14 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier D1 (yunmi.waterpuri.lx9) item file lines
@@ -6782,7 +6986,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier D1" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6800,6 +7003,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier lx10 (yunmi.waterpuri.lx10) item file lines
@@ -6808,7 +7020,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier lx10" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6826,6 +7037,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier C1 (Triple Setting) (yunmi.waterpuri.lx11) item file lines
@@ -6834,7 +7054,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier C1 (Triple Setting)" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6852,6 +7071,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Water Purifier S1 (yunmi.waterpuri.lx12) item file lines
@@ -6860,7 +7088,6 @@ note: Autogenerated example. Replace the id (waterpuri) in the channel with your
 
 ```java
 Group G_waterpuri "Mi Water Purifier S1" <status>
-Switch power "Power" (G_waterpuri) {channel="miio:basic:waterpuri:power"}
 Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"}
 Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"}
 Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"}
@@ -6878,6 +7105,15 @@ Number f3_totalflow "Filter 3 Total Flow" (G_waterpuri) {channel="miio:basic:wat
 Number f3_totaltime "Filter 3 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_totaltime"}
 Number f3_usedflow "Filter 3 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedflow"}
 Number f3_usedtime "Filter 3 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f3_usedtime"}
+Number f4_totalflow "Filter 4 Total Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totalflow"}
+Number f4_totaltime "Filter 4 Total Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_totaltime"}
+Number f4_usedflow "Filter 4 Used Flow" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedflow"}
+Number f4_usedtime "Filter 4 Used Time" (G_waterpuri) {channel="miio:basic:waterpuri:f4_usedtime"}
+Number maintenance_state "Maintenance State" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_state"}
+Number maintenance_interval "Maintenance Interval" (G_waterpuri) {channel="miio:basic:waterpuri:maintenance_interval"}
+Number tds_warn_thd "TDS Warn Threshold" (G_waterpuri) {channel="miio:basic:waterpuri:tds_warn_thd"}
+Number tds_out_avg "Average TDS out" (G_waterpuri) {channel="miio:basic:waterpuri:tds_out_avg"}
+Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:lightMode"}
 ```
 
 ### Mi Inverter Air Conditioner (1.5HP) (xiaomi.aircondition.ma1) item file lines
index fb5823bfb542b6fdc2359db6491e7b7d3d658d18..8a13b9a14b7033a3b331a51c5c4101c14cc87cfb 100644 (file)
                        "yunmi.waterpuri.lx5",
                        "yunmi.waterpuri.lx6",
                        "yunmi.waterpuri.lx7",
-                       "yunmi.waterpuri.lx8",
                        "yunmi.waterpuri.lx9",
                        "yunmi.waterpuri.lx10",
                        "yunmi.waterpuri.lx11",
                        "yunmi.waterpuri.lx12"
                ],
                "channels": [
-                       {
-                               "property": "power",
-                               "friendlyName": "Power",
-                               "channel": "power",
-                               "channelType": "power",
-                               "type": "Switch",
-                               "refresh": true,
-                               "actions": [
-                                       {
-                                               "command": "set_power",
-                                               "parameterType": "ONOFF"
-                                       }
-                               ],
-                               "category": "switch",
-                               "tags": [
-                                       "Switch"
-                               ]
-                       },
                        {
                                "property": "run_status",
                                "friendlyName": "Run Status",
                                "type": "Number",
                                "refresh": true,
                                "actions": []
+                       },
+                       {
+                               "property": "f4_totalflow",
+                               "friendlyName": "Filter 4 Total Flow",
+                               "channel": "f4_totalflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f4_totaltime",
+                               "friendlyName": "Filter 4 Total Time",
+                               "channel": "f4_totaltime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f4_usedflow",
+                               "friendlyName": "Filter 4 Used Flow",
+                               "channel": "f4_usedflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f4_usedtime",
+                               "friendlyName": "Filter 4 Used Time",
+                               "channel": "f4_usedtime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "maintenance_state",
+                               "friendlyName": "Maintenance State",
+                               "channel": "maintenance_state",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "maintenance_interval",
+                               "friendlyName": "Maintenance Interval",
+                               "channel": "maintenance_interval",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "tds_warn_thd",
+                               "friendlyName": "TDS Warn Threshold",
+                               "channel": "tds_warn_thd",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": [
+                                       {
+                                               "command": "set_tds_warn_thd",
+                                               "parameterType": "NUMBER"
+                                       }
+                               ]
+                       },
+                       {
+                               "property": "tds_out_avg",
+                               "friendlyName": "Average TDS out",
+                               "channel": "tds_out_avg",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "lightMode",
+                               "friendlyName": "Light Mode",
+                               "channel": "lightMode",
+                               "type": "Number",
+                               "refresh": true,
+                               "stateDescription": {
+                                       "options": [
+                                               {
+                                                       "value": "0",
+                                                       "label": "Simple Mode"
+                                               },
+                                               {
+                                                       "value": "1",
+                                                       "label": "Special Mode"
+                                               }
+                                       ]
+                               },
+                               "actions": [
+                                       {
+                                               "command": "set_lightMode",
+                                               "parameterType": "STRING"
+                                       }
+                               ]
                        }
                ],
                "experimental": true
diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.lx8.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.lx8.json
new file mode 100644 (file)
index 0000000..12217c3
--- /dev/null
@@ -0,0 +1,224 @@
+{
+       "deviceMapping": {
+               "id": [
+                       "yunmi.waterpuri.lx8"
+               ],
+               "channels": [
+                       {
+                               "property": "run_status",
+                               "friendlyName": "Run Status",
+                               "channel": "run_status",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "rinse",
+                               "friendlyName": "Rinse",
+                               "channel": "rinse",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "tds_in",
+                               "friendlyName": "TDS in",
+                               "channel": "tds_in",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "tds_out",
+                               "friendlyName": "TDS out",
+                               "channel": "tds_out",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f1_totalflow",
+                               "friendlyName": "Filter 1 Total Flow",
+                               "channel": "f1_totalflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f1_totaltime",
+                               "friendlyName": "Filter 1 Total Time",
+                               "channel": "f1_totaltime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f1_usedflow",
+                               "friendlyName": "Filter 1 Used Flow",
+                               "channel": "f1_usedflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f1_usedtime",
+                               "friendlyName": "Filter 1 Used Time",
+                               "channel": "f1_usedtime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f2_totalflow",
+                               "friendlyName": "Filter 2 Total Flow",
+                               "channel": "f2_totalflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f2_totaltime",
+                               "friendlyName": "Filter 2 Total Time",
+                               "channel": "f2_totaltime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f2_usedflow",
+                               "friendlyName": "Filter 2 Used Flow",
+                               "channel": "f2_usedflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f2_usedtime",
+                               "friendlyName": "Filter 2 Used Time",
+                               "channel": "f2_usedtime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f3_totalflow",
+                               "friendlyName": "Filter 3 Total Flow",
+                               "channel": "f3_totalflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f3_totaltime",
+                               "friendlyName": "Filter 3 Total Time",
+                               "channel": "f3_totaltime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f3_usedflow",
+                               "friendlyName": "Filter 3 Used Flow",
+                               "channel": "f3_usedflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f3_usedtime",
+                               "friendlyName": "Filter 3 Used Time",
+                               "channel": "f3_usedtime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f4_totalflow",
+                               "friendlyName": "Filter 4 Total Flow",
+                               "channel": "f4_totalflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f4_totaltime",
+                               "friendlyName": "Filter 4 Total Time",
+                               "channel": "f4_totaltime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f4_usedflow",
+                               "friendlyName": "Filter 4 Used Flow",
+                               "channel": "f4_usedflow",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "f4_usedtime",
+                               "friendlyName": "Filter 4 Used Time",
+                               "channel": "f4_usedtime",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "maintenance_state",
+                               "friendlyName": "Maintenance State",
+                               "channel": "maintenance_state",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "maintenance_interval",
+                               "friendlyName": "Maintenance Interval",
+                               "channel": "maintenance_interval",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": []
+                       },
+                       {
+                               "property": "tds_warn_thd",
+                               "friendlyName": "TDS Warn Threshold",
+                               "channel": "tds_warn_thd",
+                               "type": "Number",
+                               "refresh": true,
+                               "actions": [
+                                       {
+                                               "command": "set_tds_warn_thd",
+                                               "parameterType": "NUMBER"
+                                       }
+                               ]
+                       },
+                       {
+                               "property": "lightMode",
+                               "friendlyName": "Light Mode",
+                               "channel": "lightMode",
+                               "type": "Number",
+                               "refresh": true,
+                               "stateDescription": {
+                                       "options": [
+                                               {
+                                                       "value": "0",
+                                                       "label": "Simple Mode"
+                                               },
+                                               {
+                                                       "value": "1",
+                                                       "label": "Special Mode"
+                                               }
+                                       ]
+                               },
+                               "actions": [
+                                       {
+                                               "command": "set_lightMode",
+                                               "parameterType": "STRING"
+                                       }
+                               ]
+                       }
+               ],
+               "experimental": false
+       }
+}