This is a Tuya EV charger, single phase 32a supports 85v to 264v. It uses Smart …Life app, but it seems like other Tuya EV chargers use the same API (without confirming it)
link: https://www.aliexpress.com/item/1005005504929776.html?spm=a2g0o.order_list.order_list_main.48.4dbb1802z6vKSl
**Log:**
```
2023-09-26 23:36:15.707 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches dooya_curtain with quality of 31%. DPS: {"updated_at": 1695764174.6401825, "10": 0, "101": "no_connect", "102": 32, "103": true, "104": 0, "106": 0, "107": 229, "108": 0, "109": 0, "110": 413, "112": false, "113": 0, "114": 0}
```
**DPS:**
{"updated_at": 1695764174.6401825,
"10": 0,
"101": "no_connect",
Amps: "102": 32,
"103": true,
"104": 0,
"106": 0,
Voltage "107": 229,
"108": 0,
"109": 0,
"110": 413,
"112": false,
"113": 0,
"114": 0}
https://github.com/make-all/tuya-local/issues/new?assignees=&labels=new+device&projects=&template=new-device.md&title=Request+support+for+%5Bdevice+description%5D
**API:**
```
curl --request GET "https://openapi.tuyaeu.com/v2.0/cloud/thing/bfe9b32545f5176313izm1/model" --header "sign_method: HMAC-SHA256" --header "client_id: amud3mjp94mk3ys9htcu" --header "t: 1695764754888" --header "mode: cors" --header "Content-Type: application/json" --header "sign: 7DA40862FA91BFC4F76BA9F4D864A5553A139EE5A75C5B959E199F168658E2AD" --header "access_token: 1439e123e9726f509bf0328e6554d43b"
```
{
"code": 28841002,
"msg": "No permissions. Your subscription to cloud development plan has expired.",
"success": false,
"t": 1695764750849,
"tid": "0f72c7925cb611ee8665fe445e07f2df"
}
**DP’S:**
**Work State**
Code 3
Type: Enum
{
"range": [
"charger_free",
"charger_insert",
"charger_free_fault",
"charger_wait",
"charger_charging",
"charger_pause",
"charger_end",
"charger_fault"
]
}
**Fault**
Code 10
Type: Bitmap.
{
"label": [
"ERR_UVP",
"ERR_OVP",
"ERR_OCP",
"ERR_PE",
"ERR_TEMP",
"ERR_CP",
"ERR_LEAK",
"ERR_RE_SCK",
"ERR_PE2",
"TEMP_PLUG",
"TEMP_PCB",
"TEMP_CORE",
"ESB",
"PE_SCK",
"LEAK_SCK",
"TEMP_SCK"
],
"maxlen": 16
}
**Alarm Set 1**
Code 11
Type: Raw
Unknown function
**Alarm Set 2**
Code 12
Type: Raw
Unkonwn function
**Work Mode**
Code 14
Type: Enum
{
"range": [
"charge_now",
"charge_pct",
"charge_energy",
"charge_schedule"
]
}
**Balance Energy**
Code 15
Type: Integer
{
"unit": "kW·h",
"min": 0,
"max": 99999999,
"scale": 3,
"step": 1
}
**Clear Energy**
Code 16
This will clear registered kwh displayed by the charger.
Type: Boolean
"{true,false}"
**Switch:**
Code 18
Type: Boolean
"{true,false}"
**System Version**
Code 23
Type: Boolean
"{true,false}"
**Once Charge Energy**
Code 25
Type: Integer
{
"unit": "kW·h",
"min": 1,
"max": 999999,
"scale": 2,
"step": 1
}
**Online State**
Code 27
Unknown - does not output value in tuya cloud
**Equipment Status**
Code 101
Connect/No Connect - meaning, if the charger detects and locks with the EV.
**Set Charging Current**
Code 102
8A/10A/13A/16A/25A/32Amp is what the manual says, but I’ve been able to change it in intervals of 1a from 8a to 32a
**充电电流确认**
Code 103
I think this is a confirmation of what selected Amp you’re currently using, or wish to set from listed above.
**Delayed Charging**
Code 104
In hours (devided by 10) - This is the option you set if you ie. want to delay charging by x hours.
**VerificationSet**
Code 105
Unknown function - My guess is that its a swhich you can enable if you want the charger to "learn" an RFID card, which have to be closed once done.
**Energy**
Code 106
In kwh. Ie. 0.00 kwh or 1.70 kwh used by the current charge session
**Voltage**
Code 107
In volt. Ie. 228V
**Current**
Code 108
Current current, ie. 0.00A (when not charging) or 15.8A (when charging)
**Power**
Code 109
In kwh. Ie. 0.00 kw or 5.60 kw
**Temperature**
Code 110
In Celsius, ie. 37.9 °C. This number needs to be devided by 10 since it spits out “379” for 37.9 degrees c
**Set Charging Current**
Code 111
8A/10A/13A/16A/25A/32Amp
**Charging Selection**
Code 112
Manual Stop charging / charging – like a switch
**Time**
Code 113
Delayed charging remaining (in hours, divided by 10) If you sat it at 4 hours beforehand, this will now show 400 or 399
**Timed Charging**
Code 114
Unknown
Other DP's with unkown DP_ID
## Found these whilst browsing "Control Device with DP".
DeviceState
Type: Enum
{
"range": [
"no_connect",
"connect",
"charing",
"wait_rfid",
"finish",
"wait_charing",
"error"
]
}
Set32A
Type: Intiger
{
"unit": "A",
"min": 8,
"max": 32,
"scale": 0,
"step": 1
}
Set32Or16
Boolean
"{true,false}"
SetDelayTime
Type: Integer
{
"unit": "H",
"min": 0,
"max": 15,
"scale": 0,
"step": 1
}
IDVerificationSet
Type: Boolean
"{true,false}
Set16A
Type: Integer
{
"unit": "",
"min": 8,
"max": 16,
"scale": 0,
"step": 1
}
DeviceKwh
Type: Integer
{
"unit": "Kwh",
"min": 0,
"max": 10000,
"scale": 1,
"step": 1
}
InputVoltage
Type: Integer
{
"unit": "V",
"min": 0,
"max": 500,
"scale": 0,
"step": 1
}
OutCurrent
Type: Integer
{
"unit": "A",
"min": 0,
"max": 600,
"scale": 1,
"step": 1
}
DeviceKw
Type: Integer
{
"unit": "Kw",
"min": 0,
"max": 1000,
"scale": 1,
"step": 1
}
DeviceTemp
Type: Integer
{
"unit": " °C",
"min": -100,
"max": 1500,
"scale": 1,
"step": 1
}
SwipRfid ## note - this EV charger does not have RFID
Type: Boolean
"{true,false}"
SetDefineTime
Type: Integer
{
"unit": "H",
"min": 0,
"max": 15,
"scale": 0,
"step": 1
}
**# Product ID**
{
"code": 28841002,
"msg": "No permissions. Your subscription to cloud development plan has expired.",
"success": false,
"t": 1695765940186,
"tid": "d45d9d965cb811eebb19ce5fa22f6e19"
}
Link: https://www.aliexpress.com/item/1005005504929776.html?spm=a2g0o.order_list.order_list_main.48.4dbb1802z6vKSl
Extra things i had exported through the LocalKey extraction:
iconUrl https://images.tuyaeu.com/smart/icon/bay16226250696545rLI/35878abfb9cc339489fd3272154de112.png
verSw 2.5.2
MCU: v1.0.0
productid hytatexziwaifxj1
Product "菲尔雷交流充电盒"
It updates voltage and state every 4 seconds