smart_camera_sc116-wz3a.yaml 10 KB

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