feyree_ev_charger.yaml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. name: EV charger
  2. products:
  3. - id: hytatexziwaifxj1
  4. name: Feyree 32A 85-264V EV charger
  5. - id: emvuyyax4lekiooj
  6. name: Feyree A_32A_1L ChargePoint
  7. primary_entity:
  8. entity: sensor
  9. class: enum
  10. translation_key: status
  11. icon: "mdi:ev-station"
  12. dps:
  13. - id: 101
  14. type: string
  15. name: sensor
  16. mapping:
  17. - dps_val: no_connect
  18. value: available
  19. - dps_val: connect
  20. value: plugged_in
  21. - dps_val: charing
  22. value: charging
  23. - dps_val: wait_rfid
  24. value: waiting_for_authorization
  25. - dps_val: finish
  26. value: charged
  27. - dps_val: wait_charing
  28. value: waiting
  29. - dps_val: error
  30. value: fault
  31. - id: 3
  32. type: string
  33. optional: true
  34. name: charger_status
  35. - id: 11
  36. type: string
  37. optional: true
  38. name: alarm_set_1
  39. - id: 12
  40. type: string
  41. optional: true
  42. name: alarm_set_2
  43. - id: 14
  44. type: string
  45. optional: true
  46. name: mode
  47. mapping:
  48. - dps_val: charge_now
  49. - dps_val: charge_pct
  50. - dps_val: charge_energy
  51. - dps_val: charge_schedule
  52. - id: 15
  53. type: integer
  54. optional: true
  55. name: balance_energy
  56. unit: kWh
  57. - id: 18
  58. type: boolean
  59. optional: true
  60. name: switch
  61. - id: 23
  62. type: string
  63. optional: true
  64. name: system_version
  65. - id: 25
  66. type: integer
  67. optional: true
  68. name: charge_energy_once
  69. unit: kWh
  70. - id: 27
  71. type: string
  72. optional: true
  73. name: online_state
  74. - id: 105
  75. type: boolean
  76. optional: true
  77. name: require_authorization
  78. secondary_entities:
  79. - entity: sensor
  80. name: Alarm event
  81. icon: 'mdi:alert-outline'
  82. class: enum
  83. dps:
  84. - id: 10
  85. type: bitfield
  86. name: sensor
  87. mapping:
  88. - dps_val: 0
  89. value: "Ready"
  90. - dps_val: 1
  91. value: "Under voltage protection"
  92. - dps_val: 2
  93. value: "Over voltage protection"
  94. - dps_val: 4
  95. value: "Over current protection"
  96. - dps_val: 8
  97. value: "Protective earth error"
  98. - dps_val: 16
  99. value: "Temperature is to high"
  100. - dps_val: 32
  101. value: "Control pilot line error"
  102. - dps_val: 64
  103. value: "Leak"
  104. - dps_val: 128
  105. value: "Relay socket"
  106. - dps_val: 256
  107. value: "Protective earth error 2"
  108. - dps_val: 512
  109. value: "Plug temperature is to high."
  110. - dps_val: 1024
  111. value: "PCB temperature is to high."
  112. - dps_val: 2048
  113. value: "Core temperature is to high."
  114. - dps_val: 4096
  115. value: "ESB"
  116. - dps_val: 8192
  117. value: "Socket protective earth error"
  118. - dps_val: 16384
  119. value: "Socket leakage"
  120. - dps_val: 32768
  121. value: "Socket temperature is to high."
  122. - entity: button
  123. name: Clear energy
  124. class: restart
  125. category: config
  126. dps:
  127. - id: 16
  128. type: boolean
  129. name: button
  130. optional: true
  131. - entity: button
  132. name: Clear event
  133. class: restart
  134. category: config
  135. dps:
  136. - id: 20
  137. type: boolean
  138. name: button
  139. optional: true
  140. - entity: number
  141. name: Set charge current
  142. icon: "mdi:ev-plug-type2"
  143. dps:
  144. - id: 102
  145. type: integer
  146. name: value
  147. unit: A
  148. range:
  149. min: 8
  150. max: 32
  151. - entity: switch
  152. name: Leak enable
  153. category: config
  154. dps:
  155. - id: 103
  156. type: boolean
  157. optional: true
  158. force: true
  159. name: switch
  160. mapping:
  161. - dps_val: false
  162. value: false
  163. default: true
  164. - dps_val: true
  165. value: true
  166. - entity: number
  167. name: Charge delay
  168. category: config
  169. icon: "mdi:car-clock"
  170. dps:
  171. - id: 104
  172. type: integer
  173. name: value
  174. unit: h
  175. range:
  176. min: 0
  177. max: 15
  178. - entity: switch
  179. name: Power switch
  180. icon: "mdi:power"
  181. category: config
  182. dps:
  183. - id: 105
  184. type: boolean
  185. optional: true
  186. force: true
  187. name: switch
  188. - entity: sensor
  189. class: energy
  190. dps:
  191. - id: 106
  192. type: integer
  193. name: sensor
  194. unit: kWh
  195. class: total_increasing
  196. mapping:
  197. - scale: 10
  198. - entity: sensor
  199. class: voltage
  200. category: diagnostic
  201. dps:
  202. - id: 107
  203. type: integer
  204. name: sensor
  205. unit: V
  206. class: measurement
  207. - entity: sensor
  208. class: current
  209. dps:
  210. - id: 108
  211. type: integer
  212. name: sensor
  213. unit: A
  214. class: measurement
  215. mapping:
  216. - scale: 10
  217. - entity: sensor
  218. class: power
  219. dps:
  220. - id: 109
  221. type: integer
  222. name: sensor
  223. unit: kW
  224. class: measurement
  225. mapping:
  226. - scale: 10
  227. - entity: sensor
  228. class: temperature
  229. category: diagnostic
  230. dps:
  231. - id: 110
  232. type: integer
  233. name: sensor
  234. unit: C
  235. class: measurement
  236. mapping:
  237. - scale: 10
  238. - entity: number
  239. name: Leakage calibration
  240. category: config
  241. dps:
  242. - id: 111
  243. type: integer
  244. name: value
  245. optional: true
  246. force: true
  247. range:
  248. min: 20
  249. max: 250
  250. mapping:
  251. - dps_val: 20
  252. value: 20
  253. default: true
  254. - entity: switch
  255. name: Charging enable
  256. icon: "mdi:ev-station"
  257. dps:
  258. - id: 112
  259. type: boolean
  260. name: switch
  261. - entity: sensor
  262. name: Charging time
  263. class: duration
  264. category: diagnostic
  265. dps:
  266. - id: 113
  267. type: integer
  268. name: sensor
  269. unit: h
  270. class: measurement
  271. mapping:
  272. - scale: 10
  273. - entity: number
  274. name: Charging duration
  275. category: config
  276. icon: "mdi:car-clock"
  277. dps:
  278. - id: 114
  279. type: integer
  280. name: value
  281. unit: h
  282. range:
  283. min: 0
  284. max: 15