camnsmart_e27_camera.yaml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. name: Camera
  2. products:
  3. - id: ivdxyvyy8aqzm1ix
  4. name: Camnsmart E27TY
  5. primary_entity:
  6. entity: camera
  7. dps:
  8. - id: 109
  9. type: string
  10. name: memory_card_capacity
  11. - id: 134
  12. type: boolean
  13. name: motion_enable
  14. optional: true
  15. - id: 150
  16. type: boolean
  17. name: record
  18. optional: true
  19. - id: 178
  20. type: string
  21. name: log_event
  22. optional: true
  23. - id: 185
  24. type: string
  25. name: log_message
  26. optional: true
  27. secondary_entities:
  28. - entity: light
  29. name: Indicator
  30. category: config
  31. icon: "mdi:led-on"
  32. dps:
  33. - id: 101
  34. type: boolean
  35. name: switch
  36. optional: true
  37. - entity: button
  38. name: PTZ up
  39. icon: "mdi:pan-up"
  40. category: config
  41. dps:
  42. - id: 119
  43. type: string
  44. name: button
  45. optional: true
  46. mapping:
  47. - dps_val: "0"
  48. - entity: button
  49. name: PTZ right-up
  50. icon: "mdi:top-right"
  51. category: config
  52. dps:
  53. - id: 119
  54. type: string
  55. name: button
  56. optional: true
  57. mapping:
  58. - dps_val: "1"
  59. - entity: button
  60. name: PTZ right
  61. icon: "mdi:pan-right"
  62. category: config
  63. dps:
  64. - id: 119
  65. type: string
  66. name: button
  67. optional: true
  68. mapping:
  69. - dps_val: "2"
  70. - entity: button
  71. name: PTZ right-down
  72. icon: "mdi:pan-bottom-right"
  73. category: config
  74. dps:
  75. - id: 119
  76. type: string
  77. name: button
  78. optional: true
  79. mapping:
  80. - dps_val: "3"
  81. - entity: button
  82. name: PTZ down
  83. icon: "mdi:pan-down"
  84. category: config
  85. dps:
  86. - id: 119
  87. type: string
  88. name: button
  89. optional: true
  90. mapping:
  91. - dps_val: "4"
  92. - entity: button
  93. name: PTZ left-down
  94. icon: "mdi:pan-bottom-left"
  95. category: config
  96. dps:
  97. - id: 119
  98. type: string
  99. name: button
  100. optional: true
  101. mapping:
  102. - dps_val: "5"
  103. - entity: button
  104. name: PTZ left
  105. icon: "mdi:pan-left"
  106. category: config
  107. dps:
  108. - id: 119
  109. type: string
  110. name: button
  111. optional: true
  112. mapping:
  113. - dps_val: "6"
  114. - entity: button
  115. name: PTZ left-up
  116. icon: "mdi:pan-top-left"
  117. category: config
  118. dps:
  119. - id: 119
  120. type: string
  121. name: button
  122. optional: true
  123. mapping:
  124. - dps_val: "7"
  125. - entity: switch
  126. name: Auto siren
  127. icon: "mdi:bullhorn"
  128. category: config
  129. dps:
  130. - id: 120
  131. type: boolean
  132. name: switch
  133. optional: true
  134. - entity: select
  135. name: Nightvision
  136. icon: "mdi:weather-night"
  137. category: config
  138. dps:
  139. - id: 124
  140. type: string
  141. name: option
  142. optional: true
  143. mapping:
  144. - dps_val: auto
  145. value: Auto
  146. - dps_val: ir_mode
  147. value: "On"
  148. - dps_val: color_mode
  149. value: "Off"
  150. - entity: light
  151. name: Floodlight
  152. icon: "mdi:light-flood-down"
  153. category: config
  154. dps:
  155. - id: 138
  156. type: boolean
  157. name: switch
  158. optional: true
  159. - id: 158
  160. type: integer
  161. name: brightness
  162. range:
  163. min: 1
  164. max: 100
  165. - entity: select
  166. name: Recording mode
  167. icon: "mdi:file-video"
  168. category: config
  169. dps:
  170. - id: 151
  171. type: string
  172. name: option
  173. optional: true
  174. mapping:
  175. - dps_val: "1"
  176. value: Event
  177. - dps_val: "2"
  178. value: Continuous
  179. - entity: switch
  180. name: Motion tracking
  181. icon: "mdi:motion-sensor"
  182. category: config
  183. dps:
  184. - id: 161
  185. type: boolean
  186. name: switch
  187. optional: true
  188. mapping:
  189. - dps_val: false
  190. icon: "mdi:motion-sensor-off"
  191. - entity: button
  192. class: restart
  193. name: Restart
  194. category: config
  195. dps:
  196. - id: 162
  197. type: boolean
  198. name: button
  199. optional: true
  200. - entity: select
  201. name: Zoom
  202. category: config
  203. dps:
  204. - id: 163
  205. type: string
  206. name: option
  207. optional: true
  208. icon: "mdi:magnify"
  209. mapping:
  210. - dps_val: "0"
  211. value: Zoom out
  212. icon: "mdi:magnify-minus"
  213. - dps_val: "1"
  214. value: Zoom in
  215. icon: "mdi:magnify-plus"
  216. - entity: button
  217. name: Stop zooming
  218. icon: "mdi:magnify-close"
  219. category: config
  220. dps:
  221. - id: 164
  222. type: boolean
  223. name: button
  224. optional: true
  225. - entity: switch
  226. name: Limit motion detection area
  227. icon: "mdi:picture-in-picture-top-right-outline"
  228. category: config
  229. dps:
  230. - id: 168
  231. type: boolean
  232. name: switch
  233. optional: true
  234. - id: 169
  235. type: string
  236. name: area
  237. optional: true
  238. - entity: switch
  239. name: Human detection
  240. icon: "mdi:human"
  241. category: config
  242. dps:
  243. - id: 170
  244. type: boolean
  245. name: switch
  246. optional: true
  247. - entity: number
  248. name: Light duration
  249. category: config
  250. icon: "mdi:light-flood-down"
  251. dps:
  252. - id: 173
  253. type: integer
  254. name: value
  255. unit: s
  256. range:
  257. min: 0
  258. max: 3600
  259. -