mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 09:45:33 +00:00
Fixes
This commit is contained in:
1 parent
8975eb785b
commit
d67bac14e9
1 file changed
+5
-5
@@ -5,9 +5,9 @@
|
||||
#include <ArduinoJson.h>
|
||||
|
||||
//Variables
|
||||
const char* ssid = "SteelAntsNET";
|
||||
const char* pasw = "tgr786hgtp3CZ";
|
||||
const char* hwId = "JOK3R";
|
||||
const char* ssid = "";
|
||||
const char* pasw = "";
|
||||
const char* hwId = "";
|
||||
const char* url = "http://dev.steelants.cz/vasek/home/api.php";
|
||||
int unsuccessfulRounds = 0;
|
||||
|
||||
@@ -90,8 +90,8 @@ void loop() {
|
||||
|
||||
//Set static ip
|
||||
IPAddress staticIpAddress;
|
||||
IPAddress subnetIpAddress(192,168,0,1);
|
||||
IPAddress gatewayIpAddress(255, 255, 255, 0);
|
||||
IPAddress subnetIpAddress(192,168,0,1);
|
||||
IPAddress gatewayIpAddress(255, 255, 255, 0);
|
||||
|
||||
if (staticIpAddress.fromString(ipAddress)) {
|
||||
WiFi.config(staticIpAddress, subnetIpAddress, gatewayIpAddress);
|
||||
|
||||
Reference in new issue
Block a user