WifiAPMode "Off" Command

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
ThomasB
Normal user
Posts: 1358
Joined: 17 Jun 2018, 20:41
Location: USA

WifiAPMode "Off" Command

#1 Post by ThomasB » 06 Mar 2025, 19:17

I have a device that connects to a public WiFi guest network for sending notifications. I use the WifiAPMode command (in a rule) to turn on AP Mode when I need to access ESPEasy's settings. When I am done I reboot to disable AP Mode. Rebooting works, but it is a clumsy solution.

Is there a command that turns off AP Mode and leaves STA mode on?

And before you ask, yes ESPEasy works fine with both STA and AP modes on at the same time. But I don't want to leave AP mode exposed in a public environment.

- Thomas

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

Re: WifiAPMode "Off" Command

#2 Post by TD-er » 06 Mar 2025, 20:21

I have to look in the code to be sure, but I think it was something like this:

Code: Select all

wifimode,sta

User avatar
ThomasB
Normal user
Posts: 1358
Joined: 17 Jun 2018, 20:41
Location: USA

Re: WifiAPMode "Off" Command

#3 Post by ThomasB » 06 Mar 2025, 20:44

Bingo! That works. Thank you.

I found more info about such things here:
viewtopic.php?t=8995#p57203

- Thomas

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests