Kaptain.
Telegram /
LinkedIn /
Email /
GIT /
RSS /
GPG /

№ 9737 В разделах:
Electronics
ESP8266
Programming
от February 13th, 2019,
В подшивках: ESP8266, Smart Home, WifiManager
In Arduino IDE library you can find wifi manager (https://github.com/tzapu/WiFiManager). It will help you to connect your device to you home wifi without hardcoding credentials.
My projects where used wifi managers:
If you interested check whole tag.
Sample code:
#include <ESP8266WiFi.h> #include <DNSServer.h> #include <ESP8266WebServer.h> #include <WiFiManager.h> void setup() { .... WiFiManager wifiManager; wifiManager.autoConnect("my-device-name"); .... }
More examples here.
Fortune cookie: In the Garden of Eden sat Adam, Massaging the bust of his madam, He chuckled with mirth, For he knew that on earth, There were only two boobs and he had 'em.
Leave a Reply