mega-20230409

Moderators: grovkillen, Stuntteam, TD-er

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

mega-20230409

#1 Post by ohaldi » 12 Sep 2023, 10:44

Hello,
I'm happy to test the new version.
With the latest version "mega-20230409" flashed on an ESP-WROM-32 using "flash_download_tool_3.9.5.exe" I encountered the following problem.
I first flashed the following bin "ESP_Easy_mega_20230822_normal_ESP32_4M316k_ETH.factory.bin". Only then was I able to see the wifi network.
Then I updated the following firmware: "ESP_Easy_mega_20230822_normal_ESP32_4M316k.bin".
I gave a name in Config / Unitname, looped back the device, tried to change the name again. But the new name is no longer saved. The old name is still retained.
I also tried adding an MQTT server. I submitted the configuration, but after a reboot, nothing was saved. The controller configuration is empty again...
This was just for information.
So I'm going to reflash everything to see if there are any changes.
Regards
Otto

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

Re: mega-20230409

#2 Post by TD-er » 12 Sep 2023, 11:20

I don't understand the first sentence (and topic title) as you're suggesting the april version is the latest version.

When access points are not shown, your ESP probably doesn't have enough power to successfully start WiFi.

What you can try is to connect using a serial terminal and enter the WiFi credentials via de console:

Code: Select all

wifissid,YourWiFiNetworkName
wifikey,YourWiFipassword
save
After this save, the WiFi will likely restart and retry.
If not, you can give the command "wifidisconnect" to make it restart WiFi completely.

Since the credentials are saved (hopefully), a power cycle may also help here, as the WiFi radio part could be in some sort of limbo state if the power supply was indeed insufficient to have both WiFi AP and WiFi STA mode active.

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

Re: mega-20230409

#3 Post by ohaldi » 12 Sep 2023, 13:30

Many thanks for your feedback. I allways have had problem with the first Wifi connection.
I'm just testing on a single ESP-WORM-32 the last firmware from ESPEasy "ESP_Easy_mega_20230822_normal_ESP32_4M316k_ETH.factory.bin"

Code: Select all

What you can try is to connect using a serial terminal and enter the WiFi credentials via de console:
But if you dont see the wifi network?

Other question : by update the firmware it is not possible also to upload a config file with my wifi network and password?

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

Re: mega-20230409

#4 Post by ohaldi » 12 Sep 2023, 13:57

Dialog, used Termite:
OK
243325 : Info : WIFI : Arduino wifi status: WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED
243326 : Info : WiFi : WifiDisconnect()
243430 : Info : WIFI : Disconnected! Reason: '(1) Unspecified'
243531 : Info : Reset WiFi.
243534 : Info : WiFi : Start network scan all channels
249549 : Info : WiFi : Scan finished, found: 4
249551 : Info : WiFi : Best AP candidate: ATEHO 00:1E:42:50:BD:0B Ch:11 (-40dBm) WPA2/PSK gn
249552 : Info : WiFi : Added known candidate, try to connect
249553 : Info : WiFi : WifiDisconnect()
249657 : Info : WIFI : Disconnected! Reason: '(1) Unspecified'
249659 : Info : WIFI : Arduino wifi status: WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED
249759 : Info : WIFI : Set WiFi to OFF
250079 : Info : WIFI : Set WiFi to STA
250091 : Info : WiFi : Event STA Started
250193 : Info : WIFI : Connecting ATEHO 00:1E:42:50:BD:0B Ch:11 (-40dBm) WPA2/PSK gn attempt #6
250763 : Info : WD : Uptime 4 ConnectFailures 0 FreeMem 178236 WiFiStatus WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED
270200 : Info : WIFI : Arduino wifi status: WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED
270201 : Info : WiFi : WifiDisconnect()
270305 : Info : WIFI : Disconnected! Reason: '(1) Unspecified'
270406 : Info : Reset WiFi.
270409 : Info : WiFi : Start network scan all channels
276424 : Info : WiFi : Scan finished, found: 4
276426 : Info : WiFi : Best AP candidate: ATEHO 00:1E:42:50:BD:0B Ch:11 (-41dBm) WPA2/PSK gn
276427 : Info : WiFi : Added known candidate, try to connect
276428 : Info : WiFi : WifiDisconnect()
276531 : Info : WIFI : Disconnected! Reason: '(1) Unspecified'
276533 : Info : WIFI : Arduino wifi status: WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED
276633 : Info : WIFI : Set WiFi to OFF
276952 : Info : WIFI : Set WiFi to STA
276964 : Info : WiFi : Event STA Started
277066 : Info : WIFI : Connecting ATEHO 00:1E:42:50:BD:0B Ch:11 (-41dBm) WPA2/PSK gn attempt #7
279771 : Info : WD : Uptime 5 ConnectFailures 0 FreeMem 178216 WiFiStatus WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED

Maybe this EPS32 is defective!

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

Re: mega-20230409

#5 Post by Ath » 12 Sep 2023, 14:27

It looks like the password for the WiFi is incorrect, you can retry the command: wifikey,yourCase-SensitivePassword then use the save command to save that setting, and optionally wifidisconnect if it doesn't start reconnecting.

While typing the commands you don't get any feedback until you press <Enter>, and you can't use backspace to correct any typing-errors!
/Ton (PayPal.me)

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

Re: mega-20230409

#6 Post by TD-er » 12 Sep 2023, 14:46

Do you have an Asus access point?

Seems like "g" mode is allowed by the access point as the log prints "gn".

Please check if you have "band steering" enabled in the access point.
If so, try to uncheck this to test whether it makes a difference.

Also IGMP snooping (or other multicast related settings) should be disabled in the access point.

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

Re: mega-20230409

#7 Post by ohaldi » 12 Sep 2023, 18:27

Thanks for your help. I disabled the 5GHz wifi. Now it's ok.
I will read about band steering and IGM snooping with my RUTX10 Router. I've turned on and off some other switches whose exact rules, I don't know.
I have some ESP8286s with ESPEasy, but would like to know more about ESP32s. However there are so many.
Which one is suitable for ESPEasy. WROM-32D,-32U,32E,32UE etc...
I've also noticed that the latest firmware has more switch configuration than my firmware from last year.
I like ESPeasy, mainly for rules. It's a pity that my code has to be split over several rules, which are limited to 2048 bytes.

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

Re: mega-20230409

#8 Post by TD-er » 12 Sep 2023, 18:41

That limit is not really a limit anymore.
You can now save (much) larger rules files.

For supported ESP models: https://espeasy.readthedocs.io/en/lates ... chips.html

The WROOM-32E and -32EU mainly differ in the antenna.
The D vs. E is a revision, where I suggest to use the E version.

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests