<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — WifiManager]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=842</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=842&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in WifiManager.]]></description>
		<lastBuildDate>Mon, 25 Nov 2019 09:51:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: WifiManager]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2447#p2447</link>
			<description><![CDATA[<p>This problem is easily solved if you follow my recommendation <a target="_blank" href="http://forum.remotexy.com/viewtopic.php?pid=2150#p2150">here</a> and <a target="_blank" href="http://forum.remotexy.com/viewtopic.php?pid=2293#p2293">here</a>. The goal is to make the RemoteXY library not mess with WiFi functions at all.</p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Mon, 25 Nov 2019 09:51:13 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2447#p2447</guid>
		</item>
		<item>
			<title><![CDATA[Re: WifiManager]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2441#p2441</link>
			<description><![CDATA[<p>hello pete68<br />i am searching for integration remotexy with wifimanager for the last 6 months without success!<br />thank God you solved it.<br />i tried your brief guidance but still, can&#039;t get it running..<br />= WOULD YOU PLEASE A.. POST A full working example, so once it is running then i can modify to adapt to my need .. but at least to have a working platform example base.<br />would u please?<br />thanks a lot</p>]]></description>
			<author><![CDATA[null@example.com (hellojoseph1)]]></author>
			<pubDate>Sun, 24 Nov 2019 11:54:37 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2441#p2441</guid>
		</item>
		<item>
			<title><![CDATA[Re: WifiManager]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2440#p2440</link>
			<description><![CDATA[<p>in practice it was enough to delete RemoteXY_init () from void setup () and insert:</p><p>//--- settaggi di Wifimanager-------<br />&nbsp; &nbsp;WiFiManager wifiManager;<br /> //&nbsp; resetta la memoria cancellando le credenziali precedentemente memorizzate<br /> // wifiManager.resetSettings();</p><p> WiFi.mode(WIFI_STA);<br />&nbsp; &nbsp;<br /> wifiManager.setTimeout(180); // resto inizialmente 180 secondi in modalità AP<br />&nbsp; <br />&nbsp; if (!wifiManager.autoConnect(&quot;WiFi-ESP&quot;, &quot;12345678&quot;)) // credenziali per accedere alla modalità AP <br />&nbsp; {<br />&nbsp; &nbsp; &nbsp;delay(3000);<br />&nbsp; &nbsp; ESP.reset();<br />&nbsp; &nbsp; delay(5000);<br />&nbsp; }<br />&nbsp; </p><p>&nbsp; //sono connesso alla WiFi locale....</p><p>&nbsp; // recupero delle credenziali salvate da mandare a Remotexy<br />&nbsp; WiFi.SSID().toCharArray(con_ssid, 32);<br />&nbsp; WiFi.psk().toCharArray(con_psk, 64);</p><p>&nbsp; // invio delle credenziali a RemoteXY - questa stringa cambia in funzione del tipo di interfaccia di comunicazione scelta</p><p>&nbsp; remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD,&nbsp; con_ssid , con_psk, REMOTEXY_CLOUD_SERVER, REMOTEXY_CLOUD_PORT, REMOTEXY_CLOUD_TOKEN );</p><p>and it worked... (if configured cloud)</p>]]></description>
			<author><![CDATA[null@example.com (pete68)]]></author>
			<pubDate>Fri, 22 Nov 2019 08:54:15 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2440#p2440</guid>
		</item>
		<item>
			<title><![CDATA[Re: WifiManager]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2437#p2437</link>
			<description><![CDATA[<p>RemoteXY completely takes control of the wifi library. If you use RemoteXY library then you can not use wifi library.</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Wed, 20 Nov 2019 07:52:24 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2437#p2437</guid>
		</item>
		<item>
			<title><![CDATA[WifiManager]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2436#p2436</link>
			<description><![CDATA[<p>Hello<br />I&#039;m trying to implement the features of WiFiManager in a simple RemoteXY project. <br />I found an example that I adapted to my case, but even if Wifimanager does its job RemoteXY doesn&#039;t. <br />Something is incorrect in my listing. <br />I am attaching the project and I hope someone can tell me what is wrong.</p><p>thanks</p><p>//////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; RemoteXY include library&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />//////////////////////////////////////////////</p><p>// RemoteXY select connection mode and include library <br />//#define REMOTEXY_MODE__ESP8266WIFI_LIB_POINT // per creare un AP<br />#define REMOTEXY_MODE__ESP8266WIFI_LIB // per collegarti attraverso la LAN</p><p>#include &lt;ESP8266WiFi.h&gt;</p><p>#include &lt;RemoteXY.h&gt;<br />#include &lt;DNSServer.h&gt;<br />#include &lt;ESP8266WebServer.h&gt;<br />#include &lt;ESP8266WiFiMulti.h&gt;<br />#include &lt;WiFiManager.h&gt;<br />ESP8266WiFiMulti WiFiMulti;</p><p>char con_ssid[32]; //will hold the ssid of the wlan to which it is connectd<br />char con_psk[64];&nbsp; // ^^ private shared key for the wlan (password)</p><p>// RemoteXY connection settings <br />#define REMOTEXY_WIFI_SSID &quot;&quot;<br />#define REMOTEXY_WIFI_PASSWORD &quot;&quot;<br />#define REMOTEXY_SERVER_PORT 6377 // dell&#039;app<br />#define REMOTEXY_ACCESS_PASSWORD &quot;1&quot;</p><br /><br /><p>// RemoteXY configurate&nbsp; <br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] =<br />&nbsp; { 255,1,0,1,0,26,0,8,13,1,<br />&nbsp; 2,0,20,13,22,11,2,26,31,31,<br />&nbsp; 79,78,0,79,70,70,0,65,4,25,<br />&nbsp; 33,9,9 };<br />&nbsp; <br />// this structure defines all the variables of your control interface <br />struct <br />{</p><p>&nbsp; &nbsp; // input variable<br />&nbsp; uint8_t switch_1; // =1 if switch ON and =0 if OFF </p><p>&nbsp; &nbsp; // output variable<br />&nbsp; uint8_t led_1_r; // =0..255 LED Red brightness </p><p>&nbsp; &nbsp; // other variable<br />&nbsp; uint8_t connect_flag;&nbsp; // =1 if wire connected, else =0 </p><p>} RemoteXY;<br />#pragma pack(pop)</p><p>/////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />/////////////////////////////////////////////</p><p>#define PIN_SWITCH_1 BUILTIN_LED</p><br /><p>void setup() <br />{<br />&nbsp; RemoteXY_Init (); <br />&nbsp; <br />&nbsp; pinMode (PIN_SWITCH_1, OUTPUT);<br />&nbsp; Serial.begin(115200);<br />&nbsp; &nbsp;WiFiManager wifiManager;</p><p>&nbsp; // wifiManager.setSTAStaticIPConfig(ip, gw, mask);<br />&nbsp; if (!wifiManager.autoConnect(&quot;WiFi&quot;, &quot;12345678&quot;)) <br />&nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;failed to connect, we should reset as see if it connects&quot;);<br />&nbsp; &nbsp; delay(3000);<br />&nbsp; &nbsp; ESP.reset();<br />&nbsp; &nbsp; delay(5000);<br />&nbsp; }</p><p>&nbsp; //if you get here you have connected to the WiFi</p><p>&nbsp; Serial.printf(&quot;connected to %s\n&quot;, con_ssid);<br />&nbsp; Serial.println(&quot;local ip&quot;);<br />&nbsp; Serial.println(WiFi.localIP());</p><p>&nbsp; WiFi.SSID().toCharArray(con_ssid, 32);<br />&nbsp; WiFi.psk().toCharArray(con_psk, 64);</p><p>&nbsp; remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD,&nbsp; &nbsp;con_ssid , con_psk, REMOTEXY_SERVER_PORT );<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p>&nbsp; Serial.println(&quot;Setup Done.&quot;);</p> <br /><p>}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; <br />&nbsp; digitalWrite(PIN_SWITCH_1, (RemoteXY.switch_1==0)?LOW:HIGH);<br />&nbsp; RemoteXY.led_1_r = (digitalRead(PIN_SWITCH_1)==HIGH)?255:0;&nbsp; <br />&nbsp; <br />}</p>]]></description>
			<author><![CDATA[null@example.com (pete68)]]></author>
			<pubDate>Mon, 18 Nov 2019 09:40:29 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2436#p2436</guid>
		</item>
	</channel>
</rss>
