- Fri May 01, 2020 2:09 pm
#86864
I got some input from pfeerick over at platform IO, and I am very pleased to say I am up and running!
The problem was that there was a missing dependancy in the platformio.ini... apparently it should have been:
Code: Select alllib_deps =
ESP8266Audio@1.1
I2Cdevlib-MPU6050@e0ac048b61
FastLED@3.1.6
ESP Async WebServer@1.1.0
PubSubClient@2.6
ArduinoJson@5.8.4
Gianbacchio/ESP8266_Spiram@94bc8e8
Spiram was missing, and ESPAudio got bumped to 1.1. I have no idea why it was throwing the HTTPClientAPI message, but I have it assembled and working.
So for anyone else who has no idea what to do to make this:
1. Install VSC and Platform IO plugin
2. Install Platform IO core (for CLI)
3. Clone ESParkle to dir of choice
3. Edit platformio.ini with above deps
4. Rename and fill in the missing info from config.h
5. If you want any other mp3s, put them in data/mp3
6. Open terminal and cd to the ESParkle dir
7. Connect Wemos
8. Type commands:
this uploads the main firmware, then:
Code: Select allplatformio run -t nobuild --target uploadfs
to upload the SPIFFS content (the mp3s in data dir). You may also need to use the --upload-port option, my port was /dev/cu.wchusbserial1410 so for example:
Code: Select allplatformio run -t nobuild --target uploadfs --upload-port /dev/cu.wchusbserial1410
9. When flashing is finished (you'll clearly see in the terminal a SUCCESS message in green) unplug it
10. Assemble
Thanks for your help Pablo. And others who helped me find this project