-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathspecifications_viomi_v19_1.yaml
1348 lines (1348 loc) · 40.6 KB
/
specifications_viomi_v19_1.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
type: urn:miot-spec-v2:device:vacuum:0000A006:viomi-v19:1
description: Robot Cleaner
services:
- iid: 1 #Device Information
type: urn:miot-spec-v2:service:device-information:00007801:viomi-v19:1
description: Device Information
properties:
- iid: 1 #Device Manufacturer
type: urn:miot-spec-v2:property:manufacturer:00000001:viomi-v19:1
description: Device Manufacturer
format: string
access:
- read
- iid: 2 #Device Model
type: urn:miot-spec-v2:property:model:00000002:viomi-v19:1
description: Device Model
format: string
access:
- read
- iid: 3 #Device Serial Number
type: urn:miot-spec-v2:property:serial-number:00000003:viomi-v19:1
description: Device Serial Number
format: string
access:
- read
- iid: 4 #Current Firmware Version
type: urn:miot-spec-v2:property:firmware-revision:00000005:viomi-v19:1
description: Current Firmware Version
format: string
access:
- read
- iid: 2 #Robot Cleaner
type: urn:miot-spec-v2:service:vacuum:00007810:viomi-v19:1
description: Robot Cleaner
properties:
- iid: 1 #Status
type: urn:miot-spec-v2:property:status:00000007:viomi-v19:1
description: Status
format: uint8
access:
- read
- notify
unit: none
value-list:
- value: 0
description: Sleep
- value: 1
description: Idle
- value: 2
description: Paused
- value: 3
description: Go Charging
- value: 4
description: Charging
- value: 5
description: Sweeping
- value: 6
description: Sweeping And Mopping
- value: 7
description: Mopping
- iid: 2 #Device Fault
type: urn:miot-spec-v2:property:fault:00000009:viomi-v19:1
description: Device Fault
format: uint32
access:
- read
- notify
unit: none
value-range:
- 0
- 3000
- 1
- iid: 11 #Wide Dynamic Range Mode
type: urn:miot-spec-v2:property:wdr-mode:00000088:viomi-v19:1
description: Wide Dynamic Range Mode
format: uint8
access:
- read
- write
- notify
unit: none
value-list:
- value: 0
description: "0" #Vacuum
- value: 1
description: "1" #Vacuum&Mop
- value: 2
description: "2" #Mop
- iid: 12 #Door State (Tank Type)
type: urn:miot-spec-v2:property:door-state:0000006B:viomi-v19:1
description: Door State
format: uint8
access:
- read
- notify
unit: none
value-list:
- value: 0
description: "0" #No Box
- value: 1
description: "1" #Dust Box
- value: 2
description: "2" #Whater Box
- value: 3
description: "3" #2in1 Box
- iid: 13 #Contact State (Mop)
type: urn:miot-spec-v2:property:contact-state:0000007C:viomi-v19:1
description: Contact State
format: uint8
access:
- read
- notify
unit: none
value-list:
- value: 0
description: "0" #No mop
- value: 1
description: "1" #Mop Attached
- iid: 14 #Stream URL
type: urn:miot-spec-v2:property:stream-address:0000005E:viomi-v19:1
description: Stream URL
format: string
access: []
unit: none
- iid: 15 #Contact State - Last operation time (minutes)
type: urn:miot-spec-v2:property:contact-state:0000007C:viomi-v19:1
description: Contact State
format: uint8
access:
- read
- notify
unit: minutes
value-range:
- 0
- 120
- 1
- iid: 16 #Contact State - Last operation area (m2)
type: urn:miot-spec-v2:property:contact-state:0000007C:viomi-v19:1
description: Contact State
format: uint16
access:
- read
- notify
unit: none
value-range:
- 0
- 1200
- 1
- iid: 17 #Mute
type: urn:miot-spec-v2:property:mute:00000040:viomi-v19:1
description: Mute
format: uint8
access:
- read
- write
- notify
unit: none
value-range:
- 0 #Mute / Voice switch in app
- 10 #Max volume
- 1 #Min volume
- iid: 4 #Sweep Type
type: urn:miot-spec-v2:property:sweep-type:000000D3:viomi-v19:1
description: Sweep Type
format: uint8
access:
- read
- write
- notify
unit: none
value-list:
- value: 0
description: Global
- value: 1
description: Mop
- value: 2
description: Edge
- value: 3
description: Area
- value: 4
description: Point
- value: 5
description: Control
- iid: 19 #Mode / Fan speed
type: urn:miot-spec-v2:property:mode:00000008:viomi-v19:1
description: Mode
format: uint8
access:
- read
- write
- notify
unit: none
value-list:
- value: 0
description: Silent
- value: 1
description: Basic
- value: 2
description: Medium
- value: 3
description: Strong
actions:
- iid: 1 #Start Sweep
type: urn:miot-spec-v2:action:start-sweep:00002804:viomi-v19:1
description: Start Sweep
in: []
out: []
- iid: 2 #Stop Sweeping
type: urn:miot-spec-v2:action:stop-sweeping:00002805:viomi-v19:1
description: Stop Sweeping
in: []
out: []
- iid: 3 #Pause
type: urn:miot-spec-v2:action:pause:0000280C:viomi-v19:1
description: Pause
in: []
out: []
- iid: 4 #Start Charge
type: urn:miot-spec-v2:action:start-charge:00002802:viomi-v19:1
description: Start Charge
in: []
out: []
- iid: 5 #Stop Massage
type: urn:miot-spec-v2:action:stop-massage:0000281F:viomi-v19:1
description: Stop Massage
in: []
out: []
- iid: 6 #Start Mop
type: urn:miot-spec-v2:action:start-mop:00002834:viomi-v19:1
description: Start Mop
in: []
out: []
- iid: 7 #Start Only Sweep
type: urn:miot-spec-v2:action:start-only-sweep:0000283A:viomi-v19:1
description: Start Only Sweep
in: []
out: []
- iid: 8 #Start Sweep Mop
type: urn:miot-spec-v2:action:start-sweep-mop:00002835:viomi-v19:1
description: Start Sweep Mop
in: []
out: []
events:
- iid: 2 #Exception Occurred
type: urn:miot-spec-v2:event:exception-occurred:00005011:viomi-v19:1
description: Exception Occurred
arguments:
- 2
- iid: 3 #Baterry
type: urn:miot-spec-v2:service:battery:00007805:viomi-v19:1
description: Battery
properties:
- iid: 1 #Battery Level
type: urn:miot-spec-v2:property:battery-level:00000014:viomi-v19:1
description: Battery Level
format: uint8
access:
- read
- notify
unit: percentage
value-range:
- 0
- 100
- 1
- iid: 4 #Sweeper
type: urn:viomi-spec:service:viomi-vacuum:00007801:viomi-v19:1
description: 扫地机
properties:
- iid: 1 #Secondary cleaning switch
type: urn:viomi-spec:property:repeat-state:00000001:viomi-v19:1
description: 二次清扫开关
format: uint8
access:
- read
- write
- notify
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 3 #Memory map switch
type: urn:viomi-spec:property:remember-state:00000003:viomi-v19:1
description: 记忆地图开关
format: uint8
access:
- write
- notify
- read
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 4 #Is there a memory map
type: urn:viomi-spec:property:has-map:00000004:viomi-v19:1
description: 是否有记忆地图
format: uint8
access:
- read
- notify
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 5 #After the cleaning is completed, whether the machine recognizes the new map, if the app pops up to prompt the user whether to overwrite the memory map
type: urn:viomi-spec:property:has-newmap:00000005:viomi-v19:1
description: 清扫完成后,机器是否识别到新的地图,若是app弹框提示用户是否覆盖记忆地图
format: uint8
access:
- read
- notify
- write
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 6 #Mopping/sweeping route (0=S or Y=1)
type: urn:viomi-spec:property:mop-route:00000006:viomi-v19:1
description: 拖地/扫拖路线
format: uint8
access:
- read
- notify
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 8 #Side brush remaining life percentage
type: urn:viomi-spec:property:side-brush-life:00000008:viomi-v19:1
description: 边刷剩余寿命百分比
format: uint8
access:
- read
- notify
unit: percentage
value-range:
- 0
- 100
- 1
- iid: 9 #Side brush remaining life hours
type: urn:viomi-spec:property:side-brush-hours:00000009:viomi-v19:1
description: 边刷剩余寿命小时
format: uint8
access:
- read
- notify
unit: hours
value-range:
- 0
- 180
- 1
- iid: 10 #Percentage of main brush remaining life
type: urn:viomi-spec:property:main-brush-life:0000000a:viomi-v19:1
description: 主刷剩余寿命百分比
format: uint8
access:
- read
- notify
unit: percentage
value-range:
- 0
- 100
- 1
- iid: 11 #Main brush remaining life hours
type: urn:viomi-spec:property:main-brush-hours:0000000b:viomi-v19:1
description: 主刷剩余寿命小时
format: uint16
access:
- read
- notify
unit: hours
value-range:
- 0
- 360
- 1
- iid: 12 #Percentage remaining life of Hypa
type: urn:viomi-spec:property:hypa-life:0000000c:viomi-v19:1
description: 海帕剩余寿命百分比
format: uint8
access:
- read
- notify
unit: percentage
value-range:
- 0
- 100
- 1
- iid: 13 #Hypa remaining life hours
type: urn:viomi-spec:property:hypa-hours:0000000d:viomi-v19:1
description: 海帕剩余寿命小时
format: uint8
access:
- read
- notify
unit: hours
value-range:
- 0
- 180
- 1
- iid: 14 #Mop remaining life percentage
type: urn:viomi-spec:property:mop-life:0000000e:viomi-v19:1
description: 拖布剩余寿命百分比
format: uint8
access:
- read
- notify
unit: percentage
value-range:
- 0
- 100
- 1
- iid: 15 #Mop remaining life hours
type: urn:viomi-spec:property:mop-hours:0000000f:viomi-v19:1
description: 拖布剩余寿命小时
format: uint8
access:
- read
- notify
unit: hours
value-range:
- 0
- 180
- 1
- iid: 16 #Remote control method parameters
type: urn:viomi-spec:property:direction:00000010:viomi-v19:1
description: 遥控器方法参数
format: uint8
access:
- write
unit: none
value-list:
- value: 1
description: ""
- value: 2
description: ""
- value: 3
description: ""
- value: 4
description: ""
- value: 5
description: ""
- value: 10
description: ""
- iid: 17 #Suction power
type: urn:viomi-spec:property:suction-grade:00000011:viomi-v19:1
description: 吸力大小
format: uint8
access:
- write
- read
- notify
unit: none
value-list:
- value: 0
description: "" #Quiet
- value: 1
description: "" #Standard
- value: 2
description: "" #Medium
- value: 3
description: "" #Turbo
- iid: 18 #Water output size
type: urn:viomi-spec:property:water-grade:00000012:viomi-v19:1
description: 出水量大小
format: uint8
access:
- read
- notify
- write
unit: none
value-list:
- value: 0
description: 1挡 #Level 1
- value: 1
description: 2挡 #Level 2
- value: 2
description: 3挡 # Level 3
- iid: 19 #Reset consumable method parameters
type: urn:viomi-spec:property:consumable-index:00000007:viomi-v19:1
description: 重置耗材方法参数
format: uint8
access:
- write
- read
- notify
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- value: 2
description: ""
- value: 3
description: ""
- iid: 20 #When selecting a room to clean, the passed room id string parameters, separated by commas, such as: ‘10,11,12,13’, if it’s empty, it means global cleaning
type: urn:viomi-spec:property:clean-room-ids:00000002:viomi-v19:1
description: 选房间清扫时,传的房间id字符串参数,逗号分割,如:‘10,11,12,13’,若传空则是全局清扫
format: string
access:
- write
- read
- notify
unit: none
- iid: 21 #Choose room cleaning mode
type: urn:viomi-spec:property:clean-room-mode:00000013:viomi-v19:1
description: 选房间清扫模式
format: uint8
access:
- read
- notify
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 22 #Choose room cleaning operation
type: urn:viomi-spec:property:clean-room-oper:00000014:viomi-v19:1
description: 选房间清扫操作
format: uint8
access:
- read
- notify
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- value: 2
description: ""
- value: 3
description: ""
- iid: 23 #The number of maps currently stored
type: urn:viomi-spec:property:map-num:00000015:viomi-v19:1
description: 当前储存的地图数量
format: uint8
access:
- read
- notify
unit: none
value-range:
- 0
- 5
- 1
- iid: 24 #Device time zone attributes
type: urn:viomi-spec:property:time-zone:00000016:viomi-v19:1
description: 设备时区属性
format: int32
access:
- read
- notify
- write
unit: none
value-range:
- -99999
- 99999
- 1
- iid: 25 #Cleaning start time, time stamp, unit second
type: urn:viomi-spec:property:clean-start-time:00000017:viomi-v19:1
description: 清扫开始时间,时间戳,单位秒
format: int64
access:
- read
- notify
unit: seconds
value-range:
- 0
- 9999999999
- 1
- iid: 26 #Cleaning time, unit second
type: urn:viomi-spec:property:clean-use-time:00000018:viomi-v19:1
description: 清扫使用时间,单位秒
format: uint32
access:
- read
- notify
unit: seconds
value-range:
- 0
- 99999
- 1
- iid: 27 #Total cleaning area, unit m2
type: urn:viomi-spec:property:clean-area:00000019:viomi-v19:1
description: 清扫总面积,单位m2
format: uint32
access:
- read
- notify
unit: none
value-range:
- 0
- 9999
- 1
- iid: 28 #Clean map url
type: urn:viomi-spec:property:clean-map-url:0000001a:viomi-v19:1
description: 清扫地图url
format: string
access:
- read
- notify
unit: none
- iid: 29 #Cleaning mode
type: urn:viomi-spec:property:clean-mode:0000001b:viomi-v19:1
description: 清扫模式
format: uint8
access:
- read
- notify
unit: none
value-list:
- value: 0
description: 全局 #Global
- value: 1
description: 拖地 #Mop
- value: 2
description: 沿边 #Along the edge
- value: 3
description: 区域 #Area
- value: 4
description: 定点 #Fixed point
- iid: 30 #Cleaning method
type: urn:viomi-spec:property:clean-way:0000001c:viomi-v19:1
description: 清扫方式
format: uint8
access:
- read
- notify
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- value: 2
description: ""
- iid: 31 #Device current language de en ru zh
type: urn:viomi-spec:property:cur-lang:0000001d:viomi-v19:1
description: "设备当前语言de en ru zh "
format: string
access:
- read
- notify
- write
unit: none
- iid: 32 #Current map id
type: urn:viomi-spec:property:cur-map-id:0000001e:viomi-v19:1
description: 当前地图id
format: uint32
access:
- read
- notify
unit: none
value-range:
- 0
- 2147483647
- 1
actions:
- iid: 7 #Reset map
type: urn:viomi-spec:action:reset-map:00002807:viomi-v19:1
description: 重置地图
in: []
out: []
- iid: 10 #Calibration
type: urn:viomi-spec:action:set-calibration:0000280a:viomi-v19:1
description: 标定
in: []
out: []
- iid: 11 #Reset the usage time of specified consumables
type: urn:viomi-spec:action:reset-consumable:0000280b:viomi-v19:1
description: 重置指定耗材的使用时间
in:
- 19
out: []
- iid: 13 #Choose room cleaning
type: urn:viomi-spec:action:set-room-clean:00002804:viomi-v19:1
description: 选房间清扫
in:
- 21
- 22
- 20
out: []
- iid: 14 #Creare new map
type: urn:viomi-spec:action:create-new-map:00002801:viomi-v19:1
description: create-new-map
in: []
out: []
events:
- iid: 1 #Mop removal prompt. When the device starts to charge, the mop is not removed to trigger
type: urn:viomi-spec:event:mop-remind:00005001:viomi-v19:1
description: 拖布取下提示。当设备开始充电时,拖布未取下触发
arguments: []
- iid: 2 #Standby time exceeds 6 hours, push and automatically shut down
type: urn:viomi-spec:event:wait-remind:00005002:viomi-v19:1
description: 待机时间超过6小时,推送并自动关机
arguments: []
- iid: 3 #If the standby time is too long and the power is less than 15%, push and automatically shut down
type: urn:viomi-spec:event:low-remind:00005003:viomi-v19:1
description: 待机时间过长且电量低于15%,推送并自动关机
arguments: []
- iid: 4 #Report after cleaning
type: urn:viomi-spec:event:clean-end:00005004:viomi-v19:1
description: 清扫结束上报
arguments:
- 25
- 26
- 27
- 28
- 29
- 30
- iid: 5 #Appointment, do not disturb related
type: urn:viomi-spec:service:order:00007802:viomi-v19:1
description: 预约、勿扰相关
properties:
- iid: 1 #Appointment id
type: urn:viomi-spec:property:order-id:00000001:viomi-v19:1
description: 预约id
format: uint8
access:
- write
unit: none
value-range:
- 0
- 100
- 1
- iid: 2 #Whether to open the appointment
type: urn:viomi-spec:property:enable:00000002:viomi-v19:1
description: 是否开启该条预约
format: uint8
access:
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 3 #After converted to binary, each bit represents one day, 1-reservation 0-no reservation, bit0-bit6 Sunday-Saturday
type: urn:viomi-spec:property:day:00000003:viomi-v19:1
description: 转换成二进制后,每一位代表一天,1 - 预约 0 - 无预约,bit0-bit6 星期日-星期六
format: uint16
access:
- write
unit: none
value-range:
- 0
- 256
- 1
- iid: 4 #Appointment hours (24-hour system)
type: urn:viomi-spec:property:hour:00000004:viomi-v19:1
description: 预约小时(24小时制)
format: uint8
access:
- write
unit: none
value-range:
- 0
- 23
- 1
- iid: 5 #Appointment minutes
type: urn:viomi-spec:property:minute:00000005:viomi-v19:1
description: 预约分钟
format: uint8
access:
- write
unit: none
value-range:
- 0
- 59
- 1
- iid: 6 #Is it redundant
type: urn:viomi-spec:property:repeat:00000006:viomi-v19:1
description: 是否重复
format: uint8
access:
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 8 #Schedule cleaning method
type: urn:viomi-spec:property:clean-way:00000008:viomi-v19:1
description: 预约清扫方式
format: uint8
access:
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- value: 2
description: ""
- iid: 9 #Appointment suction
type: urn:viomi-spec:property:suction:00000007:viomi-v19:1
description: 预约吸力大小
format: uint8
access:
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- value: 2
description: ""
- value: 3
description: ""
- iid: 10 #Make an appointment
type: urn:viomi-spec:property:water:00000009:viomi-v19:1
description: 预约出水量大小
format: uint8
access:
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- value: 2
description: ""
- iid: 11 #Whether to clean twice
type: urn:viomi-spec:property:twice-clean:0000000a:viomi-v19:1
description: 是否二次清扫
format: uint8
access:
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 12 #The reserved map id, if there is no map, pass 0
type: urn:viomi-spec:property:mapid:0000000b:viomi-v19:1
description: 预约的地图id,若没地图则传0
format: uint32
access:
- write
unit: none
value-range:
- 0
- 99999999
- 1
- iid: 13 #Number of rooms reserved
type: urn:viomi-spec:property:room-count:0000000c:viomi-v19:1
description: 预约的房间数量
format: uint8
access:
- write
unit: none
value-range:
- 0
- 64
- 1
- iid: 14 #Room reservation data JSON string [{name:''Room 1'', id: 10}, {name:''Room 2', id: 11}, {...}, {...}. ..]
type: urn:viomi-spec:property:room-data:0000000d:viomi-v19:1
description: 预约的房间数据JSON字符串[{name:'房间1',id:10},{name:'房间2‘,id:11},{...},{...}...]
format: string
access:
- write
unit: none
- iid: 15 #Do not disturb
type: urn:viomi-spec:property:dnd-enable:0000000e:viomi-v19:1
description: " 勿扰是否打开"
format: uint8
access:
- read
- notify
- write
unit: none
value-list:
- value: 0
description: ""
- value: 1
description: ""
- iid: 16 #Do not disturb start hour
type: urn:viomi-spec:property:dnd-start-hour:0000000f:viomi-v19:1
description: 勿扰开始小时
format: uint8
access:
- write
- read
- notify
unit: hours
value-range:
- 0
- 23
- 1
- iid: 17 #Do not disturb start minutes
type: urn:viomi-spec:property:dnd-start-minute:00000010:viomi-v19:1
description: 勿扰开始分钟
format: uint8
access:
- read
- notify
- write
unit: minutes
value-range:
- 0
- 59
- 1
- iid: 18 #Do not disturb end hour
type: urn:viomi-spec:property:dnd-end-hour:00000011:viomi-v19:1
description: 勿扰结束小时
format: uint8
access:
- read
- notify
- write
unit: hours
value-range:
- 0
- 23
- 1
- iid: 19 #Do not disturb end minutes
type: urn:viomi-spec:property:dnd-end-minute:00000012:viomi-v19:1
description: 勿扰结束分钟
format: uint8
access:
- read
- notify
- write
unit: minutes
value-range:
- 0
- 59
- 1
- iid: 20 #Time zone parameter
type: urn:viomi-spec:property:dnd-timezone:00000013:viomi-v19:1
description: 时区参数
format: int32
access:
- read
- notify
- write
unit: none
value-range:
- -99999
- 99999
- 1
- iid: 21 #timestamp
type: urn:viomi-spec:property:timestamp:00000014:viomi-v19:1
description: timestamp
format: int64
access:
- notify
- write
- read
unit: none
value-range:
- 0
- 2147483647
- 1
- iid: 22 #N groups of reserved data are separated by commas, and the specific data in each group of data is divided by underscore _
type: urn:viomi-spec:property:orderdata:00000015:viomi-v19:1
description: N组预约数据逗号分割,每组数据内的具体数据用下划线_分割 {order_id}_{order_enable}_{week}_{hour}_{minute}_{repeat}_{mode}_{suction}_{water}_{twice}_{mapid}_{room_size}_{roomid}_{roomname}
format: string
access:
- read
- notify
unit: none
actions:
- iid: 2 #Delete a group of appointments
type: urn:viomi-spec:action:del:00002802:viomi-v19:1
description: 删除一组预约
in:
- 1
out: []
- iid: 3 #Get appointment data
type: urn:viomi-spec:action:get:00002801:viomi-v19:1
description: 获取预约数据
in: []
out:
- 22
- iid: 6 #Refer to where to scan the area, virtual wall
type: urn:viomi-spec:service:point-zone:00007803:viomi-v19:1
description: 指哪扫那 划区 虚拟墙
properties:
- iid: 1 #Refers to where to scan the target point, separated by XY comma, such as "3.23, 6.89"
type: urn:viomi-spec:property:target-point:00000001:viomi-v19:1