Skip to content

Commit

Permalink
1.0.6 version added Mi Roborock Vacuum Cleaner T6
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxmudjon committed Nov 9, 2019
1 parent 1132f6d commit 4e667ac
Show file tree
Hide file tree
Showing 13 changed files with 1,127 additions and 9 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Added support for Mi Gateways child devices.

## Version 1.0.5 - Supported devices:
## Version 1.0.6 - Supported devices:

### Zigbee subdevices Xiaomi Gateway

Expand Down Expand Up @@ -67,6 +67,7 @@ Added support for Mi Gateways child devices.
- Mi Air Quality Monitor (gen 2).
- Mi Vacuum Cleaner 1S.
- Mi Air Purifier (MJXFJ-300-G1).
- Mi Roborock Vacuum Cleaner T6.

![](https://raw.githubusercontent.com/Maxmudjon/images/master/DuplexButton86.jpg)
![](https://raw.githubusercontent.com/Maxmudjon/images/master/MiMotionSensor.jpg)
Expand Down Expand Up @@ -122,6 +123,10 @@ Added support for Mi Gateways child devices.

## Version logs

### 1.0.6 (10.11.2019)

1. added Mi Roborock Vacuum Cleaner T6.

### 1.0.5 (31.10.2019)

1. fix for Vacuum Cleaners.
Expand Down
193 changes: 185 additions & 8 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.maxmudjon.mihomey",
"version": "1.0.5",
"version": "1.0.6",
"compatibility": ">=1.5.0",
"sdk": 2,
"name": {
Expand Down Expand Up @@ -662,7 +662,7 @@
{
"name": "device",
"type": "device",
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s"
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s|mi_rockrobo_vacuum_t6"
}
]
},
Expand All @@ -675,7 +675,7 @@
{
"name": "device",
"type": "device",
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s"
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s|mi_rockrobo_vacuum_t6"
}
]
},
Expand All @@ -688,7 +688,7 @@
{
"name": "device",
"type": "device",
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s"
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s|mi_rockrobo_vacuum_t6"
}
]
},
Expand All @@ -701,7 +701,7 @@
{
"name": "device",
"type": "device",
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s"
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s|mi_rockrobo_vacuum_t6"
}
]
},
Expand All @@ -724,7 +724,7 @@
{
"name": "device",
"type": "device",
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s"
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s|mi_rockrobo_vacuum_t6"
}
]
}
Expand Down Expand Up @@ -1921,7 +1921,7 @@
{
"name": "device",
"type": "device",
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s"
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s|mi_rockrobo_vacuum_t6"
}
]
},
Expand All @@ -1948,7 +1948,7 @@
{
"name": "device",
"type": "device",
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s"
"filter": "driver_id=mi_rockrobo_vacuum_v1|mi_rockrobo_vacuum_s5|mi_robot_1s|mi_rockrobo_vacuum_t6"
}
]
},
Expand Down Expand Up @@ -9461,6 +9461,183 @@
}
]
},
{
"id": "mi_rockrobo_vacuum_t6",
"name": {
"en": "Mi Roborock Vacuum T6"
},
"class": "vacuumcleaner",
"capabilities": [
"onoff",
"onoff.findme",
"dim",
"vacuumcleaner_state",
"measure_battery",
"alarm_battery",
"alarm_main_brush_work_time",
"alarm_side_brush_work_time",
"alarm_filter_work_time",
"alarm_sensor_dirty_time",
"alarm_motion"
],
"capabilitiesOptions": {
"onoff": {
"title": {
"en": "Clean"
}
},
"onoff.findme": {
"title": {
"en": "Find me"
}
},
"dim": {
"title": {
"en": "Speed"
}
},
"alarm_motion": {
"title": {
"en": "Container Not Installed"
}
}
},
"settings": [
{
"type": "group",
"label": {
"en": "Mi Roborock Vacuum T6 settings"
},
"children": [
{
"id": "deviceIP",
"type": "text",
"value": "192.168.xxx.xxx",
"label": {
"en": "IP Address"
}
},
{
"id": "deviceToken",
"type": "text",
"value": "",
"label": {
"en": "Device Token"
}
},
{
"id": "updateTimer",
"type": "number",
"value": 60,
"attr": {
"min": 5,
"max": 3600
},
"label": {
"en": "Device update timer"
}
}
]
},
{
"type": "group",
"label": {
"en": "Vacuum life settings"
},
"children": [
{
"id": "alarm_threshold",
"type": "number",
"label": {
"en": "Alarm threshold"
},
"hint": {
"en": "Work time to (brush, filter) below which the alarm will be activated."
},
"value": 20,
"attr": {
"min": 1,
"max": 90
}
},
{
"id": "main_brush_work_time",
"type": "label",
"label": {
"en": "Main brush work time"
},
"value": "0%"
},
{
"id": "side_brush_work_time",
"type": "label",
"label": {
"en": "Side brush work time"
},
"value": "0%"
},
{
"id": "filter_work_time",
"type": "label",
"label": {
"en": "Filter work time"
},
"value": "0%"
},
{
"id": "sensor_dirty_time",
"type": "label",
"label": {
"en": "Sensor dirty time"
},
"value": "0%"
},
{
"id": "total_work_time",
"type": "label",
"label": {
"en": "Total work time"
},
"value": "0"
},
{
"id": "total_cleared_area",
"type": "label",
"label": {
"en": "Total cleared area"
},
"value": "0"
},
{
"id": "total_clean_count",
"type": "label",
"label": {
"en": "Total clean count"
},
"value": "0"
}
]
}
],
"images": {
"large": "/drivers/mi_rockrobo_vacuum_t6/assets/images/large.png",
"small": "/drivers/mi_rockrobo_vacuum_t6/assets/images/small.png"
},
"pair": [
{
"id": "xiaomi",
"navigation": {
"next": "done"
}
},
{
"id": "done",
"navigation": {
"prev": "xiaomi"
}
}
]
},
{
"id": "mi_humidifier_v1",
"name": {
Expand Down
68 changes: 68 additions & 0 deletions drivers/mi_rockrobo_vacuum_t6/assets/hepa_filter_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4e667ac

Please sign in to comment.