<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — How to create a multiple instances of RemoteXY using ESP32]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1192&amp;type=atom" />
	<updated>2020-10-19T18:36:31Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1192</id>
		<entry>
			<title type="html"><![CDATA[Re: How to create a multiple instances of RemoteXY using ESP32]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3429#p3429" />
			<content type="html"><![CDATA[<p>Try another cloud port on the other esp32 (6377 for example)</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2020-10-19T18:36:31Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3429#p3429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a multiple instances of RemoteXY using ESP32]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3424#p3424" />
			<content type="html"><![CDATA[<p>Thank you Guillaume<br />I tried to use 2 different Token unfortunately but always the same result as the previous one knowing that with &quot;Blynk&quot; works very well.<br />cordially</p>]]></content>
			<author>
				<name><![CDATA[inspecteur.hichemosbah]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1589</uri>
			</author>
			<updated>2020-10-19T02:55:21Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3424#p3424</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a multiple instances of RemoteXY using ESP32]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3420#p3420" />
			<content type="html"><![CDATA[<p>Welcome,</p><p>I don&#039;t think you can use a single cloud token for 2 programs, I think you need 2 tokens.</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2020-10-18T22:43:00Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3420#p3420</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to create a multiple instances of RemoteXY using ESP32]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3418#p3418" />
			<content type="html"><![CDATA[<p>Hi!<br />I need help please.<br />I made a project with ESP32 the problem is<br />I can&#039;t manage to make several instances of RemoteXY<br />knowing that I downloaded the same program in both ESP32s.<br />here is the program:</p><p>#define REMOTEXY_MODE__ESP32CORE_WIFI_CLOUD<br />#include &lt;WiFi.h&gt;</p><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY connection settings <br />#define REMOTEXY_WIFI_SSID &quot;************&quot;<br />#define REMOTEXY_WIFI_PASSWORD &quot;************&quot;<br />#define REMOTEXY_CLOUD_SERVER &quot;cloud.remotexy.com&quot;<br />#define REMOTEXY_CLOUD_PORT 6376<br />#define REMOTEXY_CLOUD_TOKEN &quot;********************************&quot;</p><br /><p>// RemoteXY configurate&nbsp; <br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] =<br />&nbsp; { 255,4,0,0,0,81,0,10,13,4,<br />&nbsp; 131,1,5,18,23,9,1,2,31,83,<br />&nbsp; 116,111,114,101,32,49,0,131,0,5,<br />&nbsp; 34,23,9,2,2,31,83,116,111,114,<br />&nbsp; 101,32,50,0,1,0,44,23,15,15,<br />&nbsp; 1,2,31,88,0,1,0,65,23,15,<br />&nbsp; 15,1,2,31,88,0,1,0,44,23,<br />&nbsp; 15,15,2,2,31,88,0,1,0,65,<br />&nbsp; 23,15,15,2,2,31,88,0 };<br />&nbsp; <br />// this structure defines all the variables and events of your control interface <br />struct {</p><p>&nbsp; &nbsp; // input variables<br />&nbsp; uint8_t DW_1; // =1 if button pressed, else =0 <br />&nbsp; uint8_t UP_1; // =1 if button pressed, else =0 <br />&nbsp; uint8_t DW_2; // =1 if button pressed, else =0 <br />&nbsp; uint8_t UP_2; // =1 if button pressed, else =0 </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>#define PIN_DW_1 13<br />#define PIN_UP_1 12<br />#define PIN_DW_2 14<br />#define PIN_UP_2 27</p><br /><p>void setup() <br />{<br />&nbsp; RemoteXY_Init (); <br />&nbsp; <br />&nbsp; pinMode (PIN_DW_1, OUTPUT);<br />&nbsp; pinMode (PIN_UP_1, OUTPUT);<br />&nbsp; pinMode (PIN_DW_2, OUTPUT);<br />&nbsp; pinMode (PIN_UP_2, OUTPUT);<br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; <br />&nbsp; digitalWrite(PIN_DW_1, (RemoteXY.DW_1==0)?LOW:HIGH);<br />&nbsp; digitalWrite(PIN_UP_1, (RemoteXY.UP_1==0)?LOW:HIGH);<br />&nbsp; digitalWrite(PIN_DW_2, (RemoteXY.DW_2==0)?LOW:HIGH);<br />&nbsp; digitalWrite(PIN_UP_2, (RemoteXY.UP_2==0)?LOW:HIGH);<br />}</p>]]></content>
			<author>
				<name><![CDATA[inspecteur.hichemosbah]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1589</uri>
			</author>
			<updated>2020-10-18T17:41:29Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3418#p3418</id>
		</entry>
</feed>
