<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Нужна помощь с NodeMcu V3]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=180&amp;type=atom" />
	<updated>2017-07-30T20:50:11Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=180</id>
		<entry>
			<title type="html"><![CDATA[Re: Нужна помощь с NodeMcu V3]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=845#p845" />
			<content type="html"><![CDATA[<p>Доброго всем времени суток. Кто нибудь разобрался с этой проблемой ? Такая же проблема - один в один. </p><p>Не работает&nbsp; Nodemcu lua CH340G ESP8266 при подключении к TP-Link 3020+модем&quot;билайн&quot;. Ну как не работает - минуту, две связь с облаком есть потом, если запускаешь приложение - ответ: &quot;девайс не подключен&quot;. Помогает только ресет и опять на пару минут. Подключаю этот же девайс дома к DIR-300 - работает сколь угодно долго - от облака не отваливается. Ну думаю наверное проблема при подключении к облаку через сотового оператора - так вот нифига. Настроил на samsung S4-mini точку доступа (раздал мобильные данные через WI-FI, оператор МТС) подключил нодемку к этой точке, смотрю приложение на другом смартфоне, подключаюсь-отключаюсь больше часа, и о чудо ничто не отваливается, всё работает. Вот сижу и думаю в чём косяк: то ли оператор виноват, то ли&nbsp; TP-Link 3020+модем&quot;билайн&quot; что то не так делает (хотя через эту же связку работает облачный видеорегистратор айтек уже 2 месяца). Буду пробовать тестировать связь с облаком через разных сотовых операторов, с разными модемами. Потом напишу.&nbsp; Если кто решил эту проблему - ответьте пожалуйста</p>]]></content>
			<author>
				<name><![CDATA[toto123]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=382</uri>
			</author>
			<updated>2017-07-30T20:50:11Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=845#p845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужна помощь с NodeMcu V3]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=679#p679" />
			<content type="html"><![CDATA[<p>Именно там (на странице списка токенов) ровно через 3 минуты после статуса подключено появляется статус отключено.</p>]]></content>
			<author>
				<name><![CDATA[Piligrim]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=293</uri>
			</author>
			<updated>2017-05-25T21:22:34Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=679#p679</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужна помощь с NodeMcu V3]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=678#p678" />
			<content type="html"><![CDATA[<p>рекомендую последить за состоянием облачного соединения через страницу списка токенов, ибо там отображается статус подключения.</p>]]></content>
			<author>
				<name><![CDATA[mefi73]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=228</uri>
			</author>
			<updated>2017-05-25T17:06:28Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=678#p678</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужна помощь с NodeMcu V3]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=674#p674" />
			<content type="html"><![CDATA[<p>Если с телефона (через приложение) не подключиться, в течении 3-х минут, к плате (которая подключена к облаку), то связь платы и облака рвется. Но если Телефон подключен к плате, то время синхронизации через облако не ограниченно. Надеюсь понятно описал проблему? Подключался через провайдеров: Уника и Ростелеком.</p>]]></content>
			<author>
				<name><![CDATA[Piligrim]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=293</uri>
			</author>
			<updated>2017-05-25T13:26:17Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=674#p674</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужна помощь с NodeMcu V3]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=670#p670" />
			<content type="html"><![CDATA[<p>Что значит более 3-х минут не подключен? Соединение с облаком прерывается через 3 минуты? Или вообще к облаку не подключается?</p>]]></content>
			<author>
				<name><![CDATA[mefi73]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=228</uri>
			</author>
			<updated>2017-05-25T05:12:43Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=670#p670</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужна помощь с NodeMcu V3]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=669#p669" />
			<content type="html"><![CDATA[<p>Победил!!! Версия IDE и версия в Менеджере плат были не те. IDE 1.6.5 и&nbsp; ESP8266 Community version 2.3.0. Все заработало. Одно обидно, облако как не работало так и не работает. Более 3-х минут не подключен и все, надо плату ресетить, с W5100 та же песня, а постоянно подключенным быть неудобно.</p>]]></content>
			<author>
				<name><![CDATA[Piligrim]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=293</uri>
			</author>
			<updated>2017-05-24T11:42:03Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=669#p669</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужна помощь с NodeMcu V3]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=668#p668" />
			<content type="html"><![CDATA[<p>У ВАС срабатывает вачдог, но почему? проверьте версию библиотеки и версию прошивки НодыМЦУ. ЗЫ. проект по вашей ссылке у меня на ноде заработал без нареканий, в терминал ни одного сообщения не пришло</p>]]></content>
			<author>
				<name><![CDATA[mefi73]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=228</uri>
			</author>
			<updated>2017-05-24T08:50:00Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=668#p668</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужна помощь с NodeMcu V3]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=667#p667" />
			<content type="html"><![CDATA[<p>Вот с этим работает как часы, но это не удобно.<br /></p><div class="codebox"><pre><code>/*
 *  This sketch demonstrates how to set up a simple HTTP-like server.
 *  The server will set a GPIO pin depending on the request
 *    http://server_ip/gpio/0 will set the GPIO2 low,
 *    http://server_ip/gpio/1 will set the GPIO2 high
 *  server_ip is the IP address of the ESP8266 module, will be 
 *  printed to Serial when the module is connected.
 */

#include &lt;ESP8266WiFi.h&gt;

const char* ssid = &quot;hom2&quot;;
const char* password = &quot;&quot;;

// Create an instance of the server
// specify the port to listen on as an argument
WiFiServer server(80);

void setup() {
  Serial.begin(115200);
  delay(10);

  // prepare GPIO2
  pinMode(2, OUTPUT);
  digitalWrite(2, 0);
  
  // Connect to WiFi network
  Serial.println();
  Serial.println();
  Serial.print(&quot;Connecting to &quot;);
  Serial.println(ssid);
  
  WiFi.begin(ssid, password);
  
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(&quot;.&quot;);
  }
  Serial.println(&quot;&quot;);
  Serial.println(&quot;WiFi connected&quot;);
  
  // Start the server
  server.begin();
  Serial.println(&quot;Server started&quot;);

  // Print the IP address
  Serial.println(WiFi.localIP());
}

void loop() {
  // Check if a client has connected
  WiFiClient client = server.available();
  if (!client) {
    return;
  }
  
  // Wait until the client sends some data
  Serial.println(&quot;new client&quot;);
  while(!client.available()){
    delay(1);
  }
  
  // Read the first line of the request
  String req = client.readStringUntil(&#039;\r&#039;);
  Serial.println(req);
  client.flush();
  
  // Match the request
  int val;
  if (req.indexOf(&quot;/gpio/0&quot;) != -1)
    val = 0;
  else if (req.indexOf(&quot;/gpio/1&quot;) != -1)
    val = 1;
  else {
    Serial.println(&quot;invalid request&quot;);
    client.stop();
    return;
  }

  // Set GPIO2 according to the request
  digitalWrite(2, val);
  
  client.flush();

  // Prepare the response
  String s = &quot;HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n&lt;!DOCTYPE HTML&gt;\r\n&lt;html&gt;\r\nGPIO is now &quot;;
  s += (val)?&quot;high&quot;:&quot;low&quot;;
  s += &quot;&lt;/html&gt;\n&quot;;

  // Send the response to the client
  client.print(s);
  delay(1);
  Serial.println(&quot;Client disonnected&quot;);

  // The client will actually be disconnected 
  // when the function returns and &#039;client&#039; object is detroyed
}</code></pre></div><p>В мониторе порта:<br />Connecting to hom2<br />..<br />WiFi connected<br />Server started<br />192.168.0.23<br />new client<br />GET /gpio/0 HTTP/1.1<br />Client disonnected<br />new client<br />GET /favicon.ico HTTP/1.1<br />invalid request<br />new client<br />GET /gpio/1 HTTP/1.1<br />Client disonnected</p>]]></content>
			<author>
				<name><![CDATA[Piligrim]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=293</uri>
			</author>
			<updated>2017-05-24T03:16:40Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=667#p667</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Нужна помощь с NodeMcu V3]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=666#p666" />
			<content type="html"><![CDATA[<p>Есть вот такая плата <a target="_blank" href="https://ru.aliexpress.com/item/New-Wireless-module-CH340-NodeMcu-V3-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266-We/32565317233.html?spm=2114.13010608.0.0.0gV6mN">https://ru.aliexpress.com/item/New-Wire … 0.0.0gV6mN</a> никак не могу заставить работать с RemoteXY с пробными скетчами работает, с RemoteXY в монитор порта выдает вот это: <br /> ets Jan&nbsp; 8 2013,rst cause:4, boot mode:(3,6)</p><p>wdt reset<br />load 0x4010f000, len 1264, room 16 <br />tail 0<br />chksum 0x42<br />csum 0x42<br />~ld</p><p>И все. Помогите пожалуйста. проект элементарный <a target="_blank" href="http://remotexy.com/ru/editor/61a85e7816a513f0f7c8fae0cd70b279/">http://remotexy.com/ru/editor/61a85e781 … 0cd70b279/</a></p>]]></content>
			<author>
				<name><![CDATA[Piligrim]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=293</uri>
			</author>
			<updated>2017-05-24T03:11:55Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=666#p666</id>
		</entry>
</feed>
