This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pro2 PLUS] 4-days forecast problem
#1
Applies to the v3 version. 
The 4-day forecast only works immediately after starting Rx. After about an hour, when I want to display this screen again, 
the receiver hangs on the message "Downloading data, please wait" and you have to reset it. 
The forecast works fine again until the next refresh.
Arduino 1.8.8, AVR 1.6.22 

J.


Aaaa..... - lang PL.
Reply
#2
(10-05-2019, 22:19)jarekh3 Wrote: Applies to the v3 version. 
The 4-day forecast only works immediately after starting Rx. After about an hour, when I want to display this screen again, 
the receiver hangs on the message "Downloading data, please wait" and you have to reset it. 
The forecast works fine again until the next refresh.
Arduino 1.8.8, AVR 1.6.22 

J.


Aaaa..... - lang PL.

Smile

Compile with the ESP board manager 2.4.2 and the issue goes away.
MeteoCercal - Air Quality Data
Click here to watch at my ThingSpeak channel



Reply
#3
Ah ... sorry. it was of course 2.5.0. Well, I will try with 2.4.2. Thanks.
Reply
#4
(10-05-2019, 23:02)jarekh3 Wrote: Ah ... sorry. it was of course 2.5.0. Well, I will try with 2.4.2. Thanks.

Please report back if the issue was solved with 2.4.2.
The issue with 2.5.0 is under investigation.
MeteoCercal - Air Quality Data
Click here to watch at my ThingSpeak channel



Reply
#5
Of course. The 4-day forecast has been behaving strangely from the very beginning. First, after the next refresh (after about 1 hour after the restart) empty icons appeared. This concerned the PL and EN versions. The next time the receiver is restarted after selecting the forecast screen. 
And yesterday I died two ESP8266 (ESP in Pro + and Wemos D1 in Compact  ....there are such days ....) and I had to replace them with new ones.
Pro + already works perfectly and Compact is just testing.


Result (2.4.2):

[Image: f5fa76f2658f.jpg]
Reply
#6
(10-05-2019, 23:20)jarekh3 Wrote: Of course. The 4-day forecast has been behaving strangely from the very beginning. First, after the next refresh (after about 1 hour after the restart) empty icons appeared. This concerned the PL and EN versions. The next time the receiver is restarted after selecting the forecast screen. 

Result (2.4.2):

[Image: f5fa76f2658f.jpg]

Those icons appear when the 4-days forecast download or update fails. Check if WiFi connection is stable.
Is it happen with the Wireless Display unit too, or just with the Pro2 Compact?
Software version?
Which size have you used for the SPIFFS? 1Mb is enough.


(10-05-2019, 23:20)jarekh3 Wrote: And yesterday I died two ESP8266 (ESP in Pro + and Wemos D1 in Compact  ....there are such days ....) and I had to replace them with new ones.
Pro + already works perfectly and Compact is just testing.

Out of curiosity, how you "killed" the two ESP8266?
MeteoCercal - Air Quality Data
Click here to watch at my ThingSpeak channel



Reply
#7
(11-05-2019, 04:00)Werk_AGIs it happen with the Wireless Display unit too, or just with the Pro2 Compact? Software version? Wrote: Which size have you used for the SPIFFS? 1Mb is enough.

Todaj 


I do not have WD. 
Soft: P2ESP8266_RX_v3.0_b008
SPIFFS 1M

Today in the morning after selecting the forecast screen there was a restart.


Quote:Out of curiosity, how you "killed" the two ESP8266?

Ha .... As for Pro +, my son put a cup of coffee on the receiver ....

The second system (Wemos) was replaced because when I connected it to the computer, Rx was still restarting. (3 computers, 4 cables, multiple software changes by OTA)
Reply
#8
Hi Jarek,

Please try P2ESP8266_RX_v3.0_b010 released today.
Don't forget to replace the DarkSky library by the one included on the software package.
(for the case you want to revert back to an older software version, do a backup the existing DarkSky library)

Something you can do to just have to wait 15 minutes to check if the subsequent 4 days forecast updates aren't causing a crash.

Code:
// --------------------------------------------------------------------------------------
//   Define BigClock Settings
// --------------------------------------------------------------------------------------
const byte AutoBigClock_time =  0;    // Time in minutes (1 to 255) to automatically show the Big Clock. 0= Disable auto BigClock


- Set this to zero (0) so the big clock will not be activated.
- After system restart, navigate to the 4 Days Forecast Window and stay there. While you stay on that window, the 4 Days Forecast should update each 15 minutes.


Let us know if it is working better now.
MeteoCercal - Air Quality Data
Click here to watch at my ThingSpeak channel



Reply
#9
Hi
New software with libraries.
After restarting:
[Image: 5a459daa3b5c.jpg]
After 15 minutes:
[Image: 1273244d7b3e.jpg]
and....:
[Image: d674acaeff3d.jpg]
Huh

and log:
Code:
19:46:29.785 -> Connecting to morska1
19:46:30.582 -> ..............
19:46:37.941 ->
19:46:37.941 -> WiFi connected!
19:46:37.941 -> IP address: 192.168.1.127
19:46:37.941 -> RTC current date: May 12 2019
19:46:37.988 -> RTC current time: 19:46:35
19:46:37.988 -> Sending NTP request to sync clock...
19:46:38.035 -> NTP replied
19:46:38.035 -> UTC time from NTP server: 17:46:36
19:46:38.035 -> RTC adjusted to local time: 19:46:36
19:46:38.081 -> RTC current date: May 12 2019
19:46:38.081 -> RTC current time: 19:46:36
19:46:38.081 ->
19:46:38.081 ->
19:46:39.480 ->
19:46:39.480 ->
19:46:43.035 -> Weather from Dark Sky
19:46:43.035 ->
19:46:43.035 -> ###############  Daily weather  ###############
19:46:43.081 ->
19:46:43.081 ->  Overall summary     : Od dzisiaj do piątku niewielki deszcz, we wtorek temperatura spadnie do 12°C.
19:46:43.119 ->
19:46:43.119 -> Day summary   0    : Deszcz, ustanie po południu.
19:46:43.154 -> time               : May 12 00:00
19:46:43.191 -> icon               : 1
19:46:43.191 -> temperatureHigh    : 11.82
19:46:43.191 -> temperatureLow     : 6.84
19:46:43.238 -> precipProbability  : 98
19:46:43.238 ->
19:46:43.238 -> Day summary   1    : Średnie zachmurzenie w ciągu dnia.
19:46:43.284 -> time               : May 13 00:00
19:46:43.284 -> icon               : 6
19:46:43.284 -> temperatureHigh    : 12.93
19:46:43.331 -> temperatureLow     : 4.44
19:46:43.331 -> precipProbability  : 31
19:46:43.331 ->
19:46:43.331 -> Day summary   2    : Słaby wiatr, ustanie po południu, duże zachmurzenie w ciągu dnia.
19:46:43.378 -> time               : May 14 00:00
19:46:43.378 -> icon               : 10
19:46:43.425 -> temperatureHigh    : 11.64
19:46:43.425 -> temperatureLow     : 8.10
19:46:43.472 -> precipProbability  : 72
19:46:43.472 ->
19:46:43.472 -> Day summary   3    : Słaby wiatr, duże zachmurzenie w ciągu dnia.
19:46:43.519 -> time               : May 15 00:00
19:46:43.519 -> icon               : 10
19:46:43.519 -> temperatureHigh    : 16.83
19:46:43.566 -> temperatureLow     : 9.83
19:46:43.566 -> precipProbability  : 64
19:46:43.566 ->
19:46:43.566 -> Day summary   4    : Nocą niewielki deszcz.
19:46:43.613 -> time               : May 16 00:00
19:46:43.613 -> icon               : 1
19:46:43.613 -> temperatureHigh    : 17.24
19:46:43.659 -> temperatureLow     : 10.98
19:46:43.659 -> precipProbability  : 96
19:46:43.659 ->
19:47:02.535 -> SystemInit2 DONE!
20:01:44.466 -> RTC current date: May 12 2019
20:01:44.466 -> RTC current time: 20:01:42
20:01:44.502 -> Sending NTP request to sync clock...
20:01:44.570 -> NTP replied
20:01:44.570 -> UTC time from NTP server: 18:01:42
20:01:44.570 -> RTC adjusted to local time: 20:01:42
20:01:44.603 -> RTC current date: May 12 2019
20:01:44.638 -> RTC current time: 20:01:42
20:01:44.638 ->
20:01:44.638 ->
20:01:45.986 ->
20:01:45.986 ->
20:01:55.526 -> Weather from Dark Sky
20:01:55.526 ->
20:01:55.526 -> ###############  Daily weather  ###############
20:01:55.579 ->
20:01:55.579 ->  Overall summary     :
20:01:55.579 ->
20:01:55.579 -> Day summary   0    :
20:01:55.579 -> time               : Jan 1 01:00
20:01:55.579 -> icon               : 0
20:01:55.579 -> temperatureHigh    : 0.00
20:01:55.626 -> temperatureLow     : 0.00
20:01:55.626 -> precipProbability  : 0
20:01:55.679 ->
20:01:55.679 -> Day summary   1    :
20:01:55.679 -> time               : Jan 1 01:00
20:01:55.679 -> icon               : 0
20:01:55.679 -> temperatureHigh    : 0.00
20:01:55.679 -> temperatureLow     : 0.00
20:01:55.726 -> precipProbability  : 0
20:01:55.726 ->
20:01:55.726 -> Day summary   2    :
20:01:55.726 -> time               : Jan 1 01:00
20:01:55.779 -> icon               : 0
20:01:55.779 -> temperatureHigh    : 0.00
20:01:55.779 -> temperatureLow     : 0.00
20:01:55.779 -> precipProbability  : 0
20:01:55.826 ->
20:01:55.826 -> Day summary   3    :
20:01:55.826 -> time               : Jan 1 01:00
20:01:55.879 -> icon               : 0
20:01:55.879 -> temperatureHigh    : 0.00
20:01:55.879 -> temperatureLow     : 0.00
20:01:55.879 -> precipProbability  : 0
20:01:55.879 ->
20:01:55.879 -> Day summary   4    :
20:01:55.926 -> time               : Jan 1 01:00
20:01:55.926 -> icon               : 0
20:01:55.926 -> temperatureHigh    : 0.00
20:01:55.980 -> temperatureLow     : 0.00
20:01:55.980 -> precipProbability  : 0
20:01:55.980 ->
Reply
#10
Hi Jarek,

I still haven't an explanation for the issue, but it seems related to the chosen language. If I choose pl_PL I can replicate the issue, with pt_PT and en_GB it seems to be working well.
Issue seems related to memory usage, I'm investigating...

Can you please try using en_GB as language and report back.
Thanks

Rgs
MeteoCercal - Air Quality Data
Click here to watch at my ThingSpeak channel



Reply




Users browsing this thread: 1 Guest(s)