kerui_200w_camera.yaml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. name: Camera
  2. products:
  3. - id: rahgfyryabpbyrql
  4. manufacturer: Kerui
  5. model: "200W"
  6. entities:
  7. - entity: camera
  8. dps:
  9. - id: 105
  10. type: boolean
  11. name: switch
  12. mapping:
  13. - dps_val: true
  14. value: false
  15. - dps_val: false
  16. value: true
  17. - id: 115
  18. name: snapshot
  19. type: base64
  20. optional: true
  21. sensitive: true
  22. - id: 134
  23. name: motion_enable
  24. type: boolean
  25. - id: 150
  26. name: record
  27. type: boolean
  28. - id: 212
  29. type: utf16b64
  30. optional: true
  31. name: push_message
  32. - entity: light
  33. translation_key: indicator
  34. category: config
  35. dps:
  36. - id: 101
  37. type: boolean
  38. name: switch
  39. - entity: switch
  40. name: Flip image
  41. icon: "mdi:flip-horizontal"
  42. category: config
  43. dps:
  44. - id: 103
  45. type: boolean
  46. name: switch
  47. mapping:
  48. - dps_val: null
  49. value: false
  50. hidden: true
  51. - entity: switch
  52. name: Watermark
  53. category: config
  54. icon: "mdi:watermark"
  55. dps:
  56. - id: 104
  57. type: boolean
  58. name: switch
  59. mapping:
  60. - dps_val: null
  61. value: false
  62. hidden: true
  63. - entity: switch
  64. name: Privacy
  65. icon: "mdi:incognito"
  66. deprecated: camera switch
  67. category: config
  68. dps:
  69. - id: 105
  70. type: boolean
  71. name: switch
  72. - entity: select
  73. name: Motion sensitivity
  74. icon: "mdi:motion-sensor"
  75. category: config
  76. dps:
  77. - id: 106
  78. type: string
  79. name: option
  80. mapping:
  81. - dps_val: "0"
  82. value: Low
  83. - dps_val: "1"
  84. value: Medium
  85. - dps_val: "2"
  86. value: High
  87. - dps_val: null
  88. value: Unknown
  89. hidden: true
  90. - entity: select
  91. name: Night vision
  92. icon: "mdi:weather-night"
  93. category: config
  94. dps:
  95. - id: 108
  96. type: string
  97. name: option
  98. mapping:
  99. - dps_val: "0"
  100. value: Auto
  101. - dps_val: "1"
  102. value: "Off"
  103. - dps_val: "2"
  104. value: "On"
  105. - dps_val: null
  106. value: Unknown
  107. hidden: true
  108. - entity: sensor
  109. name: SD status
  110. class: enum
  111. category: diagnostic
  112. icon: "mdi:micro-sd"
  113. dps:
  114. - id: 110
  115. type: integer
  116. name: sensor
  117. mapping:
  118. - dps_val: 1
  119. value: Normal
  120. - dps_val: 2
  121. value: Corrupt
  122. - dps_val: 3
  123. value: Full
  124. - dps_val: 4
  125. value: Formatting
  126. - dps_val: 5
  127. value: Missing
  128. - dps_val: null
  129. value: Normal
  130. - id: 109
  131. type: string
  132. name: capacity
  133. - entity: button
  134. name: SD format
  135. category: config
  136. icon: "mdi:micro-sd"
  137. dps:
  138. - id: 111
  139. type: boolean
  140. name: button
  141. optional: true
  142. persist: false
  143. - id: 117
  144. type: integer
  145. name: state
  146. optional: true
  147. persist: false
  148. mapping:
  149. - dps_val: 2000
  150. value: Formatting
  151. - dps_val: 2001
  152. value: Format failed
  153. - dps_val: 2002
  154. value: Card missing
  155. - dps_val: 2003
  156. value: Card error
  157. - dps_val: null
  158. value: Formatted
  159. - dps_val: 0
  160. value: Formatted
  161. - entity: button
  162. name: PTZ stop
  163. icon: "mdi:stop"
  164. category: config
  165. dps:
  166. - id: 116
  167. type: boolean
  168. name: button
  169. optional: true
  170. persist: false
  171. - entity: select
  172. name: PTZ control
  173. deprecated: buttons
  174. icon: "mdi:camera-control"
  175. category: config
  176. dps:
  177. - id: 119
  178. type: string
  179. name: option
  180. optional: true
  181. persist: false
  182. mapping:
  183. - dps_val: "0"
  184. value: up
  185. - dps_val: "1"
  186. value: right-up
  187. - dps_val: "2"
  188. value: right
  189. - dps_val: "3"
  190. value: right-down
  191. - dps_val: "4"
  192. value: down
  193. - dps_val: "5"
  194. value: left-down
  195. - dps_val: "6"
  196. value: left
  197. - dps_val: "7"
  198. value: left-up
  199. - entity: button
  200. name: PTZ up
  201. icon: "mdi:pan-up"
  202. category: config
  203. dps:
  204. - id: 119
  205. type: string
  206. optional: true
  207. name: button
  208. mapping:
  209. - dps_val: "0"
  210. value: true
  211. - value: false
  212. - entity: button
  213. name: PTZ right-up
  214. icon: "mdi:top-right"
  215. category: config
  216. dps:
  217. - id: 119
  218. type: string
  219. optional: true
  220. name: button
  221. mapping:
  222. - dps_val: "1"
  223. value: true
  224. - value: false
  225. - entity: button
  226. name: PTZ right
  227. icon: "mdi:pan-right"
  228. category: config
  229. dps:
  230. - id: 119
  231. type: string
  232. name: button
  233. optional: true
  234. mapping:
  235. - dps_val: "2"
  236. value: true
  237. - value: false
  238. - entity: button
  239. name: PTZ right-down
  240. icon: "mdi:pan-bottom-right"
  241. category: config
  242. dps:
  243. - id: 119
  244. type: string
  245. name: button
  246. optional: true
  247. mapping:
  248. - dps_val: "3"
  249. value: true
  250. - value: false
  251. - entity: button
  252. name: PTZ down
  253. icon: "mdi:pan-down"
  254. category: config
  255. dps:
  256. - id: 119
  257. type: string
  258. name: button
  259. optional: true
  260. mapping:
  261. - dps_val: "4"
  262. value: true
  263. - value: false
  264. - entity: button
  265. name: PTZ left-down
  266. icon: "mdi:pan-bottom-left"
  267. category: config
  268. dps:
  269. - id: 119
  270. type: string
  271. name: button
  272. optional: true
  273. mapping:
  274. - dps_val: "5"
  275. value: true
  276. - value: false
  277. - entity: button
  278. name: PTZ left
  279. icon: "mdi:pan-left"
  280. category: config
  281. dps:
  282. - id: 119
  283. type: string
  284. name: button
  285. optional: true
  286. mapping:
  287. - dps_val: "6"
  288. value: true
  289. - value: false
  290. - entity: button
  291. name: PTZ left-up
  292. icon: "mdi:pan-top-left"
  293. category: config
  294. dps:
  295. - id: 119
  296. type: string
  297. name: button
  298. optional: true
  299. mapping:
  300. - dps_val: "7"
  301. value: true
  302. - value: false
  303. - entity: select
  304. name: Recording mode
  305. icon: "mdi:file-video"
  306. category: config
  307. dps:
  308. - id: 151
  309. type: string
  310. name: option
  311. mapping:
  312. - dps_val: "1"
  313. value: Event
  314. - dps_val: "2"
  315. value: Continuous
  316. - entity: switch
  317. name: Motion tracking
  318. icon: "mdi:motion"
  319. category: config
  320. dps:
  321. - id: 161
  322. type: boolean
  323. name: switch
  324. - entity: event
  325. name: Alarm
  326. dps:
  327. - id: 185
  328. type: string
  329. name: event
  330. optional: true
  331. mapping:
  332. - dps_val: null
  333. value: null
  334. - value: alert
  335. - id: 185
  336. type: utf16b64
  337. name: message
  338. optional: true