From 8b6d35b09144044efaa46b44c9c8a8c019fd6703 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 25 Mar 2018 17:51:55 +0100 Subject: notes for sensor --- sensor/README.rst.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'sensor') diff --git a/sensor/README.rst.txt b/sensor/README.rst.txt index f97de5c..2420d9b 100644 --- a/sensor/README.rst.txt +++ b/sensor/README.rst.txt @@ -6,3 +6,27 @@ Some links: * vague guide to the OLED library https://diyprojects.io/using-i2c-128x64-0-96-ssd1306-oled-display-arduino/ * the sensor library https://github.com/beegee-tokyo/DHTesp + +* Ultra Low Power mode for ESP32: + + - not Arduino-style + https://github.com/espressif/esp-idf/blob/master/examples/system/deep_sleep/main/deep_sleep_example_main.c + - Arduino-style + https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/DeepSleep/TimerWakeUp/TimerWakeUp.ino + +* BLE examples + http://www.iotsharing.com/2017/07/how-to-use-ble-in-arduino-esp32.html + https://github.com/nkolban/ESP32_BLE_Arduino/blob/6bad7b42a96f0aa493323ef4821a8efb0e8815f2/examples/BLE_notify/BLE_notify.ino + + maybe we want to have the esp32 *write* to the main thermostat? + + - deep sleep + - read temperature + - BLE passive scan for thermostat + - connect + - write id + values to a property + - disconnect + - repeat + + example Python server: + https://github.com/RadiusNetworks/bluez/blob/master/test/example-gatt-server -- cgit v1.2.3