<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — OTA and RemoteXY cloud server]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1729</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1729&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in OTA and RemoteXY cloud server.]]></description>
		<lastBuildDate>Fri, 22 Nov 2024 06:59:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: OTA and RemoteXY cloud server]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5769#p5769</link>
			<description><![CDATA[<div class="quotebox"><cite>Serg_Grn wrote:</cite><blockquote><p>Good day.<br />Please tell me, are there any plans to add the OTA function to RemoteXY? So that it would be possible to update the firmware from a web page or something else...<br />Thank you!</p></blockquote></div><p>We do not plan to integrate remote software update functionality into RemoteXY in the near future.</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Fri, 22 Nov 2024 06:59:12 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5769#p5769</guid>
		</item>
		<item>
			<title><![CDATA[Re: OTA and RemoteXY cloud server]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5763#p5763</link>
			<description><![CDATA[<p>Good day.<br />Please tell me, are there any plans to add the OTA function to RemoteXY? So that it would be possible to update the firmware from a web page or something else...<br />Thank you!</p>]]></description>
			<author><![CDATA[null@example.com (Serg_Grn)]]></author>
			<pubDate>Sun, 17 Nov 2024 10:52:26 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5763#p5763</guid>
		</item>
		<item>
			<title><![CDATA[Re: OTA and RemoteXY cloud server]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5594#p5594</link>
			<description><![CDATA[<p>Good day. May I ask if the RemoteXY cloud server is working properly today? I opened a finished project from last month, and now it doesn&#039;t connect to the cloud server. When I finished the code last month, it runs perfectly with the usable functions and cloud connection. Thanks in advance!</p>]]></description>
			<author><![CDATA[null@example.com (Burnhardfire)]]></author>
			<pubDate>Thu, 20 Jun 2024 05:37:56 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5594#p5594</guid>
		</item>
		<item>
			<title><![CDATA[Re: OTA and RemoteXY cloud server]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5382#p5382</link>
			<description><![CDATA[<p>&quot;OTA (Over-The-Air) and RemoteXY cloud server offer convenient and efficient ways to update and manage devices remotely. These services streamline connectivity, enhancing accessibility and control for users across various applications and industries.&quot;<br /><a target="_blank" href="https://pmkisanyojanastatus.com/"><span style="color: #FFFFFF">PM kisan status</span></a></p>]]></description>
			<author><![CDATA[null@example.com (Sarika10045)]]></author>
			<pubDate>Thu, 29 Feb 2024 14:06:23 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5382#p5382</guid>
		</item>
		<item>
			<title><![CDATA[Re: OTA and RemoteXY cloud server]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5282#p5282</link>
			<description><![CDATA[<p>Thank you ! it seems to work, even with dual connections exemple (Bluetooth and Cloud server).</p><p>I was putting &quot;WebServer server(80)&quot; at the beginning of the sketch and it didn&#039;t work. It seems that putting it after &quot;END RemoteXY include&quot;, just like in your exemple, made it work, I don&#039;t know why...</p><p>Regards !</p>]]></description>
			<author><![CDATA[null@example.com (sbarabe)]]></author>
			<pubDate>Mon, 18 Dec 2023 20:43:43 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5282#p5282</guid>
		</item>
		<item>
			<title><![CDATA[Re: OTA and RemoteXY cloud server]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5280#p5280</link>
			<description><![CDATA[<p>You can try this example. It compiles. But we haven&#039;t tested it.</p><div class="codebox"><pre><code>// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__ESP32CORE_WIFI_CLOUD
#include &lt;WiFi.h&gt;
#include &lt;WiFiClient.h&gt;
#include &lt;WebServer.h&gt;
#include &lt;RemoteXY.h&gt;
#include &lt;ElegantOTA.h&gt;


// RemoteXY connection settings 
#define REMOTEXY_WIFI_SSID &quot;YOUR_SSID&quot;
#define REMOTEXY_WIFI_PASSWORD &quot;YOUR_PASS&quot;
#define REMOTEXY_CLOUD_SERVER &quot;cloud.remotexy.com&quot;
#define REMOTEXY_CLOUD_PORT 6376
#define REMOTEXY_CLOUD_TOKEN &quot;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;


// RemoteXY configurate  
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =   // 19 bytes
  { 255,1,0,0,0,12,0,16,31,1,1,0,24,22,12,12,2,31,0 };
  
// this structure defines all the variables and events of your control interface 
struct {

    // input variables
  uint8_t button_1; // =1 if button pressed, else =0 

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0 

} RemoteXY;
#pragma pack(pop)

/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////

WebServer server(80);


void onOTAStart() {
  // Log when OTA has started
  // &lt;Add your own code here&gt;
}

void onOTAProgress(size_t current, size_t final) {
  // Log every 1 second
}

void onOTAEnd(bool success) {
  // Log when OTA has finished
  // &lt;Add your own code here&gt;
}



void setup() 
{
  RemoteXY_Init (); 
  
  // wait for the RemoteXY to set up the connection
  while (WiFi.status() != WL_CONNECTED) {
    RemoteXY_Handler ();
    delay(10);
  }
  
  server.on(&quot;/&quot;, []() {
    server.send(200, &quot;text/plain&quot;, &quot;Hi! This is ElegantOTA Demo.&quot;);
  });

  ElegantOTA.begin(&amp;server);    // Start ElegantOTA
  // ElegantOTA callbacks
  ElegantOTA.onStart(onOTAStart);
  ElegantOTA.onProgress(onOTAProgress);
  ElegantOTA.onEnd(onOTAEnd);

  server.begin();
  
}

void loop() 
{ 
  RemoteXY_Handler ();
  
  server.handleClient();
  ElegantOTA.loop();
  
  
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay(), use instead RemoteXY_delay() 


}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Mon, 18 Dec 2023 08:45:46 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5280#p5280</guid>
		</item>
		<item>
			<title><![CDATA[OTA and RemoteXY cloud server]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5278#p5278</link>
			<description><![CDATA[<p>Hi,</p><p>Is it possible to set OTA in parallel with cloud server connection ?</p><p>For OTA I need to specify a webserver. I have try to had a webserver on port (80), but it doesn&#039;t seem to work. My sketch without RemoteXY GUI works OK, but don&#039;t when GUI is added.</p><p>Maybethere is conflict with an already running webserver with RemoteXY cloud server connection ?</p><p>I use ElegantOTA library, I just need to specify the server : ElegantOTA.begin(&amp;server);</p><p>If it exist, I don&#039;t know how to point/use to the webserver already running from RemoteXY cloud server connection...</p><p>Thank you !</p>]]></description>
			<author><![CDATA[null@example.com (sbarabe)]]></author>
			<pubDate>Sun, 17 Dec 2023 13:13:14 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5278#p5278</guid>
		</item>
	</channel>
</rss>
