A libs/DS3231/ era CC BY-NC-SA 3.0 (non-commercial, share-alike), incompativel com MIT; saiu do repo e ficou declarada como dependencia externa com versao e origem (DEPENDENCIAS.md + README). So depois disso o repo pode ser MIT. Ano = primeiro commit (2020). Nao se apagou nada do disco do autor.
1.3 KiB
Configuration
The WiFi credentials are not stored in the repository. The sketch
Fetch_rain/Fetch_rain.ino includes a non-versioned header secrets.h
that defines WIFI_SSID and WIFI_PASSWORD:
cp Fetch_rain/secrets.h.example Fetch_rain/secrets.h
# edit Fetch_rain/secrets.h with your own network name and password
secrets.h is listed in .gitignore, so it is never committed. The
sketch does not compile without it. If the old password was ever
pushed, change it on the router as well as in secrets.h.
secrets.h also defines the three ThingHTTP API keys used by the daily
scheduled channels (THINGHTTP_KEY_TODAY, THINGHTTP_KEY_TMRW,
THINGHTTP_KEY_AFTMRW). They used to be hard-coded in the sketch; the old
values were committed, so they must be regenerated in ThingHTTP.
Dependencies
Projeto.ino needs the third-party DS3231 RTC library — Rinky-Dink Electronics,
Henning Karlsen, version 1.01 (25 Aug 2014), http://www.RinkyDinkElectronics.com/.
It is not vendored here: it is CC BY-NC-SA 3.0 (non-commercial), which cannot
be mixed with this repository's MIT licence. Install it separately — see
DEPENDENCIAS.md.
License
MIT — see LICENSE. The DS3231 library is third-party, is not redistributed here and keeps its own licence (CC BY-NC-SA 3.0).