moes_indoorptz_camera.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. name: Camera
  2. products:
  3. - id: sy8xnbefqdxbgwti
  4. manufacturer: Moes
  5. model: P52
  6. name: PTZ indoor security camera
  7. entities:
  8. - entity: camera
  9. dps:
  10. - id: 105
  11. type: boolean
  12. name: switch
  13. mapping:
  14. - dps_val: false
  15. value: true
  16. - dps_val: true
  17. value: false
  18. - id: 134
  19. type: boolean
  20. name: motion_enable
  21. - id: 150
  22. type: boolean
  23. name: record
  24. - entity: light
  25. translation_key: indicator
  26. category: config
  27. dps:
  28. - id: 101
  29. type: boolean
  30. name: switch
  31. - entity: switch
  32. name: Flip image
  33. icon: "mdi:flip-horizontal"
  34. category: config
  35. dps:
  36. - id: 103
  37. type: boolean
  38. name: switch
  39. - entity: switch
  40. name: Watermark
  41. icon: "mdi:watermark"
  42. category: config
  43. dps:
  44. - id: 104
  45. type: boolean
  46. name: switch
  47. - entity: select
  48. name: Motion sensitivity
  49. icon: "mdi:motion-sensor"
  50. category: config
  51. dps:
  52. - id: 106
  53. type: string
  54. name: option
  55. mapping:
  56. - dps_val: "0"
  57. value: low
  58. - dps_val: "1"
  59. value: medium
  60. - dps_val: "2"
  61. value: high
  62. - entity: switch
  63. name: Wide dynamic range
  64. icon: "mdi:theme-light-dark"
  65. category: config
  66. dps:
  67. - id: 107
  68. type: boolean
  69. name: switch
  70. - entity: select
  71. name: Night vision
  72. icon: "mdi:weather-night"
  73. category: config
  74. dps:
  75. - id: 108
  76. type: string
  77. name: option
  78. mapping:
  79. - dps_val: "0"
  80. value: auto
  81. - dps_val: "1"
  82. value: "off"
  83. - dps_val: "2"
  84. value: "on"
  85. - entity: sensor
  86. name: SD card
  87. icon: "mdi:micro-sd"
  88. class: enum
  89. translation_key: status
  90. category: diagnostic
  91. dps:
  92. - id: 110
  93. type: integer
  94. name: sensor
  95. mapping:
  96. - dps_val: 1
  97. value: normal
  98. - dps_val: 2
  99. value: fault
  100. - dps_val: 3
  101. value: full
  102. - dps_val: 4
  103. value: formatting
  104. - dps_val: 5
  105. value: missing
  106. - dps_val: 6
  107. value: unformatted
  108. - id: 109
  109. type: string
  110. name: storage
  111. - entity: button
  112. name: Format SD
  113. icon: "mdi:micro-sd"
  114. category: config
  115. dps:
  116. - id: 111
  117. type: boolean
  118. optional: true
  119. name: button
  120. - id: 117
  121. type: integer
  122. name: status
  123. - entity: event
  124. class: motion
  125. dps:
  126. - id: 115
  127. type: string
  128. name: event
  129. optional: true
  130. mapping:
  131. - dps_val: null
  132. value: null
  133. - value: detected
  134. - id: 115
  135. type: string
  136. optional: true
  137. name: snapshot
  138. - id: 212
  139. type: string
  140. optional: true
  141. name: message
  142. - entity: button
  143. name: Pan stop
  144. icon: "mdi:stop"
  145. dps:
  146. - id: 116
  147. type: boolean
  148. optional: true
  149. name: button
  150. - id: 119
  151. type: string
  152. optional: true
  153. name: pan_command
  154. mapping:
  155. - dps_val: "0"
  156. value: up
  157. - dps_val: "1"
  158. value: right-up
  159. - dps_val: "2"
  160. value: right
  161. - dps_val: "3"
  162. value: right-down
  163. - dps_val: "4"
  164. value: down
  165. - dps_val: "5"
  166. value: left-down
  167. - dps_val: "6"
  168. value: left
  169. - dps_val: "7"
  170. value: left-up
  171. - dps_val: "8"
  172. value: idle
  173. - dps_val: "9"
  174. value: self-test
  175. - entity: button
  176. name: Pan up
  177. icon: "mdi:arrow-up-thick"
  178. dps:
  179. - id: 119
  180. type: string
  181. optional: true
  182. name: button
  183. mapping:
  184. - dps_val: "0"
  185. value: true
  186. - entity: button
  187. name: Pan right-up
  188. icon: "mdi:arrow-top-right-thick"
  189. dps:
  190. - id: 119
  191. type: string
  192. optional: true
  193. name: button
  194. mapping:
  195. - dps_val: "1"
  196. value: true
  197. - entity: button
  198. name: Pan right
  199. icon: "mdi:arrow-right-thick"
  200. dps:
  201. - id: 119
  202. type: string
  203. optional: true
  204. name: button
  205. mapping:
  206. - dps_val: "2"
  207. value: true
  208. - entity: button
  209. name: Pan right-down
  210. icon: "mdi:arrow-bottom-right-thick"
  211. dps:
  212. - id: 119
  213. type: string
  214. optional: true
  215. name: button
  216. mapping:
  217. - dps_val: "3"
  218. value: true
  219. - entity: button
  220. name: Pan down
  221. icon: "mdi:arrow-down-thick"
  222. dps:
  223. - id: 119
  224. type: string
  225. optional: true
  226. name: button
  227. mapping:
  228. - dps_val: "4"
  229. value: true
  230. - entity: button
  231. name: Pan left-down
  232. icon: "mdi:arrow-bottom-left-thick"
  233. dps:
  234. - id: 119
  235. type: string
  236. optional: true
  237. name: button
  238. mapping:
  239. - dps_val: "5"
  240. value: true
  241. - entity: button
  242. name: Pan left
  243. icon: "mdi:arrow-left-thick"
  244. dps:
  245. - id: 119
  246. type: string
  247. optional: true
  248. name: button
  249. mapping:
  250. - dps_val: "6"
  251. value: true
  252. - entity: button
  253. name: Pan left-up
  254. icon: "mdi:arrow-top-left-thick"
  255. dps:
  256. - id: 119
  257. type: string
  258. optional: true
  259. name: button
  260. mapping:
  261. - dps_val: "7"
  262. value: true
  263. - entity: switch
  264. name: Alarm enable
  265. icon: "mdi:bullhorn"
  266. category: config
  267. dps:
  268. - id: 120
  269. type: boolean
  270. name: switch
  271. - entity: siren
  272. dps:
  273. - id: 159
  274. type: boolean
  275. name: switch
  276. - id: 125
  277. type: string
  278. name: tone
  279. mapping:
  280. - dps_val: item_1
  281. value: Siren 1
  282. - dps_val: item_2
  283. value: Siren 2
  284. - dps_val: item_3
  285. value: Siren 3
  286. - id: 194
  287. type: integer
  288. name: duration
  289. unit: s
  290. range:
  291. min: 10
  292. max: 60
  293. mapping:
  294. - step: 10
  295. - id: 195
  296. type: integer
  297. name: volume_level
  298. range:
  299. min: 10
  300. max: 100
  301. mapping:
  302. - scale: 100
  303. step: 10
  304. - entity: button
  305. name: PTZ calibration
  306. icon: "mdi:arrow-decision"
  307. category: config
  308. dps:
  309. - id: 132
  310. type: boolean
  311. optional: true
  312. name: button
  313. - id: 178
  314. type: string
  315. optional: true
  316. name: memory_point_set
  317. - entity: switch
  318. name: Sound detection
  319. icon: "mdi:ear-hearing"
  320. category: config
  321. dps:
  322. - id: 139
  323. type: boolean
  324. name: switch
  325. - entity: select
  326. name: Sound sensitivity
  327. icon: "mdi:microphone"
  328. category: config
  329. dps:
  330. - id: 140
  331. type: string
  332. name: option
  333. mapping:
  334. - dps_val: "0"
  335. value: low
  336. - dps_val: "1"
  337. value: high
  338. - entity: event
  339. name: Sound
  340. dps:
  341. - id: 141
  342. type: string
  343. name: event
  344. optional: true
  345. mapping:
  346. - dps_val: null
  347. value: null
  348. - value: detected
  349. - id: 141
  350. type: string
  351. optional: true
  352. name: sound
  353. - entity: select
  354. name: Record mode
  355. icon: "mdi:video"
  356. category: config
  357. dps:
  358. - id: 151
  359. type: string
  360. name: option
  361. mapping:
  362. - dps_val: "1"
  363. value: Event
  364. - dps_val: "2"
  365. value: Continuous
  366. - entity: number
  367. translation_key: volume
  368. category: config
  369. dps:
  370. - id: 160
  371. type: integer
  372. name: value
  373. unit: "%"
  374. range:
  375. min: 1
  376. max: 10
  377. mapping:
  378. - scale: 10
  379. - entity: switch
  380. name: Motion tracking
  381. icon: "mdi:motion"
  382. category: config
  383. dps:
  384. - id: 161
  385. type: boolean
  386. optional: true
  387. name: switch
  388. mapping:
  389. - dps_val: null
  390. value: false
  391. hidden: true
  392. - entity: button
  393. class: restart
  394. category: config
  395. dps:
  396. - id: 162
  397. type: boolean
  398. optional: true
  399. name: button
  400. - entity: button
  401. name: Zoom out
  402. icon: "mdi:magnify-minus"
  403. dps:
  404. - id: 163
  405. type: string
  406. name: button
  407. optional: true
  408. mapping:
  409. - dps_val: "0"
  410. value: true
  411. - entity: button
  412. name: Zoom in
  413. icon: "mdi:magnify-plus"
  414. dps:
  415. - id: 163
  416. type: string
  417. name: button
  418. optional: true
  419. mapping:
  420. - dps_val: "1"
  421. value: true
  422. - entity: button
  423. name: Stop zooming
  424. icon: "mdi:stop-circle-outline"
  425. category: config
  426. dps:
  427. - id: 164
  428. type: boolean
  429. optional: true
  430. name: button
  431. - entity: switch
  432. name: Cry detection
  433. icon: "mdi:emotion-cry"
  434. category: config
  435. dps:
  436. - id: 167
  437. type: boolean
  438. name: switch
  439. - entity: switch
  440. name: Motion masking
  441. icon: "mdi:vector-rectangle"
  442. category: config
  443. dps:
  444. - id: 168
  445. type: boolean
  446. name: switch
  447. - id: 169
  448. type: string
  449. name: area
  450. - entity: switch
  451. name: Human filter
  452. icon: "mdi:human"
  453. category: config
  454. dps:
  455. - id: 170
  456. type: boolean
  457. optional: true
  458. name: switch
  459. mapping:
  460. - dps_val: null
  461. value: false
  462. hidden: true
  463. - entity: event
  464. name: Alarm
  465. icon: "mdi:alarm-bell"
  466. dps:
  467. - id: 185
  468. type: string
  469. name: event
  470. optional: true
  471. mapping:
  472. - dps_val: null
  473. value: null
  474. - value: alarm
  475. - id: 185
  476. type: string
  477. name: message
  478. optional: true
  479. - entity: switch
  480. name: AI face recognition
  481. category: config
  482. dps:
  483. - id: 186
  484. type: boolean
  485. optional: true
  486. name: switch
  487. mapping:
  488. - dps_val: null
  489. value: false
  490. hidden: true
  491. - entity: select
  492. name: Anti-flicker
  493. icon: "mdi:television-classic"
  494. category: config
  495. dps:
  496. - id: 188
  497. type: string
  498. optional: true
  499. name: option
  500. mapping:
  501. - dps_val: "0"
  502. value: "off"
  503. - dps_val: "1"
  504. value: "50Hz"
  505. - dps_val: "2"
  506. value: "60Hz"
  507. - dps_val: null
  508. value: "off"
  509. hidden: true
  510. - entity: switch
  511. name: Mute recording
  512. icon: "mdi:volume-mute"
  513. category: config
  514. dps:
  515. - id: 197
  516. type: boolean
  517. name: switch
  518. - entity: switch
  519. name: Mark objects
  520. icon: "mdi:image-filter-center-focus"
  521. category: config
  522. dps:
  523. - id: 198
  524. type: boolean
  525. name: switch
  526. - entity: switch
  527. name: ONVIF
  528. category: config
  529. dps:
  530. - id: 235
  531. type: boolean
  532. name: switch
  533. - id: 236
  534. type: boolean
  535. name: passwd_changed
  536. - id: 237
  537. type: string
  538. name: ip_address
  539. - id: 238
  540. type: string
  541. optional: true
  542. name: change_passwd
  543. - id: 239
  544. type: string
  545. name: ip_type
  546. - entity: sensor
  547. name: Zoom
  548. category: diagnostic
  549. dps:
  550. - id: 252
  551. type: integer
  552. name: sensor
  553. class: measurement
  554. mapping:
  555. - scale: 10