Comments on: ESP32 CYD with LVGL: Weather Station (Description, Temperature, Humidity) https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 28 Jul 2025 16:31:27 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Lukasz https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1075665 Mon, 28 Jul 2025 16:31:27 +0000 https://randomnerdtutorials.com/?p=161726#comment-1075665 Is it possible to add a second screen with the weather forecast for 3 days ahead so that the screens change every 5 minutes?

]]>
By: Tom Greenhaw https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1075018 Sat, 26 Jul 2025 15:49:15 +0000 https://randomnerdtutorials.com/?p=161726#comment-1075018 In reply to Mark D.

That was my first impression as well. Then I considered the possibility that it was a language translation fail so I answered his question promptly 🙂

]]>
By: Mark D https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1074991 Sat, 26 Jul 2025 14:24:53 +0000 https://randomnerdtutorials.com/?p=161726#comment-1074991 In reply to Dusan Djurisic.

How Rude.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1074926 Sat, 26 Jul 2025 10:49:42 +0000 https://randomnerdtutorials.com/?p=161726#comment-1074926 In reply to Dusan Djurisic.

Hi.
I just tested the project, it is working as expected.
It’s probably what Tom Greenhaw mentioned.

Double-check if you haven’t removed the // from the comments by mistake.

Regards,
Sara

]]>
By: Tom Greenhaw https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1073866 Wed, 23 Jul 2025 20:20:30 +0000 https://randomnerdtutorials.com/?p=161726#comment-1073866 I see in your error message that on Line 254, “Parse was not declared…”
this should be a comment like:
// Parse the JSON to extract the time
Check around there to see if the comment is being treated as code.

]]>
By: Dusan Djurisic https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1073853 Wed, 23 Jul 2025 19:22:51 +0000 https://randomnerdtutorials.com/?p=161726#comment-1073853 Thanks for the answer,
Yes I installed ArduinoJson by B B Blanchon ver. 7.4.2 , and I also tried with version 6.21.5 and I got a similar error .
I expect a quick answer, thanks Dusan.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1073264 Tue, 22 Jul 2025 10:04:46 +0000 https://randomnerdtutorials.com/?p=161726#comment-1073264 In reply to Dusan Djurisic.

Hi.
Did you install the right version of the ArduinoJSON library by B Blanchon?
Regards,
Sara

]]>
By: Dusan Djurisic https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1072911 Mon, 21 Jul 2025 10:53:46 +0000 https://randomnerdtutorials.com/?p=161726#comment-1072911 I have a problem with esp32-cyd-lvgl-weather-station
“”Compiling sketch…
“C:\Users\dusan\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2411/bin/xtensa-esp32-elf-g++” -MMD -c “@C:\Users\dusan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-master-d930a386-v1\esp32/flags/cpp_flags” -w -Og -g3 -Werror=return-type -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ESP32_2432S028R -DARDUINO_ARCH_ESP32 “-DARDUINO_BOARD=\”ESP32_2432S028R\”” “-DARDUINO_VARIANT=\”jczn_2432s028r\”” -DARDUINO_PARTITION_huge_app “-DARDUINO_HOST_OS=\”windows\”” “-DARDUINO_FQBN=” -DESP32=ESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 “@C:\Users\dusan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-master-d930a386-v1\esp32/flags/defines” “-IL:\00A-Project\ArduinoESP32\LVGL\CYD_meteo-data” -iprefix “C:\Users\dusan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-master-d930a386-v1\esp32/include/” “@C:\Users\dusan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-master-d930a386-v1\esp32/flags/includes” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-master-d930a386-v1\esp32/qio_qspi/include” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.0-alpha1\cores\esp32” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.0-alpha1\variants\jczn_2432s028r” “-Il:\00A-Project\ArduinoESP32\LVGL\libraries\lvgl\src” “-Il:\00A-Project\ArduinoESP32\LVGL\libraries\TFT_eSPI” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.0-alpha1\libraries\SPI\src” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.0-alpha1\libraries\FS\src” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.0-alpha1\libraries\SPIFFS\src” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.0-alpha1\libraries\WiFi\src” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.0-alpha1\libraries\Network\src” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.0-alpha1\libraries\HTTPClient\src” “-IC:\Users\dusan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.0-alpha1\libraries\NetworkClientSecure\src” “-Il:\00A-Project\ArduinoESP32\LVGL\libraries\ArduinoJson\src” “@C:\Users\dusan\AppData\Local\arduino\sketches\1F257C28FB4FE45D65EA38983404BD6F/build_opt.h” “@C:\Users\dusan\AppData\Local\arduino\sketches\1F257C28FB4FE45D65EA38983404BD6F/file_opts” “C:\Users\dusan\AppData\Local\arduino\sketches\1F257C28FB4FE45D65EA38983404BD6F\sketch\CYD_meteo-data.ino.cpp” -o “C:\Users\dusan\AppData\Local\arduino\sketches\1F257C28FB4FE45D65EA38983404BD6F\sketch\CYD_meteo-data.ino.cpp.o”
L:\00A-Project\ArduinoESP32\LVGL\CYD_meteo-data\CYD_meteo-data.ino: In function ‘void get_weather_data()’:
L:\00A-Project\ArduinoESP32\LVGL\CYD_meteo-data\CYD_meteo-data.ino:254:9: error: ‘Parse’ was not declared in this scope
254 | Parse the JSON to extract the time
| ^~~~~
L:\00A-Project\ArduinoESP32\LVGL\CYD_meteo-data\CYD_meteo-data.ino:256:54: error: ‘doc’ was not declared in this scope
256 | DeserializationError error = deserializeJson(doc, payload);
| ^~~””

Please help me.
Thanks in advance to Dushannail: dusan.djurisic@gmail.com

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1064364 Thu, 03 Jul 2025 21:54:26 +0000 https://randomnerdtutorials.com/?p=161726#comment-1064364 In reply to Lukasz.

Hi.
I’m not sure about that.
In my IDE, it simply shows up. Continue scrolling on the drop-down menu of the baud-rate and see if it shows up.
If not, you can change the baud rate in your code.

Regards,
Sara

]]>
By: Lukasz https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1064113 Thu, 03 Jul 2025 12:07:51 +0000 https://randomnerdtutorials.com/?p=161726#comment-1064113 In reply to Sara Santos.

Thank you Sara,
After setting it up in decimal, everything works. And can you tell me if I need to change anything so that the speed of 115200 appears on the list?

]]>