Hi,
i would like to use the ESP8266 to measure some data via a sensor every 60 seconds and send that data via a http get request to my webserver. Then i want the esp8266 to sleep again for 60s before it does the same thing again. How could i accomplish this?
Best regards
ESP8266 Sleep - Connect to Wifi - Send HTTP - Sleep again
Re: ESP8266 Sleep - Connect to Wifi - Send HTTP - Sleep again
Postby ESP_Xutao » Thu Dec 22, 2016 10:49 am
Hi:
This is ok. One thing to remind you that if you force ESP8266 to light sleep or deep sleep, then wifi connection will be lost. So in your application, before sending http get request to your webserver, you need to assure your ESP8266 connect router successfully. So you should cut dowm your ESP8266 sleep time to give enough buffer time to connect to router.
This is ok. One thing to remind you that if you force ESP8266 to light sleep or deep sleep, then wifi connection will be lost. So in your application, before sending http get request to your webserver, you need to assure your ESP8266 connect router successfully. So you should cut dowm your ESP8266 sleep time to give enough buffer time to connect to router.
Who is online
Users browsing this forum: No registered users and 322 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.