|
@@ -2,6 +2,8 @@ name: EV charger
|
|
|
products:
|
|
products:
|
|
|
- id: hytatexziwaifxj1
|
|
- id: hytatexziwaifxj1
|
|
|
name: Feyree 32A 85-264V EV charger
|
|
name: Feyree 32A 85-264V EV charger
|
|
|
|
|
+ - id: emvuyyax4lekiooj
|
|
|
|
|
+ name: Feyree A_32A_1L ChargePoint
|
|
|
primary_entity:
|
|
primary_entity:
|
|
|
entity: sensor
|
|
entity: sensor
|
|
|
class: enum
|
|
class: enum
|
|
@@ -16,13 +18,13 @@ primary_entity:
|
|
|
value: Disconnected
|
|
value: Disconnected
|
|
|
- dps_val: connect
|
|
- dps_val: connect
|
|
|
value: Connected
|
|
value: Connected
|
|
|
- - dps_val: charing
|
|
|
|
|
|
|
+ - dps_val: charing # typo from tuya
|
|
|
value: Charging
|
|
value: Charging
|
|
|
- dps_val: wait_rfid
|
|
- dps_val: wait_rfid
|
|
|
value: Waiting for authorization
|
|
value: Waiting for authorization
|
|
|
- dps_val: finish
|
|
- dps_val: finish
|
|
|
value: Charged
|
|
value: Charged
|
|
|
- - dps_val: wait_charing
|
|
|
|
|
|
|
+ - dps_val: wait_charing # typo from tuya
|
|
|
value: Delaying charge
|
|
value: Delaying charge
|
|
|
- dps_val: error
|
|
- dps_val: error
|
|
|
value: Error
|
|
value: Error
|
|
@@ -30,9 +32,6 @@ primary_entity:
|
|
|
type: string
|
|
type: string
|
|
|
optional: true
|
|
optional: true
|
|
|
name: charger_status
|
|
name: charger_status
|
|
|
- - id: 10
|
|
|
|
|
- type: bitfield
|
|
|
|
|
- name: fault_code
|
|
|
|
|
- id: 11
|
|
- id: 11
|
|
|
type: string
|
|
type: string
|
|
|
optional: true
|
|
optional: true
|
|
@@ -77,6 +76,49 @@ primary_entity:
|
|
|
optional: true
|
|
optional: true
|
|
|
name: require_authorization
|
|
name: require_authorization
|
|
|
secondary_entities:
|
|
secondary_entities:
|
|
|
|
|
+ - entity: sensor
|
|
|
|
|
+ name: Alarm event
|
|
|
|
|
+ icon: 'mdi:alert-outline'
|
|
|
|
|
+ class: enum
|
|
|
|
|
+ dps:
|
|
|
|
|
+ - id: 10
|
|
|
|
|
+ type: bitfield
|
|
|
|
|
+ name: sensor
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - dps_val: 0
|
|
|
|
|
+ value: "Ready"
|
|
|
|
|
+ - dps_val: 1
|
|
|
|
|
+ value: "Under voltage protection"
|
|
|
|
|
+ - dps_val: 2
|
|
|
|
|
+ value: "Over voltage protection"
|
|
|
|
|
+ - dps_val: 3
|
|
|
|
|
+ value: "Over current protection"
|
|
|
|
|
+ - dps_val: 4
|
|
|
|
|
+ value: "Protective earth error"
|
|
|
|
|
+ - dps_val: 5
|
|
|
|
|
+ value: "Temperature is to high"
|
|
|
|
|
+ - dps_val: 6
|
|
|
|
|
+ value: "Control pilot line error"
|
|
|
|
|
+ - dps_val: 7
|
|
|
|
|
+ value: "Leak"
|
|
|
|
|
+ - dps_val: 8
|
|
|
|
|
+ value: "Relay socket"
|
|
|
|
|
+ - dps_val: 9
|
|
|
|
|
+ value: "Protective earth error 2"
|
|
|
|
|
+ - dps_val: 10
|
|
|
|
|
+ value: "Plug temperature is to high."
|
|
|
|
|
+ - dps_val: 11
|
|
|
|
|
+ value: "PCB temperature is to high."
|
|
|
|
|
+ - dps_val: 12
|
|
|
|
|
+ value: "Core temperature is to high."
|
|
|
|
|
+ - dps_val: 13
|
|
|
|
|
+ value: "ESB"
|
|
|
|
|
+ - dps_val: 14
|
|
|
|
|
+ value: "Socket protective earth error"
|
|
|
|
|
+ - dps_val: 15
|
|
|
|
|
+ value: "Socket leakage"
|
|
|
|
|
+ - dps_val: 16
|
|
|
|
|
+ value: "Socket temperature is to high."
|
|
|
- entity: button
|
|
- entity: button
|
|
|
name: Clear energy
|
|
name: Clear energy
|
|
|
class: restart
|
|
class: restart
|
|
@@ -86,9 +128,17 @@ secondary_entities:
|
|
|
type: boolean
|
|
type: boolean
|
|
|
name: button
|
|
name: button
|
|
|
optional: true
|
|
optional: true
|
|
|
|
|
+ - entity: button
|
|
|
|
|
+ name: Clear event
|
|
|
|
|
+ class: restart
|
|
|
|
|
+ category: config
|
|
|
|
|
+ dps:
|
|
|
|
|
+ - id: 20
|
|
|
|
|
+ type: boolean
|
|
|
|
|
+ name: button
|
|
|
|
|
+ optional: true
|
|
|
- entity: number
|
|
- entity: number
|
|
|
name: Set charge current
|
|
name: Set charge current
|
|
|
- category: config
|
|
|
|
|
icon: "mdi:ev-plug-type2"
|
|
icon: "mdi:ev-plug-type2"
|
|
|
dps:
|
|
dps:
|
|
|
- id: 102
|
|
- id: 102
|
|
@@ -98,30 +148,21 @@ secondary_entities:
|
|
|
range:
|
|
range:
|
|
|
min: 8
|
|
min: 8
|
|
|
max: 32
|
|
max: 32
|
|
|
- mapping:
|
|
|
|
|
- - constraint: max_current
|
|
|
|
|
- conditions:
|
|
|
|
|
- - dps_val: false
|
|
|
|
|
- value_redirect: current_16_limit
|
|
|
|
|
- range:
|
|
|
|
|
- min: 8
|
|
|
|
|
- max: 16
|
|
|
|
|
|
|
+ - entity: switch
|
|
|
|
|
+ name: Leak enable
|
|
|
|
|
+ category: config
|
|
|
|
|
+ dps:
|
|
|
- id: 103
|
|
- id: 103
|
|
|
type: boolean
|
|
type: boolean
|
|
|
optional: true
|
|
optional: true
|
|
|
- name: max_current
|
|
|
|
|
|
|
+ force: true
|
|
|
|
|
+ name: switch
|
|
|
mapping:
|
|
mapping:
|
|
|
- dps_val: false
|
|
- dps_val: false
|
|
|
- value: 16
|
|
|
|
|
- - value: 32
|
|
|
|
|
- - id: 111
|
|
|
|
|
- type: integer
|
|
|
|
|
- optional: true
|
|
|
|
|
- name: current_16_limit
|
|
|
|
|
- hidden: true
|
|
|
|
|
- range:
|
|
|
|
|
- min: 8
|
|
|
|
|
- max: 16
|
|
|
|
|
|
|
+ value: false
|
|
|
|
|
+ default: true
|
|
|
|
|
+ - dps_val: true
|
|
|
|
|
+ value: true
|
|
|
- entity: number
|
|
- entity: number
|
|
|
name: Charge delay
|
|
name: Charge delay
|
|
|
category: config
|
|
category: config
|
|
@@ -134,6 +175,16 @@ secondary_entities:
|
|
|
range:
|
|
range:
|
|
|
min: 0
|
|
min: 0
|
|
|
max: 15
|
|
max: 15
|
|
|
|
|
+ - entity: switch
|
|
|
|
|
+ name: Power switch
|
|
|
|
|
+ icon: "mdi:power"
|
|
|
|
|
+ category: config
|
|
|
|
|
+ dps:
|
|
|
|
|
+ - id: 105
|
|
|
|
|
+ type: boolean
|
|
|
|
|
+ optional: true
|
|
|
|
|
+ force: true
|
|
|
|
|
+ name: switch
|
|
|
- entity: sensor
|
|
- entity: sensor
|
|
|
class: energy
|
|
class: energy
|
|
|
dps:
|
|
dps:
|
|
@@ -182,15 +233,33 @@ secondary_entities:
|
|
|
name: sensor
|
|
name: sensor
|
|
|
unit: C
|
|
unit: C
|
|
|
class: measurement
|
|
class: measurement
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - scale: 10
|
|
|
|
|
+ - entity: number
|
|
|
|
|
+ name: Leakage calibration
|
|
|
|
|
+ category: config
|
|
|
|
|
+ dps:
|
|
|
|
|
+ - id: 111
|
|
|
|
|
+ type: integer
|
|
|
|
|
+ name: value
|
|
|
|
|
+ optional: true
|
|
|
|
|
+ force: true
|
|
|
|
|
+ range:
|
|
|
|
|
+ min: 20
|
|
|
|
|
+ max: 250
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - dps_val: 20
|
|
|
|
|
+ value: 20
|
|
|
|
|
+ default: true
|
|
|
- entity: button
|
|
- entity: button
|
|
|
- name: Toggle charging
|
|
|
|
|
|
|
+ name: Toggle charging # Rfid Switch
|
|
|
category: config
|
|
category: config
|
|
|
dps:
|
|
dps:
|
|
|
- id: 112
|
|
- id: 112
|
|
|
type: boolean
|
|
type: boolean
|
|
|
name: button
|
|
name: button
|
|
|
- entity: sensor
|
|
- entity: sensor
|
|
|
- name: Time remaining
|
|
|
|
|
|
|
+ name: Charging time
|
|
|
class: duration
|
|
class: duration
|
|
|
category: diagnostic
|
|
category: diagnostic
|
|
|
dps:
|
|
dps:
|