Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
63 additions
and
35 deletions.
There are no files selected for viewing
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
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# ESP32/ESP8266 | ||
|
||
Xtensa Expressif Chipsets | ||
|
||
NodeMCUs, WEmos... | ||
|
||
## Software | ||
|
||
``` | ||
pacman -Sy --no-confirm esptool luatool | ||
``` | ||
|
||
Optional for NodeMCU's lua dev: `luatool`. | ||
Also, that chips runs debug in crazy `54880 BPS`. | ||
You'll want to install `picocom` as the only terminal that supports it. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#define MY_SSID "YOUR_WIFI_SSID" | ||
#define MY_PWD "YOUR_WIFI_PASSWORD" | ||
#define MY_HOST "YOUR_WEBSITE" | ||
#define MY_HOSTIP "YOUR_WEBSITE_IP" | ||
#define MY_WEB_PWD "REQUEST_PASSWORD" |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#define DEBUG 1 //Print to Serial | ||
#define APPPIN 12 // Pin to Relay | ||
#define REFRESHTIME 1 //MINUTES | ||
#define WHILE_TO 5000 // milliseconds | ||
#define PRINTDEBUG(STR) \ | ||
{ \ | ||
if (DEBUG) Serial.println(STR); \ | ||
} | ||
#define BIAS 1 | ||
#include <ESP8266WiFi.h> | ||
#include "TheAppParams.h" // Change this file params | ||
|
||
//INIT | ||
const char* ssid = MY_SSID; | ||
const char* password = MY_PWD; | ||
const char* host = MY_HOST; | ||
const char* hostIP = MY_HOSTIP; | ||
String url = "/getIP.php?psswd="; | ||
WiFiServer server(80); | ||
|
||
//Class defintion of the water heater control | ||
class appControl { | ||
public: | ||
// appControl(); | ||
void begin(int pin) { | ||
//pinMode(appPin, OUTPUT); | ||
//digitalWrite(appPin, currentState); |
This file was deleted.
Oops, something went wrong.