π¬ Building a WiFi Gateway using ESP8266
-
I used the same link (pins and sketches!). Checked it 10 times!
I think my Radios are not functional.... -
Good idea,
Here is the side by side image from front and back of the PCB.
The 'j1' marked on wrong pin ,that's why I think my radio is not working at all as it seems it's very bad replicate.
However, I have rotated it by 180 degree and tried that as well. same result!
-
Guys, just an update for my issue regarding Radio and my circuit.
The Radio was faulty, I received the new one, swapped it and all worked fine.I just posted that here if someone want to use my last post image as a reference for connecting the Radio.
The wiring all are correct.Thanks
-
Hello, i have build a wifi gateway and use it in jeedom.
My gateway wifi as connection problem.
In jeedom, in the log of my sensors node I have almost every 2 days the message: diconnected from network gateway.
If I restart the node the communication is re-established.
Is this a problem with nrf24l01? -
why esp8266 gateway shows only debug info?
when i comment //#define MY_DEBUG
where is no any serial output. -
If put in client mode
#define MY_CONTROLLER_IP_ADDRESS 192, 168, 2, 9
I get an error. How to win.**
Arduino: 1.8.2 (Windows 7), ΠΠ»Π°ΡΠ°:"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None""C:\Users\DedHP\AppData\Local\Temp\arduino_build_364162\sketch\GatewayESP8266.ino.cpp.o"
In file included from C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39:0,from C:\Users\DedHP\AppData\Local\Temp\arduino_modified_sketch_313960\GatewayESP8266.ino:132:C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h: In instantiation of 'size_t WiFiClient::write(T&, size_t) [with T = char*; size_t = unsigned int]':
C:\Documents\Arduino\ams\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:207:58: required from here
C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:123:36: error: request for member 'available' in 'source', which is of non-class type 'char*'
size_t left = source.available(); ^C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:127:5: error: request for member 'read' in 'source', which is of non-class type 'char*'
source.read(buffer.get(), will_send); ^ΠΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΡ ESP8266WiFi Π²Π΅ΡΡΠΈΠΈ 1.0 ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ: C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi
ΠΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΡ MySensors Π²Π΅ΡΡΠΈΠΈ 2.1.1 ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ: C:\Documents\Arduino\ams\Arduino\libraries\MySensors
ΠΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΡ EEPROM Π²Π΅ΡΡΠΈΠΈ 1.0 ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ: C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\EEPROM
ΠΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΡ SPI Π²Π΅ΡΡΠΈΠΈ 1.0 ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ: C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SPI
exit status 1
ΠΡΠΈΠ±ΠΊΠ° ΠΊΠΎΠΌΠΏΠΈΠ»ΡΡΠΈΠΈ Π΄Π»Ρ ΠΏΠ»Π°ΡΡ Generic ESP8266 Module.* -
Hi,
Is it possible to use this setup without the nrf24l01 atached, so that i can use the esp8266 just as a sensor (not as a gateway)? -
Hi,
Is it possible to use this setup without the nrf24l01 atached, so that i can use the esp8266 just as a sensor (not as a gateway)? -
@joseyapor On one MySensors network there can only be one MySensors gateway. But on one IP network, there can be many MySensors gateways. Exactly how many depends on geography and chosen transports but at the very least a few hundred. Thousands if you really need and plan accordingly.
-
Help! After connecting to the WIFI, I'm getting disconnected. Here's a log : https://goo.gl/fyr7ku
Any help in figuring this out would be appreaciated!
-
Help! After connecting to the WIFI, I'm getting disconnected. Here's a log : https://goo.gl/fyr7ku
Any help in figuring this out would be appreaciated!
Welcome to the MySensors community @alexalex
The log is missing the first lines, but it looks like the microcontroller is unable to communicate with the radio. Which radio are you using?See https://ci.mysensors.org/job/Verifiers/job/MySensors/branch/development/Doxygen_HTML/group__MyTransportgrp.html#details for more details about the log messages and https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/ for the most common problems and how to fix them.
-
Is there a complete wiring table, diagram, or schematic? I have a working MyController/MySensors network on nRF24s, but I am adding WiFi with a ESP-201 module (white one with pins broken out for 2.54 pitch; see: http://smarpl.com/sites/default/files/images/ESP8266-ESP-201-pin-reference-v01.png)... TIA!
-
Is there a complete wiring table, diagram, or schematic? I have a working MyController/MySensors network on nRF24s, but I am adding WiFi with a ESP-201 module (white one with pins broken out for 2.54 pitch; see: http://smarpl.com/sites/default/files/images/ESP8266-ESP-201-pin-reference-v01.png)... TIA!
-
if i reboot my wifi router mysensors wifi gateway wouldn't try to connect again, is this only with me or its common issue with wifi gateway?
@pihome said in π¬ Building a WiFi Gateway using ESP8266:
if i reboot my wifi router mysensors wifi gateway wouldn't try to connect again, is this only with me or its common issue with wifi gateway?
This question was transferred to a new thread by @pihome. Please don't answer here, to avoid double work and confusion.
-
Reporting batterypercent to Domoticz not working.
I have built a ESP8266 Gateway and I connecting a BME280 sensor. It report everything right with a serial gateway but with the new wifi gateway it not reciving the battery percent. I look in the serial monitor at the gateway and where is no battery data.