Michael,

You're absolutely right, I did not have a look at the web UI (Config / Wifi) while researching this feature, and have been only using the shell for the configuration and the doc.

In order to complement the existing doc, please find here an update proposal: https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/746

Regards,

Ludovic

Le 22/10/2022 à 15:30, Michael Balzer a écrit :
Ludovic,

you've possible mistaken the scan command for the scan mode. Scan mode is meant for that scenario. You can configure multiple APs via the web UI (Config→Wifi: client networks) or via shell using the config command. You can also configure the signal levels for dropping network associations.

To configure from the shell, add a network like this: "config set wifi.ssid <ssid> <passphrase>"

Regards,
Michael


Am 22.10.22 um 14:25 schrieb Ludovic LANGE:
Hi Michael,

So if you don't mind, I'll be creating GitHub "issues" for following those improvements, in order to describe, plan, document, follow the progress on those ideas.

Regarding WiFi, the idea would be more like the "mesh" mode ; but with different SSIDs.
Say you have a list of different SSIDs / password. The device should try to connect to the first one in the config. If unable to connect, or if the RSSI steadily falls below a certain minimum, it will try the next in order in the config. Then when it reaches the end of the list, it cycles back to the start. Or optionally it should try to connect via modem connection (but I'd make this a config option also) - and if this one drops also, back to wifi APs list.
(RSSI level should be a config item also).

Use-case is the following:
I have a vehicle under test ; it has a OVMS on-board. The test pilot does some different journeys. Some starting from "home", ending at "shop A". Then from "shop A" to "shop B". etc... and back to "home".
It's not possible (and not wanted) to have all these locations set up with the same SSID / Password. So it could be interesting to have OVMS able to connect to each different AP.
(Automatically - the test pilot is not expected to deal with OVMS configuration)

Scanning mode seems (I have not fully tested all the configuration) to be able to list the visible APs ; but it seems there is no provision to configure passwords for multiple one ? Let me know if I understood it incorrectly.

Regards,