|
|
@@ -1,4 +1,8 @@
|
|
|
name: EV charger
|
|
|
+products:
|
|
|
+ - id: e1kw2auo
|
|
|
+ manufacturer: Andalung
|
|
|
+ model: "Portable EV Charger"
|
|
|
entities:
|
|
|
- entity: sensor
|
|
|
class: energy
|
|
|
@@ -36,25 +40,9 @@ entities:
|
|
|
value: charged
|
|
|
- dps_val: charger_fault
|
|
|
value: fault
|
|
|
- - id: 11
|
|
|
- optional: true
|
|
|
- type: string
|
|
|
- name: alarm_set_1
|
|
|
- - id: 12
|
|
|
- optional: true
|
|
|
- type: string
|
|
|
- name: alarm_set_2
|
|
|
- - id: 19
|
|
|
- optional: true
|
|
|
- type: string
|
|
|
- name: local_timer
|
|
|
- id: 23
|
|
|
type: string
|
|
|
name: system_version
|
|
|
- - id: 33
|
|
|
- optional: true
|
|
|
- type: string
|
|
|
- name: mode_set
|
|
|
- entity: number
|
|
|
name: Charging current
|
|
|
class: current
|
|
|
@@ -65,8 +53,8 @@ entities:
|
|
|
name: value
|
|
|
unit: A
|
|
|
range:
|
|
|
- min: 1
|
|
|
- max: 255
|
|
|
+ min: 6
|
|
|
+ max: 32
|
|
|
- entity: sensor
|
|
|
class: power
|
|
|
category: diagnostic
|
|
|
@@ -147,6 +135,63 @@ entities:
|
|
|
- id: 10
|
|
|
type: bitfield
|
|
|
name: fault_code
|
|
|
+ - id: 10
|
|
|
+ type: bitfield
|
|
|
+ name: description
|
|
|
+ mapping:
|
|
|
+ - dps_val: 0
|
|
|
+ value: ok
|
|
|
+ - dps_val: 1
|
|
|
+ value: Overcurrent
|
|
|
+ - dps_val: 2
|
|
|
+ value: Secondary overcurrent fault
|
|
|
+ - dps_val: 4
|
|
|
+ value: Overvoltage
|
|
|
+ - dps_val: 8
|
|
|
+ value: Undervoltage alarm
|
|
|
+ - dps_val: 16
|
|
|
+ value: Contactor adhesion
|
|
|
+ - dps_val: 32
|
|
|
+ value: Contactor fault
|
|
|
+ - dps_val: 64
|
|
|
+ value: Earth fault
|
|
|
+ - dps_val: 128
|
|
|
+ value: Meter hardware alarm
|
|
|
+ - dps_val: 256
|
|
|
+ value: Emergency stop fault
|
|
|
+ - dps_val: 512
|
|
|
+ value: CP fault
|
|
|
+ - dps_val: 1024
|
|
|
+ value: Meter communication fault
|
|
|
+ - dps_val: 2048
|
|
|
+ value: Card reader fault
|
|
|
+ - dps_val: 4096
|
|
|
+ value: Circuit short fault
|
|
|
+ - dps_val: 8192
|
|
|
+ value: Adhesion fault
|
|
|
+ - dps_val: 16384
|
|
|
+ value: Self-test alarm
|
|
|
+ - dps_val: 32768
|
|
|
+ value: Leakage current alarm
|
|
|
+ - entity: text
|
|
|
+ name: Alarm 1
|
|
|
+ category: config
|
|
|
+ icon: "mdi:bell-cog"
|
|
|
+ hidden: true
|
|
|
+ dps:
|
|
|
+ - id: 11
|
|
|
+ type: base64
|
|
|
+ name: value
|
|
|
+ - entity: text
|
|
|
+ name: Alarm 2
|
|
|
+ category: config
|
|
|
+ icon: "mdi:bell-cog"
|
|
|
+ hidden: true
|
|
|
+ dps:
|
|
|
+ - id: 12
|
|
|
+ optional: true
|
|
|
+ type: base64
|
|
|
+ name: value
|
|
|
- entity: sensor
|
|
|
name: Connection
|
|
|
icon: "mdi:ev-plug-type2"
|
|
|
@@ -189,6 +234,10 @@ entities:
|
|
|
value: scheduled_charge
|
|
|
- dps_val: charge_delay
|
|
|
value: delayed_charge
|
|
|
+ - id: 33
|
|
|
+ optional: true
|
|
|
+ type: base64
|
|
|
+ name: mode_set
|
|
|
- entity: sensor
|
|
|
name: Remaining
|
|
|
class: energy_storage
|
|
|
@@ -223,13 +272,23 @@ entities:
|
|
|
- scale: 100
|
|
|
range:
|
|
|
min: 1
|
|
|
- max: 2000000
|
|
|
+ max: 20000
|
|
|
- entity: switch
|
|
|
icon: "mdi:ev-station"
|
|
|
dps:
|
|
|
- id: 18
|
|
|
type: boolean
|
|
|
name: switch
|
|
|
+ - entity: text
|
|
|
+ name: Charging time
|
|
|
+ category: config
|
|
|
+ icon: "mdi:car-clock"
|
|
|
+ hidden: true
|
|
|
+ dps:
|
|
|
+ - id: 19
|
|
|
+ type: base64
|
|
|
+ optional: true
|
|
|
+ name: value
|
|
|
- entity: sensor
|
|
|
name: Temperature
|
|
|
class: temperature
|
|
|
@@ -239,6 +298,7 @@ entities:
|
|
|
type: integer
|
|
|
name: sensor
|
|
|
unit: C
|
|
|
+ class: measurement
|
|
|
- entity: sensor
|
|
|
name: Charge
|
|
|
class: energy_storage
|