Config impossible

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
CB83300
New user
Posts: 2
Joined: 03 Sep 2023, 19:20

Config impossible

#1 Post by CB83300 » 03 Sep 2023, 20:44

Hî,
I flashed espeasy in a nodemcu with visual studio.
but after restart nodemcu, I don't see the ESPxx wifi
below, what I see in the visual studio monitor.

thank you in advance for your help

Code: Select all

INIT : Booting version: ESP_Easy_mega_20230903_normal_ESP8266_4M1M, (Self built) pygit2_not_installed (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support)
622 : Info : INIT : Free RAM:27408
624 : Info : INIT : Manual Reboot #2 Last Action before Reboot: Const Interval: TIMER_100MSEC Last systime: 187 - Restart Reason: Ex�.�02 bytes of 957314
670 : Info : CRC : Settings CRC ...��681 : Info : ESPEasy console using ESPEasySerial
682 : Info : INIT : I2C
683 : Info : INIT : SPI not enabled
684 : Info : Set Network mode: WiFi
788 : Info : WIFI : Set WiFi to STA
892 : Info : WiFi : Start network scan all channels
3077 : Info : WiFi : Scan finished, found: 4
3079 : Info : WiFi : Start network scan all channels
5264 : Info : WiFi : Scan finished, found: 4
5266 : Info : Setup: Scan all channels
5266 : Info : WiFi : Start network scan all channels
7451 : Info : WiFi : Scan finished, foun�7455 : Info : ESPEasy console u��7458 : Info : ESPEasy console using ESPEasySerial
7459 : Info : INFO : Plugins: 47 [Normal] (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support)
7461 : Error : WIFI : No valid wifi settings
7462 : Info : WiFi : WiFiConnected(), start AP
7464 : Info : WiFi : Start network scan all channels
9648 : Info : WiFi : Scan finished, found: 4
9752 : Info : WIFI : Set WiFi to AP+STA
10745 : Info : WIFI : AP Mode ssid will be ESP-Easy with address 192.168.4.1 ch: 1
10748 : Info : WiFi : Start network scan all channels
12933 : Info : WiFi : Scan finished, found: 4
12935 : Info : WiFi : Start network scan all channels
15121 : Info : WiFi : Scan finished, found: 5
15123 : Info : WIFI : Arduino wifi status: WL_IDLE_STATUS 0 ESPeasy internal wifi status: DISCONNECTED
15126 : Info : Webserver: start
16474 : Info : WD : Uptime 0 ConnectFailures 0 FreeMem 18776 WiFiStatus WL_IDLE_STATUS 0 ESPeasy internal wifi status: DISCONNECTED

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Config impossible

#2 Post by Ath » 03 Sep 2023, 22:22

The WiFi AP will be on 2.4 GHz, so if your device (computer, tablet, mobile phone?) is set for 5 GHz only you might not see it appear in the list.

Alternative:
You can type commands to the device via the VSCode monitor, they just won't echo immediately, only after pressing <Enter>, and you can't correct any typos, but you can press <Enter> and re-type the command correctly ;)

Type these commands to connect to your WiFi:

Code: Select all

wifissid,<your-wifi-ssid>
wifikey,<your-wifi-password>
save
Each command must be followed by pressing the <Enter> key, and the <> are used to indicate a placeholder, so shouldn't be included, unless that's part of your settings (quite unlikely :shock:)
After these commands the ESP should connect to the WiFi, and will log the IP-address it can be reached at (use http://, not https:// as is used by default by most browsers!)

NB: The log output won't interfere with what you are typing :)
/Ton (PayPal.me)

CB83300
New user
Posts: 2
Joined: 03 Sep 2023, 19:20

Re: Config impossible

#3 Post by CB83300 » 03 Sep 2023, 23:34

thank for your answer but my mac is also on wifi 2.4

while reading many posts on this forum, I found a similar case. the problem was due to ESP power supply.
my ESP was connected to a usb hub.
I removed it from the hub and connected directly to the MAC. bingo it works

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

Re: Config impossible

#4 Post by TD-er » 03 Sep 2023, 23:47

Check!
Good to know it is working now.

User avatar
ohaldi
Normal user
Posts: 61
Joined: 31 Jan 2020, 09:10
Location: Switzerland

Re: Config impossible

#5 Post by ohaldi » 29 Oct 2023, 13:13

Hello
I have just bought the following card: ESP32_Relay X2 (ESP32_WROOM_32E)
With the help of EDGE and the following link (https://td-er.nl/ESPEasy/), I installed the latest version of ESPEasy: Normal 4M ETH [ESP32].
The installation was successful. After that, I was also able to access with the DHCP address from the Router (RUTX10) to my board.

But after a few minutes of configuring of ESPEasy, I can no longer access this board.

I get the following Terminal (Termite) error messages :
7757 : Info : WiFi : Scan finished, found: 6
7759 : Info : WiFi : Best AP candidate: ATEHO 00:1E:42:50:BD:0B Ch:11 (-39dBm) WPA2/PSK gn
7760 : Info : WiFi : Added known candidate, try to connect
7761 : Info : WIFI : Arduino wifi status: WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED
7765 : Info : Webserver: start
9123 : Info : WD : Uptime 0 ConnectFailures 0 FreeMem 178488 WiFiStatus WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED
9127 : Info : WD : Uptime 1 ConnectFailures 0 FreeMem 178344 WiFiStatus WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED

Also after a power off and on and removed the USB to TTL interface. I still not have any communication over WIFI. If I reconnect the USB TTL interface I see again the same above error messages.

Regards
Otto

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

Re: Config impossible

#6 Post by TD-er » 29 Oct 2023, 13:53

Just to be sure, you are not using Ethernet on this board, right?
So why did you pick the Eth build?

If you reconnect the USB to serial board, can you then give a command like "wifidisconnect" via the serial terminal?

If you regained network connection, can you give me the sections "ESP Board" and "Storage" of the sysinfo page?

User avatar
ohaldi
Normal user
Posts: 61
Joined: 31 Jan 2020, 09:10
Location: Switzerland

Re: Config impossible

#7 Post by ohaldi » 29 Oct 2023, 14:03

OK, then I will try the following version : 20231013 Norm 4M [ESP8266,ESP32,ESP32-S2/S3/C2] is this correct?

User avatar
ohaldi
Normal user
Posts: 61
Joined: 31 Jan 2020, 09:10
Location: Switzerland

Re: Config impossible

#8 Post by ohaldi » 29 Oct 2023, 14:18

I flashed the version mentioned above. But I still have a connection problem.

wifidisconnect
>wifidisconnect
175831 : Info : WiFi : WifiDisconnect()
175946 : Info : WIFI : Disconnected! Reason: '(1) Unspecified'
175947 : Info : WIFI : Arduino wifi status: WL_NO_SHIELD 255 ESPeasy internal wifi status: DISCONNECTED

OK
176052 : Info : WIFI : Connecting ATEHO 00:1E:42:50:BD:0B Ch:11 (-36dBm) WPA2/PSK gn attempt #4
176604 : Info : WIFI : DHCP IP: 192.168.90.50 (ESP-Easy) GW: 192.168.90.1 SN: 255.255.255.0 DNS: 192.168.90.1 / 0.0.0.0
176612 : Info : WIFI : Connected! AP: ATEHO (00:1E:42:50:BD:0B) Ch: 0
188547 : Info : WD : Uptime 3 ConnectFailures 0 FreeMem 190360 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
218547 : Info : WD : Uptime 4 ConnectFailures 0 FreeMem 190400 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
248547 : Info : WD : Uptime 4 ConnectFailures 0 FreeMem 190400 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init

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

Re: Config impossible

#9 Post by TD-er » 29 Oct 2023, 14:29

So after the "wifidisconnect" you do get an IP so it seems.

Does your access point support WiFi mesh? (regardless whether it has been enabled or not)

Can you try setting the WiFi on ESPEasy to b/g mode only? (tools->Advanced page)
And also check the last options "Extra Wait WiFi Connect" and "Enable SDK WiFi Auto Reconnect"

See: https://espeasy.readthedocs.io/en/lates ... fi-connect

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

Re: Config impossible

#10 Post by TD-er » 29 Oct 2023, 14:31

Hmm I now noticed your logs state "channel 0", which is extremely odd.

User avatar
ohaldi
Normal user
Posts: 61
Joined: 31 Jan 2020, 09:10
Location: Switzerland

Re: Config impossible

#11 Post by ohaldi » 30 Oct 2023, 08:26

Can you try setting the WiFi on ESPEasy to b/g mode only? (tools->Advanced page)
And also check the last options "Extra Wait WiFi Connect" and "Enable SDK WiFi Auto Reconnect"
Thanks, this seems to be the best solution. I'll continue my project and see if the WIFI connection will remain stable.

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests