ultenic_t10_vacuum.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. name: Robot vacuum
  2. products:
  3. - id: skn6zhhv0uxrylrk
  4. name: Ultenic T10
  5. primary_entity:
  6. entity: vacuum
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: power
  11. optional: true
  12. - id: 2
  13. type: boolean
  14. name: activate
  15. optional: true
  16. - id: 13
  17. type: boolean
  18. name: locate
  19. optional: true
  20. - id: 3
  21. type: string
  22. name: command
  23. mapping:
  24. - dps_val: standby
  25. value: standby
  26. - dps_val: random
  27. value: random
  28. - dps_val: smart
  29. value: smart
  30. - dps_val: wall_follow
  31. value: wall_follow
  32. - dps_val: mop
  33. value: mop
  34. - dps_val: spiral
  35. value: clean_spot
  36. - dps_val: left_spiral
  37. value: left_spiral
  38. - dps_val: right_spiral
  39. value: right_spiral
  40. - dps_val: left_bow
  41. value: left_bow
  42. - dps_val: right_bow
  43. value: right_bow
  44. - dps_val: partial_bow
  45. value: partial_bow
  46. - dps_val: chargego
  47. value: return_to_base
  48. - id: 5
  49. type: string
  50. name: status
  51. mapping:
  52. - dps_val: standby
  53. value: standby
  54. - dps_val: smart_clean
  55. value: cleaning
  56. - dps_val: wall_clean
  57. value: cleaning
  58. - dps_val: spot_clean
  59. value: cleaning
  60. - dps_val: mop_clean
  61. value: cleaning
  62. - dps_val: goto_charge
  63. value: returning
  64. - dps_val: charging
  65. value: charging
  66. - dps_val: charge_done
  67. value: charged
  68. - dps_val: paused
  69. value: pause
  70. - dps_val: cleaning
  71. value: cleaning
  72. - dps_val: sleep
  73. value: sleep
  74. - id: 14
  75. type: string
  76. name: fan_speed
  77. # tuya constants are interpretted backwards by Ultenic
  78. # Ultenic App has a 4th "Strong" suction speed but observing
  79. # the DP always seems to call it gentle when selected - so dont
  80. # know what custom logic they are doing
  81. mapping:
  82. - dps_val: strong
  83. value: "Off"
  84. - dps_val: normal
  85. value: Gentle
  86. - dps_val: gentle
  87. value: Normal
  88. - id: 110
  89. type: bitfield
  90. name: error
  91. # have no idea what the fields are for this bit field.
  92. # The Robot upside down reports as -2601
  93. optional: true
  94. - id: 111
  95. name: unknown_111
  96. optional: true
  97. type: bitfield
  98. secondary_entities:
  99. - entity: sensor
  100. class: battery
  101. dps:
  102. - id: 6
  103. type: integer
  104. name: sensor
  105. unit: "%"
  106. class: measurement
  107. # The following can be retrieved by using the Tuya Uncover app at
  108. # https://github.com/blakadder/tuya-uncover but are never seen by tuya local
  109. # DP 109 is BASE 64 encoded Device ID
  110. # DP 108 is BASE 64 encoded UUID - reports the same value as is called UUID
  111. # in the Ultenic App under Device Information
  112. # DP 107 is BASE 64 encoded JSON that looks like cleaning statistics
  113. # - {"data":{"counts":40,"mopArea":0,"sweepArea":504,"time":27208},
  114. # "infoType":21009}
  115. # DP 106 is BASE 64 encoded identifier LXT10033006392B
  116. # DP 102 is BASE 64 encode JSON that looks like an event stream,
  117. # different data everytime you look
  118. # - {"dInfo":{"ts":1694541823927,"userId":"XXXXXXXXXXXX"},
  119. # "data":{"battery":27208,"filter":27208,"mainBrush":27208,
  120. # "sensors":27208,"sideBrush":27208},"infoType":21015,"message":"ok"}
  121. # DP 101 always ""
  122. # DP 103 always 1
  123. # DP 104 always 1
  124. # DP 105 always 1