kerui_300w_camera.yaml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  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: switch
  72. name: Privacy
  73. icon: "mdi:incognito"
  74. category: config
  75. deprecated: camera switch
  76. dps:
  77. - id: 105
  78. type: boolean
  79. name: switch
  80. - entity: select
  81. name: Motion sensitivity
  82. icon: "mdi:motion-sensor"
  83. category: config
  84. dps:
  85. - id: 106
  86. type: string
  87. name: option
  88. mapping:
  89. - dps_val: "0"
  90. value: Low
  91. - dps_val: "1"
  92. value: Medium
  93. - dps_val: "2"
  94. value: High
  95. - dps_val: null
  96. value: Unknown
  97. hidden: true
  98. - entity: select
  99. name: Night vision
  100. icon: "mdi:weather-night"
  101. category: config
  102. dps:
  103. - id: 108
  104. type: string
  105. name: option
  106. mapping:
  107. - dps_val: "0"
  108. value: Auto
  109. - dps_val: "1"
  110. value: "Off"
  111. - dps_val: "2"
  112. value: "On"
  113. - dps_val: null
  114. value: Unknown
  115. hidden: true
  116. - entity: sensor
  117. name: SD status
  118. class: enum
  119. category: diagnostic
  120. icon: "mdi:micro-sd"
  121. dps:
  122. - id: 110
  123. type: integer
  124. name: sensor
  125. mapping:
  126. - dps_val: 1
  127. value: Normal
  128. - dps_val: 2
  129. value: Corrupt
  130. - dps_val: 3
  131. value: Full
  132. - dps_val: 4
  133. value: Formatting
  134. - dps_val: 5
  135. value: Missing
  136. - dps_val: null
  137. value: Normal
  138. - id: 109
  139. type: string
  140. name: capacity
  141. - entity: button
  142. name: SD format
  143. category: config
  144. icon: "mdi:micro-sd"
  145. dps:
  146. - id: 111
  147. type: boolean
  148. name: button
  149. optional: true
  150. persist: false
  151. - id: 117
  152. type: integer
  153. name: state
  154. optional: true
  155. persist: false
  156. mapping:
  157. - dps_val: 2000
  158. value: Formatting
  159. - dps_val: 2001
  160. value: Format failed
  161. - dps_val: 2002
  162. value: Card missing
  163. - dps_val: 2003
  164. value: Card error
  165. - dps_val: null
  166. value: Formatted
  167. - dps_val: 0
  168. value: Formatted
  169. - entity: button
  170. name: PTZ stop
  171. icon: "mdi:stop"
  172. category: config
  173. dps:
  174. - id: 116
  175. type: boolean
  176. name: button
  177. optional: true
  178. persist: false
  179. - entity: select
  180. name: PTZ control
  181. deprecated: buttons
  182. icon: "mdi:camera-control"
  183. category: config
  184. dps:
  185. - id: 119
  186. type: string
  187. name: option
  188. optional: true
  189. persist: false
  190. mapping:
  191. - dps_val: "0"
  192. value: up
  193. - dps_val: "1"
  194. value: right-up
  195. - dps_val: "2"
  196. value: right
  197. - dps_val: "3"
  198. value: right-down
  199. - dps_val: "4"
  200. value: down
  201. - dps_val: "5"
  202. value: left-down
  203. - dps_val: "6"
  204. value: left
  205. - dps_val: "7"
  206. value: left-up
  207. - entity: button
  208. name: PTZ up
  209. icon: "mdi:pan-up"
  210. category: config
  211. dps:
  212. - id: 119
  213. type: string
  214. optional: true
  215. name: button
  216. mapping:
  217. - dps_val: "0"
  218. value: true
  219. - value: false
  220. - entity: button
  221. name: PTZ right-up
  222. icon: "mdi:top-right"
  223. category: config
  224. dps:
  225. - id: 119
  226. type: string
  227. optional: true
  228. name: button
  229. mapping:
  230. - dps_val: "1"
  231. value: true
  232. - value: false
  233. - entity: button
  234. name: PTZ right
  235. icon: "mdi:pan-right"
  236. category: config
  237. dps:
  238. - id: 119
  239. type: string
  240. name: button
  241. optional: true
  242. mapping:
  243. - dps_val: "2"
  244. value: true
  245. - value: false
  246. - entity: button
  247. name: PTZ right-down
  248. icon: "mdi:pan-bottom-right"
  249. category: config
  250. dps:
  251. - id: 119
  252. type: string
  253. name: button
  254. optional: true
  255. mapping:
  256. - dps_val: "3"
  257. value: true
  258. - value: false
  259. - entity: button
  260. name: PTZ down
  261. icon: "mdi:pan-down"
  262. category: config
  263. dps:
  264. - id: 119
  265. type: string
  266. name: button
  267. optional: true
  268. mapping:
  269. - dps_val: "4"
  270. value: true
  271. - value: false
  272. - entity: button
  273. name: PTZ left-down
  274. icon: "mdi:pan-bottom-left"
  275. category: config
  276. dps:
  277. - id: 119
  278. type: string
  279. name: button
  280. optional: true
  281. mapping:
  282. - dps_val: "5"
  283. value: true
  284. - value: false
  285. - entity: button
  286. name: PTZ left
  287. icon: "mdi:pan-left"
  288. category: config
  289. dps:
  290. - id: 119
  291. type: string
  292. name: button
  293. optional: true
  294. mapping:
  295. - dps_val: "6"
  296. value: true
  297. - value: false
  298. - entity: button
  299. name: PTZ left-up
  300. icon: "mdi:pan-top-left"
  301. category: config
  302. dps:
  303. - id: 119
  304. type: string
  305. name: button
  306. optional: true
  307. mapping:
  308. - dps_val: "7"
  309. value: true
  310. - value: false
  311. - entity: select
  312. name: Recording mode
  313. icon: "mdi:file-video"
  314. category: config
  315. dps:
  316. - id: 151
  317. type: string
  318. name: option
  319. mapping:
  320. - dps_val: "1"
  321. value: Event
  322. - dps_val: "2"
  323. value: Continuous
  324. - entity: number
  325. name: Volume
  326. category: config
  327. icon: "mdi:volume-high"
  328. dps:
  329. - id: 160
  330. type: integer
  331. name: value
  332. unit: "%"
  333. range:
  334. min: 1
  335. max: 100
  336. - entity: switch
  337. name: Motion tracking
  338. icon: "mdi:motion"
  339. category: config
  340. dps:
  341. - id: 161
  342. type: boolean
  343. name: switch
  344. - entity: event
  345. class: motion
  346. dps:
  347. - id: 239
  348. type: string
  349. name: event
  350. optional: true
  351. mapping:
  352. - dps_val: motion
  353. value: detected
  354. - id: 115
  355. type: base64
  356. optional: true
  357. sensitive: true
  358. name: image_details
  359. - id: 185
  360. type: utf16b64
  361. optional: true
  362. persist: false
  363. name: alarm_message