Hi all,
I'm trying to flash the ESP chip on my EV charger so that I can get local control... I got it for free with the purchase of a car and it supports Smarts overseas but the ones supplied OEM have been altered.
I tried to intercept the web-socket first, made some progress, but after spending quite a bit of time hit a dead end and it seemed it would be easier to flash to ESPHome.
Now though I'm trying to get the basics down, and failing to get a wifi connection.
It's a Geely branded Jueclat charger (manufactured by Lotus Flash Charge under the Geely umbrella corps)
The chip is an ESP8684-WROOM-02C
Connecting via command line replies:
Connected to ESP32-C2 on COM5:
Chip type: ESP8684H (revision v1.2)
Features: Wi-Fi, BT 5 (LE), Single Core, 120MHz, Embedded Flash 4MB (GD)
Crystal frequency: 26MHz
I've cut down to basics just to try to isolate for wifi failures as that's where I'm getting hung up atm.
esphome:
name: jueclat-ev-charger
friendly_name: EV Charger
esp32:
board: esp32-c2-devkitm-1
variant: esp32c2
framework:
type: esp-idf
version: recommended
wifi:
ssid: "MYSSID"
password: "Password"
logger:
level: DEBUG
baud_rate: 115200
ota:
- platform: esphome
[V][wifi_esp32:819]: Scan done: status=0 number=0 scan_id=128
[W][wifi:1444]: No networks found
[D][wifi:1838]: Retry phase: INITIAL_CONNECT → SCAN_CONNECTING
[D][wifi:1289]: Starting scan
[V][wifi_esp32:819]: Scan done: status=0 number=0 scan_id=129
[W][wifi:1444]: No networks found
[D][wifi:1838]: Retry phase: SCAN_CONNECTING → RETRY_HIDDEN
[D][wifi:561]: Hidden candidate 'MYSSID' at index 0
[I][wifi:1088]: Connecting to 'MYSSID' (any) (priority 0, attempt 1/1 in phase RETRY_HIDDEN)...
[V][wifi:1094]: Connection Params: SSID: 'MYSSID'
[V][wifi:1101]: BSSID: Not Set
[V][wifi:1138]: Channel not set
[V][wifi:1155]: Using DHCP IP
[V][wifi:1157]: Hidden: NO
[W][wifi_esp32:772]: Disconnected ssid='MYSSID' reason='Probe Request Unsuccessful'
[W][wifi:1659]: Connecting to network failed (callback)
[D][wifi:1838]: Retry phase : RETRY_HIDDEN → RESTARTING
[W][wifi:722]: Restarting adapter
[V][wifi_esp32:227]: Disabling STA
[V][wifi_esp32:740]: STA stop
[W][wifi:1670]: Network no longer found
[D][wifi:1838]: Retry phase: RESTARTING → SCAN_CONNECTING
[D][wifi:12 89]: Starting scan
~REPEAT~
If I reinstall the original firmware, I can connect immediately to my wifi, so I'd say that that rules out anything hardware/physical and makes it purely software. I missed that compiling my yaml wasnt creating a bootloader which I got stuck at for a while and have used the original bootloader and partitians bin files from the oem. Could there be something in there, or something wifi related that I'm missing?
I'm really just a hobbyist with only a basic understanding and this has thrown me for a few days now.
