vekexasia / comfoair-esp32

Interact with Zehnder Comfoair with esp32
Other
124 stars 40 forks source link

Error uploading to ESP #29

Closed J1Buskens closed 2 years ago

J1Buskens commented 2 years ago

When I try to upload the project to my ESP I get an error in the remoteesp32 part. I get the following:

Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = espota
Uploading .pio\build\remoteesp32\firmware.bin
13:30:08 [DEBUG]: Options: {'esp_ip': '192.168.1.126', 'host_ip': '0.0.0.0', 'esp_port': 3232, 'host_port': 46476, 'auth': '', 'image': '.pio\\build\\remoteesp32\\firmware.bin', 'spiffs': False, 'debug': True, 'progress': True, 'timeout': 10}
13:30:08 [INFO]: Starting on 0.0.0.0:46476
13:30:08 [INFO]: Upload size: 826672
Sending invitation to 192.168.1.126 ..........
13:31:48 [ERROR]: No response from the ESP
*** [upload] Error 1
======================================== [FAILED] Took 102.68 seconds ========================================
Environment      Status    Duration
---------------  --------  ------------
wemos_d1_mini32  SUCCESS   00:00:22.718
remoteesp32      FAILED    00:01:42.678

When I check the serial monitor, MQTT is able to subscribe to all topics and I get an IP address, so wifi and MQTT seem to be working.

vekexasia commented 2 years ago

Apparently ota is broken. but you successfully uploaded via usb :)

J1Buskens commented 2 years ago

My bad, I thought I needed to upload both :) Thanks for the reply!