lsc_ptz_camera.yaml 7.5 KB

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