consolidate sketches
This commit is contained in:
26
libraries/KlubhausCore/src/Config.h
Normal file
26
libraries/KlubhausCore/src/Config.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#define FW_VERSION "5.1"
|
||||
|
||||
// ── ntfy.sh ──
|
||||
#define NTFY_SERVER "ntfy.sh"
|
||||
#define ALERT_TOPIC "ALERT_klubhaus_topic"
|
||||
#define SILENCE_TOPIC "SILENCE_klubhaus_topic"
|
||||
#define ADMIN_TOPIC "ADMIN_klubhaus_topic"
|
||||
#define STATUS_TOPIC "STATUS_klubhaus_topic"
|
||||
|
||||
// ── Timing ──
|
||||
#define POLL_INTERVAL_MS 15000
|
||||
#define HEARTBEAT_INTERVAL_MS 300000
|
||||
#define BOOT_GRACE_MS 5000
|
||||
#define HOLD_TO_SILENCE_MS 3000
|
||||
#define ALERT_TIMEOUT_MS 120000
|
||||
#define SILENCE_DISPLAY_MS 10000
|
||||
#define WIFI_CONNECT_TIMEOUT_MS 15000
|
||||
#define HTTP_TIMEOUT_MS 10000
|
||||
|
||||
// ── WiFi credential struct (populated in each board's secrets.h) ──
|
||||
struct WiFiCred {
|
||||
const char* ssid;
|
||||
const char* pass;
|
||||
};
|
||||
Reference in New Issue
Block a user