The library seems not to work on the ESP32. Boards: https://github.com/espressif/arduino-esp32 I always get "error: 'Thread' has not been declared" Using the ESP8266 boards it works fine