IoT Temperature Sensor With ESP8266

26,874

76

32

About: Electronics and Computers enthusiast

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

    • PCB Contest

      PCB Contest
    • First Time Author

      First Time Author
    • Make it Glow Contest 2018

      Make it Glow Contest 2018

    32 Discussions

    0
    None
    ΧάρηςΚ1

    Question 5 days 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!

    14 more answers
    0
    None
    snorlaxprimeΧάρηςΚ1

    Reply 5 days 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 5 days 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 4 days 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 4 days 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 4 days 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 4 days 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 3 days 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 3 days 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 3 days 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

    0
    None
    ΧάρηςΚ1snorlaxprime

    Reply 2 days ago

    With
    //time_t t = now();
    the error is:

    /home/hk/temp/ESP8266TempSensor/ESP8266TempSensor.ino: In function 'void handleRoot()':
    ESP8266TempSensor:72:37: error: 't' was not declared in this scope
    s.replace("@@HOUR@@", String(hour(t)));
    ^
    exit status 1
    't' was not declared in this scope

    0
    None
    snorlaxprimeΧάρηςΚ1

    Reply 2 days ago

    Please comment out the following 2 lines also
    //s.replace("@@HOUR@@", String(hour(t)));
    //s.replace("@@MIN@@", String(minute(t)));

    0
    None
    ΧάρηςΚ1snorlaxprime

    Reply 1 day ago

    No errors this time, here is the log, I still can not connect to 192.168.4.1 and I see no temperature measuring in the log (thank you again for support!):

    {l$ܞ|⸮$⸮|  ⸮l⸮ #|⸮⸮⸮⸮⸮r⸮"⸮p⸮⸮no⸮lNo⸮⸮⸮bp⸮#$`rlp⸮o⸮ ⸮ l⸮⸮  co⸮|$⸮ ⸮p⸮⸮no⸮l⸮⸮$`⸮oN $`or⸮ےn B ⸮lrےn B⸮l⸮bc" ⸮⸮rl ⸮⸮o⸮Started at 1052
    16:54:10.824 -> Setting up AP
    16:54:10.824 -> Done with AP
    handleRoot
    16:55:44.991 ->
    16:55:44.991 -> Exception (3):
    16:55:44.991 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:55:45.024 ->
    16:55:45.024 -> ctx: cont
    16:55:45.024 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:55:45.024 ->
    16:55:45.024 -> >>>stack>>>
    16:55:45.024 -> 3ffffe10: 3ffef5ec 40201d90 3fff0f84 0000009c
    16:55:45.024 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:55:45.024 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:55:45.024 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:55:45.024 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:55:45.057 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:55:45.057 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:55:45.057 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:55:45.057 -> 3ffffe90: 3ffe93a9 00000001 3fff0dd4 40202db7
    16:55:45.057 -> 3ffffea0: 3fff12ac 00000010 3fffff00 40209114
    16:55:45.090 -> 3ffffeb0: 3ffef984 00000286 3fff14ac 000006bf
    16:55:45.090 -> 3ffffec0: 000006be 00000001 3fff12c4 401009e4
    16:55:45.090 -> 3ffffed0: 00000001 00000001 3fff0dd4 4020a266
    16:55:45.090 -> 3ffffee0: 40002514 3fffdd3c 3fff0dd4 40206162
    16:55:45.090 -> 3ffffef0: 3fff0dd4 3ffef584 3fffff20 4020619e
    16:55:45.123 -> 3fffff00: 00000000 00000000 00000000 402092c0
    16:55:45.123 -> 3fffff10: 3fff0dd4 3ffef584 3ffef540 40206225
    16:55:45.123 -> 3fffff20: 3fff12ac 0000000f 00000001 00000000
    16:55:45.123 -> 3fffff30: 00000000 4bc6a7f0 00017386 3ffef848
    16:55:45.123 -> 3fffff40: 3ffef568 00000001 3ffef584 3ffef568
    16:55:45.156 -> 3fffff50: 00000001 00000000 402056b8 3fffefb0
    16:55:45.156 -> 3fffff60: 4010504c 01c5ddee 3ffef89c 3ffef848
    16:55:45.156 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:55:45.156 -> 3fffff80: 3fffdad0 3ffef848 40209e58 3fffefb0
    16:55:45.156 -> 3fffff90: 40201842 00000064 00000064 40201837
    16:55:45.189 -> 3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:55:45.189 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:55:45.189 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:55:45.189 -> <<<stack<<<
    16:55:45.223 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:55:45.223 ->
    16:55:45.223 -> load 0x4010f000, len 1384, room 16
    16:55:45.223 -> tail 8
    16:55:45.223 -> chksum 0x2d
    16:55:45.223 -> csum 0x2d
    16:55:45.223 -> vbb28d4a3
    16:55:45.223 -> ~ld
    Started at 1052
    16:55:46.281 -> Setting up AP
    16:55:46.281 -> Done with AP
    handleRoot
    16:55:46.910 ->
    16:55:46.910 -> Exception (3):
    16:55:46.910 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:55:46.910 ->
    16:55:46.910 -> ctx: cont
    16:55:46.910 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:55:46.910 ->
    16:55:46.910 -> >>>stack>>>
    16:55:46.910 -> 3ffffe10: 3ffef5ec 40201d90 3fff0f2c 0000009c
    16:55:46.943 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:55:46.943 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:55:46.943 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:55:46.943 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:55:46.943 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:55:46.943 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:55:46.976 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:55:46.976 -> 3ffffe90: 3ffe93a9 00000001 3fff10b4 40202db7
    16:55:46.976 -> 3ffffea0: 3fff0edc 00000010 3fffff00 40209114
    16:55:46.976 -> 3ffffeb0: 3ffef984 0000020c 3fff14ac 000006bf
    16:55:46.976 -> 3ffffec0: 000006be 00000001 3fff0ef4 401009e4
    16:55:47.009 -> 3ffffed0: 00000001 00000001 3fff10b4 4020a266
    16:55:47.009 -> 3ffffee0: 40002514 3fffdd3c 3fff10b4 40206162
    16:55:47.009 -> 3ffffef0: 3fff10b4 3ffef584 3fffff20 4020619e
    16:55:47.009 -> 3fffff00: 00000000 00000000 00000000 402092c0
    16:55:47.009 -> 3fffff10: 3fff10b4 3ffef584 3ffef540 40206225
    16:55:47.043 -> 3fffff20: 3fff0edc 0000000f 00000001 00000000
    16:55:47.043 -> 3fffff30: 00000000 00000007 00000678 3ffef848
    16:55:47.043 -> 3fffff40: 3ffef568 00000001 3ffef584 00004bc6
    16:55:47.043 -> 3fffff50: 00000001 00000000 402056b8 ac49ba5e
    16:55:47.043 -> 3fffff60: 00000000 3fff134c 3ffef540 3ffef848
    16:55:47.076 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:55:47.076 -> 3fffff80: 4020a6d0 00000000 00001388 3fffefb0
    16:55:47.076 -> 3fffff90: 00000000 3fff134c 00000064 40201837
    16:55:47.076 -> 3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:55:47.076 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:55:47.109 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:55:47.109 -> <<<stack<<<
    16:55:47.109 ->
    16:55:47.109 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:55:47.109 ->
    16:55:47.109 -> load 0x4010f000, len 1384, room 16
    16:55:47.142 -> tail 8
    16:55:47.142 -> chksum 0x2d
    16:55:47.142 -> csum 0x2d
    16:55:47.142 -> vbb28d4a3
    16:55:47.142 -> ~ld
    Started at 1052
    16:55:48.168 -> Setting up AP
    16:55:48.201 -> Done with AP
    handleRoot
    16:55:53.004 ->
    16:55:53.004 -> Exception (3):
    16:55:53.004 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:55:53.037 ->
    16:55:53.037 -> ctx: cont
    16:55:53.037 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:55:53.037 ->
    16:55:53.037 -> >>>stack>>>
    16:55:53.037 -> 3ffffe10: 3ffef5ec 40201d90 3fff148c 0000009c
    16:55:53.037 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:55:53.037 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:55:53.037 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:55:53.037 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:55:53.037 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:55:53.070 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:55:53.070 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:55:53.070 -> 3ffffe90: 3ffe93a9 00000001 3fff0efc 40202db7
    16:55:53.070 -> 3ffffea0: 3fff10ac 00000010 3fffff00 40209114
    16:55:53.070 -> 3ffffeb0: 3ffef984 00000230 3fff152c 000006bf
    16:55:53.104 -> 3ffffec0: 000006be 00000001 3fff1014 401009e4
    16:55:53.104 -> 3ffffed0: 00000001 00000001 3fff0efc 4020a266
    16:55:53.104 -> 3ffffee0: 40002514 3fffdd3c 3fff0efc 40206162
    16:55:53.104 -> 3ffffef0: 3fff0efc 3ffef584 3fffff20 4020619e
    16:55:53.137 -> 3fffff00: 00000000 00000000 00000000 402092c0
    16:55:53.137 -> 3fffff10: 3fff0efc 3ffef584 3ffef540 40206225
    16:55:53.137 -> 3fffff20: 3fff10ac 0000000f 00000001 00000000
    16:55:53.137 -> 3fffff30: 00000000 00000007 000016e3 3ffef848
    16:55:53.137 -> 3fffff40: 3ffef568 00000001 3ffef584 00004bc6
    16:55:53.137 -> 3fffff50: 00000001 00000000 402056b8 10e56041
    16:55:53.170 -> 3fffff60: 00000000 3fff14ec 3ffef540 3ffef848
    16:55:53.170 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:55:53.170 -> 3fffff80: 4020a6d0 00000000 00001388 3fffefb0
    16:55:53.170 -> 3fffff90: 00000000 3fff14ec 00000064 40201837
    3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:55:53.203 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:55:53.203 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:55:53.203 -> <<<stack<<<
    16:55:53.236 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:55:53.236 ->
    16:55:53.236 -> load 0x4010f000, len 1384, room 16
    16:55:53.236 -> tail 8
    16:55:53.236 -> chksum 0x2d
    16:55:53.236 -> csum 0x2d
    16:55:53.236 -> vbb28d4a3
    16:55:53.236 -> ~ld
    Started at 1053
    16:55:54.295 -> Setting up AP
    16:55:54.295 -> Done with AP
    handleRoot
    16:56:06.313 ->
    16:56:06.313 -> Exception (3):
    16:56:06.313 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:56:06.347 ->
    16:56:06.347 -> ctx: cont
    16:56:06.347 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:56:06.347 ->
    16:56:06.347 -> >>>stack>>>
    16:56:06.347 -> 3ffffe10: 3ffef5ec 40201d90 3fff12dc 0000009c
    16:56:06.347 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:56:06.347 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:56:06.347 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:56:06.347 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:56:06.380 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:56:06.380 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:56:06.380 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:56:06.380 -> 3ffffe90: 3ffe93a9 00000001 3fff0dd4 40202db7
    16:56:06.380 -> 3ffffea0: 3fff113c 00000010 3fffff00 40209114
    16:56:06.380 -> 3ffffeb0: 3ffef984 0000020f 3fff1544 000006bf
    16:56:06.413 -> 3ffffec0: 000006be 00000001 3fff0f0c 401009e4
    16:56:06.413 -> 3ffffed0: 00000001 00000001 3fff0dd4 4020a266
    16:56:06.413 -> 3ffffee0: 40002514 3fffdd3c 3fff0dd4 40206162
    16:56:06.413 -> 3ffffef0: 3fff0dd4 3ffef584 3fffff20 4020619e
    3fffff00: 00000000 00000000 00000000 402092c0
    16:56:06.446 -> 3fffff10: 3fff0dd4 3ffef584 3ffef540 40206225
    16:56:06.446 -> 3fffff20: 3fff113c 0000000f 00000001 00000000
    16:56:06.446 -> 3fffff30: 00000000 00000007 00003307 3ffef848
    16:56:06.446 -> 3fffff40: 3ffef568 00000001 3ffef584 00004bc6
    16:56:06.446 -> 3fffff50: 00000001 00000000 402056b8 849ba5e3
    16:56:06.479 -> 3fffff60: 00000000 3fff0f64 3ffef540 3ffef848
    16:56:06.479 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:56:06.479 -> 3fffff80: 4020a6d0 00000000 00001388 3fffefb0
    16:56:06.479 -> 3fffff90: 00000000 3fff0f64 00000064 40201837
    16:56:06.512 -> 3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:56:06.512 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:56:06.512 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:56:06.512 -> <<<stack<<<
    16:56:06.545 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:56:06.545 ->
    16:56:06.545 -> load 0x4010f000, len 1384, room 16
    16:56:06.545 -> tail 8
    16:56:06.545 -> chksum 0x2d
    16:56:06.545 -> csum 0x2d
    16:56:06.545 -> vbb28d4a3
    16:56:06.545 -> ~ld
    Started at 1052
    16:56:07.604 -> Setting up AP
    16:56:07.604 -> Done with AP
    handleRoot
    16:56:09.722 ->
    16:56:09.722 -> Exception (3):
    16:56:09.722 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:56:09.722 ->
    16:56:09.722 -> ctx: cont
    16:56:09.722 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:56:09.755 ->
    16:56:09.755 -> >>>stack>>>
    16:56:09.755 -> 3ffffe10: 3ffef5ec 40201d90 3fff144c 0000009c
    16:56:09.755 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:56:09.755 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:56:09.755 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:56:09.755 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:56:09.755 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:56:09.788 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:56:09.788 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:56:09.788 -> 3ffffe90: 3ffe93a9 00000001 3fff0efc 40202db7
    16:56:09.788 -> 3ffffea0: 3fff10ac 00000010 3fffff00 40209114
    16:56:09.788 -> 3ffffeb0: 3ffef984 00000298 3fff148c 000006bf
    16:56:09.821 -> 3ffffec0: 000006be 00000001 3fff1354 401009e4
    16:56:09.821 -> 3ffffed0: 00000001 00000001 3fff0efc 4020a266
    16:56:09.821 -> 3ffffee0: 40002514 3fffdd3c 3fff0efc 40206162
    16:56:09.821 -> 3ffffef0: 3fff0efc 3ffef584 3fffff20 4020619e
    16:56:09.821 -> 3fffff00: 00000000 00000000 00000000 402092c0
    16:56:09.854 -> 3fffff10: 3fff0efc 3ffef584 3ffef540 40206225
    16:56:09.854 -> 3fffff20: 3fff10ac 0000000f 00000001 00000000
    16:56:09.854 -> 3fffff30: 00000000 00000007 00000c55 3ffef848
    16:56:09.854 -> 3fffff40: 3ffef568 00000001 3ffef584 00004bc6
    16:56:09.854 -> 3fffff50: 00000001 00000000 402056b8 726e978d
    16:56:09.887 -> 3fffff60: 00000000 3fff103c 3ffef540 3ffef848
    16:56:09.887 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:56:09.887 -> 3fffff80: 4020a6d0 00000000 00001388 3fffefb0
    16:56:09.887 -> 3fffff90: 00000000 3fff103c 00000064 40201837
    16:56:09.887 -> 3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:56:09.920 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:56:09.920 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:56:09.920 -> <<<stack<<<
    16:56:09.953 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:56:09.953 ->
    16:56:09.953 -> load 0x4010f000, len 1384, room 16
    16:56:09.953 -> tail 8
    16:56:09.953 -> chksum 0x2d
    16:56:09.953 -> csum 0x2d
    16:56:09.953 -> vbb28d4a3
    16:56:09.953 -> ~ld
    Started at 1052
    16:56:11.012 -> Setting up AP
    16:56:11.012 -> Done with AP
    handleRoot
    16:56:21.236 ->
    16:56:21.236 -> Exception (3):
    16:56:21.236 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:56:21.236 ->
    16:56:21.236 -> ctx: cont
    16:56:21.236 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:56:21.236 ->
    16:56:21.236 -> >>>stack>>>
    16:56:21.236 -> 3ffffe10: 3ffef5ec 40201d90 3fff1254 0000009c
    16:56:21.269 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:56:21.269 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:56:21.269 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:56:21.269 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:56:21.269 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:56:21.269 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:56:21.302 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:56:21.302 -> 3ffffe90: 3ffe93a9 00000001 3fff0dd4 40202db7
    16:56:21.302 -> 3ffffea0: 3fff1294 00000010 3fffff00 40209114
    16:56:21.302 -> 3ffffeb0: 3ffef984 00000283 3fff14e4 000006bf
    16:56:21.302 -> 3ffffec0: 000006be 00000001 3fff12ac 401009e4
    16:56:21.336 -> 3ffffed0: 00000001 00000001 3fff0dd4 4020a266
    16:56:21.336 -> 3ffffee0: 40002514 3fffdd3c 3fff0dd4 40206162
    16:56:21.336 -> 3ffffef0: 3fff0dd4 3ffef584 3fffff20 4020619e
    16:56:21.336 -> 3fffff00: 00000000 00000000 00000000 402092c0
    16:56:21.336 -> 3fffff10: 3fff0dd4 3ffef584 3ffef540 40206225
    16:56:21.369 -> 3fffff20: 3fff1294 0000000f 00000001 00000000
    16:56:21.369 -> 3fffff30: 00000000 00000007 00002bfe 3ffef848
    16:56:21.369 -> 3fffff40: 3ffef568 00000001 3ffef584 00004bc6
    16:56:21.369 -> 3fffff50: 00000001 00000000 402056b8 1f3b645a
    16:56:21.369 -> 3fffff60: 00000000 3fff14a4 3ffef540 3ffef848
    16:56:21.402 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:56:21.402 -> 3fffff80: 4020a6d0 00000000 00001388 3fffefb0
    16:56:21.402 -> 3fffff90: 00000000 3fff14a4 00000064 40201837
    16:56:21.402 -> 3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:56:21.402 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:56:21.435 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:56:21.435 -> <<<stack<<<
    16:56:21.435 ->
    16:56:21.435 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:56:21.435 ->
    16:56:21.468 -> load 0x4010f000, len 1384, room 16
    16:56:21.468 -> tail 8
    16:56:21.468 -> chksum 0x2d
    16:56:21.468 -> csum 0x2d
    16:56:21.468 -> vbb28d4a3
    16:56:21.468 -> ~ld
    Started at 1052
    16:56:22.494 -> Setting up AP
    16:56:22.527 -> Done with AP
    handleRoot
    16:56:36.258 ->
    16:56:36.258 -> Exception (3):
    16:56:36.258 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:56:36.258 ->
    16:56:36.258 -> ctx: cont
    16:56:36.258 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:56:36.258 ->
    16:56:36.258 -> >>>stack>>>
    16:56:36.258 -> 3ffffe10: 3ffef5ec 40201d90 3fff11fc 0000009c
    16:56:36.258 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:56:36.258 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:56:36.258 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:56:36.291 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:56:36.291 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:56:36.291 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:56:36.291 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:56:36.291 -> 3ffffe90: 3ffe93a9 00000001 3fff0dd4 40202db7
    16:56:36.324 -> 3ffffea0: 3fff14a4 00000010 3fffff00 40209114
    16:56:36.324 -> 3ffffeb0: 3ffef984 000002c5 3fff153c 000006bf
    16:56:36.324 -> 3ffffec0: 000006be 00000001 3fff14bc 401009e4
    16:56:36.324 -> 3ffffed0: 00000001 00000001 3fff0dd4 4020a266
    16:56:36.324 -> 3ffffee0: 40002514 3fffdd3c 3fff0dd4 40206162
    16:56:36.357 -> 3ffffef0: 3fff0dd4 3ffef584 3fffff20 4020619e
    16:56:36.357 -> 3fffff00: 00000000 00000000 00000000 402092c0
    16:56:36.357 -> 3fffff10: 3fff0dd4 3ffef584 3ffef540 40206225
    16:56:36.357 -> 3fffff20: 3fff14a4 0000000f 00000001 00000000
    16:56:36.357 -> 3fffff30: 00000000 00000007 000039ab 3ffef848
    16:56:36.390 -> 3fffff40: 3ffef568 00000001 3ffef584 00004bc6
    16:56:36.390 -> 3fffff50: 00000001 00000000 402056b8 8fdf3b64
    16:56:36.390 -> 3fffff60: 00000000 3fff14fc 3ffef540 3ffef848
    16:56:36.390 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:56:36.390 -> 3fffff80: 4020a6d0 00000000 00001388 3fffefb0
    16:56:36.424 -> 3fffff90: 00000000 3fff14fc 00000064 40201837
    16:56:36.424 -> 3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:56:36.424 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:56:36.424 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:56:36.424 -> <<<stack<<<
    16:56:36.457 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:56:36.457 ->
    16:56:36.457 -> load 0x4010f000, len 1384, room 16
    16:56:36.457 -> tail 8
    16:56:36.457 -> chksum 0x2d
    16:56:36.457 -> csum 0x2d
    16:56:36.457 -> vbb28d4a3
    16:56:36.457 -> ~ld
    Started at 1053
    16:56:37.515 -> Setting up AP
    16:56:37.515 -> Done with AP
    handleRoot
    16:56:51.253 ->
    16:56:51.253 -> Exception (3):
    16:56:51.253 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:56:51.253 ->
    16:56:51.253 -> ctx: cont
    16:56:51.253 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:56:51.253 ->
    16:56:51.253 -> >>>stack>>>
    16:56:51.286 -> 3ffffe10: 3ffef5ec 40201d90 3fff127c 0000009c
    16:56:51.286 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:56:51.286 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:56:51.286 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:56:51.286 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:56:51.286 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:56:51.286 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:56:51.319 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:56:51.319 -> 3ffffe90: 3ffe93a9 00000001 3fff0dd4 40202db7
    16:56:51.319 -> 3ffffea0: 3fff129c 00000010 3fffff00 40209114
    16:56:51.319 -> 3ffffeb0: 3ffef984 0000021b 3fff14e4 000006bf
    16:56:51.352 -> 3ffffec0: 000006be 00000001 3fff0f6c 401009e4
    16:56:51.352 -> 3ffffed0: 00000001 00000001 3fff0dd4 4020a266
    16:56:51.352 -> 3ffffee0: 40002514 3fffdd3c 3fff0dd4 40206162
    16:56:51.352 -> 3ffffef0: 3fff0dd4 3ffef584 3fffff20 4020619e
    16:56:51.352 -> 3fffff00: 00000000 00000000 00000000 402092c0
    16:56:51.385 -> 3fffff10: 3fff0dd4 3ffef584 3ffef540 40206225
    16:56:51.385 -> 3fffff20: 3fff129c 0000000f 00000001 00000000
    16:56:51.385 -> 3fffff30: 00000000 00000007 000039ac 3ffef848
    16:56:51.385 -> 3fffff40: 3ffef568 00000001 3ffef584 00004bc6
    16:56:51.385 -> 3fffff50: 00000001 00000000 402056b8 dd70a3d7
    16:56:51.385 -> 3fffff60: 00000000 3fff14a4 3ffef540 3ffef848
    16:56:51.418 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:56:51.418 -> 3fffff80: 4020a6d0 00000000 00001388 3fffefb0
    16:56:51.418 -> 3fffff90: 00000000 3fff14a4 00000064 40201837
    16:56:51.418 -> 3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:56:51.451 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:56:51.451 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:56:51.451 -> <<<stack<<<
    16:56:51.451 ->
    16:56:51.451 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:56:51.485 ->
    16:56:51.485 -> load 0x4010f000, len 1384, room 16
    16:56:51.485 -> tail 8
    16:56:51.485 -> chksum 0x2d
    16:56:51.485 -> csum 0x2d
    16:56:51.485 -> vbb28d4a3
    16:56:51.485 -> ~ld
    Started at 1052
    16:56:52.544 -> Setting up AP
    16:56:52.544 -> Done with AP
    handleRoot
    16:57:06.362 ->
    16:57:06.362 -> Exception (3):
    16:57:06.362 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:57:06.362 ->
    16:57:06.362 -> ctx: cont
    16:57:06.362 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:57:06.395 ->
    16:57:06.395 -> >>>stack>>>
    16:57:06.395 -> 3ffffe10: 3ffef5ec 40201d90 3fff127c 0000009c
    16:57:06.395 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:57:06.395 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:57:06.395 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:57:06.395 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:57:06.395 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:57:06.395 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:57:06.428 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:57:06.428 -> 3ffffe90: 3ffe93a9 00000001 3fff0dd4 40202db7
    16:57:06.428 -> 3ffffea0: 3fff129c 00000010 3fffff00 40209114
    16:57:06.428 -> 3ffffeb0: 3ffef984 0000021b 3fff14e4 000006bf
    16:57:06.461 -> 3ffffec0: 000006be 00000001 3fff0f6c 401009e4
    16:57:06.461 -> 3ffffed0: 00000001 00000001 3fff0dd4 4020a266
    16:57:06.461 -> 3ffffee0: 40002514 3fffdd3c 3fff0dd4 40206162
    16:57:06.461 -> 3ffffef0: 3fff0dd4 3ffef584 3fffff20 4020619e
    16:57:06.461 -> 3fffff00: 00000000 00000000 00000000 402092c0
    16:57:06.494 -> 3fffff10: 3fff0dd4 3ffef584 3ffef540 40206225
    16:57:06.494 -> 3fffff20: 3fff129c 0000000f 00000001 00000000
    16:57:06.494 -> 3fffff30: 00000000 00000007 00003a0f 3ffef848
    16:57:06.494 -> 3fffff40: 3ffef568 00000001 3ffef584 00004bc6
    16:57:06.494 -> 3fffff50: 00000001 00000000 402056b8 7ba5e353
    16:57:06.527 -> 3fffff60: 00000000 3fff14a4 3ffef540 3ffef848
    16:57:06.527 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:57:06.527 -> 3fffff80: 4020a6d0 00000000 00001388 3fffefb0
    16:57:06.527 -> 3fffff90: 00000000 3fff14a4 00000064 40201837
    16:57:06.527 -> 3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:57:06.560 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:57:06.560 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:57:06.560 -> <<<stack<<<
    16:57:06.560 ->
    16:57:06.594 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:57:06.594 ->
    16:57:06.594 -> load 0x4010f000, len 1384, room 16
    16:57:06.594 -> tail 8
    16:57:06.594 -> chksum 0x2d
    16:57:06.594 -> csum 0x2d
    16:57:06.594 -> vbb28d4a3
    16:57:06.594 -> ~ld
    Started at 1052
    16:57:07.653 -> Setting up AP
    16:57:07.653 -> Done with AP
    handleRoot
    16:57:21.379 ->
    16:57:21.379 -> Exception (3):
    16:57:21.379 -> epc1=0x4020bea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d196 depc=0x00000000
    16:57:21.379 ->
    16:57:21.379 -> ctx: cont
    16:57:21.379 -> sp: 3ffffc70 end: 3fffffd0 offset: 01a0
    16:57:21.379 ->
    16:57:21.379 -> >>>stack>>>
    16:57:21.379 -> 3ffffe10: 3ffef5ec 40201d90 3fff0f64 0000009c
    16:57:21.379 -> 3ffffe20: 4023ec70 000006c0 000006c0 40201e80
    16:57:21.414 -> 3ffffe30: 0000001c 0000002b 3ffef984 4020616c
    16:57:21.414 -> 3ffffe40: 4023d196 000006c0 3ffffeb8 40209114
    16:57:21.414 -> 3ffffe50: 4023d196 000006be 3ffffeb8 4020915f
    16:57:21.414 -> 3ffffe60: 3ffe92c4 00000000 3ffffeb8 40209191
    16:57:21.414 -> 3ffffe70: 00000001 00000001 3ffffeb8 402091de
    16:57:21.414 -> 3ffffe80: 4023d196 00000010 3ffef784 40208d30
    16:57:21.447 -> 3ffffe90: 3ffe93a9 00000001 3fff0dd4 40202db7
    16:57:21.447 -> 3ffffea0: 3fff1244 00000010 3fffff00 40209114
    16:57:21.447 -> 3ffffeb0: 3ffef984 0000020f 3fff14c4 000006bf
    16:57:21.447 -> 3ffffec0: 000006be 00000001 3fff0f0c 401009e4
    16:57:21.447 -> 3ffffed0: 00000001 00000001 3fff0dd4 4020a266
    16:57:21.480 -> 3ffffee0: 40002514 3fffdd3c 3fff0dd4 40206162
    16:57:21.480 -> 3ffffef0: 3fff0dd4 3ffef584 3fffff20 4020619e
    16:57:21.480 -> 3fffff00: 00000000 00000000 00000000 402092c0
    16:57:21.480 -> 3fffff10: 3fff0dd4 3ffef584 3ffef540 40206225
    16:57:21.480 -> 3fffff20: 3fff1244 0000000f 00000001 00000000
    16:57:21.514 -> 3fffff30: 00000000 00000007 000039ab 3ffef848
    16:57:21.514 -> 3fffff40: 3ffef568 00000001 3ffef584 00004bc6
    16:57:21.514 -> 3fffff50: 00000001 00000000 402056b8 6c083126
    16:57:21.514 -> 3fffff60: 00000000 3fff1274 3ffef540 3ffef848
    16:57:21.514 -> 3fffff70: 00000001 3ffef568 3ffef540 4020641c
    16:57:21.547 -> 3fffff80: 4020a6d0 00000000 00001388 3fffefb0
    16:57:21.547 -> 3fffff90: 00000000 3fff1274 00000064 40201837
    16:57:21.547 -> 3fffffa0: 3fffdad0 00000000 3ffef840 402039a4
    16:57:21.547 -> 3fffffb0: 3fffdad0 00000000 3ffef840 40209ee4
    16:57:21.547 -> 3fffffc0: feefeffe feefeffe 3ffe85e4 40100a45
    16:57:21.580 -> <<<stack<<<
    16:57:21.580 ->
    16:57:21.580 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
    16:57:21.580 ->
    16:57:21.580 -> load 0x4010f000, len 1384, room 16
    16:57:21.580 -> tail 8
    16:57:21.580 -> chksum 0x2d
    16:57:21.613 -> csum 0x2d
    16:57:21.613 -> vbb28d4a3
    16:57:21.613 -> ~ld
    Started at 1052
    16:57:22.639 -> Setting up AP
    16:57:22.639 -> Done with AP

    0
    None
    snorlaxprimeΧάρηςΚ1

    Reply 1 day ago

    Seems quite strange,
    Can you change the following line in handleRoot
    from
    //server.send(200, "text/html", s); <== commented this line
    server.send(200,"text/plain","Hello world!"); <== change to this
    this is to check that the ESP8266 webserver is working, you should see "Hello world! message when connecting to http://192.168.4.1

    0
    None
    DJman230

    3 days ago

    I want to add this code to another project,but I need a temperature probe with 2meters of cable.
    Can I use the DS18B20 Temp Sensor?

    1 reply
    0
    None
    snorlaxprimeDJman230

    Reply 3 days ago

    Hi DJman230, judging from the datasheet of DS18B20, it is a digital temperature sensor. While LM35 is an analog temperature sensor. Arduino can work with DS18B20, but you will have to adjust the part on how to initialise the sensor and modify the way you read the measurement, as it is a much sophisticated temperature sensor. I don't have one to experiment, but I am sure you can find other instructables that are using this sensor.

    0
    None
    ΧάρηςΚ1

    Question 8 days ago

    Thank you for this article! LM35 has to be calibrated? Can the sensor work with battery? With what specs? (newbie here :-) )
    Thank you!

    2 more answers
    0
    None
    snorlaxprimeΧάρηςΚ1

    Reply 7 days ago

    Hi, You are welcome, I only do small calibration by comparing the temperature reading from LM35. ESP8266 operating voltage is 3V, so the maximum reading possible from the analog input is 0-3V. I am only assume that the temperature response is linear, so this is done in the following section of the code.
    // convert the analog signal to voltage
    // the ESP2866 A0 reads between 0 and ~3 volts, producing a corresponding value
    // between 0 and 1024. The equation below will convert the value to a voltage value.
    analogVolts = (analogValue * 3.03) /1024;
    DebugLn(String(analogVolts));
    temperature = (analogVolts) * 100;

    The proper way to calibrate this is to look at the datasheet of LM35 to see what the minimum and maximum temperature range and then calibrated this using a reference thermometer, and then make the adjustment accordingly. I only use this for displaying the temperature inside the home, so I didn't calibrate this to the precision. If you plan to use it for something more serious, you probably want to use a much better sensor than LM35.
    I hope this helps. Please let me know if you have any further questions.

    0
    None
    snorlaxprimesnorlaxprime

    Reply 7 days ago

    And yes this will work with battery, the ESP8266 module that I have takes 5V input, but if you tap into the 3.3V input you can drive it using the battery, and do a small calibration based on the adjustment code above.