Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
Loading...
Searching...
No Matches
network_config.h
Go to the documentation of this file.
1#pragma once
2
12// Safe defaults for the committed repository. Create
13// network_config.local.h next to this file to enable Wi-Fi/MQTT locally.
14
15#ifndef AQ_NETWORK_ENABLED
16#define AQ_NETWORK_ENABLED 1
17#endif
18
19#ifndef AQ_WIFI_SSID
20#define AQ_WIFI_SSID ""
21#endif
22
23#ifndef AQ_WIFI_PASSWORD
24#define AQ_WIFI_PASSWORD ""
25#endif
26
27#ifndef AQ_DEVICE_HOSTNAME
28#define AQ_DEVICE_HOSTNAME "aq-cooling"
29#endif
30
31#ifndef AQ_MQTT_HOST
32#define AQ_MQTT_HOST ""
33#endif
34
35#ifndef AQ_MQTT_PORT
36#define AQ_MQTT_PORT 1883
37#endif
38
39#ifndef AQ_MQTT_USERNAME
40#define AQ_MQTT_USERNAME ""
41#endif
42
43#ifndef AQ_MQTT_PASSWORD
44#define AQ_MQTT_PASSWORD ""
45#endif
46
47#ifndef AQ_MQTT_CLIENT_ID
48#define AQ_MQTT_CLIENT_ID "aq-cooling-controller"
49#endif
50
51#ifndef AQ_MQTT_ROOT_TOPIC
52#define AQ_MQTT_ROOT_TOPIC "aquarium/cooling"
53#endif
54
55#ifndef AQ_WIFI_RECONNECT_INTERVAL_MS
56#define AQ_WIFI_RECONNECT_INTERVAL_MS 10000UL
57#endif
58
59#ifndef AQ_MQTT_RECONNECT_INTERVAL_MS
60#define AQ_MQTT_RECONNECT_INTERVAL_MS 10000UL
61#endif
62
63#ifndef AQ_MQTT_PUBLISH_INTERVAL_MS
64#define AQ_MQTT_PUBLISH_INTERVAL_MS 60000UL
65#endif
66
67#if __has_include("network_config.local.h")
68#include "network_config.local.h"
69#endif