1
mirror of https://github.com/rvdbreemen/OTGW-firmware synced 2024-09-29 20:04:13 +02:00
OTGW-firmware/OTGW-firmware.h

44 lines
1.4 KiB
C
Raw Normal View History

2020-10-25 20:48:57 +01:00
/*
***************************************************************************
** Program : OTGW-firmware.h
** Version : v0.0.1
**
** Copyright (c) 2020 Robert van den Breemen
** Borrowed from OpenTherm library from:
** https://github.com/jpraus/arduino-opentherm
**
** TERMS OF USE: MIT License. See bottom of file.
***************************************************************************
*/
//#include <ESP8266WiFi.h>
#include <ezTime.h> // https://github.com/ropg/ezTime
#include <TelnetStream.h> // https://github.com/jandrassy/TelnetStream/commit/1294a9ee5cc9b1f7e51005091e351d60c8cddecf
#include <ArduinoJson.h> // https://arduinojson.org/
#include "Debug.h"
#include "safeTimers.h"
#include "networkStuff.h"
#include "OTGWStuff.h"
#include "Wire.h"
#define SETTINGS_FILE "/settings.ini"
#define CMSG_SIZE 512
#define JSON_BUFF_MAX 1024
bool Verbose = false;
char cMsg[CMSG_SIZE];
char fChar[10];
String lastReset = "";
uint32_t blinkyTimer;
char settingHostname[41];
uint32_t upTimeSeconds=0;
Timezone CET;
const char *weekDayName[] { "Unknown", "Zondag", "Maandag", "Dinsdag", "Woensdag"
, "Donderdag", "Vrijdag", "Zaterdag", "Unknown" };
const char *flashMode[] { "QIO", "QOUT", "DIO", "DOUT", "Unknown" };
// eof