frequently blocking/rebooting

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

frequently blocking/rebooting

#1 Post by megamarco83 » 16 Oct 2019, 14:19

hi, in this ESP (nodemcu) i still have many blocks. ESP can't be reach and i have to power off and reboot manually to become working. it happen every 3 days.
but i see that also during the day i have at least two automatic reboot.
Close to this ESP i have other two and only this one has this problem, so i would like to exclude connection problems.
how i can discover where is the problem?
i also try to flash a new nodemcu but nothing happen, i also try to use a wemos d1 mini, but same situation.

this is the configuration:
1.jpg
1.jpg (155.31 KiB) Viewed 8024 times

Code: Select all

Unit Number:	204
Local Time:	2019-10-16 14:18:37
Uptime:	0 days 8 hours 5 minutes
Load:	39.40% (LC=2482)
CPU Eco Mode:	false
Free Mem:	8376 (6040 - sendContentBlocking)
Free Stack:	3568 (1488 - getPinStateJSON)
Boot:	Manual reboot (7)
Reset Reason:	Software/System restart
Last Task:	Const Interval timer, id: 3
SW WD count:	0
Network ❔
Wifi:	802.11N (RSSI -66 dB)
IP Config:	Static
IP / Subnet:	192.168.0.204 / 255.255.255.0
Gateway:	192.168.0.1
Client IP:	192.168.0.4
DNS:	8.8.8.8 / 0.0.0.0
Allowed IP Range:	192.168.0.0 - 192.168.0.255
STA MAC:	3C:71:BF:32:87:D7
AP MAC:	3E:71:BF:32:87:D7
SSID:	VodafoneASUS_plus (34:CE:00:7C:65:24)
Channel:	7
Connected:	8h04m
Last Disconnect Reason:	(1) Unspecified
Number Reconnects:	0
WiFi Settings
Force WiFi B/G:	false
Restart WiFi Lost Conn:	true
Force WiFi No Sleep:	false
Periodical send Gratuitous ARP:	true
Connection Failure Threshold:	5
Firmware
Build:⋄	20103 - Mega
System Libraries:⋄	ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support
Git Build:⋄	mega-20190903
Plugins:⋄	48 [Normal]
Build Md5:	a34e7ef87792844a8cc5948f52dba545
Md5 check:	passed.
Build Time:⋄	Sep 3 2019 02:18:27
Binary Filename:⋄	ESP_Easy_mega-20190903_normal_core_241_ESP8266_4M1M.bin
System Status
Syslog Log Level:	None
Serial Log Level:	None
Web Log Level:	None
ESP Board
ESP Chip ID:	3311575 (0x3287D7)
ESP Chip Frequency:	80 MHz
ESP Board Name:	PLATFORMIO_ESP12E
Storage
Flash Chip ID:	Vendor: 0x20 Device: 0x4016
Flash Chip Real Size:	4096 kB
Flash IDE Size:	4096 kB
Flash IDE Speed:	40 MHz
Flash IDE Mode:	DIO
Flash Writes:	0 daily / 0 boot
Sketch Size:	817 kB (2252 kB free)
SPIFFS Size:	934 kB (844 kB free)
Page size:	256
Block size:	8192
Number of blocks:	116
Maximum open files:	5
Maximum path length:	32
P.s.
if i would like to not use PCF and use directly GPIO to control 8ch relay + 1pulse + 1ds18b20 what GPIO you suggest to use?
thanks

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: frequently blocking/rebooting

#2 Post by TD-er » 16 Oct 2019, 14:44

The ESP8266 does not have enough usable GPIO pins to accommodate 8 relays and other sensors.
See: https://espeasy.readthedocs.io/en/lates ... on-esp8266

What build version are you using?

Known reasons for rebooting:
- Bad/unstable WiFi
- pulse counter plugin (is using interrupts)


To improve resilience against wifi disturbances, you could force the WiFi to B/G only (Advanced settings, bottom page)
Also setting the WiFi channel to a fixed channel on the access point may improve stability.
See the described settings here: https://espeasy.readthedocs.io/en/lates ... l#advanced

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: frequently blocking/rebooting

#3 Post by megamarco83 » 16 Oct 2019, 14:57

hi, i copy the info about the building:

Code: Select all

Build:⋄	20103 - Mega
System Libraries:⋄	ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support
Git Build:⋄	mega-20190903
i use fixed wifi channel
i do not think that the problem is related to a bad connection, close to my esp there are two other esp and them never lost connection.
i have pulse counter and i put it as first plugin (i read somewhere to do in this way)
unfortunatly i need it.

what i never tested is to force to b/g channel

Andre BUHART
New user
Posts: 3
Joined: 04 Nov 2018, 18:41

Re: frequently blocking/rebooting

#4 Post by Andre BUHART » 09 Nov 2019, 06:31

I have about 30 esp8266 at home. With a local serveur , i periodically check that all are responding. I had a lot of issues with some of them as they often disconnect and reconect. Since I forces all m'y Wifi AP tranmitters(4) at home to work in Wifi 802.11n only and not mixed mode b/g/n, the complete set of esp8266 works fine.

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: frequently blocking/rebooting

#5 Post by megamarco83 » 09 Nov 2019, 10:27

Andre BUHART wrote: 09 Nov 2019, 06:31 I have about 30 esp8266 at home. With a local serveur , i periodically check that all are responding. I had a lot of issues with some of them as they often disconnect and reconect. Since I forces all m'y Wifi AP tranmitters(4) at home to work in Wifi 802.11n only and not mixed mode b/g/n, the complete set of esp8266 works fine.
Hi can you explain better for me how you set up your router configuration to avoid the disconnect problem of esp8266? Thanks

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: frequently blocking/rebooting

#6 Post by TD-er » 09 Nov 2019, 11:59

My assumption:
- Fixed WiFi channel
- No mixing of B/G and N on the same network
- Force WiFi No Sleep
- No Eco mode
- Core 2.6.0 build (maybe not the last nightly, since there is a bug report about the need to upgrade build toolkit since the last merges of core 2.6.0)

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests