← index #9203Issue #3906
Related · high · value 0.166
QUERY · ISSUE

port/ESP32/network.AP_IF: get IP addresses from connected stations

openby MeckPommERopened 2022-09-03updated 2026-03-19
enhancementport-esp32

Hello and thanks for your time!

When the ESP32 is working as an access point, it is possible get a MAC list of connected stations via ap.status('stations'). But there is (i've found) no way to find the IP, which the ESP32 has assigned to the corresponding station.

I my case, the ESP32 is working as a mobile accesspoint and webserver, handling the communication between robots and browsers. To configure the robot controlling HTML pages, i need the corrent IP addresses. I am at a point where I know, which robot is connected from a dictionary, where I store the MAC and other info, but i am unable to find the needed IP.

An extension of the station list to include the IP entry (if assigned) would be very helpful.

Thanks in advance.

CANDIDATE · ISSUE

RSSI of connected STAs from AP not working

openby treyes133opened 2018-06-29updated 2026-03-23
enhancementport-esp8266proposed-close

Howdy!

In the ESP8622 documentation (source linked below), it says that it is possible to get the RSSI of all connected STA on the AP, with network.status("stations"), however this function is not working.

Micropython version: 1.9.4-277-gab02abe9, ESP module ESP8266
Board: Adafruit Huzzah feather

The network object (ap_if) is sound, and devices can connect to the AP.

The command I am running is as follows:
ap_if.status('stations')

The error is as follows:
ValueError: Unknown status param

I have used the network.status("rssi") as a STA to get RSSI between STA and AP, and this confirmed works.

Any help is greatly appreciated.

http://docs.micropython.org/en/latest/esp8266/library/network.html#module-network

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied