erz04c_energy_meter.yaml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. name: Double clamp meter
  2. products:
  3. - id: dhto3y4uachr1wll
  4. model: ERZ04C
  5. entities:
  6. - entity: sensor
  7. name: Total energy
  8. class: energy
  9. dps:
  10. - id: 123
  11. name: sensor
  12. type: integer
  13. unit: kWh
  14. class: total_increasing
  15. mapping:
  16. - scale: 1000
  17. - id: 103
  18. name: device_state_a
  19. type: string
  20. mapping:
  21. - dps_val: close
  22. value: Close
  23. default: true
  24. - dps_val: monitor
  25. value: Monitor
  26. - dps_val: working
  27. value: Working
  28. - dps_val: warning
  29. value: Warning
  30. - id: 113
  31. name: device_state_b
  32. type: string
  33. mapping:
  34. - dps_val: close
  35. value: Close
  36. default: true
  37. - dps_val: monitor
  38. value: Monitor
  39. - dps_val: working
  40. value: Working
  41. - dps_val: warning
  42. value: Warning
  43. - id: 110
  44. name: power_type_a
  45. type: string
  46. mapping:
  47. - dps_val: normal
  48. value: Normal
  49. default: true
  50. - dps_val: warn
  51. value: Warn
  52. - id: 120
  53. name: power_type_b
  54. type: string
  55. mapping:
  56. - dps_val: normal
  57. value: Normal
  58. default: true
  59. - dps_val: warn
  60. value: Warn
  61. - id: 101
  62. name: sync_request
  63. type: string
  64. mapping:
  65. - dps_val: idle
  66. value: Idle
  67. default: true
  68. - dps_val: request
  69. value: Request
  70. - id: 124
  71. name: net_state
  72. type: string
  73. mapping:
  74. - dps_val: cloud_net
  75. value: Cloud
  76. default: true
  77. - dps_val: local_net
  78. value: Local
  79. - dps_val: no_net
  80. value: Offline
  81. - entity: sensor
  82. translation_key: power_x
  83. translation_placeholders:
  84. x: A
  85. category: diagnostic
  86. class: power
  87. dps:
  88. - id: 105
  89. name: sensor
  90. type: integer
  91. unit: W
  92. force: true
  93. class: measurement
  94. mapping:
  95. - scale: 10
  96. - entity: sensor
  97. translation_key: current_x
  98. translation_placeholders:
  99. x: A
  100. category: diagnostic
  101. class: current
  102. dps:
  103. - id: 106
  104. name: sensor
  105. type: integer
  106. unit: A
  107. class: measurement
  108. force: true
  109. mapping:
  110. - scale: 1000
  111. - entity: sensor
  112. translation_key: voltage_x
  113. translation_placeholders:
  114. x: A
  115. category: diagnostic
  116. class: voltage
  117. dps:
  118. - id: 107
  119. name: sensor
  120. type: integer
  121. unit: V
  122. class: measurement
  123. force: true
  124. mapping:
  125. - scale: 10
  126. - entity: sensor
  127. name: Total energy A
  128. class: energy
  129. dps:
  130. - id: 108
  131. name: sensor
  132. type: integer
  133. unit: kWh
  134. class: total_increasing
  135. optional: true
  136. mapping:
  137. - scale: 1000
  138. - id: 104
  139. name: power_statistics
  140. type: integer
  141. unit: kWh
  142. class: measurement
  143. optional: true
  144. mapping:
  145. - scale: 100
  146. - id: 109
  147. name: energy_today
  148. type: integer
  149. unit: kWh
  150. class: measurement
  151. optional: true
  152. mapping:
  153. - scale: 1000
  154. - id: 112
  155. name: energy_increase
  156. type: integer
  157. unit: kWh
  158. class: measurement
  159. optional: true
  160. mapping:
  161. - scale: 100
  162. - entity: sensor
  163. translation_key: power_x
  164. translation_placeholders:
  165. x: B
  166. category: diagnostic
  167. class: power
  168. dps:
  169. - id: 115
  170. name: sensor
  171. type: integer
  172. unit: W
  173. force: true
  174. class: measurement
  175. mapping:
  176. - scale: 10
  177. - entity: sensor
  178. translation_key: current_x
  179. translation_placeholders:
  180. x: B
  181. category: diagnostic
  182. class: current
  183. dps:
  184. - id: 116
  185. name: sensor
  186. type: integer
  187. unit: A
  188. class: measurement
  189. force: true
  190. mapping:
  191. - scale: 1000
  192. - entity: sensor
  193. translation_key: voltage_x
  194. translation_placeholders:
  195. x: B
  196. category: diagnostic
  197. class: voltage
  198. dps:
  199. - id: 117
  200. name: sensor
  201. type: integer
  202. unit: V
  203. class: measurement
  204. force: true
  205. mapping:
  206. - scale: 10
  207. - entity: sensor
  208. name: Total energy B
  209. class: energy
  210. dps:
  211. - id: 118
  212. name: sensor
  213. type: integer
  214. unit: kWh
  215. class: total_increasing
  216. optional: true
  217. mapping:
  218. - scale: 1000
  219. - id: 114
  220. name: power_statistics
  221. type: integer
  222. unit: kWh
  223. class: total_increasing
  224. optional: true
  225. mapping:
  226. - scale: 100
  227. - id: 119
  228. name: energy_today
  229. type: integer
  230. unit: kWh
  231. class: measurement
  232. optional: true
  233. mapping:
  234. - scale: 1000
  235. - id: 122
  236. name: emergy_increase
  237. type: integer
  238. unit: kWh
  239. class: measurement
  240. optional: true
  241. mapping:
  242. - scale: 100
  243. - entity: button
  244. name: Real-time updates
  245. category: config
  246. dps:
  247. - id: 102
  248. name: button
  249. type: string
  250. mapping:
  251. - dps_val: idle
  252. value: false
  253. default: true
  254. - dps_val: ok
  255. value: true
  256. optional: true
  257. - entity: number
  258. name: Alarm power setting A
  259. category: config
  260. dps:
  261. - id: 111
  262. name: value
  263. type: integer
  264. unit: W
  265. range:
  266. min: 200
  267. max: 500000
  268. mapping:
  269. - step: 100
  270. - entity: number
  271. name: Alarm power setting B
  272. category: config
  273. dps:
  274. - id: 121
  275. name: value
  276. type: integer
  277. unit: W
  278. range:
  279. min: 200
  280. max: 500000
  281. mapping:
  282. - step: 100