Files
sumbrella/README.md
T
Andre Neto 009066d182 Remove the third-party DS3231 library and license the project MIT
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.
2026-10-08 14:54:23 +01:00

35 lines
1.3 KiB
Markdown

https://youtu.be/7n7HcTeeHdM
## 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`:
```bash
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](DEPENDENCIAS.md).
## License
MIT — see [LICENSE](LICENSE). The DS3231 library is third-party, is not
redistributed here and keeps its own licence (CC BY-NC-SA 3.0).