From a3c19304d5c5a4470b3f272ebafac1b4f7923fc8 Mon Sep 17 00:00:00 2001 From: structix Date: Sat, 16 Sep 2017 19:48:04 +0200 Subject: [PATCH] Sensornode deepsleep info --- ESP8266/sensornode/sensornode.ino | 2 +- README.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ESP8266/sensornode/sensornode.ino b/ESP8266/sensornode/sensornode.ino index 2c042ac..9d3444f 100644 --- a/ESP8266/sensornode/sensornode.ino +++ b/ESP8266/sensornode/sensornode.ino @@ -81,7 +81,7 @@ void loop() { client.end(); } - + //https://www.mikrocontroller.net/topic/384345 ESP.deepSleep(MEASURESECONDS * 1000000); //Let the esp chill a bit delay(100); diff --git a/README.md b/README.md index d06d8f1..fadaa74 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,11 @@ If you like to run humidityPi in a desired time intervall you can enable a cronj ### ESP-8266 [aRest](https://github.com/marcoschwartz/aREST) +### Rest Server +``` +sudo apt install php7.0 php7.0-curl php7.0-gd php7.0-intl php7.0-mbstring php7.0-mcrypt php7.0-bz2 php7.0-cli php7.0-json php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml php7.0-zip +``` + # Used sources