ultenic_t10_vacuum.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. name: Ultenic T10 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_value: 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 know what custom logic they are doing
  80. mapping:
  81. - dps_val: strong
  82. value: "Off"
  83. - dps_val: normal
  84. value: Gentle
  85. - dps_val: gentle
  86. value: Normal
  87. - id: 110
  88. type: bitfield
  89. name: error
  90. #have no idea what the fields are for this bit field. The Robot upside down reports as -2601
  91. optional: true
  92. - id: 111
  93. name: unknown_111
  94. optional: true
  95. type: bitfield
  96. secondary_entities:
  97. - entity: sensor
  98. class: battery
  99. dps:
  100. - id: 6
  101. type: integer
  102. name: sensor
  103. unit: "%"
  104. class: measurement
  105. #The following can be retrieved by using the Tuya Uncover app at https://github.com/blakadder/tuya-uncover but are never seen by tuya local
  106. # DP 109 is BASE 64 encoded Device ID
  107. # DP 108 is BASE 64 encoded UUID - reports the same value as is called UUID in the Ultenic App under Device Information
  108. # DP 107 is BASE 64 encoded JSON that looks like cleaning statistics - {"data":{"counts":40,"mopArea":0,"sweepArea":504,"time":27208},"infoType":21009}
  109. # DP 106 is BASE 64 encoded identifier LXT10033006392B
  110. # DP 102 is BASE 64 encode JSON that looks like an event stream, different data everytime you look - {"dInfo":{"ts":1694541823927,"userId":"XXXXXXXXXXXX"},"data":{"battery":27208,"filter":27208,"mainBrush":27208,"sensors":27208,"sideBrush":27208},"infoType":21015,"message":"ok"}
  111. # DP 101 always ""
  112. # DP 103 always 1
  113. # DP 104 always 1
  114. # DP 105 always 1