Some links:
* links to some ESP32 libraries
https://www.arduinolibraries.info/architectures/esp32
* the OLED library https://github.com/ThingPulse/esp8266-oled-ssd1306
* 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
C++ library: https://github.com/nettlep/gobbledegook