My first try installing ESPimatic, but i get this error (:
/Users/nieuwenhuis/Downloads/ESPimatic/ESPimatic.ino: In function 'void setup()':
ESPimatic:739: error: 'DHT11' was not declared in this scope
dht = DHT(dhtpin.toInt(), DHT11, 15);
^
ESPimatic:740: error: 'class DHT' has no member named 'begin'
dht.begin();
^
ESPimatic:744: error: 'DHT22' was not declared in this scope
dht = DHT(dhtpin.toInt(), DHT22, 15);
^
ESPimatic:745: error: 'class DHT' has no member named 'begin'
dht.begin();
^
/Users/nieuwenhuis/Downloads/ESPimatic/ESPimatic.ino: In function 'void send_data(String, String)':
ESPimatic:2292: error: 'base64_encode' was not declared in this scope
base64_encode(unameenc, uname, strlen(uname));
^
/Users/nieuwenhuis/Downloads/ESPimatic/ESPimatic.ino: In function 'String get_data(String)':
ESPimatic:2341: error: 'base64_encode' was not declared in this scope
base64_encode(unameenc, uname, strlen(uname));
^
/Users/nieuwenhuis/Downloads/ESPimatic/ESPimatic.ino: In function 'String get_dht()':
ESPimatic:2400: error: 'class DHT' has no member named 'readTemperature'
t = dht.readTemperature();
^
ESPimatic:2401: error: 'class DHT' has no member named 'readHumidity'
h = dht.readHumidity();
^
exit status 1
'DHT11' was not declared in this scope