plantsio_ivy_smart_planter.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. # Datapoints documented at:
  2. # https://gist.github.com/thewade/ef9f6014f13932bd2e77d43331e2027d
  3. name: Smart planter
  4. products:
  5. - id: 8n3q0y4cwov8ifxt
  6. manufacturer: PlantsIO
  7. model: Ivy
  8. entities:
  9. - entity: sensor
  10. name: Water level
  11. class: volume_storage
  12. dps:
  13. - id: 108
  14. type: integer
  15. name: sensor
  16. unit: mL
  17. class: measurement
  18. mapping:
  19. - dps_val: 0
  20. icon: "mdi:cup-outline"
  21. - icon: "mdi:cup"
  22. - id: 107
  23. type: string
  24. name: version
  25. # Sensor entities raw
  26. - entity: sensor
  27. class: illuminance
  28. dps:
  29. - id: 103
  30. type: integer
  31. name: sensor
  32. unit: lx
  33. class: measurement
  34. - entity: sensor
  35. class: temperature
  36. dps:
  37. - id: 104
  38. type: integer
  39. name: sensor
  40. unit: C
  41. class: measurement
  42. mapping:
  43. - scale: 10
  44. - entity: sensor
  45. class: humidity
  46. dps:
  47. - id: 105
  48. type: integer
  49. name: sensor
  50. unit: "%"
  51. class: measurement
  52. - entity: sensor
  53. class: moisture
  54. dps:
  55. - id: 122
  56. name: sensor
  57. type: integer
  58. optional: true
  59. unit: "%"
  60. # Sensor entities intelligent
  61. - entity: sensor
  62. name: Water status
  63. icon: "mdi:watering-can"
  64. class: enum
  65. dps:
  66. - id: 106
  67. type: integer
  68. name: sensor
  69. mapping:
  70. - dps_val: 0
  71. value: "Initializing"
  72. - dps_val: 1
  73. value: "Analyzing"
  74. - dps_val: 2
  75. value: "Drinking"
  76. - dps_val: 3
  77. value: "Absorbing from soil"
  78. - dps_val: 4
  79. value: "Thirsty"
  80. - dps_val: 5
  81. value: "Dehydrated"
  82. - value: "Unknown state"
  83. - entity: sensor
  84. name: Light status
  85. icon: "mdi:brightness-5"
  86. class: enum
  87. dps:
  88. - id: 138
  89. type: integer
  90. name: sensor
  91. mapping:
  92. - dps_val: 0
  93. value: "Initializing"
  94. - dps_val: 1
  95. value: "Acceptable"
  96. - dps_val: 2
  97. value: "Good"
  98. - dps_val: 3
  99. value: "Exceptional"
  100. - dps_val: 4
  101. value: "Too Much"
  102. - dps_val: 5
  103. value: "Insufficient"
  104. - dps_val: 6
  105. value: "Manual mode"
  106. - value: "Unknown state"
  107. - entity: sensor
  108. name: Temperature status
  109. icon: "mdi:thermometer"
  110. class: enum
  111. dps:
  112. - id: 139
  113. type: integer
  114. name: sensor
  115. mapping:
  116. - dps_val: 0
  117. value: "Initializing"
  118. - dps_val: 1
  119. value: "Good"
  120. - dps_val: 2
  121. value: "Hot"
  122. icon: "mdi:thermometer-high"
  123. - dps_val: 3
  124. value: "Cold"
  125. icon: "mdi:thermometer-low"
  126. - value: "Unknown state"
  127. - entity: sensor
  128. name: Humidity status
  129. icon: "mdi:water-percent"
  130. class: enum
  131. dps:
  132. - id: 140
  133. type: integer
  134. name: sensor
  135. mapping:
  136. - dps_val: 0
  137. value: "Initializing"
  138. - dps_val: 1
  139. value: "Good"
  140. - dps_val: 2
  141. value: "Too Dry"
  142. - value: "Unknown state"
  143. # Button entities
  144. - entity: event
  145. name: Left touch
  146. class: button
  147. dps:
  148. - id: 127
  149. type: boolean
  150. name: event
  151. optional: true
  152. mapping:
  153. - dps_val: true
  154. value: pressed
  155. - value: null
  156. - entity: event
  157. name: Right touch
  158. class: button
  159. dps:
  160. - id: 128
  161. type: boolean
  162. name: event
  163. optional: true
  164. mapping:
  165. - dps_val: true
  166. value: pressed
  167. - value: null
  168. - entity: event
  169. name: Plant touch
  170. class: button
  171. dps:
  172. - id: 129
  173. type: boolean
  174. name: event
  175. optional: true
  176. mapping:
  177. - dps_val: true
  178. value: pressed
  179. - value: null
  180. - entity: event
  181. name: Hug
  182. class: button
  183. dps:
  184. - id: 111
  185. type: string
  186. name: event
  187. optional: true
  188. mapping:
  189. - dps_val: "hug"
  190. value: pressed
  191. - value: null
  192. # Diagnostic entities
  193. - entity: sensor
  194. class: battery
  195. category: diagnostic
  196. dps:
  197. - id: 121
  198. type: integer
  199. name: sensor
  200. unit: "%"
  201. - entity: binary_sensor
  202. class: battery_charging
  203. category: diagnostic
  204. dps:
  205. - id: 109
  206. type: boolean
  207. name: sensor
  208. - entity: binary_sensor
  209. name: Plant in pot
  210. category: diagnostic
  211. dps:
  212. - id: 102
  213. type: boolean
  214. name: sensor
  215. # Config entities
  216. - entity: select
  217. translation_key: temperature_unit
  218. category: config
  219. dps:
  220. - id: 130
  221. type: boolean
  222. name: option
  223. mapping:
  224. - dps_val: false
  225. value: celsius
  226. - dps_val: true
  227. value: fahrenheit
  228. - entity: select
  229. name: Color
  230. icon: "mdi:palette"
  231. category: config
  232. dps:
  233. - id: 113
  234. type: integer
  235. name: option
  236. mapping:
  237. - dps_val: 0
  238. value: "White"
  239. - dps_val: 1
  240. value: "Yellow"
  241. - dps_val: 2
  242. value: "Green"
  243. - dps_val: 3
  244. value: "Pink"
  245. - dps_val: 4
  246. value: "Purple"
  247. - entity: select
  248. name: Plant type
  249. icon: "mdi:sprout"
  250. category: config
  251. dps:
  252. - id: 119
  253. type: integer
  254. name: option
  255. mapping:
  256. - dps_val: 0
  257. value: "Not selected"
  258. - dps_val: 1
  259. value: "Devil's Ivy"
  260. - dps_val: 2
  261. value: "Dwarf Umbrella Tree"
  262. - dps_val: 3
  263. value: "Spider Plant"
  264. - dps_val: 4
  265. value: "Parlor Palm"
  266. - dps_val: 5
  267. value: "Buddist Pine"
  268. - dps_val: 6
  269. value: "Arrowhead Plant (Pink)"
  270. - dps_val: 7
  271. value: "Arrowhead Plant (Green)"
  272. - dps_val: 8
  273. value: "Arrowhead Plant (Marble)"
  274. - dps_val: 9
  275. value: "Philidendron Congo"
  276. - dps_val: 10
  277. value: "Orange Jasmine"
  278. - dps_val: 11
  279. value: "Perls and Jade"
  280. - dps_val: 12
  281. value: "Rubber Tree"
  282. - dps_val: 13
  283. value: "Baby Rubber Plant"
  284. - dps_val: 14
  285. value: "Silver Goosefoot"
  286. - dps_val: 15
  287. value: "Swiss Cheese"
  288. - dps_val: 16
  289. value: "Dumb Cane"
  290. - dps_val: 17
  291. value: "Common Ivy"
  292. - dps_val: 18
  293. value: "Aluminum Plant"
  294. - dps_val: 19
  295. value: "Bird of Paradise"
  296. - dps_val: 20
  297. value: "Asian Bell Tree"
  298. - dps_val: 21
  299. value: "Satin Pothos"
  300. - dps_val: 22
  301. value: "Heartleaf Philodendron"
  302. - dps_val: 23
  303. value: "Raindrop Peperomia"
  304. - dps_val: 24
  305. value: "Parallel Peperomia"
  306. - dps_val: 25
  307. value: "Watermelon Peperomia"
  308. - dps_val: 26
  309. value: "Nerve Plant"
  310. - dps_val: 27
  311. value: "Peacock Plant"
  312. - dps_val: 28
  313. value: "Calathea Freddie"
  314. - dps_val: 29
  315. value: "Orbifolia Prayer Plant"
  316. - dps_val: 30
  317. value: "Bird's Nest Fern"
  318. - dps_val: 31
  319. value: "Squirrel's Foot Fern"
  320. - dps_val: 32
  321. value: "Heart Leaf Fern"
  322. - dps_val: 33
  323. value: "Cretan Brake"
  324. - dps_val: 34
  325. value: "Florist Kalanchoe"
  326. - dps_val: 35
  327. value: "Ruby Glow"
  328. - dps_val: 36
  329. value: "Succulents"
  330. - dps_val: 37
  331. value: "Marjoram"
  332. - dps_val: 38
  333. value: "Rosemary"
  334. - dps_val: 39
  335. value: "Basil"
  336. - dps_val: 40
  337. value: "Mint"
  338. - dps_val: 41
  339. value: "Parsley"
  340. - dps_val: 42
  341. value: "Catnip"
  342. - dps_val: 43
  343. value: "Avocado"
  344. - dps_val: 44
  345. value: "Tiger Lily"
  346. - dps_val: 45
  347. value: "Cilantro"
  348. - entity: switch
  349. name: Touch perception
  350. category: config
  351. icon: "mdi:gesture-tap"
  352. dps:
  353. - id: 110
  354. type: boolean
  355. name: switch
  356. - id: 111
  357. type: string
  358. name: touching
  359. optional: true
  360. - entity: switch
  361. name: Auto brightness
  362. category: config
  363. icon: "mdi:brightness-auto"
  364. dps:
  365. - id: 135
  366. type: boolean
  367. name: switch
  368. - entity: light
  369. translation_key: display
  370. category: config
  371. dps:
  372. - id: 101
  373. type: integer
  374. name: brightness
  375. range:
  376. min: 0
  377. max: 100
  378. - id: 135
  379. type: boolean
  380. name: available
  381. mapping:
  382. - dps_val: false
  383. value: true
  384. - dps_val: true
  385. value: false
  386. - entity: switch
  387. name: Sound perception
  388. category: config
  389. icon: "mdi:ear-hearing"
  390. dps:
  391. - id: 125
  392. type: boolean
  393. name: switch
  394. mapping:
  395. - dps_val: false
  396. icon: "mdi:ear-hearing-off"
  397. - entity: number
  398. name: Sound sensitivity
  399. category: config
  400. icon: "mdi:ear-hearing"
  401. dps:
  402. - id: 115
  403. type: integer
  404. name: value
  405. range:
  406. min: 0
  407. max: 100
  408. - entity: switch
  409. name: Plant detection
  410. category: config
  411. icon: "mdi:radar"
  412. dps:
  413. - id: 123
  414. type: boolean
  415. name: switch
  416. - entity: number
  417. name: Plant detection sensitivity
  418. category: config
  419. icon: "mdi:radar"
  420. dps:
  421. - id: 116
  422. type: integer
  423. name: value
  424. range:
  425. min: 0
  426. max: 100
  427. - entity: switch
  428. name: Night sleep
  429. icon: "mdi:moon-waning-crescent"
  430. category: config
  431. dps:
  432. - id: 131
  433. type: boolean
  434. name: switch
  435. - entity: switch
  436. name: Smart sleep
  437. icon: "mdi:sleep"
  438. category: config
  439. dps:
  440. - id: 132
  441. type: boolean
  442. name: switch
  443. mapping:
  444. - dps_val: false
  445. icon: "mdi:sleep-off"
  446. - entity: button
  447. name: Manual calibration
  448. category: config
  449. icon: "mdi:scale-balance"
  450. dps:
  451. - id: 124
  452. type: boolean
  453. name: button
  454. - entity: select
  455. name: Time format
  456. icon: "mdi:clock"
  457. category: config
  458. dps:
  459. - id: 136
  460. type: boolean
  461. name: option
  462. mapping:
  463. - dps_val: false
  464. value: "12 Hour Clock"
  465. - dps_val: true
  466. value: "24 Hour Clock"
  467. - entity: select
  468. translation_key: language
  469. icon: "mdi:translate"
  470. category: config
  471. dps:
  472. - id: 144
  473. type: integer
  474. name: option
  475. mapping:
  476. - dps_val: 0
  477. value: chinese
  478. - dps_val: 1
  479. value: english
  480. - dps_val: 2
  481. value: japanese
  482. - dps_val: 3
  483. value: french
  484. - entity: switch
  485. name: Location weather
  486. icon: "mdi:weather-pouring"
  487. category: config
  488. dps:
  489. - id: 141
  490. type: boolean
  491. name: switch
  492. - entity: number
  493. name: Latitude
  494. category: config
  495. icon: "mdi:latitude"
  496. dps:
  497. - id: 143
  498. type: integer
  499. sensitive: true
  500. name: value
  501. range:
  502. min: -900000
  503. max: 900000
  504. mapping:
  505. - scale: 10000
  506. - entity: number
  507. name: Longitude
  508. category: config
  509. icon: "mdi:longitude"
  510. dps:
  511. - id: 142
  512. type: integer
  513. sensitive: true
  514. name: value
  515. range:
  516. min: -1800000
  517. max: 1800000
  518. mapping:
  519. - scale: 10000