feyree_wallbox.yaml 6.5 KB

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