I’m having a difficult time getting flashing a Sonoff SV with espthe home. I’ve been able to compile and now I’m to the final part where I’m trying to flash to the device. Unfortunately I’m receiving the following error:
esptool.py v2.6 Serial port /dev/ttyUSB0 ERROR Running command failed: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0' ERROR Please try running esptool.py --before default_reset --after hard_reset --chip esp8266 --port /dev/ttyUSB0 write_flash 0x0 config/door_garage/.pioenvs/door_garage/firmware.bin locally.
I’m running the python version under Ubuntu 19.0x. I’ve been able to flash Tasmoto firmware in the past without issue. I’ve tried using the web GUI in addition to the CLI with similar results. Any help would be appreciated. Thanks!