wESP: full web config with mqtt
Posted: Tue May 31, 2016 3:41 am
Hi ESP8266 family,
I'm new user about ESP8266 or anything like this, i never program C++ before, basicly i'm a web coder, it is not hard to learn the structure. I wanted it to be a contribution to the family ESP8266.
The code is not new at all a developed ESP 8266 WebConfig by John Lassen code. Some additinal parts, some visual etc.
https://github.com/wiotio/wESP
wESP
ESP8266 full web config with Wifi settings, AP settings, NTP, self automation (on time, off time), full mqtt support
You can change the output pins you can simply change wESP.ino these two lines;
And for the automation you should change automation.h the line which you want to use pins;
You can use ESP8266 dhcp or static IP for each device,
For unique devices in the network the code adds 6 digits of the ESP8266 mac adress after SSID name,
For unique devices in the mqtt the code adds 6 digits of the ESP8266 mac adress after device name,
Every page you can toogle the output pins easily.
The code based on ESP 8266 WebConfig by John Lassen
I'm new user about ESP8266 or anything like this, i never program C++ before, basicly i'm a web coder, it is not hard to learn the structure. I wanted it to be a contribution to the family ESP8266.
The code is not new at all a developed ESP 8266 WebConfig by John Lassen code. Some additinal parts, some visual etc.
https://github.com/wiotio/wESP
wESP
ESP8266 full web config with Wifi settings, AP settings, NTP, self automation (on time, off time), full mqtt support
You can change the output pins you can simply change wESP.ino these two lines;
Code: Select all
const int poutone = 12;
const int poutwo = 13;
And for the automation you should change automation.h the line which you want to use pins;
Code: Select all
<option value="12">Out 1</option><option value="13">Out 2</option>
You can use ESP8266 dhcp or static IP for each device,
For unique devices in the network the code adds 6 digits of the ESP8266 mac adress after SSID name,
For unique devices in the mqtt the code adds 6 digits of the ESP8266 mac adress after device name,
Every page you can toogle the output pins easily.
The code based on ESP 8266 WebConfig by John Lassen