goodcell_ev_charger.yaml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. name: EV charger
  2. legacy_type: feyree_3phase_ev_charger
  3. products:
  4. - id: j6bzjwhiv2cljjcy
  5. name: Goodcell 32A 85-264V 3 phase
  6. - id: basqjlsmzcq8ipva
  7. name: Feyree 7.6kW 32A
  8. primary_entity:
  9. entity: sensor
  10. class: enum
  11. translation_key: status
  12. icon: "mdi:ev-station"
  13. dps:
  14. - id: 101
  15. type: string
  16. name: sensor
  17. mapping:
  18. - dps_val: no_connet
  19. value: available
  20. - dps_val: connect
  21. value: plugged_in
  22. - dps_val: charing
  23. value: charging
  24. - dps_val: wait_rfid
  25. value: waiting_for_authorization
  26. - dps_val: finish
  27. value: charged
  28. - dps_val: wait_charing
  29. value: waiting
  30. - dps_val: error
  31. value: fault
  32. - id: 3
  33. type: string
  34. optional: true
  35. name: charger_status
  36. mapping:
  37. - dps_val: charger_free
  38. value: Standby
  39. - dps_val: charger_insert
  40. value: Cable connected
  41. - dps_val: charger_free_fault
  42. value: Charger fault
  43. - dps_val: charger_wait
  44. value: Charger ready
  45. - dps_val: charger_charging
  46. value: Charging
  47. - dps_val: charger_pause
  48. value: Charging paused
  49. - dps_val: charger_end
  50. value: Charging ended
  51. - dps_val: charger_fault
  52. value: Charger fault
  53. - id: 11
  54. type: string
  55. optional: true
  56. name: alarm_set_1
  57. - id: 12
  58. type: string
  59. optional: true
  60. name: alarm_set_2
  61. - id: 14
  62. type: string
  63. optional: true
  64. name: mode
  65. mapping:
  66. - dps_val: charge_now
  67. - dps_val: charge_pct
  68. - dps_val: charge_energy
  69. - dps_val: charge_schedule
  70. - id: 15
  71. type: integer
  72. optional: true
  73. name: balance_energy
  74. unit: kWh
  75. - id: 18
  76. type: boolean
  77. optional: true
  78. name: switch
  79. - id: 23
  80. type: string
  81. optional: true
  82. name: system_version
  83. - id: 25
  84. type: integer
  85. optional: true
  86. name: charge_energy_once
  87. unit: kWh
  88. - id: 27
  89. type: string
  90. optional: true
  91. name: online_state
  92. secondary_entities:
  93. - entity: binary_sensor
  94. class: problem
  95. category: diagnostic
  96. dps:
  97. - id: 10
  98. type: bitfield
  99. name: sensor
  100. mapping:
  101. - dps_val: 0
  102. value: false
  103. - value: true
  104. - id: 10
  105. type: bitfield
  106. name: fault_code
  107. - entity: button
  108. name: Clear energy
  109. class: restart
  110. category: config
  111. dps:
  112. - id: 16
  113. type: boolean
  114. name: button
  115. optional: true
  116. - entity: number
  117. name: Set charge current
  118. category: config
  119. icon: "mdi:ev-plug-type2"
  120. dps:
  121. - id: 115
  122. type: integer
  123. name: value
  124. unit: A
  125. range:
  126. min: 6
  127. max: 32
  128. mapping:
  129. - constraint: max_current
  130. conditions:
  131. - dps_val: Max16A
  132. value_redirect: value_alt
  133. range:
  134. min: 6
  135. max: 16
  136. - id: 114
  137. type: integer
  138. optional: true
  139. name: value_alt
  140. unit: A
  141. range:
  142. min: 6
  143. max: 16
  144. - id: 113
  145. type: string
  146. name: max_current
  147. mapping:
  148. - dps_val: Max16A
  149. value: Max16A
  150. - dps_val: Max32A
  151. value: Max32A
  152. - entity: number
  153. name: Charge delay
  154. category: config
  155. icon: "mdi:car-clock"
  156. dps:
  157. - id: 118
  158. type: integer
  159. name: value
  160. unit: h
  161. range:
  162. min: 0
  163. max: 15
  164. - id: 121
  165. type: string
  166. optional: true
  167. name: display
  168. - entity: sensor
  169. class: energy
  170. dps:
  171. - id: 112
  172. type: integer
  173. name: sensor
  174. unit: kWh
  175. class: total_increasing
  176. mapping:
  177. - scale: 10
  178. - entity: sensor
  179. translation_key: voltage_x
  180. translation_placeholders:
  181. x: L1
  182. class: voltage
  183. category: diagnostic
  184. dps:
  185. - id: 102
  186. type: integer
  187. name: sensor
  188. unit: V
  189. class: measurement
  190. mapping:
  191. - scale: 10
  192. - entity: sensor
  193. translation_key: voltage_x
  194. translation_placeholders:
  195. x: L2
  196. class: voltage
  197. category: diagnostic
  198. dps:
  199. - id: 103
  200. type: integer
  201. name: sensor
  202. unit: V
  203. class: measurement
  204. mapping:
  205. - scale: 10
  206. - entity: sensor
  207. translation_key: voltage_x
  208. translation_placeholders:
  209. x: L3
  210. class: voltage
  211. category: diagnostic
  212. dps:
  213. - id: 104
  214. type: integer
  215. name: sensor
  216. unit: V
  217. class: measurement
  218. mapping:
  219. - scale: 10
  220. - entity: sensor
  221. translation_key: current_x
  222. translation_placeholders:
  223. x: L1
  224. class: current
  225. category: diagnostic
  226. dps:
  227. - id: 105
  228. type: integer
  229. name: sensor
  230. unit: A
  231. class: measurement
  232. mapping:
  233. - scale: 10
  234. - entity: sensor
  235. translation_key: current_x
  236. translation_placeholders:
  237. x: L2
  238. class: current
  239. category: diagnostic
  240. dps:
  241. - id: 106
  242. type: integer
  243. name: sensor
  244. unit: A
  245. class: measurement
  246. mapping:
  247. - scale: 10
  248. - entity: sensor
  249. translation_key: current_x
  250. translation_placeholders:
  251. x: L3
  252. class: current
  253. category: diagnostic
  254. dps:
  255. - id: 107
  256. type: integer
  257. name: sensor
  258. unit: A
  259. class: measurement
  260. mapping:
  261. - scale: 10
  262. - entity: sensor
  263. class: power
  264. dps:
  265. - id: 109
  266. type: integer
  267. name: sensor
  268. unit: kW
  269. class: measurement
  270. mapping:
  271. - scale: 10
  272. - entity: sensor
  273. class: temperature
  274. category: diagnostic
  275. dps:
  276. - id: 110
  277. type: integer
  278. name: sensor
  279. unit: C
  280. class: measurement
  281. mapping:
  282. - scale: 10
  283. - entity: number
  284. name: Charging duration
  285. category: config
  286. icon: "mdi:car-clock"
  287. dps:
  288. - id: 119
  289. type: integer
  290. name: value
  291. unit: h
  292. range:
  293. min: 0
  294. max: 15
  295. - id: 120
  296. type: string
  297. optional: true
  298. name: session_duration
  299. - id: 122
  300. type: string
  301. optional: true
  302. name: display
  303. - entity: select
  304. name: Toggle charging
  305. icon: "mdi:ev-plug-type2"
  306. category: config
  307. dps:
  308. - id: 124
  309. type: string
  310. name: option
  311. mapping:
  312. - dps_val: "OpenCharging"
  313. value: Start charging
  314. - dps_val: "CloseCharging"
  315. value: Stop charging
  316. - dps_val: "WaitOperation"
  317. value: Waiting for command
  318. - entity: switch
  319. name: RFID
  320. icon: "mdi:credit-card-wireless"
  321. category: config
  322. dps:
  323. - id: 123
  324. type: boolean
  325. name: switch
  326. optional: true