tinance2-doorbot/include/main.h

47 lines
941 B
C
Raw Normal View History

2023-06-12 17:17:28 +00:00
#ifndef MAIN_H
#define MAIN_H
#include "hardware.h"
#include <Arduino.h>
#include "secrets.h"
2023-06-13 18:01:13 +00:00
#include "settings.h"
2023-12-27 20:48:18 +00:00
#include <HTTPClient.h>
#include <ArduinoJson.h>
2023-06-12 17:17:28 +00:00
#ifdef WIFI
#include "WiFi.h"
2024-04-15 21:02:32 +00:00
#include "webhooks.h"
2023-06-12 17:17:28 +00:00
#endif
2024-01-30 17:21:48 +00:00
2023-06-21 19:03:58 +00:00
#ifdef LOCAL_ACL
#include "acl.h"
#endif
2024-01-30 15:03:40 +00:00
#ifdef TTL_READER
2024-01-30 17:21:48 +00:00
#include "ttl_reader_utils.h"
2024-01-30 15:03:40 +00:00
#endif
#ifdef TINANCE2_BACKEND
#include "tinance2.h"
#endif
2023-06-12 17:17:28 +00:00
#ifdef WEB_SERVER
2023-06-13 18:33:44 +00:00
#include <AsyncTCP.h>
#include "ESPAsyncWebServer.h"
#include "SPIFFS.h"
#include <AsyncJson.h>
2023-06-12 17:17:28 +00:00
#ifdef WEB_OTA_UPDATE
#include <ElegantOTA.h>
2023-06-12 17:17:28 +00:00
#endif
2023-06-13 19:11:23 +00:00
#include "mainwebserver.h"
#ifdef LOCAL_ACL_API
#include "aclwebserver.h"
#endif
2023-06-12 17:17:28 +00:00
#endif
#ifdef BUZZER
#include "buzzer_ctl.h"
#endif
#endif