Xiaomi Robot Vacuum Binding

Works perfectly that way. Thanks a lot!

hi, I also have an S12, can you explain the configuration better? Thank you

I managed to get everything to work, one question… is it possible to know when the water tank is empty?

always me…I managed to get everything to work, but I can’t get the map. I have read tons of posts, but without finding the solution. If I run the command: openhab:send (item) get_map I get nothing…any suggestions? I attach my thing

Amministrazione
Things
 Loading...
Label of the thing
status badge
This contains the thing UID
Label of the thing
status badge
This contains the thing UID
Label of the thing
status badge
This contains the thing UID
Label of the thing
status badge
This contains the thing UID
Label of the thing
status badge
This contains the thing UID
Label of the thing
status badge
This contains the thing UID
Label of the thing
status badge
This contains the thing UID
Label of the thing
status badge
This contains the thing UID
Label of the thing
status badge
This contains the thing UID
Label of the thing
status badge
This contains the thing UID
Unsupported Xiaomi Mi Device
1
UID: miio:unsupported:ce7d0d494e
2
label: Unsupported Xiaomi Mi Device
3
thingTypeUID: miio:basic
4
configuration:
5
  cloudServer: de
6
  refreshInterval: 30
7
  host: 192.168.1.xxx
8
  model: xiaomi.vacuum.b106eu
9
  communication: cloud
10
  deviceId: "xxxxxx"
11
  timeout: 15000
12
  token: xxxxxxxxxxxxxxx
13
location: soggiorno
14
channels:
15
  - id: network#ssid
16
    channelTypeUID: miio:ssid
17
    label: SSID
18
    description: null
19
    configuration: {}
20
  - id: network#bssid
21
    channelTypeUID: miio:bssid
22
    label: BSSID
23
    description: null
24
    configuration: {}
25
  - id: network#rssi
26
    channelTypeUID: miio:rssi
27
    label: RSSI
28
    description: null
29
    configuration: {}
30
  - id: network#life
31
    channelTypeUID: miio:life
32
    label: Life
33
    description: null
34
    configuration: {}
35
  - id: actions#commands
36
    channelTypeUID: miio:commands
37
    label: Execute Command
38
    description: null
39
    configuration: {}
40
  - id: actions#rpc
41
    channelTypeUID: miio:rpc
42
    label: Execute RPC (cloud) Command
43
    description: null
44
    configuration: {}
45
  - id: actions
46
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_actions
47
    label: Actions
48
    description: null
49
    configuration: {}
50
  - id: status
51
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_status
52
    label: Robot Cleaner - Status
53
    description: null
54
    configuration: {}
55
  - id: fault
56
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_fault
57
    label: Robot Cleaner - Device Fault
58
    description: null
59
    configuration: {}
60
  - id: mode
61
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_mode
62
    label: Robot Cleaner - Mode
63
    description: null
64
    configuration: {}
65
  - id: sweep_type
66
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_sweep_type
67
    label: Robot Cleaner - Sweep Type
68
    description: null
69
    configuration: {}
70
  - id: restricted_walls
71
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_restricted_walls
72
    label: Robot Cleaner - Restricted Walls
73
    description: null
74
    configuration: {}
75
  - id: battery_level
76
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_battery_level
77
    label: Battery - Battery Level
78
    description: null
79
    configuration: {}
80
  - id: alarm
81
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_alarm
82
    label: Alarm - Alarm
83
    description: null
84
    configuration: {}
85
  - id: volume
86
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_volume
87
    label: Alarm - Volume
88
    description: null
89
    configuration: {}
90
  - id: repeat_state
91
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_repeat_state
92
    label: Sweep - Repeat State
93
    description: null
94
    configuration: {}
95
  - id: door_state
96
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_door_state
97
    label: Sweep - Door State
98
    description: null
99
    configuration: {}
100
  - id: cloth_state
101
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_cloth_state
102
    label: Sweep - Cloth State
103
    description: null
104
    configuration: {}
105
  - id: suction_state
106
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_suction_state
107
    label: Sweep - Suction State
108
    description: null
109
    configuration: {}
110
  - id: water_state
111
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_water_state
112
    label: Sweep - Water State
113
    description: null
114
    configuration: {}
115
  - id: mop_route
116
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_mop_route
117
    label: Sweep - Mop Route
118
    description: null
119
    configuration: {}
120
  - id: side_brush_life
121
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_side_brush_life
122
    label: Sweep - Side Brush Life
123
    description: null
124
    configuration: {}
125
  - id: side_brush_hours
126
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_side_brush_hours
127
    label: Sweep - Side Brush Hours
128
    description: null
129
    configuration: {}
130
  - id: main_brush_life
131
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_main_brush_life
132
    label: Sweep - Main Brush Life
133
    description: null
134
    configuration: {}
135
  - id: main_brush_hours
136
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_main_brush_hours
137
    label: Sweep - Main Brush Hours
138
    description: null
139
    configuration: {}
140
  - id: hypa_life
141
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_hypa_life
142
    label: Sweep - Hypa Life
143
    description: null
144
    configuration: {}
145
  - id: hypa_hours
146
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_hypa_hours
147
    label: Sweep - Hypa Hours
148
    description: null
149
    configuration: {}
150
  - id: mop_life
151
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_mop_life
152
    label: Sweep - Mop Life
153
    description: null
154
    configuration: {}
155
  - id: mop_hours
156
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_mop_hours
157
    label: Sweep - Mop Hours
158
    description: null
159
    configuration: {}
160
  - id: direction
161
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_direction
162
    label: Sweep - Direction
163
    description: null
164
    configuration: {}
165
  - id: time_zone
166
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_time_zone
167
    label: Sweep - Time Zone
168
    description: null
169
    configuration: {}
170
  - id: cur_lang
171
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_cur_lang
172
    label: Sweep - Cur Lang
173
    description: null
174
    configuration: {}
175
  - id: cleaning_time
176
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_cleaning_time
177
    label: Sweep - Cleaning Time
178
    description: null
179
    configuration: {}
180
  - id: cleaning_area
181
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_cleaning_area
182
    label: Sweep - Cleaning Area
183
    description: null
184
    configuration: {}
185
  - id: dirt_recognize
186
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_dirt_recognize
187
    label: Sweep - Dirt Recognize
188
    description: null
189
    configuration: {}
190
  - id: pet_recognize
191
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_pet_recognize
192
    label: Sweep - Pet Recognize
193
    description: null
194
    configuration: {}
195
  - id: ai_recognize
196
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_ai_recognize
197
    label: Sweep - Ai Recognize
198
    description: null
199
    configuration: {}
200
  - id: carpet_booster
201
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_carpet_booster
202
    label: Sweep - Carpet Booster
203
    description: null
204
    configuration: {}
205
  - id: multi_prop_vacuum
206
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_multi_prop_vacuum
207
    label: Sweep - Multi Prop Vacuum
208
    description: null
209
    configuration: {}
210
  - id: carpet_avoid
211
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_carpet_avoid
212
    label: Sweep - Carpet Avoid
213
    description: null
214
    configuration: {}
215
  - id: tank_shake
216
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_tank_shake
217
    label: Sweep - Tank Shake
218
    description: null
219
    configuration: {}
220
  - id: shake_shift
221
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_shake_shift
222
    label: Sweep - Shake Shift
223
    description: null
224
    configuration: {}
225
  - id: map_encrypt
226
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_map_encrypt
227
    label: Sweep - Map Encrypt
228
    description: null
229
    configuration: {}
230
  - id: order_id
231
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_order_id
232
    label: Order - Order Id
233
    description: null
234
    configuration: {}
235
  - id: enable
236
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_enable
237
    label: Order - Enable
238
    description: null
239
    configuration: {}
240
  - id: day
241
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_day
242
    label: Order - Day
243
    description: null
244
    configuration: {}
245
  - id: hour
246
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_hour
247
    label: Order - Hour
248
    description: null
249
    configuration: {}
250
  - id: minute
251
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_minute
252
    label: Order - Minute
253
    description: null
254
    configuration: {}
255
  - id: repeat
256
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_repeat
257
    label: Order - Repeat
258
    description: null
259
    configuration: {}
260
  - id: clean_way
261
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_clean_way
262
    label: Order - Clean Way
263
    description: null
264
    configuration: {}
265
  - id: suction
266
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_suction
267
    label: Order - Suction
268
    description: null
269
    configuration: {}
270
  - id: water
271
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_water
272
    label: Order - Water
273
    description: null
274
    configuration: {}
275
  - id: twice_clean
276
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_twice_clean
277
    label: Order - Twice Clean
278
    description: null
279
    configuration: {}
280
  - id: mapid
281
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_mapid
282
    label: Order - Mapid
283
    description: null
284
    configuration: {}
285
  - id: room_count
286
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_room_count
287
    label: Order - Room Count
288
    description: null
289
    configuration: {}
290
  - id: room_data
291
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_room_data
292
    label: Order - Room Data
293
    description: null
294
    configuration: {}
295
  - id: time_zone1
296
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_time_zone1
297
    label: Order - Time Zone
298
    description: null
299
    configuration: {}
300
  - id: all_enable_count
301
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_all_enable_count
302
    label: Order - All Enable Count
303
    description: null
304
    configuration: {}
305
  - id: zone_points
306
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_zone_points
307
    label: Point Zone - Zone Points
308
    description: null
309
    configuration: {}
310
  - id: restrict_points
311
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_restrict_points
312
    label: Point Zone - Restrict Points
313
    description: null
314
    configuration: {}
315
  - id: target_point
316
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_target_point
317
    label: Point Zone - Target Point
318
    description: null
319
    configuration: {}
320
  - id: remember_state
321
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_remember_state
322
    label: Map - Remember State
323
    description: null
324
    configuration: {}
325
  - id: cur_map_id
326
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_cur_map_id
327
    label: Map - Cur Map Id
328
    description: null
329
    configuration: {}
330
  - id: map_num
331
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_map_num
332
    label: Map - Map Num
333
    description: null
334
    configuration: {}
335
  - id: cur_cleaning_path
336
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_cur_cleaning_path
337
    label: Map - Cur Cleaning Path
338
    description: null
339
    configuration: {}
340
  - id: build_map
341
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_build_map
342
    label: Map - Build Map
343
    description: null
344
    configuration: {}
345
  - id: has_new_map
346
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_has_new_map
347
    label: Map - Has New Map
348
    description: null
349
    configuration: {}
350
  - id: map_uploads
351
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_map_uploads
352
    label: Map - Map Uploads
353
    description: null
354
    configuration: {}
355
  - id: dnd_enable
356
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_dnd_enable
357
    label: Disturb - Dnd Enable
358
    description: null
359
    configuration: {}
360
  - id: dnd_start_hour
361
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_dnd_start_hour
362
    label: Disturb - Dnd Start Hour
363
    description: null
364
    configuration: {}
365
  - id: dnd_start_minute
366
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_dnd_start_minute
367
    label: Disturb - Dnd Start Minute
368
    description: null
369
    configuration: {}
370
  - id: dnd_end_hour
371
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_dnd_end_hour
372
    label: Disturb - Dnd End Hour
373
    description: null
374
    configuration: {}
375
  - id: dnd_end_minute
376
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_dnd_end_minute
377
    label: Disturb - Dnd End Minute
378
    description: null
379
    configuration: {}
380
  - id: multi_prop_dnd
381
    channelTypeUID: miio:XIAOMI_VACUUM_B106EU_multi_prop_dnd
382
    label: Disturb - Multi Prop Dnd
383
    description: null
384
    configuration: {}
385
​
Standard Library (Cells)
Personal Widgets

Maps are currently only supported on roborock vacuums.

I have the problem that the cleaning#last_clean_end_time channel is no longer updated on my Roborock S5 Max. And the channel cleaning#last_clean_start_time shows the end time instead.

I am using the stable release 4.1.2.

I have downgraded to the binding of version 4.0.4 org.openhab.binding.miio-4.0.4.jar, so it works perfectly. Presumably there has been an error here from 4.0 to 4.1?

Here is an excerpt from the log after a short cleaning:

2024-04-28 17:21:40.556 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":2430,"method":"get_clean_record","params":[1714317639]} -> 192.168.86.111 (Device: 261660045 token: 6B4C6233XXXXXXXXXXXXXXXX6F737A4D Queue: 5).
2024-04-28 17:21:40.683 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for device 0F989D8D type: CLEAN_RECORD_GET, result: [[1714317639,1714317694,55,1142500,0,0,2,3,60]], fullresponse: {"result":[[1714317639,1714317694,55,1142500,0,0,2,3,60]],"id":2430}

Edit 01.06.2024: I have seen that this is already fixed in 4.2.0.M1: 16388

hi ,is there a way to find out the room numbers that my S5 assign every time the map changes?

Hey there,
can somebody tell me if the dreame ls10 ultra works with the binding or maybe even the dreame ls10 ultra heat?

Thanks a lot

They should begin at number 16, go from there and check which room the vaccum goes to.

Hi all,

can someone tell me how I can get the error ids of e.g. dreame.vacuum.r2228o and what the numbers mean.

BR Andreas

Hi everyone,

I can’t get my dreame.vacuum.p2150b connected to the binding. From what I have seen it is not supported either, is there a solution for this?

Greetings
Daniel

Did you try the create experimental support switch.
Old try

You could try look at the definitions for some of the other dreame models.
If i recall right there are descriptions. ( Look in the readme or on openhab GitHub miio binding database