lsc_ptz_camera.yaml 7.5 KB

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