Skip to content

A starter repository for configuring ESP8266s for OTA upload via PlatformIO

License

Notifications You must be signed in to change notification settings

eriknomitch/esp-ota-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp-ota-upload

Dependencies

Installation

Configuration

Clone the repository and create a file at src/env.h with the following contents:

#define WIFI_ESSID    "<Your Wi-Fi ESSID>"
#define WIFI_PASSWORD "<Your Wi-Fi Password>"

Plug in your ESP8266 and find the /dev/tty.* port by listing ls -1 /dev/tty.*.

Create a file at .env with the following contents:

ESP_UPLOAD_PORT="<IP or .local domain of your ESP>"
ESP_LOCAL_TTY_DEV="</dev/tty.* port of your ESP>"

Usage

For the first run, plug in your ESP8266 and execute ./upload.

After that, you'll be able to do OTA uploads. Edit src/Main.ino as you'd like for your specific application and execute ./upload again after finding the IP/local domain of your ESP and setting it in .env.

About

A starter repository for configuring ESP8266s for OTA upload via PlatformIO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published