HI all,
i try to set up a WT32-ETH01 for the first time. Both for me and for it. I am not an experienced user it is my 2nd board trying to set up and develop something.
I want to flash esphome
Up to now
i wired it with a USB-TTL and connected to a laptop
i started the esphome wizard
add new device>continue>gave it a name>pick specific board>ESP32 Wireless-tag WT32-
ETH01 Ethernet module> copied the encryption key>install
found it on the web esphome >connect> it connected and i hit prepare for the first use
i connected on wt32 a dht sensor on 3V3 GND and IO36
6.reconnected to the laptop and via web esphome i installed the edited yaml
disconected io0-gnd and txd rxd so it only be powered up via laptop usb (5v and gnd) and i connected on wt32 an ethernet cable
it stays offline and logs are INFO Reading configuration /config/esphome/wt32-eth01-1st.yaml⌠INFO Starting log output from 192.168.2.31 using esphome API WARNING Canât connect to ESPHome API for 192.168.2.31: Error connecting to (â192.168.2.31â, 6053): [Errno 113] Connect call failed (â192.168.2.31â, 6053)
i have tried to flash it with every possible combination i could find. via esphome dashboard, web esphome, i have plugged and unplugged it many many many times. The only procedure seems to go to the end is the âprepare for the first useâ but even then it doesnt connect even via wifi.
finally i tried to reset to factory settings where according to the manual âHardware mode to restore factory settings: CFG pin grounding, restart the moduleâ
I connected the 2 pins (CFG and a GND) with a jumper cable and i powered it up having connected only the 5V and the GND from the USBTTL. Its led turned on but how can i know if it has been reset?
COuld module be damaged after all these tests, trials, fails etc?
Sorry I thought you had flashed it but obviously if you disconnected the serial in step 6 you wonât have flashed it, because the first flash must be by serial.
I disconnected cables after flashing. Sometimes it is not clear that board has been flashed. There is no clear message that the procedure is over and successful. How much time does it need to be flashed? During flashing one more led is blinking on usbttl besides the one that is on. Should i use another flashing method? Is there any other utility to flash esphome? However the photos i uploaded are from my last try.
After having tried many different options and having tried to flash it (WT32-ETH01) enough times i finally made it work and connects to LAN. But it connects wirelessly. Then i edited yaml to set up ethernet connection and tried to install the new yaml. Yaml is tested no errors. It starts compiling it creates image but flashing fails with the message:
collect2: fatal error: ld terminated with signal 9 [killed]
I have a rpi 3b running HAOS, and there are connected to it 2 bluetooth mi thermos, 1 raspberry pico w (with 2 ds18b20 s and a dht22) and a some other integrations (22).
Could it be a matter of memory sufficiency?
If yes, is rpi that runs out of memory or WT32?
If rpi is running out of memory (normal memory usage @ 66%) this happens at the time that starts flashing the image in WT32? If i uninstall some integrations will it have enough memory? What is the min available ram to run smoothly?
i finally made it. i didnt flash the yaml. file through esphome directly but using modern format i created bin file and i flashed the .file using esphome web.
thank you all for the support
ota works with multicast, so make sure you are on the same subnet as HA is
192.168.Y.X where the Y should be the same and X different (the subnetmask would be 255.255.255.0 in this case) otherwise HA cant find the esp-device and shows it as offline
(you can overcome this with some tricks)