VolosR / TTGOWeatherStation

132 stars 59 forks source link

Program crashes after connect and initial draw #13

Open spotlesscoder opened 1 year ago

spotlesscoder commented 1 year ago

First of all, thank you for the amazing idea and putting it online

I tried running this on two different Lilygo T Display S3 but unfortunately it crashes after a few milliseconds and the microcontroller reboots.

The picture and placeholders are sometimes correctly displayed for the fraction of a second but no live data and then the microcontroller reboots, goes to the WiFi connection screen again.

This happens in an endless loop :/

JuniorPolegato commented 1 year ago

Hi!

I forked and refactoring this project, here

Can you try this one?

[]'s

Junior Polegato

orion14794 commented 1 year ago

Hi!

I forked and refactoring this project, here

Can you try this one?

[]'s

Junior Polegato

I am getting same issues. Did exactly as you instructed, device enters an infinite loop showing only connecting in white words and a black background, then reboots doing this loops over and over. Reboots every 3 seconds. Never showing the graphics/interface like it's shown in your posted photo...

JuniorPolegato commented 1 year ago

Hi!

Maybe a S3 issue, did you select the correct board? You can try to enable debugging verbose and see messages on the serial monitor.

orion14794 commented 1 year ago

Hi!

Maybe a S3 issue, did you select the correct board? You can try to enable debugging verbose and see messages on the serial monitor.

Yes. I've selected proper board and all libraries needed. It's not the 1st sketch I've flashed on my LiliGo T-Display ESP 32 S3, touch version. I've flashed Volos sketches before example: The PCB board clock display sketch which is currently running on my device...

JuniorPolegato commented 1 year ago

Hi! Maybe a S3 issue, did you select the correct board? You can try to enable debugging verbose and see messages on the serial monitor.

Yes. I've selected proper board and all libraries needed. It's not the 1st sketch I've flashed on my LiliGo T-Display ESP 32 S3, touch version. I've flashed Volos sketches before example: The PCB board clock display sketch which is currently running on my device...

Hi!

I do many tests and got this problem when occur connection errors, invalid key (personal key to API from OpenWeather) or invalid city/country (must be like at OpenWeather).

So I solve this with a loop around this errors in new version of my fork here: TTGOWeatherStation.

In this version, you can manage WiFi, key and Cities from web browser. I am using ESPUserConnection of my own.