@mfalkvidd I know this is very old post but I stumble upon this while looking for esp gateway wifimanager git, can you share ur code if you don’t mind, save me time on re-inventing the wheel again...

pihome
@pihome
Posts made by pihome
-
RE: ESP8266 gateway + WebServer = Awesome!
-
RE: Ethernet Gateway with Nano - Invalid message length, 0 (actual) != 7 (expected)
@Yveaux
thank you for reply, found something similar for 5v, just in case some one stumble upon this.+5V Output or Input +5V Output (From On-board Regulator) or +5V (Input from External Power Supply
ref: http://www.circuitstoday.com/arduino-nano-tutorial-pinout-schematics
-
RE: Ethernet Gateway with Nano - Invalid message length, 0 (actual) != 7 (expected)
Hi Guys,
while troubleshooting Ethernet gateway, i discover my arduino nano voltage on different pin as i wasn't sure from where to feed power to W51000 module just decided to check voltage on these three different pins and to my surprise all three gives different values . i can not find any decent schematic to check reason for these different voltage. can some shed some light please... i always thought 5v is straight from usb connector without any regulator etc...voltage at USB connector 5.11v
VIN Pin 4.33v
5v Pin 4.76v -
RE: Build a reliable power supply chain
@mathea90
i m using nRF24L01+ PA LNA shielded version on another thread some one suggest to use inductor (33uH) but i m waiting for delivery from aliexpress to check that as well.
my gateway is getting power from PC through usb cable and i m not sure how much current pc usb can supply. i think i need to re-think this power supply part to my gateway.ps i m using HLK-PM01 on some nodes
-
RE: Clock with temperature, humidity and CO2 level sensors
@user2684 looks very nice. Can you share wiring.
-
RE: Build a reliable power supply chain
what i have and it is working so far but not for W5100 gateway.
5v--10uF----1uF----(1117 3.3v)----10uf----1uf---->3.3v for nRF
have you tried your schematic for W5100 gateway? i m having some issues with W5100 waiting for some parts to get delivered. another 3 weeks to go ....
-
RE: ERROR connect: Connection refused: Gateway on Raspberry pi 3 Model B Rev: 1.2
@mfalkvidd thank, i got it working but i think pi gateway isn't reliable or its just me
once every while i get DEBUG !TSF:RTE:100 UNKNOWN whereas esp gateway works flawless
Aug 05 11:31:36 INFO Starting gateway... Aug 05 11:31:36 INFO Protocol version - 2.3.0 Aug 05 11:31:36 DEBUG Serial port /dev/ttyMySensorsGateway (115200 baud) created Aug 05 11:31:36 DEBUG MCO:BGN:INIT GW,CP=RNNGL-Q-,VER=2.3.0 Aug 05 11:31:36 DEBUG TSF:LRT:OK Aug 05 11:31:36 DEBUG TSM:INIT Aug 05 11:31:36 DEBUG TSF:WUR:MS=0 Aug 05 11:31:36 DEBUG TSM:INIT:TSP OK Aug 05 11:31:36 DEBUG TSM:INIT:GW MODE Aug 05 11:31:36 DEBUG TSM:READY:ID=0,PAR=0,DIS=0 Aug 05 11:31:36 DEBUG MCO:REG:NOT NEEDED Aug 05 11:31:36 DEBUG MCO:BGN:STP Aug 05 11:31:36 DEBUG MCO:BGN:INIT OK,TSP=1 Aug 05 11:31:45 DEBUG TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:82 Aug 05 11:32:23 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:32:23 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:32:27 DEBUG TSF:MSG:READ,21-21-0,s=0,c=1,t=0,pt=7,l=5,sg=0:23.0 Aug 05 11:32:45 DEBUG TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:82 Aug 05 11:33:25 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:33:25 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:33:45 DEBUG TSF:MSG:READ,26-26-0,s=1,c=1,t=38,pt=7,l=5,sg=0:3.45 Aug 05 11:33:45 DEBUG TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:82 Aug 05 11:34:01 DEBUG TSF:MSG:SEND,0-0-101-101,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:34:01 DEBUG TSF:MSG:READ,101-101-0,s=1,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:34:01 DEBUG TSF:MSG:ACK Aug 05 11:34:02 DEBUG TSF:MSG:SEND,0-0-101-101,s=3,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:34:02 DEBUG TSF:MSG:READ,101-101-0,s=3,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:34:02 DEBUG TSF:MSG:ACK Aug 05 11:34:03 DEBUG !TSF:RTE:100 UNKNOWN Aug 05 11:34:03 DEBUG !TSF:MSG:SEND,0-0-100-100,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=NACK:0 Aug 05 11:34:26 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:34:26 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:34:27 DEBUG TSF:MSG:READ,25-25-0,s=0,c=1,t=0,pt=7,l=5,sg=0:23.4 Aug 05 11:34:46 DEBUG TSF:MSG:READ,26-26-0,s=1,c=1,t=38,pt=7,l=5,sg=0:3.45 Aug 05 11:35:02 DEBUG TSF:MSG:SEND,0-0-101-101,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:35:02 DEBUG TSF:MSG:READ,101-101-0,s=1,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:35:02 DEBUG TSF:MSG:ACK Aug 05 11:35:03 DEBUG TSF:MSG:SEND,0-0-101-101,s=3,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:35:03 DEBUG TSF:MSG:READ,101-101-0,s=3,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:35:03 DEBUG TSF:MSG:ACK Aug 05 11:35:04 DEBUG !TSF:RTE:100 UNKNOWN Aug 05 11:35:04 DEBUG !TSF:MSG:SEND,0-0-100-100,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=NACK:0 Aug 05 11:35:18 DEBUG TSF:MSG:READ,20-20-0,s=0,c=1,t=0,pt=7,l=5,sg=0:21.3 Aug 05 11:35:28 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:35:28 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:35:29 DEBUG TSF:MSG:READ,25-25-0,s=0,c=1,t=0,pt=7,l=5,sg=0:23.5 Aug 05 11:36:01 DEBUG TSF:MSG:SEND,0-0-101-101,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:36:01 DEBUG TSF:MSG:READ,101-101-0,s=1,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:36:01 DEBUG TSF:MSG:ACK Aug 05 11:36:02 DEBUG TSF:MSG:SEND,0-0-101-101,s=2,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:36:02 DEBUG TSF:MSG:READ,101-101-0,s=2,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:36:02 DEBUG TSF:MSG:ACK Aug 05 11:36:03 DEBUG !TSF:RTE:100 UNKNOWN Aug 05 11:36:03 DEBUG !TSF:MSG:SEND,0-0-100-100,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=NACK:0 Aug 05 11:36:16 DEBUG TSF:MSG:READ,101-101-255,s=255,c=3,t=7,pt=0,l=0,sg=0: Aug 05 11:36:16 DEBUG TSF:MSG:BC Aug 05 11:36:16 DEBUG TSF:MSG:FPAR REQ,ID=101 Aug 05 11:36:16 DEBUG TSF:PNG:SEND,TO=0 Aug 05 11:36:16 DEBUG TSF:CKU:OK Aug 05 11:36:16 DEBUG TSF:MSG:GWL OK Aug 05 11:36:17 DEBUG TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 Aug 05 11:36:17 DEBUG TSF:MSG:READ,20-20-0,s=0,c=1,t=0,pt=7,l=5,sg=0:21.2 Aug 05 11:36:18 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1 Aug 05 11:36:18 DEBUG TSF:MSG:PINGED,ID=101,HP=1 Aug 05 11:36:18 DEBUG TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1 Aug 05 11:36:18 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 Aug 05 11:36:18 DEBUG TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 Aug 05 11:36:18 DEBUG TSF:MSG:READ,101-101-0,s=255,c=0,t=18,pt=0,l=5,sg=0:2.1.1 Aug 05 11:36:18 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0 Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=11,pt=0,l=21,sg=0:Zone Controller Relay Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.2 Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=1,c=0,t=3,pt=0,l=0,sg=0: Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=2,c=0,t=3,pt=0,l=0,sg=0: Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=3,c=0,t=3,pt=0,l=0,sg=0: Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=4,c=0,t=3,pt=0,l=0,sg=0: Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 Aug 05 11:36:20 DEBUG TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1 Aug 05 11:36:30 DEBUG TSF:MSG:READ,21-21-0,s=0,c=1,t=0,pt=7,l=5,sg=0:22.9 Aug 05 11:36:30 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:36:30 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:36:46 DEBUG TSF:MSG:READ,26-26-0,s=1,c=1,t=38,pt=7,l=5,sg=0:3.45 Aug 05 11:36:46 DEBUG TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:82 Aug 05 11:37:02 DEBUG TSF:MSG:SEND,0-0-101-101,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:37:02 DEBUG TSF:MSG:READ,101-101-0,s=1,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:37:02 DEBUG TSF:MSG:ACK Aug 05 11:37:03 DEBUG TSF:MSG:SEND,0-0-101-101,s=3,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:37:03 DEBUG TSF:MSG:READ,101-101-0,s=3,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:37:03 DEBUG TSF:MSG:ACK Aug 05 11:37:04 DEBUG !TSF:RTE:100 UNKNOWN Aug 05 11:37:04 DEBUG !TSF:MSG:SEND,0-0-100-100,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=NACK:0 Aug 05 11:37:30 DEBUG TSF:MSG:READ,21-21-0,s=0,c=1,t=0,pt=7,l=5,sg=0:23.0 Aug 05 11:37:32 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:37:32 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6
-
RE: ERROR connect: Connection refused: Gateway on Raspberry pi 3 Model B Rev: 1.2
@mfalkvidd, my understanding of raspberry pi gateway: process run and you can connect to that process over ip, or i m in wonder land and gateway on pi isn’t the same as gateway on esp?
-
ERROR connect: Connection refused: Gateway on Raspberry pi 3 Model B Rev: 1.2
Hi Guys,
i m trying to build Raspberry pi gateway all build process works ok, my steps to build gateway i tried with my raspberry pi ip address as well but same result.git clone https://github.com/mysensors/MySensors.git --branch master cd MySensors ./configure --my-transport=nrf24 ./configure --my-gateway=ethernet --my-port=5003 ./configure --my-gateway=ethernet --my-controller-url-address=127.0.0.1 make
but then when i run gateway it get following
Aug 03 18:59:04 INFO Starting gateway... Aug 03 18:59:04 INFO Protocol version - 2.3.0 Aug 03 18:59:04 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,VER=2.3.0 Aug 03 18:59:04 DEBUG TSF:LRT:OK Aug 03 18:59:04 DEBUG TSM:INIT Aug 03 18:59:04 DEBUG TSF:WUR:MS=0 Aug 03 18:59:04 DEBUG TSM:INIT:TSP OK Aug 03 18:59:04 DEBUG TSM:INIT:GW MODE Aug 03 18:59:04 DEBUG TSM:READY:ID=0,PAR=0,DIS=0 Aug 03 18:59:04 DEBUG MCO:REG:NOT NEEDED Aug 03 18:59:04 ERROR connect: Connection refused Aug 03 18:59:04 ERROR failed to connect Aug 03 18:59:04 DEBUG GWT:TIN:ETH OK Aug 03 18:59:04 ERROR connect: Connection refused Aug 03 18:59:04 ERROR failed to connect Aug 03 18:59:04 DEBUG GWT:TPS:ETH OK
i have following nrf module it works ok on ESP
nrf24 -
RE: Enclosure for Temp + Humidity node with OLED display
Can you share sketch and connection?