-
• #2
Mon 2020.04.06
Hi @Alexandr, the link in post #1 and the title at the destination indicate a D1 Mini, but a true mini only has 16 pins, not 30!
I see that you are a long time user of the ESP8266. As both errors occur inside the onInit, as a wild guess, it might be that stopping an AP before it is even created is causing the error. Has an attempt to place the internal code inside a try/catch block been attempted to see if any errors are bubbling up and not being caught?
Until others are able to respond, take a look at some running code snippet examples that might give some insight:
Posting snippet results of what does work, may provide some clues also.
Also take a look at support options for NodeMCU:
-
• #3
Thanks for the answer. I want to add that on other models of esp8266 everything works perfectly. It is not clear why wifi does not work on this Board.
Good afternoon, everyone!
I'm trying to use this Board:
https://aliexpress.ru/item/32813202006.html?spm=a2g0o.productlist.0.0.7b062fee3ouO7n&algo_pvid=2185e518-c4cf-4acb-8ec0-79f12d1a284e&algo_expid=2185e518-c4cf-4acb-8ec0-79f12d1a284e-24&btsid=0b8b035615861624296867196ebcdd&ws_ab_test=searchweb00,searchweb201602,searchweb201603_
Problem connecting to wi fi
I tried all possible options. If you flash the Arduino IDE Board, everything connects without problems.
What might be the problem?
Console:
---> "\u0010reset();\n\u0010setTime(1586161529.365);E.setTimeZone(3)\n\u0010\u001b[2dvar ESP8266 = require(\"ESP8266\"),\u001b\n wifi = require(\"Wifi\");\n\u0010\u001b[4dwifi.connect(\"INGRIFABSR\", {password: \"B73vFeX6se2\"}, function(err) {\u001b\n if(err)console.log(err);else console.log(\"connected!\");\u001b\n console.log(wifi.getIP().ip);\u001b\n });\n\n"
Splitting for reset(), delay 250
There is also a mistake like this: