bphermansson / EspSparsnasGateway

Reads data from Ikea Sparsnäs energy meter and publish via Mqtt.
MIT License
39 stars 27 forks source link

'StaticJsonBuffer' was not declared in this scope #19

Closed bphermansson closed 5 years ago

bphermansson commented 6 years ago

The code fails to compile if you updated ArduinoJson recently. This is because the Library Manager installs version 6.0 beta of ArduinoJson. The solution is to downgrade to the stable version 5.13.2. See https://github.com/bblanchon/ArduinoJson/issues/756 for more info.

bblanchon commented 6 years ago

You can verify that the right version of ArduinoJson is installed by checking the ARDUINOJSON_VERSION macros.

Netoperz commented 6 years ago

Yap, i can confirm that bug. all beta 's have problem, and only 5 works fine, , question is why arduino is pushing the updates to beta versions? should't that be only production version availble and dev only for those who want that ? :D

dogmatic69 commented 5 years ago

You choose the version you want when you install it, so if you don't want beta don't choose it.

dogmatic69 commented 5 years ago

This ticket should be closed (it is not really a bug, only information). It should be placed in the README