Open fischer94563 opened 8 months ago
Resave the files with UTF8 encoding without BOM. That worked for me.
Thanks! I will give that a try.Kevin
On Tuesday, April 30, 2024 at 01:32:32 PM PDT, Sergey Nikitin ***@***.***> wrote:
Resave the files with UTF8 encoding without BOM. That worked for me.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Hi! You can try updates made by me at: https://github.com/JuniorPolegato/TTGOWeatherStation
Thanks!I will try.Kevin
On Friday, May 31, 2024 at 04:36:10 PM PDT, Junior Polegato ***@***.***> wrote:
Hi! You can try updates made by me at: https://github.com/JuniorPolegato/TTGOWeatherStation
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Thanks Junior.
I'm still getting an error:
In file included from C:\Users\fisch\Documents\Arduino\TTGOWeatherStation-main\TTGOWeatherStation\TTGOWeatherStation.ino:5:0: c:\Users\fisch\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:26:10: fatal error: functional: No such file or directory
^~~~~~~~~~~~
compilation terminated. exit status 1
Compilation error: exit status 1
I've copied all of the files from your ZIP, and they are in the directory, and show across the IDE banner. I haven't done the configurations shown in steps 3-6. I have the standard TFT_eSPI.h installed from Bodner. Do I need to change this and install your forked version? I'm not sure how to do this.
Sorry for being such a dolt on this, but I'm new, and don't have a software background. I'm just a hardware dude... Thanks. Kevin
Bodmer. Sorry.
In file included from C:\Users\fisch\Documents\Arduino\TTGOWeatherStation-main\TTGOWeatherStation\TTGOWeatherStation.ino:5:0: c:\Users\fisch\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:26:10: fatal error: functional: No such file or directory
^~~~~~~~~~~~
compilation terminated. exit status 1
Compilation error: exit status 1
Hmmm. For some reason it drops the
In file included from C:\Users\fisch\Documents\Arduino\TTGOWeatherStation-main\TTGOWeatherStation\TTGOWeatherStation.ino:5:0: c:\Users\fisch\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:26:10: fatal error: functional: No such file or directory
^~~~~~~~~~~~
compilation terminated. exit status 1
Compilation error: exit status 1
Jeez. It strips out the //
Hi!
On Linux, I can find that at esp32 libraries, so have you installed esp32 board and libraries and selected correct board?
find ~/.arduino15/ -iname "functional.*" /home/junior/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32c3/include/asio/asio/asio/include/asio/detail/functional.hpp /home/junior/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s2/include/asio/asio/asio/include/asio/detail/functional.hpp /home/junior/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32/include/asio/asio/asio/include/asio/detail/functional.hpp /home/junior/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/asio/asio/asio/include/asio/detail/functional.hpp
Hi Junior,Yes, I have ESP32 libraries installed, and have been able to successfully generate ESP32 code. I will go back and check if the functional.hpp is present. Thanks for showing the path to look.
Thanks for your help!Kevin
On Tuesday, June 11, 2024 at 06:30:06 PM PDT, Junior Polegato ***@***.***> wrote:
Hi!
On Linux, I can find that at esp32 libraries, so have you installed esp32 board and libraries and selected correct board?
find ~/.arduino15/ -iname "functional.*" /home/junior/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32c3/include/asio/asio/asio/include/asio/detail/functional.hpp /home/junior/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s2/include/asio/asio/asio/include/asio/detail/functional.hpp /home/junior/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32/include/asio/asio/asio/include/asio/detail/functional.hpp /home/junior/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/asio/asio/asio/include/asio/detail/functional.hpp
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
@JuniorPolegato
Edit: Managed to get it compiled but it seems that the sketch is too big ....
Sketch uses 2039437 bytes (155%) of program storage space. Maximum is 1310720 bytes.
Global variables use 61556 bytes (18%) of dynamic memory, leaving 266124 bytes for local variables. Maximum is 327680 bytes.
Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.
text section exceeds available space in board
Compilation error: text section exceeds available space in board
Hi!
@AussiSG
I updated to resolve the compilation errors with new versions of getParam and LED Control, but now I see you've resolved the issue.
About sketch size, at board configuration, you need to select a partiton scheme at last 2 MB:
Hi!
@AussiSG
I updated to resolve the compilation errors with new versions of getParam and LED Control, but now I see you've resolved the issue.
About sketch size, at board configuration, you need to select a partiton scheme at last 2 MB:
Thanks! Managed to compile and download. But the display seems to be a bit off to the left side. Checked with 2 boards which both show the similar left side off.
And also trying to connect to my wi-fi ssid seems to be failing because i've tried it sometimes but it always falls back to it's own AP.
Hi, @AussiSG!
You need to follow these steps, especially step 4, did you do it?
https://github.com/JuniorPolegato/TTGOWeatherStation?tab=readme-ov-file#how-to-get-it-on
hi @JuniorPolegato ,
Indeed I didn't read it carefully forgot to comment the “#include
I got some special characters inside the password and also a blank space in the WiFi SSID it looks like that's not possible. Cause i try it with my personal hotspot which has not special characters and no black spaces that one connected.
Hi @AussiSG !
Maybe &
character, but you can add your Wi-Fi data into known_wifis.txt file, where name and password are separated by a tabulation \t
. After that, you will just need upload this file.
New on 20-oct-2024: REPO
In time, @AussiSG, the ESP32 just connect to 2.4GHz Wi-Fi band, check yours.
Hi @JuniorPolegato , thanks for the update ! will certainly check it out.
I tried editing the 'known_wifi.txt' file and uploading but that didnt succeeded. tried it with a 'manual tab' in .txt file . And indeed it's only 2.4Ghz which i'm trying to connect to. My password contains '+' and '=' this seems to be a dealbreaker.
Do I need to make it in the .txt as followed in real text: 'WIFI SSID' \t 'PASSWD'
Hi! You can edit one line of the original file, just keep the tabulation character: (enable your editor to view invísible characters)
Sorry to bother you with this, but I'm new and inexperienced....
I downloaded the weather file, including "ani.h" and "Orbitron_Medium_20.h". I seem to have some compiling errors, and was wondering if you could steer me in the right direction. I love your projects! Thanks. Kevin
In file included from C:\Users\fisch\Documents\Arduino\Weather\Weather.ino:3: C:\Users\fisch\Documents\Arduino\Weather\ani.h:1:1: error: stray '\357' in program int frames=10; ^ C:\Users\fisch\Documents\Arduino\Weather\ani.h:1:2: error: stray '\273' in program int frames=10; ^ C:\Users\fisch\Documents\Arduino\Weather\ani.h:1:3: error: stray '\277' in program int frames=10; ^ C:\Users\fisch\Documents\Arduino\Weather\Weather.ino: In function 'void loop()': C:\Users\fisch\Documents\Arduino\Weather\Weather.ino:191:30: error: 'class NTPClient' has no member named 'getFormattedDate'; did you mean 'getFormattedTime'? formattedDate = timeClient.getFormattedDate(); ^
~~~getFormattedTimeexit status 1
Compilation error: stray '\357' in program