Hi,
I am trying to upload ESPHome (from Home Assistants) to a Sonoff M5 switch. According to the online tutorials this should be easy. Unfortunately ESPHome cannot connect to the device.
I am using this programmer:
https://aliexpress.com/item/1005006127179718.html
I have installed the USB driver for the serial port CDM212364.
Note: unfortunately on the first connection I missed the fact that the output power jumper on the programmer was set to 5V. On the second attempt I had already set the jumper to 3.3V.
I connected RX to TX, TX to RX, GND to GND, 3.3V to 3.3V and while connecting the programmer to the USB port on the computer I hold down the switch button to enter programming mode.
When I add a new device in HA/ESPhome and click "connect", the interface asks for a COM port (I use Chrome for serial programming) but the connection fails.
Only a very long string appears in the ESPHome logs, with no errors:
.
I know there is a risk that by connecting the first time with 5V I could have fried the device. Except that after unplugging the programmer the switch works without a problem, it connects to WiFi, the sonoff app sees the switch and is able to control it over WiFi, so it's definitely not completely burnt out.
Unfortunately this is the only device I currently own where I could try to upload esphome.
Any ideas what else to check to find the cause of the problem?
I am trying to upload ESPHome (from Home Assistants) to a Sonoff M5 switch. According to the online tutorials this should be easy. Unfortunately ESPHome cannot connect to the device.
I am using this programmer:
https://aliexpress.com/item/1005006127179718.html
I have installed the USB driver for the serial port CDM212364.
Note: unfortunately on the first connection I missed the fact that the output power jumper on the programmer was set to 5V. On the second attempt I had already set the jumper to 3.3V.
I connected RX to TX, TX to RX, GND to GND, 3.3V to 3.3V and while connecting the programmer to the USB port on the computer I hold down the switch button to enter programming mode.
When I add a new device in HA/ESPhome and click "connect", the interface asks for a COM port (I use Chrome for serial programming) but the connection fails.
Only a very long string appears in the ESPHome logs, with no errors:
2024-06-23 19:08:16,725 INFO 304 GET /devices (0.0.0.0) 1.64ms
2024-06-23 19:08:22,713 INFO 304 GET /devices (0.0.0.0) 1.64ms
2024-06-23 19:08:28,703 INFO 304 GET /devices (0.0.0.0) 1.41ms
2024-06-23 19:08:30,143 INFO 200 GET /devices (0.0.0.0) 1.53ms
2024-06-23 19:08:34,707 INFO 304 GET /devices (0.0.0.0) 1.65ms
2024-06-23 19:08:39,717 INFO 304 GET /devices (0.0.0.0) 1.35ms
2024-06-23 19:08:45,703 INFO 304 GET /devices (0.0.0.0) 1.61ms
2024-06-23 19:08:51,714 INFO 304 GET /devices (0.0.0.0) 1.50ms
2024-06-23 19:08:57,702 INFO 304 GET /devices (0.0.0.0) 1.46ms
I know there is a risk that by connecting the first time with 5V I could have fried the device. Except that after unplugging the programmer the switch works without a problem, it connects to WiFi, the sonoff app sees the switch and is able to control it over WiFi, so it's definitely not completely burnt out.
Unfortunately this is the only device I currently own where I could try to upload esphome.
Any ideas what else to check to find the cause of the problem?