The project is developed with platformIO, to see how can be setting up in your favorite IDE, check the official documentation.
Run the project
With platformIO installed you can use the next commands in the project:
// build and upload project (in ESP8266-ESP01S hardware)
pio run -e esp01 -t upload
// build and upload project (in Nodemcu hardware)
pio run -e nodemcuv2 -t upload
// see arduino logs
pio device monitor
// run tests
pio test -e native
// build local
URL=/ HOST=192.168.178.21 PORT=3000 WSS=0 pio run -e nodemcuv2 -t upload --upload-port /dev/ttyUSB0
Note:
pio
is the short ofplatformio
.
- ESP8266 ESP01S
- Nodemcu v2
It can be use with any ESP8266 hardware, but it was only tested so far with the two above.
Any contribution is welcome