<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Управление системой через облако и блютуз]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1271&amp;type=atom" />
	<updated>2023-01-17T08:15:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1271</id>
		<entry>
			<title type="html"><![CDATA[Re: Управление системой через облако и блютуз]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4972#p4972" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>remotexy wrote:</cite><blockquote><div class="quotebox"><cite>pkilimnik wrote:</cite><blockquote><p>Как подключиться к облаку GSM модемом (параметры подключения)?</p></blockquote></div><p>На данный момент GSM модемы не поддерживаются. Эта доработка планируется.</p></blockquote></div><p>Тот же вопрос. <br />Можно ли сейчас реализовать AndroidТелефон(управляющие) - GSM(LTE)сеть - AndroidТелефон(управляемый) - Конечная_плата_управления.</p><p>Если да киньте ссылку на готовые проекты, рекомендуемые платы, прошивки и прочее.</p>]]></content>
			<author>
				<name><![CDATA[AlexIdushy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2325</uri>
			</author>
			<updated>2023-01-17T08:15:04Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4972#p4972</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Управление системой через облако и блютуз]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3686#p3686" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>pkilimnik wrote:</cite><blockquote><p>Как подключиться к облаку GSM модемом (параметры подключения)?</p></blockquote></div><p>На данный момент GSM модемы не поддерживаются. Эта доработка планируется.</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2021-03-15T12:14:33Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3686#p3686</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Управление системой через облако и блютуз]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3685#p3685" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>remotexy wrote:</cite><blockquote><p>Библиотека пока Beta версия для тестирования. В ней могут быть недочеты или ошибки. Пробуйте, тестируйте. Если все работает то это замечательно.<br />Поддержка GSM модемов пока не реализована.</p></blockquote></div><p>Да, через WIFI и ESP8266 все работает.<br />НО - позарез нужно подключение к облаку за городом, где WIFI отсутствует, но есть GSM.<br />Ставить GSM-WIFI роутер не вариант. Остается только использование GSM модема типа SIM800, A6 и т.п.<br />Как подключиться к облаку GSM модемом (параметры подключения)?</p>]]></content>
			<author>
				<name><![CDATA[pkilimnik]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1718</uri>
			</author>
			<updated>2021-03-15T12:07:30Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3685#p3685</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Управление системой через облако и блютуз]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3663#p3663" />
			<content type="html"><![CDATA[<p>Библиотека пока Beta версия для тестирования. В ней могут быть недочеты или ошибки. Пробуйте, тестируйте. Если все работает то это замечательно.<br />Поддержка GSM модемов пока не реализована.</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2021-03-12T09:00:54Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3663#p3663</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Управление системой через облако и блютуз]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3660#p3660" />
			<content type="html"><![CDATA[<p>Спасибо, попробую.<br />Еще вопросы.<br />В файле library.properties, скачанному по указанной ссылке указана версия 3.1.2 вместо 3.1.3.<br />В файле keywords.txt нет никаких дополнительных команд по сравнению с предыдущими версиями.<br />Можно ли для связи с облаком кроме ESP8266 использовать GPRS модем?</p>]]></content>
			<author>
				<name><![CDATA[pkilimnik]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1718</uri>
			</author>
			<updated>2021-03-12T05:38:52Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3660#p3660</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Управление системой через облако и блютуз]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3652#p3652" />
			<content type="html"><![CDATA[<p>Это возможно используя библиотеку версии 3.1.3 <a target="_blank" href="https://remotexy.com/en/library/">https://remotexy.com/en/library/</a><br />Но это нельзя сделать прямо через редактор на сайте. Требуется модификация кода вручную. В библиотеку встроены некоторые примеры. Посмотрите их.<br />Пример кода в вашем случае:<br /></p><div class="codebox"><pre><code>#include &lt;RemoteXY.h&gt;

// RemoteXY configurate  
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =
  { 255,1,0,1,0,27,0,10,13,2,
  1,0,9,9,46,46,6,7,50,50,
  2,31,88,0,65,4,62,16,31,31,
  14,62,35,35 };
  
// 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 

    // output variables
  uint8_t led_1_r; // =0..255 LED Red brightness 

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

} RemoteXY;
#pragma pack(pop)



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


CRemoteXY *remotexy;

void setup() 
{
  remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, &quot;&quot;);

  ///////////////// HC-06
  // создаем поток на Serial2, куда подключен модуль Bluetooth HC-06 на скорости 9600
  CRemoteXYStream_HardSerial * stream_Serial2 = new CRemoteXYStream_HardSerial (&amp;Serial2, 9600);
  // подключаем к RemoteXY
  remotexy-&gt;addConnection (stream_Serial2);

  ///////////////// ESP8266
  // создаем поток на Serial3, куда подключен ESP8266 на скорости 115200
  CRemoteXYStream_HardSerial * stream_Serial3 = new CRemoteXYStream_HardSerial (&amp;Serial3, 115200);
  
  // подключаем к потоку на Serial3 модуль ESP8266, который должен подключиться к внешней точке доступа
  CRemoteXYComm_ESP8266 * wifiESP8266 =  new CRemoteXYComm_ESP8266 (
    stream_Serial3,                          
    &quot;myHomeFiFi&quot;,                            // REMOTEXY_WIFI_SSID
    &quot;myPass&quot;                                 // REMOTEXY_WIFI_PASSWORD
  );


  // подключаем к RemoteXY облачный сервер через ESP8266
  remotexy-&gt;addConnection (new CRemoteXYConnectionCloud ( 
    wifiESP8266, 
    &quot;cloud.remotexy.com&quot;,                     // REMOTEXY_CLOUD_SERVER 
    6376,                                     // REMOTEXY_CLOUD_PORT
    &quot;myRemoteXYToken&quot;                         // REMOTEXY_CLOUD_TOKEN
  ));
   
   
  
  // TODO you setup code
  
}

void loop() 
{ 
  remotexy-&gt;handler ();
  
  if (RemoteXY.button_1)  RemoteXY.led_1_r = 255;
  else RemoteXY.led_1_r = 0;
  
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay() 


}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2021-03-11T11:12:29Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3652#p3652</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Управление системой через облако и блютуз]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3648#p3648" />
			<content type="html"><![CDATA[<p>Создаю проект управления системами дома (отопление, свет и т.п.) для удаленной работы через облако. Проблем не возникает. Возможно ли управление как через блютуз так и через облако, когда я нахожусь непосредственно в доме в рамках одного проекта?<br />Т.е. в приложении я создал два объекта - облако и блютуз с идентичным интерфейсом. ESP8266 подключен к Seria3 платы MEGA2560, модуль HC-06 - к порту Seria2.</p>]]></content>
			<author>
				<name><![CDATA[pkilimnik]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1718</uri>
			</author>
			<updated>2021-03-10T13:00:46Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3648#p3648</id>
		</entry>
</feed>
