Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
nidayand committed Oct 4, 2017
1 parent c2f7b25 commit dfb21b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions motor_on_a_roller_blind-ws.ino
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ String version = "1.0";
//Configure Default Settings
String APid = "BlindsConnectAP";
String APpw = "nidayand";
String OTAhostname = "blinds";

//Fixed settings for WIFI
bool shouldSaveConfig = false; //Used for WIFI Manager callback to save parameters
Expand Down Expand Up @@ -310,7 +309,6 @@ void setup(void)
// Authentication to avoid unauthorized updates
//ArduinoOTA.setPassword((const char *)"nidayand");

//ArduinoOTA.setHostname((OTAhostname + "-" + String(ESP.getChipId())).c_str());
ArduinoOTA.setHostname(config_name);

ArduinoOTA.onStart([]() {
Expand Down

0 comments on commit dfb21b6

Please sign in to comment.