IoT Temperature Sensor With ESP8266

34,057

78

37

About: I am a Dad to two kids who are constantly need attentions and I am passionate about technology and trying to fix anything that is broken.

I was inspired to create a temperature sensor that I can monitor over wifi. This project is not new, but I like the idea of having intermediate layer for security and not having to open port in your router to your IoT device.
The basic idea will allow me to check up on the temperature at home while I was at work. Later it can be expanded to control the aircon and turning it on and off.

Step 1: Concept and Components Required

First the concept. The picture explain what I am trying to achieve. The temperature sensor is connected to the analog input of the ESP8266 WIFI module, which will periodically post the temperature to a cloud based hosting (in this example I am only using webserver with php server side scripting). Then you can access the temperature anywhere from the cloud (webserver) to check what is the current temperature.

Now components required for this are below, please not that the link are affiliate link, if you don't want, just go directly to the website.

- NodeMcu Lua ESP8266 dev board. I get mine from banggood.

- LM35 temperature sensor. I get mine from here.

- Prototype board and some wires (optional if you prefer to solder the temperature sensor directly)

- Arduino IDE, you can download it here.

- Working webserver with php server scripting installed (not required if you just want to view the temperature in your local area network)

Step 2: Get Arduino IDE to Work

Install the Arduino IDE, it support varying platform, windows, Linux and Mac. Just use the one you are comfortable with.

I am assuming you are comfortable to install and get this going.

Once Arduino is installed it is time to test your ESP8266 wifi board. You can connect the board using USB cable to your computer. The computer should detect this automatically.

- Select the correct board from Tools->Board-> NodeMCU 1.0 (ESP-12E module)

- The next step is to select the port where your ESP8266 is connected to, so go to Tools->Port-> mine come up as /dev/cu.wchusbserial14750, (you could have something else)

Once you have this connected you can test the connection and the board by loading the example sketch

- Select File->Examples->ESP8266->Blink

This will open the Blink sketch, you can click on the "Upload" button to upload your sketch. If all goes well the Led on your ESP8266 should start blinking.

Step 3: Connect the Temperature Sensor

The temperature sensor LM35 have 3 legs, the first leg is VCC, you can connect this to the 5V (ESP8266 board's output is 3.3V). The middle leg is Vout (where the temperature is read from, you can connect this to the analog input of the ESP8266 pin AD0, this is located at the top right hand side of the board as shown in picture. And the right leg should be connected to the ground. Now your circuit is complete.

Step 4: Setting Up the Cloud Webserver (optional)

You can skip this step if you want to upload the temperature to another webserver.

Assumption:

You will have a working webserver, and you are familiar with transferring files to your webserver.

Upload the attached zip file to the root of your website lets say the website is "http://arduinotestbed.com"

You can also put the files in a folder but make sure you modify the arduino sketch to point to the correct location of the "data_store.php"

In this example we are assuming the data_store.php file is located in the root of the website, accessible from http://arduinotestbed.com/data_store.php

Once uploaded you can test that it is working by pointing to http://arduinotestbed.com/ArduinoData.php

You should hopefully see the temperature dial showing the dummy temperature. Now that the webserver is ready we can proceed to the next step loading the sketch to our ESP8266.

One thing to note you will need to make sure the file temp.txt in the webserver have the write permission "666".

Step 5: Upload the Temperature Sensor Sketch

We are using the ESP8266 as a webserver an monitor the temperature and posting the reading to its internal webserver as well as the cloud.

- Copy the attached 3 files into a folder and open the main file "ESP8266TempSensor.ino" in Arduino IDE

- Modify the location of the webserver on the line String webserver = "arduinotestbed.com" (your webserver root)

- Modify the weburi on the line String weburi = "/data_store.php" (if you use the stepbefore)

- Upload the sketch to the ESP8266

If all goes well it should get uploaded successfully and the first time the ESP will goes into AP mode. You can use your laptop or mobile phone to connect to it. You should be able to find the AP by the name of "ESP-TEMP".

- Try to connect to ESP-TEMP using your laptop of mobile phone

- Find out what is the IP address that you are being assigned to, by doing the "ipconfig" command in windows or "ifconfig" command in linux or mac.

- If you are using iphone click on the i button next to ESP-TEMP that you are connected to

- Open up your browser and point to the ESP-TEMP, if you are assigned with 192.168.4.10 as your ip, the ESP-TEMP is having the ip of 192.168.4.1, so you can just go to http://192.168.4.1 and you should be presented with the setting page where you can enter your wifi router ssid and the psk key. once you entered that both and tick the "Update Wifi Config" check box, click on "update" to update the setting to your ESP8266.

The ESP8266 will now restart and trying to connect to your wifi router. You can monitor this progress in the Serial monitor by clicking on Tools->Serial Monitor. The serial monitor window will show you the progress of the connection.

The serial monitor will also tell you what is the IP address of your ESP8266 once is it connected to your wifi router. The LED will blink once every couple of minute when the temperature reading is take place. And you should be able to see the temperature by pointing to the address of the ESP8266.

Optional step: if you are setting up the webserver to save the temperature to, you can now point to the webserver that you had setup in the previous step, in this example is http://arduinotestbed.com/ArduinoData.php

Congratulations!!! you can now brag to your friends that you have IoT temperature sensor.

You can check out my temperature reading in the following url http://effendy.net.au/arduino/ArduinoData.php

Drop me a line if you manage to make this. If you like this, tell your friends, and you can follow me for more extension to the IoT temperature sensor. You can also check my personal blog for more projects related to microcontroller.

Step 6: Additional Step: TimeLib (Optional)

If you don't have the TimeLib, you will need to install the attached library in your library folder.

For more information about library you can find in the following link,https://www.arduino.cc/en/Guide/Libraries.

For windows users:

The library is located in C:\Users\<your username>\Documents\Arduino

For Mac users:

The library is located in Documents\Arduino\Libraries

You can manually extract the above zip file in the location mentioned.

Share

    Recommendations

    • Paper Contest

      Paper Contest
    • Warm and Fuzzy Contest

      Warm and Fuzzy Contest
    • Remix Contest

      Remix Contest

    37 Discussions

    0
    None
    MarioS103

    13 days ago

    The next step would be to choose any temperature and interact with a boil or A/C

    0
    None
    snorlaxprimeSamW91

    Reply 17 days ago

    Thank you for your suggestion on how to fix the problem

    0
    None
    snorlaxprimeRaymondN29

    Reply 9 months ago

    Hi RaymendN29,

    Have you try just a simple wifi setup to see whether the ESP8266 is working, you can try the example code in File->Examples->ESP8266WIFI->WiFIAccessPoint and see how did you go.

    0
    None
    PatricioD8snorlaxprime

    Reply 7 months ago

    Same issue here, I get the exception after connecting to the hotspot, then the nodemcu restart and start reading the temp, but of course no wifi access.

    0
    None
    snorlaxprimePatricioD8

    Reply 7 months ago

    Hi PatricioD8,

    Have you try the simple WifiAccessPoint example to see whether the ESP8266 is working ok? I can simplify the code down so that the access point is hardcoded. Let me know how did you go.

    0
    None
    MehdiO6

    4 weeks ago

    i have a problem in step 5. When i open the cloud i have this msg Notice: Undefined index: temp_sensor in /storage/ssd5/070/8517070/public_html/wecg/webserver/data_store.php on line 6
    0

    Capturez.PNG
    1 reply
    0
    None
    snorlaxprimeMehdiO6

    Reply 4 weeks ago

    Hi,
    Can you confirm that your cloud support HTTP POST? I didn't use cloud, just a normal webserver with PHP enabled.
    Also can you check what is returned at the following:

    DebugLn(data); <======== check the data, this should say "temp_sensor=xx"
    int httpCode = http.POST(data);
    String payload = http.getString();
    DebugLn(httpCode); <======= check what this return, it should be "200" when success
    DebugLn(payload); // this will get the response.

    If your server doesn't support HTTP POST you might want to use HTTP GET, which is much easier to DEBUG.

    0
    None
    ΧάρηςΚ1

    Question 2 months ago

    I am almost done but:
    I see ESP-TEMP, can connect to it, can find the IPs 192.168.4.2 and Default Gateway is 192.168.4.1. The problem is that I can't connect to 192.168.4.1. It says "can't reach this page". I can ping 192.168.4.1 without packet loss. I have tried the example wifiaccesspoint and 192.168.4.1 opens. Any advise?
    And a 2nd question: How can I change the temp interface on the webserver? I would like to have just the current number and a graph with previous recordings.
    Thank you!

    10 answers
    0
    None
    snorlaxprimeΧάρηςΚ1

    Reply 2 months ago

    If you can see ESP-TEMP, that means it is part of the setup, you need to connect using a laptop or mobile phone, then check the gateway IP, using the browser navigate to the gateway ip. You should get presented with the Configuration page as shown in step 5.
    At this point in Arduino, it is executing the handleRoot() function, the setting page is constructed in mainPage.h file. I hope this makes sense.
    As for your second question, you will have to modify the ArduinoData.php. This page reads the data file called temp.txt which store the temperate value posted by ESP8266. You can completely write a new webpage that read the temp.txt. Another alternative is to modify the data_store.php to store the posted value into a database for further processing.

    0
    None
    ΧάρηςΚ1snorlaxprime

    Reply 2 months ago

    Thank you for reoly! I have done what you say, found assigned ip and rhe ip of access point, then try to connect with browser from my mobile or laptop to this ip (192.168.4.1) but it does not connect..

    0
    None
    snorlaxprimeΧάρηςΚ1

    Reply 2 months ago

    That is very strange.
    You might want to try the following:
    - Main PC connected to ESP via USB and open the serial connection, so that you can see the debug code.
    - use your mobile to connect to ESP access point, and use the mobile phone to browse to the ESP gateway (192.168.4.1)
    - check the serial connection debug window in main pc to see whether the handleRoot() function is executed.
    Please post the debug message if you still can't connect.

    0
    None
    ΧάρηςΚ1snorlaxprime

    Reply 2 months ago

    Here is the debug code as I try to connect (I guess something is going totally wrong):  )a⸮"I⸮⸮⸮⸮⸮⸮[⸮⸮Z{PP[^~W⸮U⸮⸮W⸮⸮⸮UU⸮[⸮u⸮[⸮ԮWv_⸮U⸮VW[⸮⸮⸮W⸮ۿ⸮⸮[⸮ZP⸮⸮⸮T⸮^⸮UV⸮⸮⸮⸮׫U{⸮⸮⸮PW^^_k⸮֪_○⸮U⸮Un(ǜ⸮~⸮⸮X⸮f⸮Y⸮  )⸮5j⸮UVW⸮{⸮VU⸮⸮⸮⸮⸮[⸮⸮Z⸮⸮W⸮]v_{⸮uW⸮⸮⸮⸮⸮⸮[⸮⸮⸮⸮⸮^^⸮TUV⸮⸮{⸮⸮U⸮⸮[⸮vZ⸮⸮_⸮UV⸮⸮o⸮׻U*⸮⸮⸮^⸮J⸮⸮⸮U⸮⸮⸮^V⸮⸮Uf⸮U⸮(⸮LA⸮U⸮⸮/g%-⸮0@ A⸮Q⸮⸮⸮UvW⸮{⸮⸮U⸮⸮⸮⸮Z⸮U⸮VU⸮⸮[⸮-⸮r⸮⸮⸮U⸮⸮[⸮R~W⸮uw⸮⸮⸮⸮⸮⸮⸮e]⸮⸮kLUU⸮⸮T⸮VU[⸮+⸮⸮ZP⸮⸮UV⸮⸮_⸮k⸮U⸮⸮ԫu⸮֪_⸮⸮⸮U⸮⸮⸮uWk⸮9⸮⸮⸮⸮

    0
    None
    snorlaxprimeΧάρηςΚ1

    Reply 2 months ago

    You can adjust the baud rate to the correct baud rate (default is 9600). Adjust it to match the Serial.begin() code.

    0
    None
    ΧάρηςΚ1snorlaxprime

    Reply 2 months ago

    OK, here is the correct debug after I tried to connect after 7:37:15 from laptop to 192.168.4.1 without success. Is the temperature in Celsius? (my sensor may be broken). Why do I get hosterror? I tried with and without www with the same result. Thank you for great support!:


    sl$ܟ|⸮#⸮o  ⸮ l⸮ #|⸮⸮⸮2⸮r⸮b⸮c⸮⸮No⸮dno⸮⸮⸮ Bp⸮⸮#l slp⸮n⸮ ⸮ $ ⸮⸮  # N⸮|$⸮ ⸮c⸮|~⸮o⸮$⸮⸮$`⸮oN l nr⸮⸮⸮⸮ #⸮l{⸮⸮N B ⸮d⸮#b# ܎⸮⸮$`⸮⸮o⸮
    07:32:27.575 -> SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
    Started at 1053
    07:32:28.569 -> Setting up AP
    07:32:28.569 -> [AP] softap config unchanged
    07:32:28.569 -> Done with AP
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    07:32:50.060 -> wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    add 1
    07:32:51.252 -> aid 1
    07:32:51.252 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:32:51.252 -> wifi evt: 5
    wifi evt: 9
    WS:ac
    07:32:57.309 -> :rn 435
    07:32:57.309 -> :ref 1
    07:32:57.309 -> WS:av
    07:32:57.309 -> :ref 2
    07:32:57.309 -> :ur 2
    07:32:57.309 -> :ref 2
    07:32:57.309 -> :ur 2
    07:32:57.309 -> :c0 1, 435
    07:32:57.309 -> handleRoot
    07:32:57.309 -> Fatal exception 3(LoadStoreErrorCause):
    07:32:57.309 -> epc1=0x4020c0c0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4023d3b2, depc=0x00000000
    07:32:57.342 ->
    07:32:57.342 -> Exception (3):
    07:32:57.342 -> epc1=0x4020c0c0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d3b2 depc=0x00000000
    07:32:57.342 ->
    07:32:57.342 -> ctx: cont
    07:32:57.342 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    07:32:57.342 ->
    07:32:57.342 -> >>>stack>>>
    07:32:57.342 -> 3ffffe10: 3ffef60c 40201d90 3fff128c 0000009c
    07:32:57.342 -> 3ffffe20: 4023ee8c 000006c0 000006c0 40201e80
    07:32:57.342 -> 3ffffe30: 0000001c 0000002b 3ffef9b0 40206388
    07:32:57.375 -> 3ffffe40: 4023d3b2 000006c0 3ffffeb8 40209334
    07:32:57.375 -> 3ffffe50: 4023d3b2 000006be 3ffffeb8 4020937f
    07:32:57.375 -> 3ffffe60: 3ffe92e1 00000000 3ffffeb8 402093b1
    07:32:57.375 -> 3ffffe70: 00000001 00000001 3ffffeb8 402093fe
    07:32:57.375 -> 3ffffe80: 4023d3b2 00000010 3ffef7b0 40208f50
    07:32:57.375 -> 3ffffe90: 3ffe93c6 00000001 3fff0e04 40202dc1
    07:32:57.409 -> 3ffffea0: 3fff12fc 00000010 3fffff00 40209334
    07:32:57.409 -> 3ffffeb0: 3ffef9b0 00000297 3fff14bc 000006bf
    07:32:57.409 -> 3ffffec0: 000006be 00000001 3fff137c 401009e4
    07:32:57.409 -> 3ffffed0: 00000001 00000001 3fff0e04 4020a486
    07:32:57.409 -> 3ffffee0: 40002514 3fffdd3c 3fff0e04 4020637e
    07:32:57.442 -> 3ffffef0: 3fff0e04 3ffef5a4 3fffff20 402063ba
    07:32:57.442 -> 3fffff00: 00000000 00000000 00000000 402094e0
    07:32:57.442 -> 3fffff10: 3fff0e04 3ffef5a4 3ffef560 40206441
    07:32:57.442 -> 3fffff20: 3fff12fc 0000000f 00000001 00000000
    07:32:57.442 -> 3fffff30: 00000000 00000007 00007450 3ffef874
    07:32:57.475 -> 3fffff40: 3ffef588 00000001 3ffef5a4 00004bc6
    07:32:57.475 -> 3fffff50: 00000001 00000000 402058d4 45604189
    07:32:57.475 -> 3fffff60: 00000000 3fff1324 3ffef560 3ffef874
    07:32:57.475 -> 3fffff70: 00000001 3ffef588 3ffef560 40206638
    07:32:57.475 -> 3fffff80: 4020a8f0 00000000 00001388 3fffefb0
    07:32:57.508 -> 3fffff90: 00000000 3fff1324 00000064 40201837
    07:32:57.508 -> 3fffffa0: 3fffdad0 00000000 3ffef86c 40203a0c
    07:32:57.508 -> 3fffffb0: 3fffdad0 00000000 3ffef86c 4020a104
    07:32:57.508 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    07:32:57.508 -> <<07:32:57.541 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    07:32:57.541 ->
    07:32:57.541 -> load 0x4010f000, len 1384, room 16
    07:32:57.541 -> tail 8
    07:32:57.541 -> chksum 0x2d
    07:32:57.541 -> csum 0x2d
    07:32:57.541 -> vbb28d4a3
    07:32:57.541 -> ~ld
    07:32:57.607 -> SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
    07:32:57.607 -> wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    Started at 1053
    07:32:58.600 -> Setting up AP
    07:32:58.600 -> [AP] softap config unchanged
    07:32:58.600 -> Done with AP
    add 1
    07:32:58.799 -> aid 1
    07:32:58.799 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:32:58.799 -> wifi evt: 5
    07:32:58.799 -> wifi evt: 9
    wifi evt: 9
    WS:ac
    07:33:04.795 -> :rn 435
    07:33:04.795 -> :ref 1
    07:33:04.828 -> WS:av
    07:33:04.828 -> :ref 2
    07:33:04.828 -> :ur 2
    07:33:04.828 -> :ref 2
    07:33:04.828 -> :ur 2
    07:33:04.828 -> :c0 1, 435
    07:33:04.828 -> handleRoot
    07:33:04.828 -> Fatal exception 3(LoadStoreErrorCause):
    07:33:04.828 -> epc1=0x4020c0c0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4023d3b2, depc=0x00000000
    07:33:04.861 ->
    07:33:04.861 -> Exception (3):
    07:33:04.861 -> epc1=0x4020c0c0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d3b2 depc=0x00000000
    07:33:04.861 ->
    07:33:04.861 -> ctx: cont
    07:33:04.861 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    07:33:04.861 ->
    07:33:04.861 -> >>>stack>>>
    07:33:04.861 -> 3ffffe10: 3ffef60c 40201d90 3fff187c 0000009c
    07:33:04.861 -> 3ffffe20: 4023ee8c 000006c0 000006c0 40201e80
    07:33:04.861 -> 3ffffe30: 0000001c 0000002b 3ffef9b0 40206388
    07:33:04.861 -> 3ffffe40: 4023d3b2 000006c0 3ffffeb8 40209334
    07:33:04.894 -> 3ffffe50: 4023d3b2 000006be 3ffffeb8 4020937f
    07:33:04.894 -> 3ffffe60: 3ffe92e1 00000000 3ffffeb8 402093b1
    07:33:04.894 -> 3ffffe70: 00000001 00000001 3ffffeb8 402093fe
    07:33:04.894 -> 3ffffe80: 4023d3b2 00000010 3ffef7b0 40208f50
    07:33:04.894 -> 3ffffe90: 3ffe93c6 00000001 3fff0e04 40202dc1
    07:33:04.927 -> 3ffffea0: 3fff0f24 00000010 3fffff00 40209334
    07:33:04.927 -> 3ffffeb0: 3ffef9b0 00000217 3fff1b4c 000006bf
    07:33:04.927 -> 3ffffec0: 000006be 00000001 3fff0f7c 401009e4
    07:33:04.927 -> 3ffffed0: 00000001 00000001 3fff0e04 4020a486
    07:33:04.927 -> 3ffffee0: 40002514 3fffdd3c 3fff0e04 4020637e
    07:33:04.960 -> 3ffffef0: 3fff0e04 3ffef5a4 3fffff20 402063ba
    07:33:04.960 -> 3fffff00: 00000000 00000000 00000000 402094e0
    07:33:04.960 -> 3fffff10: 3fff0e04 3ffef5a4 3ffef560 40206441
    07:33:04.960 -> 3fffff20: 3fff0f24 0000000f 00000001 00000000
    07:33:04.960 -> 3fffff30: 00000000 00000007 00001c5b 3ffef874
    07:33:04.993 -> 3fffff40: 3ffef588 00000001 3ffef5a4 00004bc6
    07:33:04.993 -> 3fffff50: 00000001 00000000 402058d4 f70a3d70
    07:33:04.993 -> 3fffff60: 00000000 3fff0f44 3ffef560 3ffef874
    07:33:04.993 -> 3fffff70: 00000001 3ffef588 3ffef560 40206638
    07:33:04.993 -> 3fffff80: 4020a8f0 00000000 00001388 3fffefb0
    07:33:05.026 -> 3fffff90: 00000000 3fff0f44 00000064 40201837
    07:33:05.026 -> 3fffffa0: 3fffdad0 00000000 3ffef86c 40203a0c
    07:33:05.026 -> 3fffffb0: 3fffdad0 00000000 3ffef86c 4020a104
    07:33:05.026 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    07:33:05.026 -> <<07:33:05.059 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    07:33:05.059 ->
    07:33:05.059 -> load 0x4010f000, len 1384, room 16
    07:33:05.059 -> tail 8
    07:33:05.059 -> chksum 0x2d
    07:33:05.059 -> csum 0x2d
    07:33:05.059 -> vbb28d4a3
    07:33:05.059 -> ~ld
    07:33:05.125 -> SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
    07:33:05.125 -> wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    Started at 1052
    07:33:06.119 -> Setting up AP
    07:33:06.119 -> [AP] softap config unchanged
    07:33:06.119 -> Done with AP
    add 1
    07:33:06.317 -> aid 1
    07:33:06.317 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:33:06.317 -> wifi evt: 5
    07:33:06.317 -> wifi evt: 9
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    WS:ac
    07:33:36.913 -> :rn 435
    :ref 1
    07:33:36.947 -> WS:av
    07:33:36.947 -> :ref 2
    07:33:36.947 -> :ur 2
    07:33:36.947 -> :ref 2
    07:33:36.947 -> :ur 2
    :c0 1, 435
    07:33:36.980 -> handleRoot
    07:33:36.980 -> Fatal exception 3(LoadStoreErrorCause):
    07:33:36.980 -> epc1=0x4020c0c0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4023d3b2, depc=0x00000000
    07:33:36.980 ->
    07:33:36.980 -> Exception (3):
    07:33:36.980 -> epc1=0x4020c0c0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d3b2 depc=0x00000000
    07:33:36.980 ->
    07:33:36.980 -> ctx: cont
    07:33:36.980 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    07:33:36.980 ->
    07:33:36.980 -> >>>stack>>>
    07:33:36.980 -> 3ffffe10: 3ffef60c 40201d90 3fff1274 0000009c
    07:33:37.013 -> 3ffffe20: 4023ee8c 000006c0 000006c0 40201e80
    07:33:37.013 -> 3ffffe30: 0000001c 0000002b 3ffef9b0 40206388
    07:33:37.013 -> 3ffffe40: 4023d3b2 000006c0 3ffffeb8 40209334
    07:33:37.013 -> 3ffffe50: 4023d3b2 000006be 3ffffeb8 4020937f
    07:33:37.013 -> 3ffffe60: 3ffe92e1 00000000 3ffffeb8 402093b1
    07:33:37.013 -> 3ffffe70: 00000001 00000001 3ffffeb8 402093fe
    07:33:37.046 -> 3ffffe80: 4023d3b2 00000010 3ffef7b0 40208f50
    07:33:37.046 -> 3ffffe90: 3ffe93c6 00000001 3fff0e04 40202dc1
    07:33:37.046 -> 3ffffea0: 3fff1244 00000010 3fffff00 40209334
    07:33:37.046 -> 3ffffeb0: 3ffef9b0 00000217 3fff1a3c 000006bf
    07:33:37.046 -> 3ffffec0: 000006be 00000001 3fff0f7c 401009e4
    07:33:37.079 -> 3ffffed0: 00000001 00000001 3fff0e04 4020a486
    07:33:37.079 -> 3ffffee0: 40002514 3fffdd3c 3fff0e04 4020637e
    07:33:37.079 -> 3ffffef0: 3fff0e04 3ffef5a4 3fffff20 402063ba
    07:33:37.079 -> 3fffff00: 00000000 00000000 00000000 402094e0
    07:33:37.079 -> 3fffff10: 3fff0e04 3ffef5a4 3ffef560 40206441
    07:33:37.112 -> 3fffff20: 3fff1244 0000000f 00000001 00000000
    07:33:37.112 -> 3fffff30: 00000000 00000007 00007c85 3ffef874
    07:33:37.112 -> 3fffff40: 3ffef588 00000001 3ffef5a4 00004bc6
    07:33:37.112 -> 3fffff50: 00000001 00000000 402058d4 5e353f7c
    07:33:37.112 -> 3fffff60: 00000000 3fff12c4 3ffef560 3ffef874
    07:33:37.145 -> 3fffff70: 00000001 3ffef588 3ffef560 40206638
    07:33:37.145 -> 3fffff80: 4020a8f0 00000000 00001388 3fffefb0
    07:33:37.145 -> 3fffff90: 00000000 3fff12c4 00000064 40201837
    07:33:37.145 -> 3fffffa0: 3fffdad0 00000000 3ffef86c 40203a0c
    07:33:37.145 -> 3fffffb0: 3fffdad0 00000000 3ffef86c 4020a104
    07:33:37.178 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    07:33:37.178 -> <<07:33:37.178 ->
    07:33:37.178 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    07:33:37.211 ->
    07:33:37.211 -> load 0x4010f000, len 1384, room 16
    07:33:37.211 -> tail 8
    07:33:37.211 -> chksum 0x2d
    07:33:37.211 -> csum 0x2d
    07:33:37.211 -> vbb28d4a3
    07:33:37.211 -> ~ld
    07:33:37.245 -> SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    Started at 1053
    07:33:38.271 -> Setting up AP
    07:33:38.271 -> [AP] softap config unchanged
    07:33:38.271 -> Done with AP
    add 1
    07:33:38.570 -> aid 1
    07:33:38.570 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:33:38.570 -> wifi evt: 5
    07:33:38.570 -> wifi evt: 9
    WS:ac
    07:33:50.985 -> :rn 435
    :ref 1
    07:33:51.051 -> WS:av
    07:33:51.051 -> :ref 2
    07:33:51.051 -> :ur 2
    07:33:51.051 -> :ref 2
    07:33:51.084 -> :ur 2
    07:33:51.084 -> :c0 1, 435
    07:33:51.084 -> handleRoot
    07:33:51.084 -> Fatal exception 3(LoadStoreErrorCause):
    07:33:51.084 -> epc1=0x4020c0c0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4023d3b2, depc=0x00000000
    07:33:51.117 ->
    07:33:51.117 -> Exception (3):
    07:33:51.117 -> epc1=0x4020c0c0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d3b2 depc=0x00000000
    07:33:51.117 ->
    07:33:51.117 -> ctx: cont
    07:33:51.117 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    07:33:51.117 ->
    07:33:51.117 -> >>>stack>>>
    07:33:51.117 -> 3ffffe10: 3ffef60c 40201d90 3fff1274 0000009c
    07:33:51.117 -> 3ffffe20: 4023ee8c 000006c0 000006c0 40201e80
    07:33:51.117 -> 3ffffe30: 0000001c 0000002b 3ffef9b0 40206388
    07:33:51.117 -> 3ffffe40: 4023d3b2 000006c0 3ffffeb8 40209334
    07:33:51.117 -> 3ffffe50: 4023d3b2 000006be 3ffffeb8 4020937f
    07:33:51.150 -> 3ffffe60: 3ffe92e1 00000000 3ffffeb8 402093b1
    07:33:51.150 -> 3ffffe70: 00000001 00000001 3ffffeb8 402093fe
    07:33:51.150 -> 3ffffe80: 4023d3b2 00000010 3ffef7b0 40208f50
    07:33:51.150 -> 3ffffe90: 3ffe93c6 00000001 3fff0e04 40202dc1
    07:33:51.183 -> 3ffffea0: 3fff1244 00000010 3fffff00 40209334
    07:33:51.183 -> 3ffffeb0: 3ffef9b0 00000217 3fff1a3c 000006bf
    07:33:51.183 -> 3ffffec0: 000006be 00000001 3fff0f7c 401009e4
    07:33:51.183 -> 3ffffed0: 00000001 00000001 3fff0e04 4020a486
    07:33:51.183 -> 3ffffee0: 40002514 3fffdd3c 3fff0e04 4020637e
    07:33:51.217 -> 3ffffef0: 3fff0e04 3ffef5a4 3fffff20 402063ba
    07:33:51.217 -> 3fffff00: 00000000 00000000 00000000 402094e0
    07:33:51.217 -> 3fffff10: 3fff0e04 3ffef5a4 3ffef560 40206441
    07:33:51.217 -> 3fffff20: 3fff1244 0000000f 00000001 00000000
    07:33:51.217 -> 3fffff30: 00000000 00000007 00003627 3ffef874
    07:33:51.250 -> 3fffff40: 3ffef588 00000001 3ffef5a4 00004bc6
    07:33:51.250 -> 3fffff50: 00000001 00000000 402058d4 56c8b439
    07:33:51.250 -> 3fffff60: 00000000 3fff12c4 3ffef560 3ffef874
    07:33:51.250 -> 3fffff70: 00000001 3ffef588 3ffef560 40206638
    07:33:51.250 -> 3fffff80: 4020a8f0 00000000 00001388 3fffefb0
    07:33:51.283 -> 3fffff90: 00000000 3fff12c4 00000064 40201837
    07:33:51.283 -> 3fffffa0: 3fffdad0 00000000 3ffef86c 40203a0c
    07:33:51.283 -> 3fffffb0: 3fffdad0 00000000 3ffef86c 4020a104
    07:33:51.283 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    07:33:51.283 -> <<07:33:51.316 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    07:33:51.316 ->
    07:33:51.316 -> load 0x4010f000, len 1384, room 16
    07:33:51.316 -> tail 8
    07:33:51.316 -> chksum 0x2d
    07:33:51.316 -> csum 0x2d
    07:33:51.316 -> vbb28d4a3
    07:33:51.316 -> ~ld
    07:33:51.382 -> SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    Started at 1052
    07:33:52.375 -> Setting up AP
    07:33:52.375 -> [AP] softap config unchanged
    07:33:52.375 -> Done with AP
    add 1
    07:33:52.739 -> aid 1
    07:33:52.739 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:33:52.739 -> wifi evt: 5
    wifi evt: 7
    07:33:53.269 -> wifi evt: 7
    wifi evt: 7
    07:33:53.302 -> wifi evt: 7
    wifi evt: 7
    err already associed!
    07:33:53.567 -> station: c4:17:fe:86:fe:5e leave, AID = 1
    07:33:53.567 -> rm 1
    07:33:53.567 -> wifi evt: 6
    wifi evt: 7
    07:33:54.262 -> wifi evt: 7
    wifi evt: 7
    07:33:54.295 -> wifi evt: 7
    wifi evt: 7
    add 1
    07:33:54.560 -> aid 1
    07:33:54.560 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:33:54.593 -> wifi evt: 5
    wifi evt: 7
    07:33:55.289 -> wifi evt: 7
    wifi evt: 7
    err already associed!
    07:33:55.587 -> station: c4:17:fe:86:fe:5e leave, AID = 1
    07:33:55.587 -> rm 1
    07:33:55.587 -> wifi evt: 6
    wifi evt: 7
    wifi evt: 7
    07:33:56.282 -> wifi evt: 7
    07:33:56.282 -> wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    add 1
    07:33:57.738 -> aid 1
    07:33:57.738 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:33:57.738 -> wifi evt: 5
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    07:34:01.645 -> wifi evt: 7
    wifi evt: 7
    err already associed!
    07:34:02.473 -> station: c4:17:fe:86:fe:5e leave, AID = 1
    07:34:02.473 -> rm 1
    07:34:02.473 -> wifi evt: 6
    07:34:02.473 -> wifi evt: 7
    wifi evt: 7
    07:34:02.506 -> wifi evt: 7
    wifi evt: 7
    add 1
    07:34:03.367 -> aid 1
    07:34:03.367 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:34:03.367 -> wifi evt: 5
    wifi evt: 9
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    WS:ac
    07:34:30.194 -> :rn 435
    07:34:30.194 -> :ref 1
    07:34:30.194 -> WS:av
    07:34:30.194 -> :ref 2
    07:34:30.194 -> :ur 2
    07:34:30.194 -> :ref 2
    07:34:30.194 -> :ur 2
    :c0 1, 435
    07:34:30.227 -> handleRoot
    07:34:30.227 -> Fatal exception 3(LoadStoreErrorCause):
    07:34:30.227 -> epc1=0x4020c0c0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4023d3b2, depc=0x00000000
    07:34:30.227 ->
    07:34:30.227 -> Exception (3):
    07:34:30.227 -> epc1=0x4020c0c0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d3b2 depc=0x00000000
    07:34:30.260 ->
    07:34:30.260 -> ctx: cont
    07:34:30.260 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    07:34:30.260 ->
    07:34:30.260 -> >>>stack>>>
    07:34:30.260 -> 3ffffe10: 3ffef60c 40201d90 3fff15cc 0000009c
    07:34:30.260 -> 3ffffe20: 4023ee8c 000006c0 000006c0 40201e80
    07:34:30.260 -> 3ffffe30: 0000001c 0000002b 3ffef9b0 40206388
    07:34:30.260 -> 3ffffe40: 4023d3b2 000006c0 3ffffeb8 40209334
    07:34:30.260 -> 3ffffe50: 4023d3b2 000006be 3ffffeb8 4020937f
    07:34:30.260 -> 3ffffe60: 3ffe92e1 00000000 3ffffeb8 402093b1
    07:34:30.293 -> 3ffffe70: 00000001 00000001 3ffffeb8 402093fe
    07:34:30.293 -> 3ffffe80: 4023d3b2 00000010 3ffef7b0 40208f50
    07:34:30.293 -> 3ffffe90: 3ffe93c6 00000001 3fff0e04 40202dc1
    07:34:30.293 -> 3ffffea0: 3fff11cc 00000010 3fffff00 40209334
    07:34:30.293 -> 3ffffeb0: 3ffef9b0 00000257 3fff162c 000006bf
    07:34:30.326 -> 3ffffec0: 000006be 00000001 3fff117c 401009e4
    07:34:30.326 -> 3ffffed0: 00000001 00000001 3fff0e04 4020a486
    07:34:30.326 -> 3ffffee0: 40002514 3fffdd3c 3fff0e04 4020637e
    07:34:30.326 -> 3ffffef0: 3fff0e04 3ffef5a4 3fffff20 402063ba
    07:34:30.326 -> 3fffff00: 00000000 00000000 00000000 402094e0
    07:34:30.359 -> 3fffff10: 3fff0e04 3ffef5a4 3ffef560 40206441
    07:34:30.359 -> 3fffff20: 3fff11cc 0000000f 00000001 00000000
    07:34:30.359 -> 3fffff30: 00000000 00000007 000097de 3ffef874
    07:34:30.359 -> 3fffff40: 3ffef588 00000001 3ffef5a4 00004bc6
    07:34:30.359 -> 3fffff50: 00000001 00000000 402058d4 d70a3d70
    07:34:30.392 -> 3fffff60: 00000000 3fff1144 3ffef560 3ffef874
    07:34:30.392 -> 3fffff70: 00000001 3ffef588 3ffef560 40206638
    07:34:30.392 -> 3fffff80: 4020a8f0 00000000 00001388 3fffefb0
    07:34:30.392 -> 3fffff90: 00000000 3fff1144 00000064 40201837
    07:34:30.392 -> 3fffffa0: 3fffdad0 00000000 3ffef86c 40203a0c
    07:34:30.425 -> 3fffffb0: 3fffdad0 00000000 3ffef86c 4020a104
    07:34:30.425 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    07:34:30.425 -> <<07:34:30.458 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    07:34:30.458 ->
    07:34:30.458 -> load 0x4010f000, len 1384, room 16
    07:34:30.458 -> tail 8
    07:34:30.458 -> chksum 0x2d
    07:34:30.458 -> csum 0x2d
    07:34:30.458 -> vbb28d4a3
    07:34:30.458 -> ~ld
    07:34:30.491 -> SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
    07:34:30.525 -> wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    Started at 1052
    07:34:31.518 -> Setting up AP
    07:34:31.518 -> [AP] softap config unchanged
    07:34:31.518 -> Done with AP
    add 1
    07:34:31.683 -> aid 1
    07:34:31.683 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:34:31.683 -> wifi evt: 5
    wifi evt: 9
    wifi evt: 9
    WS:ac
    07:35:32.462 -> :ref 1
    07:35:32.462 -> WS:av
    07:35:32.462 -> :ref 2
    07:35:32.462 -> :ur 2
    07:35:32.462 -> :ref 2
    07:35:32.462 -> :ur 2
    07:35:32.462 -> :rn 435
    :c0 1, 435
    07:35:32.562 -> handleRoot
    07:35:32.562 -> Fatal exception 3(LoadStoreErrorCause):
    07:35:32.562 -> epc1=0x4020c0c0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4023d3b2, depc=0x00000000
    07:35:32.595 ->
    07:35:32.595 -> Exception (3):
    07:35:32.595 -> epc1=0x4020c0c0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d3b2 depc=0x00000000
    07:35:32.595 ->
    07:35:32.595 -> ctx: cont
    07:35:32.595 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    07:35:32.595 ->
    07:35:32.595 -> >>>stack>>>
    07:35:32.595 -> 3ffffe10: 3ffef60c 40201d90 3fff1274 0000009c
    07:35:32.595 -> 3ffffe20: 4023ee8c 000006c0 000006c0 40201e80
    07:35:32.595 -> 3ffffe30: 0000001c 0000002b 3ffef9b0 40206388
    07:35:32.628 -> 3ffffe40: 4023d3b2 000006c0 3ffffeb8 40209334
    07:35:32.628 -> 3ffffe50: 4023d3b2 000006be 3ffffeb8 4020937f
    07:35:32.628 -> 3ffffe60: 3ffe92e1 00000000 3ffffeb8 402093b1
    07:35:32.628 -> 3ffffe70: 00000001 00000001 3ffffeb8 402093fe
    07:35:32.628 -> 3ffffe80: 4023d3b2 00000010 3ffef7b0 40208f50
    07:35:32.628 -> 3ffffe90: 3ffe93c6 00000001 3fff0e04 40202dc1
    07:35:32.661 -> 3ffffea0: 3fff1244 00000010 3fffff00 40209334
    07:35:32.661 -> 3ffffeb0: 3ffef9b0 00000217 3fff1a3c 000006bf
    07:35:32.661 -> 3ffffec0: 000006be 00000001 3fff0f7c 401009e4
    07:35:32.661 -> 3ffffed0: 00000001 00000001 3fff0e04 4020a486
    07:35:32.661 -> 3ffffee0: 40002514 3fffdd3c 3fff0e04 4020637e
    07:35:32.695 -> 3ffffef0: 3fff0e04 3ffef5a4 3fffff20 402063ba
    07:35:32.695 -> 3fffff00: 00000000 00000000 00000000 402094e0
    07:35:32.695 -> 3fffff10: 3fff0e04 3ffef5a4 3ffef560 40206441
    07:35:32.695 -> 3fffff20: 3fff1244 0000000f 00000001 00000000
    07:35:32.695 -> 3fffff30: 00000000 4bc6a7f0 0000f227 3ffef874
    07:35:32.728 -> 3fffff40: 3ffef588 00000001 3ffef5a4 3ffef588
    07:35:32.728 -> 3fffff50: 00000001 00000000 402058d4 3fffefb0
    07:35:32.728 -> 3fffff60: 4010504c 0127f0b1 3ffef8c8 3ffef874
    07:35:32.728 -> 3fffff70: 00000001 3ffef588 3ffef560 40206638
    07:35:32.728 -> 3fffff80: 3fffdad0 3ffef874 4020a078 3fffefb0
    07:35:32.761 -> 3fffff90: 40201842 00000064 00000064 40201837
    07:35:32.761 -> 3fffffa0: 3fffdad0 00000000 3ffef86c 40203a0c
    07:35:32.761 -> 3fffffb0: 3fffdad0 00000000 3ffef86c 4020a104
    07:35:32.761 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    07:35:32.761 -> <<07:35:32.794 ->
    07:35:32.794 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    07:35:32.794 ->
    07:35:32.794 -> load 0x4010f000, len 1384, room 16
    07:35:32.794 -> tail 8
    07:35:32.794 -> chksum 0x2d
    07:35:32.794 -> csum 0x2d
    07:35:32.794 -> vbb28d4a3
    07:35:32.794 -> ~ld
    07:35:32.860 -> SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
    07:35:32.860 -> wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    Started at 1053
    07:35:33.854 -> Setting up AP
    07:35:33.854 -> [AP] softap config unchanged
    07:35:33.854 -> Done with AP
    add 1
    07:35:34.021 -> aid 1
    07:35:34.021 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:35:34.021 -> wifi evt: 5
    07:35:34.054 -> wifi evt: 9
    wifi evt: 9
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    handleIO
    0.70
    07:37:15.120 -> temp_sensor=70.13
    07:37:15.120 -> http://www.xxx.gr/temperature/data_store.php
    07:37:15.120 -> temp_sensor=70.13
    07:37:15.120 -> [hostByName] request IP for: www.xxx.gr
    07:37:15.153 -> [hostByName] Host: www.xxx.gr lookup error: -6!
    07:37:15.153 -> -1
    07:37:15.153 ->
    wifi evt: 7
    WS:ac
    07:37:30.622 -> :rn 435
    :ref 1
    07:37:30.655 -> WS:av
    07:37:30.655 -> :ref 2
    07:37:30.655 -> :ur 2
    07:37:30.655 -> :ref 2
    07:37:30.655 -> :ur 2
    07:37:30.655 -> :c0 1, 435
    07:37:30.655 -> handleRoot
    07:37:30.655 -> Fatal exception 3(LoadStoreErrorCause):
    07:37:30.655 -> epc1=0x4020c0c0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x4023d3b2, depc=0x00000000
    07:37:30.688 ->
    07:37:30.688 -> Exception (3):
    07:37:30.688 -> epc1=0x4020c0c0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d3b2 depc=0x00000000
    07:37:30.688 ->
    07:37:30.688 -> ctx: cont
    07:37:30.688 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    07:37:30.688 ->
    07:37:30.688 -> >>>stack>>>
    07:37:30.688 -> 3ffffe10: 3ffef60c 40201d90 3fff14e4 0000009c
    07:37:30.688 -> 3ffffe20: 4023ee8c 000006c0 000006c0 40201e80
    07:37:30.688 -> 3ffffe30: 0000001c 0000002b 3ffef9b0 40206388
    07:37:30.688 -> 3ffffe40: 4023d3b2 000006c0 3ffffeb8 40209334
    07:37:30.721 -> 3ffffe50: 4023d3b2 000006be 3ffffeb8 4020937f
    07:37:30.721 -> 3ffffe60: 3ffe92e1 00000000 3ffffeb8 402093b1
    07:37:30.721 -> 3ffffe70: 00000001 00000001 3ffffeb8 402093fe
    07:37:30.721 -> 3ffffe80: 4023d3b2 00000010 3ffef7b0 40208f50
    07:37:30.721 -> 3ffffe90: 3ffe93c6 00000001 3fff0e04 40202dc1
    07:37:30.754 -> 3ffffea0: 3fff0f4c 00000010 3fffff00 40209334
    07:37:30.754 -> 3ffffeb0: 3ffef9b0 0000024c 3fff1ae4 000006bf
    07:37:30.754 -> 3ffffec0: 000006be 00000001 3fff1124 401009e4
    07:37:30.754 -> 3ffffed0: 00000001 00000001 3fff0e04 4020a486
    07:37:30.754 -> 3ffffee0: 40002514 3fffdd3c 3fff0e04 4020637e
    07:37:30.787 -> 3ffffef0: 3fff0e04 3ffef5a4 3fffff20 402063ba
    07:37:30.787 -> 3fffff00: 00000000 00000000 00000000 402094e0
    07:37:30.787 -> 3fffff10: 3fff0e04 3ffef5a4 3ffef560 40206441
    07:37:30.787 -> 3fffff20: 3fff0f4c 0000000f 00000001 00000000
    07:37:30.787 -> 3fffff30: 00000000 00000007 0001cc4b 3ffef874
    07:37:30.820 -> 3fffff40: 3ffef588 00000001 3ffef5a4 00004bc6
    07:37:30.820 -> 3fffff50: 00000001 00000000 402058d4 39581062
    07:37:30.820 -> 3fffff60: 00000000 3fff0f8c 3ffef560 3ffef874
    07:37:30.820 -> 3fffff70: 00000001 3ffef588 3ffef560 40206638
    07:37:30.820 -> 3fffff80: 4020a8f0 00000000 00001388 3fffefb0
    07:37:30.853 -> 3fffff90: 00000000 3fff0f8c 00000064 40201837
    07:37:30.853 -> 3fffffa0: 3fffdad0 00000000 3ffef86c 40203a0c
    07:37:30.853 -> 3fffffb0: 3fffdad0 00000000 3ffef86c 4020a104
    07:37:30.853 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    07:37:30.886 -> <<07:37:30.886 ->
    07:37:30.886 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    07:37:30.886 ->
    07:37:30.886 -> load 0x4010f000, len 1384, room 16
    07:37:30.886 -> tail 8
    07:37:30.886 -> chksum 0x2d
    07:37:30.886 -> csum 0x2d
    07:37:30.886 -> vbb28d4a3
    07:37:30.886 -> ~ld
    07:37:30.953 -> SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    wifi evt: 7
    Started at 1052
    07:37:31.947 -> Setting up AP
    07:37:31.947 -> [AP] softap config unchanged
    07:37:31.947 -> Done with AP
    add 1
    07:37:32.178 -> aid 1
    07:37:32.178 -> station: c4:17:fe:86:fe:5e join, AID = 1
    07:37:32.178 -> wifi evt: 5
    wifi evt: 9


    0
    None
    snorlaxprimeΧάρηςΚ1

    Reply 2 months ago

    Hi, Do you want to try commenting the following code in handleRoot() function
    #time_t t= now();
    to see whether this fixed your FatalException. You shouldn't be using www, only http://192.168.4.1, but the FatalException is causing ESP not able to show the configuration page.
    The temperature sensor is reading in Celcius, the reading you have is 70.13 seems a bit high, you might need to calibrate this agains a reference temperature. But we might have to deal with that later.
    Are you also aware that you are pointing to a non-existing website (www.xxx.gr) to store the temperature?
    Let me know how did you go.

    0
    None
    ΧάρηςΚ1snorlaxprime

    Reply 2 months ago

    I will comment out time_t t= now(); and report what will happen. I tried with www and without www when I point to the webserver (my site). I always try to connect to 192.168.4.1 without www. I removed my site and subsituted it with xxx only here, because I am don't want backlinks from irrelevant sites.. Thank you again!

    0
    None
    ΧάρηςΚ1ΧάρηςΚ1

    Reply 2 months ago

    I get error during validation:
    ESP8266TempSensor:67:4: error: invalid preprocessing directive #time_t
    #time_t t = now();
    ^
    exit status 1
    invalid preprocessing directive #time_t