-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Feyree home EV charger
Issue #1149
- Loading branch information
Showing
3 changed files
with
217 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
215 changes: 215 additions & 0 deletions
215
custom_components/tuya_local/devices/feyree_ev_charger.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,215 @@ | ||
name: EV charger | ||
products: | ||
- id: hytatexziwaifxj1 | ||
name: Feyree 32A 85-264V EV charger | ||
primary_entity: | ||
entity: sensor | ||
class: enum | ||
name: Status | ||
icon: "mdi:ev-station" | ||
dps: | ||
- id: 101 | ||
type: string | ||
name: sensor | ||
mapping: | ||
- dps_val: no_connect | ||
value: Disconnected | ||
- dps_val: connect | ||
value: Connected | ||
- dps_val: charing | ||
value: Charging | ||
- dps_val: wait_rfid | ||
value: Waiting for authorization | ||
- dps_val: finish | ||
value: Charged | ||
- dps_val: wait_charing | ||
value: Delaying charge | ||
- dps_val: error | ||
value: Error | ||
- id: 3 | ||
type: string | ||
optional: true | ||
name: charger_status | ||
- id: 10 | ||
type: bitfield | ||
name: fault_code | ||
- id: 11 | ||
type: string | ||
optional: true | ||
name: alarm_set_1 | ||
- id: 12 | ||
type: string | ||
optional: true | ||
name: alarm_set_2 | ||
- id: 14 | ||
type: string | ||
optional: true | ||
name: mode | ||
mapping: | ||
- dps_val: charge_now | ||
- dps_val: charge_pct | ||
- dps_val: charge_energy | ||
- dps_val: charge_schedule | ||
- id: 15 | ||
type: integer | ||
optional: true | ||
name: balance_energy | ||
unit: kWh | ||
- id: 18 | ||
type: boolean | ||
optional: true | ||
name: switch | ||
- id: 23 | ||
type: string | ||
optional: true | ||
name: system_version | ||
- id: 25 | ||
type: integer | ||
optional: true | ||
name: charge_energy_once | ||
unit: kWh | ||
- id: 27 | ||
type: string | ||
optional: true | ||
name: online_state | ||
- id: 105 | ||
type: boolean | ||
optional: true | ||
name: require_authorization | ||
secondary_entities: | ||
- entity: button | ||
name: Clear energy | ||
class: restart | ||
category: config | ||
dps: | ||
- id: 16 | ||
type: boolean | ||
name: button | ||
- entity: number | ||
name: Set charge current | ||
category: config | ||
icon: "mdi:ev-plug-type-2" | ||
dps: | ||
- id: 102 | ||
type: integer | ||
name: value | ||
unit: A | ||
range: | ||
min: 8 | ||
max: 32 | ||
mapping: | ||
- constraint: max_current | ||
conditions: | ||
- dps_val: false | ||
value_redirect: current_16_limit | ||
range: | ||
min: 8 | ||
max: 16 | ||
- id: 103 | ||
type: boolean | ||
optional: true | ||
name: max_current | ||
mapping: | ||
- dps_val: false | ||
value: 16 | ||
- value: 32 | ||
- id: 111 | ||
type: integer | ||
optional: true | ||
name: current_16_limit | ||
hidden: true | ||
range: | ||
min: 8 | ||
max: 16 | ||
- entity: number | ||
name: Charge delay | ||
category: config | ||
icon: "mdi:car-clock" | ||
dps: | ||
- id: 104 | ||
type: integer | ||
name: value | ||
unit: | ||
range: | ||
min: 0 | ||
max: 15 | ||
unit: h | ||
- entity: sensor | ||
class: energy | ||
dps: | ||
- id: 106 | ||
type: integer | ||
name: sensor | ||
unit: kWh | ||
class: measurement | ||
mapping: | ||
- scale: 10 | ||
- entity: sensor | ||
class: voltage | ||
category: diagnostic | ||
dps: | ||
- id: 107 | ||
type: integer | ||
name: sensor | ||
unit: V | ||
class: measurement | ||
- entity: sensor | ||
class: current | ||
dps: | ||
- id: 108 | ||
type: integer | ||
name: sensor | ||
unit: A | ||
class: measurement | ||
mapping: | ||
- scale: 10 | ||
- entity: sensor | ||
class: power | ||
dps: | ||
- id: 109 | ||
type: integer | ||
name: sensor | ||
unit: kW | ||
class: measurement | ||
mapping: | ||
- scale: 10 | ||
- entity: sensor | ||
class: temperature | ||
category: diagnostic | ||
dps: | ||
- id: 110 | ||
type: integer | ||
name: sensor | ||
unit: C | ||
class: measurement | ||
- entity: button | ||
name: Toggle charging | ||
category: config | ||
dps: | ||
- id: 112 | ||
type: boolean | ||
name: button | ||
- entity: sensor | ||
name: Time remaining | ||
class: duration | ||
category: diagnostic | ||
dps: | ||
- id: 113 | ||
type: integer | ||
name: sensor | ||
unit: h | ||
class: measurement | ||
mapping: | ||
- scale: 10 | ||
- entity: number | ||
name: Charging duration | ||
category: config | ||
icon: "mdi:car-clock" | ||
dps: | ||
- id: 114 | ||
type: integer | ||
name: value | ||
unit: h | ||
range: | ||
min: 0 | ||
max: 15 |
7d3cf5d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, thanks for this component. How do I insert this EV Charger into my home assistant using the yaml file? I have all the local tuya details installed and I want to add the EV Charger. If I go to tuya local / add device I can only add 1 entity. (and this EV charger contains many entities.)Thanks.