mdhiggins / ESP8266-HTTP-IR-Blaster

ESP8266 Compatible IR Blaster that accepts HTTP commands for use with services like Amazon Echo
MIT License
978 stars 218 forks source link

Project does not build with PlatformIO and the current ArduinoJson 6.x.x #264

Closed raymundfueloep closed 4 years ago

raymundfueloep commented 5 years ago

I'm building the project with PlatformIO. The build process fails with several errors in IRController.ino, among them the following: IRController.ino:54:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

When I edit platformio.ini and change the library dependency with Id 64 (that is, the latest version of ArduinoJson) into "ArduinoJson@^5" (which resolves to 5.13.4 at the time of writing), the build succeeds.

There are two related pull requests: #253 and #260