kerui_200w_camera.yaml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. name: Camera
  2. products:
  3. - id: rahgfyryabpbyrql
  4. name: Kerui 200W
  5. primary_entity:
  6. entity: camera
  7. dps:
  8. - id: 115
  9. name: snapshot
  10. type: base64
  11. optional: true
  12. - id: 134
  13. name: motion_enable
  14. type: boolean
  15. - id: 150
  16. name: record
  17. type: boolean
  18. secondary_entities:
  19. - entity: light
  20. translation_key: indicator
  21. category: config
  22. dps:
  23. - id: 101
  24. type: boolean
  25. name: switch
  26. - entity: switch
  27. name: Flip image
  28. icon: "mdi:flip-horizontal"
  29. category: config
  30. dps:
  31. - id: 103
  32. type: boolean
  33. name: switch
  34. mapping:
  35. - dps_val: null
  36. value: false
  37. hidden: true
  38. - entity: switch
  39. name: Watermark
  40. category: config
  41. icon: "mdi:watermark"
  42. dps:
  43. - id: 104
  44. type: boolean
  45. name: switch
  46. mapping:
  47. - dps_val: null
  48. value: false
  49. hidden: true
  50. - entity: switch
  51. name: Privacy
  52. icon: "mdi:incognito"
  53. category: config
  54. dps:
  55. - id: 105
  56. type: boolean
  57. name: switch
  58. - entity: select
  59. name: Motion sensitivity
  60. icon: "mdi:motion-sensor"
  61. category: config
  62. dps:
  63. - id: 106
  64. type: string
  65. name: option
  66. mapping:
  67. - dps_val: "0"
  68. value: Low
  69. - dps_val: "1"
  70. value: Medium
  71. - dps_val: "2"
  72. value: High
  73. - dps_val: null
  74. value: Unknown
  75. hidden: true
  76. - entity: select
  77. name: Night vision
  78. icon: "mdi:weather-night"
  79. category: config
  80. dps:
  81. - id: 108
  82. type: string
  83. name: option
  84. mapping:
  85. - dps_val: "0"
  86. value: Auto
  87. - dps_val: "1"
  88. value: "Off"
  89. - dps_val: "2"
  90. value: "On"
  91. - dps_val: null
  92. value: Unknown
  93. hidden: true
  94. - entity: sensor
  95. name: SD status
  96. class: enum
  97. category: diagnostic
  98. icon: "mdi:micro-sd"
  99. dps:
  100. - id: 110
  101. type: integer
  102. name: sensor
  103. mapping:
  104. - dps_val: 1
  105. value: Normal
  106. - dps_val: 2
  107. value: Corrupt
  108. - dps_val: 3
  109. value: Full
  110. - dps_val: 4
  111. value: Formatting
  112. - dps_val: 5
  113. value: Missing
  114. - dps_val: null
  115. value: Normal
  116. - id: 109
  117. type: string
  118. name: capacity
  119. - entity: button
  120. name: SD format
  121. category: config
  122. icon: "mdi:micro-sd"
  123. dps:
  124. - id: 111
  125. type: boolean
  126. name: button
  127. optional: true
  128. persist: false
  129. - id: 117
  130. type: integer
  131. name: state
  132. optional: true
  133. persist: false
  134. mapping:
  135. - dps_val: 2000
  136. value: Formatting
  137. - dps_val: 2001
  138. value: Format failed
  139. - dps_val: 2002
  140. value: Card missing
  141. - dps_val: 2003
  142. value: Card error
  143. - dps_val: null
  144. value: Formatted
  145. - dps_val: 0
  146. value: Formatted
  147. - entity: button
  148. name: PTZ stop
  149. icon: "mdi:stop"
  150. category: config
  151. dps:
  152. - id: 116
  153. type: boolean
  154. name: button
  155. optional: true
  156. persist: false
  157. - entity: select
  158. name: PTZ control
  159. icon: "mdi:camera-control"
  160. category: config
  161. dps:
  162. - id: 119
  163. type: string
  164. name: option
  165. optional: true
  166. persist: false
  167. mapping:
  168. - dps_val: "0"
  169. value: up
  170. - dps_val: "1"
  171. value: right-up
  172. - dps_val: "2"
  173. value: right
  174. - dps_val: "3"
  175. value: right-down
  176. - dps_val: "4"
  177. value: down
  178. - dps_val: "5"
  179. value: left-down
  180. - dps_val: "6"
  181. value: left
  182. - dps_val: "7"
  183. value: left-up
  184. - dps_val: null
  185. value: (stopped)
  186. - entity: select
  187. name: Recording mode
  188. icon: "mdi:file-video"
  189. category: config
  190. dps:
  191. - id: 151
  192. type: string
  193. name: option
  194. mapping:
  195. - dps_val: "1"
  196. value: Event
  197. - dps_val: "2"
  198. value: Continuous
  199. - entity: switch
  200. name: Motion tracking
  201. icon: "mdi:motion"
  202. category: config
  203. dps:
  204. - id: 161
  205. type: boolean
  206. name: switch