kerui_300w_camera.yaml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. name: Camera
  2. products:
  3. - id: 9waqosp1k5o0bqqh
  4. manufacturer: Kerui
  5. model: JS-P162 300W
  6. - id: o9jlvpqqunankygf
  7. manufacturer: Fuers
  8. model: "5MP"
  9. name: Indoor camera
  10. entities:
  11. - entity: camera
  12. dps:
  13. - id: 105
  14. name: switch
  15. type: boolean
  16. mapping:
  17. - dps_val: true
  18. value: false
  19. - dps_val: false
  20. value: true
  21. - id: 115
  22. name: snapshot
  23. type: base64
  24. optional: true
  25. sensitive: true
  26. - id: 134
  27. name: motion_enable
  28. type: boolean
  29. - id: 150
  30. name: record
  31. type: boolean
  32. - id: 212
  33. type: utf16b64
  34. optional: true
  35. name: push_message
  36. - id: 241
  37. type: string
  38. optional: true
  39. name: resolution_change
  40. - entity: light
  41. translation_key: indicator
  42. category: config
  43. dps:
  44. - id: 101
  45. type: boolean
  46. name: switch
  47. - entity: switch
  48. name: Flip image
  49. icon: "mdi:flip-horizontal"
  50. category: config
  51. dps:
  52. - id: 103
  53. type: boolean
  54. name: switch
  55. mapping:
  56. - dps_val: null
  57. value: false
  58. hidden: true
  59. - entity: switch
  60. name: Watermark
  61. category: config
  62. icon: "mdi:watermark"
  63. dps:
  64. - id: 104
  65. type: boolean
  66. name: switch
  67. mapping:
  68. - dps_val: null
  69. value: false
  70. hidden: true
  71. - entity: select
  72. name: Motion sensitivity
  73. icon: "mdi:motion-sensor"
  74. category: config
  75. dps:
  76. - id: 106
  77. type: string
  78. name: option
  79. mapping:
  80. - dps_val: "0"
  81. value: Low
  82. - dps_val: "1"
  83. value: Medium
  84. - dps_val: "2"
  85. value: High
  86. - dps_val: null
  87. value: Unknown
  88. hidden: true
  89. - entity: select
  90. name: Night vision
  91. icon: "mdi:weather-night"
  92. category: config
  93. dps:
  94. - id: 108
  95. type: string
  96. name: option
  97. mapping:
  98. - dps_val: "0"
  99. value: Auto
  100. - dps_val: "1"
  101. value: "Off"
  102. - dps_val: "2"
  103. value: "On"
  104. - dps_val: null
  105. value: Unknown
  106. hidden: true
  107. - entity: sensor
  108. name: SD status
  109. class: enum
  110. translation_key: status
  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: fault
  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: button
  172. name: PTZ up
  173. icon: "mdi:pan-up"
  174. category: config
  175. dps:
  176. - id: 119
  177. type: string
  178. optional: true
  179. name: button
  180. mapping:
  181. - dps_val: "0"
  182. value: true
  183. - value: false
  184. - entity: button
  185. name: PTZ right-up
  186. icon: "mdi:top-right"
  187. category: config
  188. dps:
  189. - id: 119
  190. type: string
  191. optional: true
  192. name: button
  193. mapping:
  194. - dps_val: "1"
  195. value: true
  196. - value: false
  197. - entity: button
  198. name: PTZ right
  199. icon: "mdi:pan-right"
  200. category: config
  201. dps:
  202. - id: 119
  203. type: string
  204. name: button
  205. optional: true
  206. mapping:
  207. - dps_val: "2"
  208. value: true
  209. - value: false
  210. - entity: button
  211. name: PTZ right-down
  212. icon: "mdi:pan-bottom-right"
  213. category: config
  214. dps:
  215. - id: 119
  216. type: string
  217. name: button
  218. optional: true
  219. mapping:
  220. - dps_val: "3"
  221. value: true
  222. - value: false
  223. - entity: button
  224. name: PTZ down
  225. icon: "mdi:pan-down"
  226. category: config
  227. dps:
  228. - id: 119
  229. type: string
  230. name: button
  231. optional: true
  232. mapping:
  233. - dps_val: "4"
  234. value: true
  235. - value: false
  236. - entity: button
  237. name: PTZ left-down
  238. icon: "mdi:pan-bottom-left"
  239. category: config
  240. dps:
  241. - id: 119
  242. type: string
  243. name: button
  244. optional: true
  245. mapping:
  246. - dps_val: "5"
  247. value: true
  248. - value: false
  249. - entity: button
  250. name: PTZ left
  251. icon: "mdi:pan-left"
  252. category: config
  253. dps:
  254. - id: 119
  255. type: string
  256. name: button
  257. optional: true
  258. mapping:
  259. - dps_val: "6"
  260. value: true
  261. - value: false
  262. - entity: button
  263. name: PTZ left-up
  264. icon: "mdi:pan-top-left"
  265. category: config
  266. dps:
  267. - id: 119
  268. type: string
  269. name: button
  270. optional: true
  271. mapping:
  272. - dps_val: "7"
  273. value: true
  274. - value: false
  275. - entity: select
  276. name: Recording mode
  277. icon: "mdi:file-video"
  278. category: config
  279. dps:
  280. - id: 151
  281. type: string
  282. name: option
  283. mapping:
  284. - dps_val: "1"
  285. value: Event
  286. - dps_val: "2"
  287. value: Continuous
  288. - entity: number
  289. translation_key: volume
  290. category: config
  291. dps:
  292. - id: 160
  293. type: integer
  294. name: value
  295. unit: "%"
  296. range:
  297. min: 1
  298. max: 100
  299. - entity: switch
  300. name: Motion tracking
  301. icon: "mdi:motion"
  302. category: config
  303. dps:
  304. - id: 161
  305. type: boolean
  306. name: switch
  307. - entity: event
  308. class: motion
  309. dps:
  310. - id: 239
  311. type: string
  312. name: event
  313. optional: true
  314. mapping:
  315. - dps_val: motion
  316. value: detected
  317. - id: 115
  318. type: base64
  319. optional: true
  320. sensitive: true
  321. name: image_details
  322. - id: 185
  323. type: utf16b64
  324. optional: true
  325. persist: false
  326. name: alarm_message