kerui_300w_camera.yaml 4.8 KB

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