{"id":54,"date":"2020-02-04T18:29:08","date_gmt":"2020-02-04T11:29:08","guid":{"rendered":"https:\/\/arnut.com\/home\/?p=54"},"modified":"2022-09-04T18:31:52","modified_gmt":"2022-09-04T11:31:52","slug":"%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87%e0%b9%84%e0%b8%a5%e0%b8%9a%e0%b8%b2%e0%b8%a3%e0%b8%b5%e0%b8%8a%e0%b9%88%e0%b8%a7%e0%b8%a2%e0%b9%80%e0%b8%8a","status":"publish","type":"post","link":"https:\/\/arnut.com\/home\/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87%e0%b9%84%e0%b8%a5%e0%b8%9a%e0%b8%b2%e0%b8%a3%e0%b8%b5%e0%b8%8a%e0%b9%88%e0%b8%a7%e0%b8%a2%e0%b9%80%e0%b8%8a\/","title":{"rendered":"\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e25\u0e1a\u0e32\u0e23\u0e35\u0e0a\u0e48\u0e27\u0e22\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e44\u0e27\u0e44\u0e1f\u0e14\u0e49\u0e27\u0e22 WiFiManager"},"content":{"rendered":"<p><strong>\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e25\u0e1a\u0e32\u0e23\u0e35\u0e0a\u0e48\u0e27\u0e22\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e44\u0e27\u0e44\u0e1f\u0e14\u0e49\u0e27\u0e22 WiFiManager<\/strong><br \/>\n1. \u0e40\u0e1b\u0e34\u0e14 Aduino IDE<\/p>\n<p>2. \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e40\u0e21\u0e19\u0e39 Sketch &gt; Include Libraries&#8230;. &gt; Manage Libraries&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/b\/sites\/default\/files\/inline-images\/WiFi-01.jpg\" alt=\"WiFi-01\" width=\"536\" height=\"250\" data-entity-type=\"file\" data-entity-uuid=\"c671ae41-f2b0-4d68-85e5-cc19755cf373\" \/><\/p>\n<p>3.\u00a0\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e27\u0e48\u0e32 wifimanager\u00a0 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e44\u0e25\u0e1a\u0e23\u0e32\u0e23\u0e35 <strong>WiFiManager<\/strong><\/p>\n<p>4. \u0e04\u0e25\u0e34\u0e01\u0e1b\u0e38\u0e48\u0e21<strong> Install <\/strong>\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/b\/sites\/default\/files\/inline-images\/WiFi-02.jpg\" alt=\"WiFi-02\" width=\"770\" height=\"434\" data-entity-type=\"file\" data-entity-uuid=\"6d382a2a-c314-44a8-aa80-732b22a5c8bb\" \/><\/p>\n<p>5. \u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e14\u0e49\u0e27\u0e22\u0e42\u0e04\u0e49\u0e14\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07<br \/>\nFile &gt; Examples &gt; WiFiManager &gt; <strong>AutoConnect<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/b\/sites\/default\/files\/inline-images\/WiFi-03.jpg\" alt=\"WiFi-03\" width=\"706\" height=\"544\" data-entity-type=\"file\" data-entity-uuid=\"f26535bc-d9a2-494c-ba62-3a37ff2c8202\" \/><\/p>\n<p>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e42\u0e04\u0e49\u0e14<\/p>\n<p>===============================<br \/>\n#include &lt;ESP8266WiFi.h&gt; \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\/\/https:\/\/github.com\/esp8266\/Arduino<\/p>\n<p>\/\/needed for library<br \/>\n#include &lt;DNSServer.h&gt;<br \/>\n#include &lt;ESP8266WebServer.h&gt;<br \/>\n#include &lt;WiFiManager.h&gt; \u00a0 \u00a0 \u00a0 \u00a0 \/\/https:\/\/github.com\/tzapu\/WiFiManager<\/p>\n<p>void setup() {<br \/>\n\/\/ put your setup code here, to run once:<br \/>\n<strong> Serial.begin(115200);<\/strong><\/p>\n<p>\/\/WiFiManager<br \/>\n\/\/Local intialization. Once its business is done, there is no need to keep it around<br \/>\n<strong>\u00a0 \u00a0 WiFiManager wifiManager;<\/strong><br \/>\n<strong>wifiManager.setTimeout(180);\u00a0<\/strong><br \/>\n\/\/reset saved settings<br \/>\n\/\/wifiManager.resetSettings();<\/p>\n<p>\/\/set custom ip for portal<br \/>\n\/\/wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0));<\/p>\n<p>\/\/fetches ssid and pass from eeprom and tries to connect<br \/>\n\/\/if it does not connect it starts an access point with the specified name<br \/>\n\/\/here \u00a0&#8220;AutoConnectAP&#8221;<br \/>\n\/\/and goes into a blocking loop awaiting configuration<br \/>\n<strong>wifiManager.autoConnect(&#8220;AutoConnectAP&#8221;);<\/strong><br \/>\n\/\/or use this for auto generated name ESP + ChipID<br \/>\n\/\/wifiManager.autoConnect();<\/p>\n<p>\/\/if you get here you have connected to the WiFi<br \/>\n<strong>Serial.println(&#8220;connected&#8230;OK&#8221;);<\/strong><br \/>\n}<\/p>\n<p>void loop() {<br \/>\n\/\/ put your main code here, to run repeatedly:<\/p>\n<p>}<\/p>\n<p>======================================================<br \/>\n\u0e17\u0e33\u0e01\u0e32\u0e23\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c\u0e42\u0e04\u0e49\u0e14<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/b\/sites\/default\/files\/inline-images\/WiFi-03-2.jpg\" alt=\"WiFi-03-2\" width=\"727\" height=\"386\" data-entity-type=\"file\" data-entity-uuid=\"ca84915a-9313-4244-90af-b4a335b53eec\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e25\u0e1a\u0e32\u0e23\u0e35\u0e0a\u0e48\u0e27\u0e22\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e44\u0e27\u0e44\u0e1f\u0e14\u0e49\u0e27\u0e22 WiFiManager 1. \u0e40\u0e1b\u0e34\u0e14 Aduino IDE 2. \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e40\u0e21\u0e19\u0e39 Sketch &gt; Include Libraries&#8230;. &gt; Manage Libraries&#8230; 3.\u00a0\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e27\u0e48\u0e32 wifimanager\u00a0 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e44\u0e25\u0e1a\u0e23\u0e32\u0e23\u0e35 WiFiManager 4. \u0e04\u0e25\u0e34\u0e01\u0e1b\u0e38\u0e48\u0e21 Install \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 5. \u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e14\u0e49\u0e27\u0e22\u0e42\u0e04\u0e49\u0e14\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07 File &gt; Examples &gt; WiFiManager &gt; AutoConnect \u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e42\u0e04\u0e49\u0e14 =============================== #include &lt;ESP8266WiFi.h&gt; \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\/\/https:\/\/github.com\/esp8266\/Arduino \/\/needed for library #include &lt;DNSServer.h&gt; #include &lt;ESP8266WebServer.h&gt; #include &lt;WiFiManager.h&gt; \u00a0 \u00a0 \u00a0 \u00a0 \/\/https:\/\/github.com\/tzapu\/WiFiManager [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":55,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[26,25],"class_list":["post-54","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-iot","tag-aduino","tag-wifimanager"],"_links":{"self":[{"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":1,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":56,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/posts\/54\/revisions\/56"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/media\/55"}],"wp:attachment":[{"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}