Files
borrow-system-locker/config.h.example

26 lines
811 B
Plaintext

// config.h.example - Template configuration file
// Copy this file to config.h and fill in your actual values
#ifndef CONFIG_H
#define CONFIG_H
// WiFi credentials
const char* WIFI_SSID = "YOUR_WIFI_SSID";
const char* WIFI_PASSWORD = "YOUR_WIFI_PASSWORD";
// Backend API configuration
const char* BACKEND_URL = "https://insta.the1s.de/backend/api";
const char* API_KEY = "12345678"; // Replace with your 8-digit API key
// 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