Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


WiFi signal strength
#4
(03-03-2023, 10:38 PM)Venerdi Wrote: Hi All,
I have another question.
At home I have a WiFi that has a Repeater.
The SSID name is the same, so when MoOde scans the available networks, it finds two SSIDs with the same name and I don't understand which one it connects to.
I have to use the same name for a problem with IPCam.
When MoOde scans, would it be possible to view the signal strength, as is normally the case on smartphones?
thx
v.

I'm still at the starting gate, trying to understand why it matters to you.

As it happens, knowing the signal strength doesn't help you unless you do a fair amount of surgery to the moOde codebase.

moOde uses a program named wpa_supplicant to establish the WiFi connection and a program named iwlist to scan for available APs.

Whether one selects an SSID  from a list assembled by iwlist or enters a  SSID manually, wpa_supplicant is configured to scan (yes, scanning is done again) for *any and all* APs with that SSID, select one based on internal algorithms and connect to it.

Those internal algorithms can be influenced with various optional wpa_supplicant configuration parameters but none relate directly to signal strength. A possible alternative is to include BSSID (unique to each AP and usually the mac address).

The process to include signal strength might look something like
  • using iwlist, create an array of (SSID, BSSID, signal strength) values from the APs detected in a scan
  • present the user with a list of (SSID, signal strength) values
  • based on the user selection, configure wpa_supplicant to connect to the AP with the chosen SSID and BSSID.
Since this situation doesn't apply to most users, make it optional or otherwise easy to grok.

Implementation would require modification of the existing backend code and the WebUI, not to mention would increase the documentation and maintenance burden.

Regards,
Kent

PS - Actually, if I were implementing this, I would be more interested in modifying the process to include frequency (band, actually) since, for example, my dual-band router has both a 2.4GHz AP and a 5GHz AP which I've configured with the same SSID. Currently my dual-band Pi3B+- and PI4B-based moOde 8.2.5 players associate with the 5GHz AP (based on wpa_supplicant's internal algorithms) which is what I desire. One could argue that I should be able to force connection with one or the other AP via the WebUI. However, assigning unique SSIDs to the APs, Nirvana and Nirvana-5, say, is so easy that I would do so if it mattered (although it would confuse my significant other...).
Reply


Messages In This Thread
WiFi signal strength - by Venerdi - 03-03-2023, 10:38 PM
RE: WiFi signal strength - by Tim Curtis - 03-03-2023, 11:12 PM
RE: WiFi signal strength - by Falco - 03-07-2023, 11:11 AM
RE: WiFi signal strength - by TheOldPresbyope - 03-07-2023, 04:49 PM
RE: WiFi signal strength - by Tim Curtis - 03-07-2023, 06:22 PM
RE: WiFi signal strength - by TheOldPresbyope - 03-07-2023, 08:41 PM
RE: WiFi signal strength - by Tim Curtis - 03-07-2023, 10:38 PM
RE: WiFi signal strength - by Venerdi - 03-07-2023, 11:09 PM
RE: WiFi signal strength - by Falco - 03-08-2023, 07:49 AM
RE: WiFi signal strength - by DRONE7 - 03-08-2023, 03:15 AM
RE: WiFi signal strength - by TheOldPresbyope - 03-08-2023, 01:42 PM
RE: WiFi signal strength - by TheOldPresbyope - 03-08-2023, 02:07 PM
RE: WiFi signal strength - by Venerdi - 03-08-2023, 02:23 PM
RE: WiFi signal strength - by Tim Curtis - 03-08-2023, 02:30 PM
RE: WiFi signal strength - by TheOldPresbyope - 03-08-2023, 02:35 PM
RE: WiFi signal strength - by Venerdi - 03-08-2023, 04:02 PM

Forum Jump: