Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error #1

Open
careyer opened this issue Aug 17, 2021 · 4 comments
Open

Compile error #1

careyer opened this issue Aug 17, 2021 · 4 comments

Comments

@careyer
Copy link

careyer commented Aug 17, 2021

Hi there...

i am really sorry to bug you after like 2y.... but can you please help me on this issue:
Why is Ardunio IDE complaining about this issue?
image

Thank you very much in advance and thanks for the great project!

@careyer
Copy link
Author

careyer commented Aug 17, 2021

seems like it has to do something with bblanchon/ArduinoJson#756 ... but I don't totally get it

@SoulSlayerPT
Copy link
Owner

Hi,

No problem. Let me try to help.

First you need the ArduinoJson library. You can install it with Tool->Manage Libraries.
But you need the ArduinoJson 5.13.5, because the syntax/library changed at version 6. So you can use the old version and compile or update it to the version 6 in the code.

@careyer
Copy link
Author

careyer commented Aug 18, 2021

@SoulSlayerPT thank you very much! I figured exactly that out just yesterday night by doing some google kung-fu! Works like a charm now! But thank you very much for stepping in and offering your help.

@ThomDietrich
Copy link

ThomDietrich commented May 24, 2022

Hey there, I'm trying your firmware right this second. It seems to work right out of the box, hence I want to share my platformio project file. Please consider to add it to the project.

platformio.ini

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
lib_deps =
	knolleary/PubSubClient@^2.8
	jfturcot/[email protected]+sha.b30890b8f7
	bblanchon/ArduinoJson@^6.17.3
monitor_speed = 115200

[env:d1_mini_ota]
extends = env:d1_mini
upload_protocol = espota
upload_port = 192.168.23.63
upload_flags =
  --port=8266
  --auth=neatowifi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants