lsc_ptz_camera.yaml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. name: Camera
  2. products:
  3. - id: n7h0m2x7i2yzol0p
  4. manufacturer: LSC Smart Connect
  5. model: PTZ
  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: Flip image
  37. category: config
  38. dps:
  39. - id: 103
  40. type: boolean
  41. name: switch
  42. - entity: switch
  43. name: Timestamp
  44. category: config
  45. dps:
  46. - id: 104
  47. type: boolean
  48. optional: true
  49. name: switch
  50. mapping:
  51. - dps_val: null
  52. value: false
  53. hidden: true
  54. - entity: switch
  55. name: Privacy
  56. category: config
  57. deprecated: camera switch
  58. icon: "mdi:incognito"
  59. dps:
  60. - id: 105
  61. type: boolean
  62. name: switch
  63. optional: true
  64. mapping:
  65. - dps_val: null
  66. value: false
  67. hidden: true
  68. icon: "mdi:incognito-off"
  69. - dps_val: false
  70. icon: "mdi:incognito-off"
  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. optional: true
  80. mapping:
  81. - dps_val: "0"
  82. value: Low
  83. - dps_val: "1"
  84. value: Medium
  85. - dps_val: "2"
  86. value: High
  87. - entity: select
  88. name: Nightvision
  89. icon: "mdi:weather-night"
  90. category: config
  91. dps:
  92. - id: 108
  93. type: string
  94. optional: true
  95. name: option
  96. mapping:
  97. - dps_val: "0"
  98. value: Auto
  99. - dps_val: "1"
  100. value: "Off"
  101. - dps_val: "2"
  102. value: "On"
  103. - dps_val: null
  104. value: Auto
  105. hidden: true
  106. - entity: sensor
  107. name: SD status
  108. class: enum
  109. category: diagnostic
  110. dps:
  111. - id: 110
  112. type: integer
  113. name: sensor
  114. optional: true
  115. mapping:
  116. - dps_val: 1
  117. value: normal
  118. - dps_val: 2
  119. value: error
  120. - dps_val: 3
  121. value: full
  122. - dps_val: 4
  123. value: formatting
  124. - dps_val: 5
  125. value: missing
  126. - dps_val: null
  127. value: normal
  128. hidden: true
  129. - id: 109
  130. type: string
  131. name: memory_card_capacity
  132. optional: true
  133. - entity: button
  134. name: Format SD card
  135. category: config
  136. dps:
  137. - id: 111
  138. type: boolean
  139. optional: true
  140. name: button
  141. - id: 117
  142. type: integer
  143. optional: true
  144. name: sd_format_status
  145. mapping:
  146. - dps_val: 2000
  147. value: Formatting
  148. - dps_val: 2001
  149. value: Format error
  150. - dps_val: 2002
  151. value: "No SD card"
  152. - dps_val: 2003
  153. value: Card error
  154. - entity: button
  155. name: PTZ stop
  156. icon: "mdi:pan"
  157. category: config
  158. dps:
  159. - id: 116
  160. type: boolean
  161. name: button
  162. optional: true
  163. - entity: button
  164. name: PTZ up
  165. icon: "mdi:pan-up"
  166. category: config
  167. dps:
  168. - id: 119
  169. type: string
  170. name: button
  171. optional: true
  172. mapping:
  173. - dps_val: "0"
  174. value: true
  175. - value: false
  176. - entity: button
  177. name: PTZ right-up
  178. icon: "mdi:top-right"
  179. category: config
  180. dps:
  181. - id: 119
  182. type: string
  183. name: button
  184. optional: true
  185. mapping:
  186. - dps_val: "1"
  187. value: true
  188. - value: false
  189. - entity: button
  190. name: PTZ right
  191. icon: "mdi:pan-right"
  192. category: config
  193. dps:
  194. - id: 119
  195. type: string
  196. name: button
  197. optional: true
  198. mapping:
  199. - dps_val: "2"
  200. value: true
  201. - value: false
  202. - entity: button
  203. name: PTZ right-down
  204. icon: "mdi:pan-bottom-right"
  205. category: config
  206. dps:
  207. - id: 119
  208. type: string
  209. name: button
  210. optional: true
  211. mapping:
  212. - dps_val: "3"
  213. value: true
  214. - value: false
  215. - entity: button
  216. name: PTZ down
  217. icon: "mdi:pan-down"
  218. category: config
  219. dps:
  220. - id: 119
  221. type: string
  222. name: button
  223. optional: true
  224. mapping:
  225. - dps_val: "4"
  226. value: true
  227. - value: false
  228. - entity: button
  229. name: PTZ left-down
  230. icon: "mdi:pan-bottom-left"
  231. category: config
  232. dps:
  233. - id: 119
  234. type: string
  235. name: button
  236. optional: true
  237. mapping:
  238. - dps_val: "5"
  239. value: true
  240. - value: false
  241. - entity: button
  242. name: PTZ left
  243. icon: "mdi:pan-left"
  244. category: config
  245. dps:
  246. - id: 119
  247. type: string
  248. name: button
  249. optional: true
  250. mapping:
  251. - dps_val: "6"
  252. value: true
  253. - value: false
  254. - entity: button
  255. name: PTZ left-up
  256. icon: "mdi:pan-top-left"
  257. category: config
  258. dps:
  259. - id: 119
  260. type: string
  261. name: button
  262. optional: true
  263. mapping:
  264. - dps_val: "7"
  265. value: true
  266. - value: false
  267. - entity: switch
  268. name: PTZ calibration
  269. category: config
  270. icon: "mdi:pan"
  271. dps:
  272. - id: 132
  273. type: boolean
  274. optional: true
  275. name: switch
  276. mapping:
  277. - dps_val: null
  278. value: false
  279. hidden: true
  280. - entity: switch
  281. name: Sound detection
  282. icon: "mdi:ear-hearing"
  283. category: config
  284. dps:
  285. - id: 139
  286. type: boolean
  287. name: switch
  288. optional: true
  289. mapping:
  290. - dps_val: null
  291. value: false
  292. hidden: true
  293. - entity: select
  294. name: Sound sensitivity
  295. icon: "mdi:ear-hearing"
  296. category: config
  297. dps:
  298. - id: 140
  299. type: string
  300. optional: true
  301. name: option
  302. mapping:
  303. - dps_val: "0"
  304. value: Low
  305. - dps_val: "1"
  306. value: "High"
  307. - entity: select
  308. name: Recording mode
  309. icon: "mdi:file-video"
  310. category: config
  311. dps:
  312. - id: 151
  313. type: string
  314. name: option
  315. optional: true
  316. mapping:
  317. - dps_val: "1"
  318. value: Event
  319. - dps_val: "2"
  320. value: Continuous
  321. - entity: switch
  322. name: Alarm
  323. category: config
  324. icon: "mdi:bullhorn"
  325. dps:
  326. - id: 159
  327. type: boolean
  328. name: switch
  329. optional: true
  330. mapping:
  331. - dps_val: null
  332. value: false
  333. hidden: true
  334. - id: 185
  335. type: string
  336. name: log_message
  337. optional: true
  338. - entity: switch
  339. name: Motion tracking
  340. icon: "mdi:motion-sensor"
  341. category: config
  342. dps:
  343. - id: 161
  344. type: boolean
  345. name: switch
  346. optional: true
  347. mapping:
  348. - dps_val: false
  349. icon: "mdi:motion-sensor-off"
  350. - entity: switch
  351. name: Human detection
  352. icon: "mdi:human"
  353. category: config
  354. dps:
  355. - id: 170
  356. type: boolean
  357. name: switch
  358. optional: true
  359. - entity: select
  360. name: Anti-flicker
  361. icon: "mdi:television-classic"
  362. category: config
  363. dps:
  364. - id: 188
  365. type: string
  366. name: option
  367. optional: true
  368. mapping:
  369. - dps_val: "0"
  370. value: "Off"
  371. - dps_val: "1"
  372. value: "50Hz"
  373. - dps_val: "2"
  374. value: "60Hz"