<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Cloud server issue]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=882&amp;type=atom" />
	<updated>2020-01-29T12:23:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=882</id>
		<entry>
			<title type="html"><![CDATA[Re: Cloud server issue]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2523#p2523" />
			<content type="html"><![CDATA[<p>I think so</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2020-01-29T12:23:39Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2523#p2523</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cloud server issue]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2522#p2522" />
			<content type="html"><![CDATA[<p>Hi Guillaume,<br />Yes I know about standalone programming of ESP8266. For that I have NodeMCU board. It also works flawlessly as wifi access point and have same problem with cloud server. Right now I work with <a target="_blank" href="https://www.aliexpress.com/item/32995506222.html">this module</a>.<br />I did research and found possible reason of my issue. Maybe it is about ports... ???<br />My network provider doesnt allow any open port by default, they can open them by special request. Unfortunately I am not owner of internet contract and also I dont have access to network main router, so I cant change that. I plan go to my friend to test my &quot;theory&quot;, he can manage his network ports.<br />What do you guess, can closed ports cause this cloud server access issue ??</p>]]></content>
			<author>
				<name><![CDATA[hirax]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1189</uri>
			</author>
			<updated>2020-01-29T12:15:49Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2522#p2522</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cloud server issue]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2521#p2521" />
			<content type="html"><![CDATA[<p>I don&#039;t know why it doesn&#039;t work for you, try increase serial speed to like 115200 or more.</p><p>And do you know the esp8266 can be used alone and programmed exactly like an arduino board? It&#039;s much faster, more powerful and with much more memory, than most arduino boards.</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2020-01-29T08:48:25Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2521#p2521</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cloud server issue]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2520#p2520" />
			<content type="html"><![CDATA[<p>Hello,<br />Here is my code (I deleted wifi real ssid and password).<br />It is simple code with 4 buttons and leds.<br />I made it for testing cloud possibility.<br />My module and setup (with 9600 baudrate) and app itself works well when ESP8266 acting as a WiFi access point.</p><div class="codebox"><pre><code>/*
   -- New project --
   
   This source code of graphical user interface 
   has been generated automatically by RemoteXY editor.
   To compile this code using RemoteXY library 2.4.3 or later version 
   download by link http://remotexy.com/en/library/
   To connect using RemoteXY mobile app by link http://remotexy.com/en/download/                   
     - for ANDROID 4.3.1 or later version;
     - for iOS 1.3.5 or later version;
    
   This source code is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.    
*/

//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__ESP8266_SOFTSERIAL_CLOUD
#include &lt;SoftwareSerial.h&gt;

#include &lt;RemoteXY.h&gt;

// RemoteXY connection settings 
#define REMOTEXY_SERIAL_RX 2
#define REMOTEXY_SERIAL_TX 3
#define REMOTEXY_SERIAL_SPEED 9600
#define REMOTEXY_WIFI_SSID &quot;xxxxxxxx&quot;
#define REMOTEXY_WIFI_PASSWORD &quot;xxxxxxx&quot;
#define REMOTEXY_CLOUD_SERVER &quot;cloud.remotexy.com&quot;
#define REMOTEXY_CLOUD_PORT 6376
#define REMOTEXY_CLOUD_TOKEN &quot;022cff562d1104e19650b5168541d64c&quot;


// RemoteXY configurate  
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =
  { 255,4,0,0,0,71,0,8,13,0,
  2,0,2,24,22,11,2,26,31,31,
  79,78,0,79,70,70,0,2,0,27,
  24,22,11,2,26,31,31,79,78,0,
  79,70,70,0,2,0,52,24,22,11,
  2,26,31,31,79,78,0,79,70,70,
  0,2,0,77,24,22,11,2,26,31,
  31,79,78,0,79,70,70,0 };
  
// this structure defines all the variables of your control interface 
struct {

    // input variable
  uint8_t switch_1; // =1 if switch ON and =0 if OFF 
  uint8_t switch_2; // =1 if switch ON and =0 if OFF 
  uint8_t switch_3; // =1 if switch ON and =0 if OFF 
  uint8_t switch_4; // =1 if switch ON and =0 if OFF 

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

} RemoteXY;
#pragma pack(pop)

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

#define PIN_SWITCH_1 4
#define PIN_SWITCH_2 5
#define PIN_SWITCH_3 6
#define PIN_SWITCH_4 7


void setup() 
{
  RemoteXY_Init (); 
  
  pinMode (PIN_SWITCH_1, OUTPUT);
  pinMode (PIN_SWITCH_2, OUTPUT);
  pinMode (PIN_SWITCH_3, OUTPUT);
  pinMode (PIN_SWITCH_4, OUTPUT);
  
  // TODO you setup code
  
}

void loop() 
{ 
  RemoteXY_Handler ();
  
  digitalWrite(PIN_SWITCH_1, (RemoteXY.switch_1==0)?LOW:HIGH);
  digitalWrite(PIN_SWITCH_2, (RemoteXY.switch_2==0)?LOW:HIGH);
  digitalWrite(PIN_SWITCH_3, (RemoteXY.switch_3==0)?LOW:HIGH);
  digitalWrite(PIN_SWITCH_4, (RemoteXY.switch_4==0)?LOW:HIGH);
  
  // TODO you loop code
  // use the RemoteXY structure for data transfer


}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[hirax]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1189</uri>
			</author>
			<updated>2020-01-28T14:33:46Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2520#p2520</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cloud server issue]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2519#p2519" />
			<content type="html"><![CDATA[<p>Hello,</p><p>Cloud working for me, show your code</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2020-01-28T13:27:16Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2519#p2519</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Cloud server issue]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2518#p2518" />
			<content type="html"><![CDATA[<p>Hello,<br />Does anybody have an idea what is wrong with&nbsp; cloud.remotexy.com server ? ? <br />Is server (and whole project) totally dead or is it down temporarily ???<br />When I try connect to it from app, I constantly get error: &quot;Cloud server does not reply Receive time out error&quot;</p>]]></content>
			<author>
				<name><![CDATA[hirax]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1189</uri>
			</author>
			<updated>2020-01-28T11:40:57Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2518#p2518</id>
		</entry>
</feed>
