This repository is serving as a cheatsheet of sorts, taking from many sources and transposing into a collection of runnable examples using platform.io and mostly targetting esp8266 dev boards, although with platformio should be easily adaptable.
- Copy
_config/secrets.template.has_config/secrets.hand fill in with your credentials as needed.
- NOTE:
secrets.his gitignored so this shouldn't be a problem if you fork the repo, just noting here as an FYI
- Each sub directory is a standalone platformio project, refer to the platformio docs for details (I'll add info around this here when I get a chance)
As mentioned most of the examples target the esp8266 type development boards. More specifically I tend to use the Witty Cloud boards like the one found here or the Wemos D1 mini as they are cheap and convenient for prototyping.
pio runwill build the project (run from within a sub directory)pio run -t uploadto upload to boardpio run -t cleanto clean/prep for fresh buildpio device monitorto open serial monitor