alle Locker öffnen gleichzeitig, Hardcodes implementiert

This commit is contained in:
2026-03-10 13:22:08 +01:00
parent 811e718b6a
commit 68d1e5769f
2 changed files with 178 additions and 41 deletions

View File

@@ -12,4 +12,15 @@ const char* WIFI_PASSWORD = "YOUR_WIFI_PASSWORD";
const char* BACKEND_URL = "https://insta.the1s.de/backend/api";
const char* API_KEY = "12345678"; // Replace with your 8-digit API key
#endif // CONFIG_H
// Emergency hardcodes for each door (8-digit codes)
// These codes will always open the specific door, bypassing the backend
const char* DOOR_HARDCODES[6] = {
"11111111", // Door 1 hardcode
"22222222", // Door 2 hardcode
"33333333", // Door 3 hardcode
"44444444", // Door 4 hardcode
"55555555", // Door 5 hardcode
"66666666" // Door 6 hardcode
};
#endif // CONFIG_H