Big Wish - a working system including up-to-date Reference
-
@martinhjelmare said:
The second and third lines from the end of the last log don't make sense to me. Sensor 255 requests temperature, payload 75? Sensor 1 internal message parent response 23.5?
Yes, strange. I suspect it is some trace of my "production" serial gateway (on the same freq) that is doing hardware acks while the esp node is listening to all of this (and also acks the same message). Hmm.. I should probably have turned the serial gw off before the test to get a cleaner log.
-
Hello Hek,
thanks a lot for all the effort trying to help me
Thats what the relay node gives me when plugging in power:
Starting sensor (RNNNA-, 2.0.0-beta) Radio init successful. send: 100-100-0-0 s=255,c=3,t=15,pt=0,l=2,sg=0,st=ok: send: 100-100-0-0 s=255,c=0,t=17,pt=0,l=10,sg=0,st=ok:2.0.0-beta send: 100-100-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0 read: 0-0-100 s=255,c=3,t=6,pt=0,l=1,sg=0:M send: 100-100-0-0 s=255,c=3,t=11,pt=0,l=5,sg=0,st=ok:Relay send: 100-100-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0 send: 100-100-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=ok: Init complete, id=100, parent=0, distance=1Thats what the Gateway logs, after that it´s unreachable
0;255;3;0;14;Gateway startup complete. 100;255;0;0;17;2.0.0-beta 100;255;3;0;6;0That´s the serial output of the gateway, 111 is another node:
0;255;3;0;9;Radio init successful. ....scandone state: 0 -> 2 (b0) .state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 7 pm open phy_2,type:2 0 0 cnt connected with Power-LAN, channel 6 dhcp client start... chg_B:-60 ...ip:192.168.178.90,mask:255.255.255.0,gw:192.168.178.1 .IP: 192.168.178.90 0;255;3;0;9;Init complete, id=0, parent=0, distance=0 0;255;3;0;9;read: 111-111-0 s=1,c=1,t=16,pt=0,l=1,sg=0:0 0;255;3;0;9;read: 111-111-0 s=1,c=1,t=16,pt=0,l=1,sg=0:1 0;255;3;0;9;read: 111-111-0 s=1,c=1,t=16,pt=0,l=1,sg=0:0 0;255;3;0;9;read: 100-100-0 s=255,c=3,t=15,pt=0,l=2,sg=0: 0;255;3;0;9;send: 0-0-100-100 s=255,c=3,t=15,pt=0,l=2,sg=0,st=fail: 0;255;3;0;9;read: 100-100-0 s=255,c=0,t=17,pt=0,l=10,sg=0:2.0.0-beta 0;255;3;0;9;read: 100-100-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;read and forward: 0-0-100 s=255,c=3,t=6,pt=0,l=1,sg=0strange you don´t have this "read and forward" message ?
-
I tried many things regarding power supply, 47uF and 100nF both on the ESP and NRF, even feeded it with a good laboratory power supply (max 3A).
I can´t imagine it´s a power problem, but could try tonight to even feed them with different power sources ?But i found a similar thread / same problem:
http://forum.mysensors.org/topic/3012/packet-freezes-wifi-gateway-esp8266But i don´t use any bootloader
-
So just to be totally sure and to help me and hopefully others, i did the following:
I feeded ESP and NRF from different power supplys-result is still the same, ESP hangs, no response
The Power supply of the ESP is the same as i use for many ESP-Easy-Projects, i even flashed ESP-Easy on these 2 boards i try to get the MySensors-Gateway running, no problems
You asked which nRF i use - they are from china :-) different sellers, different looking, some with external antenna, all the same results
-
I've tried to stress test again here but I still cannot reproduce the hangs.
Are you using this gateway sketch:
https://github.com/mysensors/Arduino/tree/development/libraries/MySensors/examples/GatewayW5100And this Relay sketch:
https://github.com/mysensors/Arduino/tree/development/libraries/MySensors/examples/RelayActuatorUnmodified (except for WLAN SSID)?
-
The second one yes, but the first one, i´m not using a Ethernet Gateway, but a Wifi Gateway with the ESP8266
that´s the one i use: https://github.com/mysensors/Arduino/tree/development/libraries/MySensors/examples/GatewayESP8266
nothing modified, even still with DHCPI also have a Ethernet Gateway, which is running since months, the problems started with the Wifi / ESP Gateway
Could you maybe have a look at the link above ? In this thread, Yveaux asked you for some help, maybe tha´t the point the problem comes from ?
-
Yes, i erased and downloaded everything new 2 days ago
Did you see the other forum post ?
Really strange problem, i´d say i have a fake chip or something, but as it´s working with ESPEasy, i can´t imagine...
In Board manager, i´m using 2.0, should i also go to the developer version ?
-
Hi @hek
Thank you again for all the work you and the team do for the MySensors community - maybe we can help back? I read your post, and understand the family and full time job - it's two careers. Maybe if there was a community Wiki that we all could help maintain - this way when things change they are instantly updated?
Just throwing it out there.
-
Hello Hek,
i just saw in the german FHEM Forum, somebody has exactly the same Problems as me - but when switching back to the old / regular version, it works as expected, except the other problem with the long values.
SO it musst be a software thing, nothing hardware relatedBut as it is really strange you don´t get this problen, did any body else see it ?
-
Hello Hek,
thank you so much to try to help me - i found the problem now and i guess it´s the same problem many others have here:
On almost all ESP12 GPIO 4 and 5 are labeled wrong
I didn´t use a NodeMCU, but one of the other available boardsAs the CE pin is then connected to the wrong GPIO, it seems to work, Radio init ok, but as soon as the gateway sends something, it crashes
Here are some interesting posts about that:
https://github.com/esp8266/Arduino/issues/437Maybe you should ad this notice to the build-section for the wifi gateway ?
Best regards
Klaus