This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "DHT.h" | |
#include <ESP8266WiFi.h> | |
#include <ESP8266WebServer.h> | |
#define DHTPIN 5 | |
#define DHTTYPE DHT22 | |
#define RATE 115200 | |
#define DEBUG true | |
#define SSID "szvsyGm6E74c6HnevvfBHuuY6NG3otjOyxBpEyb9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Locally compresses and encrypts data into cache directory, checks if the data | |
stored on S3 is different. If yes, uploads new version. Otherwise skips them. | |
Encryption provided by openssl enc, I do not feel comfortable writing my own | |
implementation. | |
Versioning is supposed to be done with s3 versioning | |
Basic process: | |
- find all subfolders / files of backup_path up to a depth of depth | |
this makes it so that folders which do not change often do not get backed up |