How to send an advance order when the ESP8266 is sleeping?


First, sorry for my english.

In order to control an ESP8266 and save battery, I use the deepSleep method.

unsigned long currentTs = millis();
if (currentTs - lastCheck >= 1* 60 * 1000) { // wake up 1 minute 
   lastCheck = currentTs;
   ESP.deepSleep(30 * 60 * 1000 * 1000, WAKE_RF_DEFAULT); } // sleep 30 minutes 

When the ESP is wake up, I would like to execute, by example, a servo motor.
However, I would like to input the value controlling the servo motor in the dashboard when the ESP is sleeping.

thing["moving"] << inputValue(wishValue);

Unfortunately, when the ESP is wake up again, my wishValue is reset to zero in the dashboard, and therefore I can’t control the servo motor with a post order.

Do you have an idea how to do that ?