<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — How to use both cloud and LAN connection?]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1330&amp;type=atom" />
	<updated>2021-10-18T07:24:46Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1330</id>
		<entry>
			<title type="html"><![CDATA[Re: How to use both cloud and LAN connection?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4307#p4307" />
			<content type="html"><![CDATA[<p>This code shows how set REMOTEXY_ACCESS_PASSWORD in example ESP_WiFiServerAndCloud<br /></p><div class="codebox"><pre><code>void setup() 
{
  
  CRemoteXYComm_WiFi * wifi =  new CRemoteXYComm_WiFi (
    &quot;myHomeFiFi&quot;,                            // REMOTEXY_WIFI_SSID
    &quot;myPass&quot;                                 // REMOTEXY_WIFI_PASSWORD
  );
  
  remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, 
    &quot;1234567&quot;  // REMOTEXY_ACCESS_PASSWORD
  );
  
  remotexy-&gt;addConnection (new CRemoteXYConnectionServer ( wifi, 
    6377                                      // REMOTEXY_SERVER_PORT
  ));
  
  remotexy-&gt;addConnection (new CRemoteXYConnectionCloud ( wifi, 
    &quot;cloud.remotexy.com&quot;,                     // REMOTEXY_CLOUD_SERVER 
    6376,                                     // REMOTEXY_CLOUD_PORT
    &quot;xxxxxxxxxxxxxxxxxxxxxxxx&quot;                // REMOTEXY_CLOUD_TOKEN
  ));
  
  
  
  // TODO you setup code
  
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2021-10-18T07:24:46Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4307#p4307</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to use both cloud and LAN connection?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4301#p4301" />
			<content type="html"><![CDATA[<p>Thanks for the good support (Although a long time has passed). <br />The example does not include any clue about using a password and the &quot;#define REMOTEXY_ACCESS_PASSWORD&quot; seems not to work. Could you help again?</p><div class="quotebox"><cite>remotexy wrote:</cite><blockquote><p>Yes, the new 3.x.x library does it. But you have to make changes to the code manually. The library contains an example that does this: ESP_WiFiServerAndCloud</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[modest1981@gmail.com]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1205</uri>
			</author>
			<updated>2021-10-17T08:23:17Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4301#p4301</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to use both cloud and LAN connection?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4036#p4036" />
			<content type="html"><![CDATA[<p>Yes, the new 3.x.x library does it. But you have to make changes to the code manually. The library contains an example that does this: ESP_WiFiServerAndCloud</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2021-06-09T06:14:17Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4036#p4036</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to use both cloud and LAN connection?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4025#p4025" />
			<content type="html"><![CDATA[<p>Hello</p><p>Is there any way to connect to remoteXY both via cloud and LAN? Why should I suffer cloud high latency while I&#039;m at home?</p><p>Any help is really appreciated.</p>]]></content>
			<author>
				<name><![CDATA[modest1981@gmail.com]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1205</uri>
			</author>
			<updated>2021-06-05T06:26:06Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4025#p4025</id>
		</entry>
</feed>
