This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESPHASDevice.h> | |
//////////////////////////////////////////////////////////// | |
// HTML | |
//////////////////////////////////////////////////////////// | |
/* | |
const char index_html[] PROGMEM = R"rawliteral( | |
<!DOCTYPE HTML><html> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ESPHASDevice.h" | |
#include <Encoder.h> | |
#include <AccelStepper.h> | |
const String DEVICETYPE = "curtainopener"; // lowercase | |
const String VERSION = "v0.35"; | |
const String EEPROMVERSION = "v0.10"; | |
ESPHASDevice device; | |
EEPROMInt* currentPosition = device.AddSettingInt("currentPosition", 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ESPHASDevice_h | |
#define ESPHASDevice_h | |
//#define Sprintln(a) (Serial.println(a)) | |
#define Sprintln(a) | |
#include <ESP8266HTTPClient.h> | |
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266HTTPUpdateServer.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://lwscomsit3.lowes.com/pd/Samsung-Family-Hub-Wi-Fi-Enabled-Family-Hub-27-9-cu-ft-4-Door-French-Door-Refrigerator-with-Ice-Maker-Fingerprint-Resistant-Stainless-Steel-ENERGY-STAR/1000437535 |