sc116wz3a_camera.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  1. name: Camera
  2. products:
  3. - id: b60fclvud3xtcufm
  4. model: SC116-WZ3A
  5. entities:
  6. - entity: camera
  7. dps:
  8. - id: 105
  9. type: boolean
  10. optional: true
  11. name: switch
  12. mapping:
  13. - dps_val: false
  14. value: true
  15. - dps_val: true
  16. value: false
  17. - id: 134
  18. type: boolean
  19. name: motion_enable
  20. optional: true
  21. - id: 150
  22. type: boolean
  23. name: record
  24. optional: true
  25. - entity: light
  26. translation_key: indicator
  27. category: config
  28. dps:
  29. - id: 101
  30. type: boolean
  31. name: switch
  32. - entity: switch
  33. translation_key: flip_image
  34. category: config
  35. dps:
  36. - id: 103
  37. type: boolean
  38. name: switch
  39. - entity: switch
  40. name: Watermark
  41. category: config
  42. icon: "mdi:watermark"
  43. dps:
  44. - id: 104
  45. type: boolean
  46. optional: true
  47. name: switch
  48. - entity: select
  49. translation_key: motion_sensitivity
  50. category: config
  51. dps:
  52. - id: 106
  53. type: string
  54. name: option
  55. optional: true
  56. mapping:
  57. - dps_val: "0"
  58. value: low
  59. - dps_val: "1"
  60. value: medium
  61. - dps_val: "2"
  62. value: high
  63. - entity: select
  64. name: Nightvision
  65. icon: "mdi:weather-night"
  66. category: config
  67. dps:
  68. - id: 108
  69. type: string
  70. optional: true
  71. name: option
  72. mapping:
  73. - dps_val: "0"
  74. value: Auto
  75. - dps_val: "1"
  76. value: "Off"
  77. - dps_val: "2"
  78. value: "On"
  79. - entity: sensor
  80. name: SD status
  81. class: enum
  82. translation_key: status
  83. category: diagnostic
  84. icon: "mdi:micro-sd"
  85. dps:
  86. - id: 110
  87. type: integer
  88. name: sensor
  89. optional: true
  90. mapping:
  91. - dps_val: 1
  92. value: normal
  93. - dps_val: 2
  94. value: fault
  95. - dps_val: 3
  96. value: full
  97. - dps_val: 4
  98. value: formatting
  99. - dps_val: 5
  100. value: missing
  101. - dps_val: null
  102. value: normal
  103. hidden: true
  104. - id: 109
  105. type: string
  106. name: memory_card_capacity
  107. optional: true
  108. - entity: button
  109. name: Format SD card
  110. category: diagnostic
  111. icon: "mdi:delete-empty"
  112. dps:
  113. - id: 111
  114. type: boolean
  115. optional: true
  116. name: button
  117. - id: 117
  118. type: integer
  119. optional: true
  120. name: sd_format_status
  121. mapping:
  122. - dps_val: 2000
  123. value: Formatting
  124. - dps_val: 2001
  125. value: Format error
  126. - dps_val: 2002
  127. value: "No SD card"
  128. - dps_val: 2003
  129. value: Card error
  130. - entity: button
  131. name: PTZ stop
  132. icon: "mdi:pan"
  133. category: config
  134. dps:
  135. - id: 116
  136. type: boolean
  137. name: button
  138. optional: true
  139. - entity: button
  140. name: PTZ up
  141. icon: "mdi:pan-up"
  142. category: config
  143. dps:
  144. - id: 119
  145. type: string
  146. name: button
  147. optional: true
  148. mapping:
  149. - dps_val: "0"
  150. value: true
  151. - value: false
  152. - entity: button
  153. name: PTZ right-up
  154. icon: "mdi:pan-top-right"
  155. category: config
  156. dps:
  157. - id: 119
  158. type: string
  159. name: button
  160. optional: true
  161. mapping:
  162. - dps_val: "1"
  163. value: true
  164. - value: false
  165. - entity: button
  166. name: PTZ right
  167. icon: "mdi:pan-right"
  168. category: config
  169. dps:
  170. - id: 119
  171. type: string
  172. name: button
  173. optional: true
  174. mapping:
  175. - dps_val: "2"
  176. value: true
  177. - value: false
  178. - entity: button
  179. name: PTZ right-down
  180. icon: "mdi:pan-bottom-right"
  181. category: config
  182. dps:
  183. - id: 119
  184. type: string
  185. name: button
  186. optional: true
  187. mapping:
  188. - dps_val: "3"
  189. value: true
  190. - value: false
  191. - entity: button
  192. name: PTZ down
  193. icon: "mdi:pan-down"
  194. category: config
  195. dps:
  196. - id: 119
  197. type: string
  198. name: button
  199. optional: true
  200. mapping:
  201. - dps_val: "4"
  202. value: true
  203. - value: false
  204. - entity: button
  205. name: PTZ left-down
  206. icon: "mdi:pan-bottom-left"
  207. category: config
  208. dps:
  209. - id: 119
  210. type: string
  211. name: button
  212. optional: true
  213. mapping:
  214. - dps_val: "5"
  215. value: true
  216. - value: false
  217. - entity: button
  218. name: PTZ left
  219. icon: "mdi:pan-left"
  220. category: config
  221. dps:
  222. - id: 119
  223. type: string
  224. name: button
  225. optional: true
  226. mapping:
  227. - dps_val: "6"
  228. value: true
  229. - value: false
  230. - entity: button
  231. name: PTZ left-up
  232. icon: "mdi:pan-top-left"
  233. category: config
  234. dps:
  235. - id: 119
  236. type: string
  237. name: button
  238. optional: true
  239. mapping:
  240. - dps_val: "7"
  241. value: true
  242. - value: false
  243. - entity: switch
  244. name: PTZ calibration
  245. category: config
  246. icon: "mdi:pan"
  247. dps:
  248. - id: 132
  249. type: boolean
  250. optional: true
  251. name: switch
  252. mapping:
  253. - dps_val: null
  254. value: false
  255. hidden: true
  256. - entity: switch
  257. name: Sound detection
  258. icon: "mdi:ear-hearing"
  259. category: config
  260. dps:
  261. - id: 139
  262. type: boolean
  263. name: switch
  264. optional: true
  265. mapping:
  266. - dps_val: null
  267. value: false
  268. hidden: true
  269. - entity: select
  270. name: Sound sensitivity
  271. icon: "mdi:ear-hearing"
  272. category: config
  273. dps:
  274. - id: 140
  275. type: string
  276. optional: true
  277. name: option
  278. mapping:
  279. - dps_val: "0"
  280. value: Low
  281. - dps_val: "1"
  282. value: "High"
  283. - entity: select
  284. name: Recording mode
  285. icon: "mdi:file-video"
  286. category: config
  287. dps:
  288. - id: 151
  289. type: string
  290. name: option
  291. optional: true
  292. mapping:
  293. - dps_val: "1"
  294. value: Event
  295. - dps_val: "2"
  296. value: Continuous
  297. - entity: switch
  298. name: Alarm
  299. category: config
  300. icon: "mdi:bullhorn"
  301. dps:
  302. - id: 159
  303. type: boolean
  304. name: switch
  305. optional: true
  306. mapping:
  307. - dps_val: null
  308. value: false
  309. hidden: true
  310. - entity: event
  311. translation_key: alarm
  312. dps:
  313. - id: 185
  314. type: string
  315. name: event
  316. optional: true
  317. mapping:
  318. - dps_val: null
  319. value: null
  320. - value: alert
  321. - id: 185
  322. type: string
  323. name: message
  324. optional: true
  325. - entity: number
  326. translation_key: volume
  327. category: config
  328. dps:
  329. - id: 160
  330. type: integer
  331. name: value
  332. range:
  333. min: 1
  334. max: 10
  335. - entity: switch
  336. name: Motion tracking
  337. icon: "mdi:motion-sensor"
  338. category: config
  339. dps:
  340. - id: 161
  341. type: boolean
  342. name: switch
  343. optional: true
  344. mapping:
  345. - dps_val: false
  346. icon: "mdi:motion-sensor-off"
  347. - entity: switch
  348. name: Cry detection
  349. icon: "mdi:baby-carriage"
  350. category: config
  351. dps:
  352. - id: 167
  353. type: boolean
  354. name: switch
  355. optional: true
  356. mapping:
  357. - dps_val: false
  358. icon: "mdi:baby-carriage-off"
  359. - entity: switch
  360. name: Pet detection
  361. icon: "mdi:paw"
  362. category: config
  363. dps:
  364. - id: 187
  365. type: boolean
  366. name: switch
  367. optional: true
  368. mapping:
  369. - dps_val: false
  370. icon: "mdi:paw-off"
  371. - entity: switch
  372. name: Human detection
  373. icon: "mdi:human"
  374. category: config
  375. dps:
  376. - id: 170
  377. type: boolean
  378. name: switch
  379. optional: true
  380. mapping:
  381. - dps_val: false
  382. icon: "mdi:account-off"
  383. - entity: select
  384. name: Anti-flicker
  385. icon: "mdi:television-classic"
  386. category: config
  387. dps:
  388. - id: 188
  389. type: string
  390. name: option
  391. optional: true
  392. mapping:
  393. - dps_val: "0"
  394. value: "Off"
  395. - dps_val: "1"
  396. value: "50Hz"
  397. - dps_val: "2"
  398. value: "60Hz"
  399. - entity: button
  400. name: PTZ preset 1
  401. icon: "mdi:numeric-1-circle"
  402. category: config
  403. dps:
  404. - id: 190
  405. type: string
  406. name: button
  407. optional: true
  408. mapping:
  409. - dps_val: "1"
  410. value: true
  411. - value: false
  412. - entity: button
  413. name: PTZ preset 2
  414. icon: "mdi:numeric-2-circle"
  415. category: config
  416. dps:
  417. - id: 190
  418. type: string
  419. name: button
  420. optional: true
  421. mapping:
  422. - dps_val: "2"
  423. value: true
  424. - value: false
  425. - entity: button
  426. name: PTZ preset 3
  427. icon: "mdi:numeric-3-circle"
  428. category: config
  429. dps:
  430. - id: 190
  431. type: string
  432. name: button
  433. optional: true
  434. mapping:
  435. - dps_val: "3"
  436. value: true
  437. - value: false
  438. - entity: button
  439. name: PTZ preset 4
  440. icon: "mdi:numeric-4-circle"
  441. category: config
  442. dps:
  443. - id: 190
  444. type: string
  445. name: button
  446. optional: true
  447. mapping:
  448. - dps_val: "4"
  449. value: true
  450. - value: false
  451. - entity: button
  452. name: Set PTZ preset 1
  453. icon: "mdi:numeric-1-circle-outline"
  454. category: config
  455. dps:
  456. - id: 199
  457. type: string
  458. name: button
  459. optional: true
  460. mapping:
  461. - dps_val: "1"
  462. value: true
  463. - value: false
  464. - entity: button
  465. name: Set PTZ preset 2
  466. icon: "mdi:numeric-2-circle-outline"
  467. category: config
  468. dps:
  469. - id: 199
  470. type: string
  471. name: button
  472. optional: true
  473. mapping:
  474. - dps_val: "2"
  475. value: true
  476. - value: false
  477. - entity: button
  478. name: Set PTZ preset 3
  479. icon: "mdi:numeric-3-circle-outline"
  480. category: config
  481. dps:
  482. - id: 199
  483. type: string
  484. name: button
  485. optional: true
  486. mapping:
  487. - dps_val: "3"
  488. value: true
  489. - value: false
  490. - entity: button
  491. name: Set PTZ preset 4
  492. icon: "mdi:numeric-4-circle-outline"
  493. category: config
  494. dps:
  495. - id: 199
  496. type: string
  497. name: button
  498. optional: true
  499. mapping:
  500. - dps_val: "4"
  501. value: true
  502. - value: false
  503. - entity: event
  504. class: motion
  505. dps:
  506. - id: 115
  507. type: string
  508. name: event
  509. optional: true
  510. mapping:
  511. - dps_val: null
  512. value: null
  513. - value: detected
  514. - id: 115
  515. type: string
  516. optional: true
  517. name: snapshot
  518. - id: 212
  519. type: string
  520. optional: true
  521. name: message