diff options
author | dakkar <dakkar@thenautilus.net> | 2018-03-25 17:51:55 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2018-03-25 17:51:55 +0100 |
commit | 8b6d35b09144044efaa46b44c9c8a8c019fd6703 (patch) | |
tree | 79a827062e28ba3aa6425c175aa9e7f384a17a59 /sensor | |
parent | it works! (diff) | |
download | thermostat-8b6d35b09144044efaa46b44c9c8a8c019fd6703.tar.gz thermostat-8b6d35b09144044efaa46b44c9c8a8c019fd6703.tar.bz2 thermostat-8b6d35b09144044efaa46b44c9c8a8c019fd6703.zip |
notes for sensor
Diffstat (limited to 'sensor')
-rw-r--r-- | sensor/README.rst.txt | 24 |
1 files changed, 24 insertions, 0 deletions
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 |