|
Post by SDL on Mar 13, 2018 7:19:22 GMT -8
Could you show me the information before the number 31341 so I can see where it is hanging in the code?
And if you can, cut and paste the text into the email rather than pictures.
We will get to the bottom of this!
BP
|
|
|
Post by eduardogodinez on Mar 13, 2018 7:26:10 GMT -8
<abbr>Yes, I attach the text file with the log: Free heap on ESP8266:28208 --------------- DS3231 Clock --------------- 03/12/2018 11:43:04 --------------- AM2315 --------------- Temp: 31.50 Hum: 18.00 DwPt: 15.10 --------------- BMP280 --------------- Pressure: 890.38 hPa Temperature: 29.12 C Altitude: 1712.72 m --------------- SunAirPlus Not Present --------------- --------------- WXLink Not Present --------------- --------------- WeatherRack --------------- windSpeedMin =0.00 windSpeedMax =9.63 windGustMin =0.00 windGustMax =23.65 windDirectionMin =0.00 windDirectionMax =315.00 currentWindSpeed=6.15 currentWindGust=17.35 Wind Direction=45.00 Cumulative Rain = 10.06 displayMode=4 246438 157169 155434 144738 143620 141584 120746 112168 111104 106045 105334 100771 98898 98207 78607 74375 66821 61893 61152 58553 57335 51326 49943 49504 46727 45679 45425 44013 43630 43510 43161 42617 40666 40416 40052 39168 38866 37729 35550 35160 34368 33845 31676 31341 31066 30543 30056 29515 29397 29268 28841 28747 28145 28112 27125 26915 </abbr> Attachments:Log.txt (400.3 KB)
|
|
|
Post by SDL on Mar 13, 2018 7:42:40 GMT -8
Just a guess, but try running it with the OLED screen disconnected.
Now, do you have another program on another computer doing REST calls?
BP
|
|
|
Post by eduardogodinez on Mar 13, 2018 7:51:29 GMT -8
ok, I will try disconecting the OLED screen, Yes, the Serial interface is connected to a laptop, and the request is from another PC
|
|
|
Post by eduardogodinez on Mar 13, 2018 7:53:08 GMT -8
I removed the HUB and the OLED screen, let me try one day with this configuration
|
|
|
Post by SDL on Mar 13, 2018 8:22:41 GMT -8
Also, don't use the REST interface. I still think that it might be hanging from your Browser.
BP
|
|
|
Post by eduardogodinez on Mar 13, 2018 9:45:43 GMT -8
If I can't use the REST interface, How I can get the data?
I don't use web browser, I use VB.net:
Dim request As HttpWebRequest Dim response As HttpWebResponse = Nothing Dim reader As StreamReader
request = DirectCast(WebRequest.Create("http://192.168.1.235/FullDataString"), HttpWebRequest) response = DirectCast(request.GetResponse(), HttpWebResponse) reader = New StreamReader(response.GetResponseStream())
rawresp = reader.ReadToEnd()
request = Nothing response.Dispose() reader.Dispose()
|
|
|
Post by eduardogodinez on Mar 13, 2018 9:48:01 GMT -8
I don't thing that this was the problem, I was to the station disconect the OLED screen and the problem continues, another 2 stations work fine for some time, and then crash
|
|
|
Post by SDL on Mar 13, 2018 9:52:52 GMT -8
Eduardo,
How often are you reading the data via the REST interface?
We need to find the problem, then we can deal with it.
I would like you to put the OLED back in (it was just a guess) and at least take one of your weather stations and NOT use REST. Let's see if that one bombs.
BP
|
|
|
Post by eduardogodinez on Mar 14, 2018 9:04:51 GMT -8
If I need to use VB.net to get the data, how can I get it without REST? how can I do this? In the URL put 192.168.1.235 ?
|
|
frightanic
New Member
Posts: 35
Raspberry Pi: Yes
Other Device: OurWeather (ESP8266), lots of ESP8266/ESP32 modules
|
Post by frightanic on Mar 15, 2018 1:51:58 GMT -8
Sorry to divert from the discussion between eduardogodinez and @sdl. For my case I found the cause but no solution yet. The problem is unrelated to RTC, sensors or power - it's got to do with WiFi/connectivity. Just for the heck of it I installed a temporary WiFi AP out on the patio (fed through power-line from the house). It's just one meter a way from OurWeather. Guess what, the weather station has been running stably for 48h now. I don't know what exactly causes OurWeather to lock up sporadically but it's related to WiFi reception.
|
|
|
Post by SDL on Mar 15, 2018 7:20:17 GMT -8
Eduardo:
Let's make sure this is causing the lockup problem. Then we can solve the data problem. How often are you fetching data?
Frightanic:
Interesting. Is it a different type of WiFi router than has been dropping the connection?
Best, BP
|
|
|
Post by eduardogodinez on Mar 15, 2018 8:50:47 GMT -8
Eduardo: Let's make sure this is causing the lockup problem. Then we can solve the data problem. How often are you fetching data? Frightanic: Interesting. Is it a different type of WiFi router than has been dropping the connection? Best, BP Each 10 minutes, in the farms are 3 Stations with a Sparkx201W wireless internet, 1 is very stable, 1 very unstable, in the office is a Ubiquiti Pro system,I attach photos and the records in excel Attachments:Lecturas.xlsx (265.12 KB)
|
|
|
Post by eduardogodinez on Mar 15, 2018 8:51:38 GMT -8
<abbr>I Attach the installation photos</abbr> Attachments:
|
|
|
Post by eduardogodinez on Mar 15, 2018 8:53:19 GMT -8
. Attachments:
|
|