Sumbrella: move WiFi and ThingHTTP secrets out of the sketch into secrets.h

Fetch_rain.ino carried the WiFi password and three ThingHTTP API keys as
plaintext literals. The sketch now includes the non-versioned secrets.h,
which defines WIFI_SSID, WIFI_PASSWORD and the three THINGHTTP_KEY_* symbols
(one per scheduled channel: today, tmrw, aftmrw). secrets.h.example lists all
five placeholders and .gitignore keeps secrets.h out of the repository.

Why: credentials must not live in version control. The old values are still in
the history and in clones, so they must be rotated and the API keys reissued.
This commit is contained in:
Andre Neto
2026-10-08 14:03:53 +01:00
parent 1526dd5b8e
commit 8a27282d4a
4 changed files with 40 additions and 5 deletions
+2
View File
@@ -0,0 +1,2 @@
# Local WiFi credentials (see Fetch_rain/secrets.h.example)
secrets.h