CircuitSetup / Split-Single-Phase-Energy-Meter

Split Single-phase Energy Meter
https://www.crowdsupply.com/circuitsetup/split-single-phase-energy-meter
MIT License
261 stars 57 forks source link

Can't flash latest esphome example #37

Closed jarrettv closed 3 years ago

jarrettv commented 3 years ago

I'm using the latest example code here: Software/examples/HA-ESPHome_energy_meter_detailed_power.yaml and I get an error during upload. I just tested with another esp8266 and it flashed fine.

`CURRENT: upload_protocol = esptool Looking for upload port... Use manually specified: /dev/ttyUSB0 Uploading .pioenvs/energymeter/firmware.bin Serial port /dev/ttyUSB0 Connecting........____..............................

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header *** [upload] Error 2 ============================================== [FAILED] Took 26.92 seconds ==============================================`

jarrettv commented 3 years ago

I was able to grab the firmware.bin and flash it from emonesp.local flash utility and it worked!

CircuitSetup commented 3 years ago

Did you mean to load EmonESP or ESPHome? Theyre both very different.

jarrettv commented 3 years ago

I was running emon and I wanted to switch to esphome. I was able to use emon firmware upgrade to flash esphome. Hope that explains it.