Good morning. I have a network repeater connected via lan to the main modem. The repeater uses the same password as the modem but its SSID is different.
The problem is that I can’t configure the “secret.yalm” file with two SSIDs to be able to access the devices with both solutions
# Your Wi-Fi SSID and password
wifi_ssid: "first choice"
wifi_password: "my_psw"
wifi_ssid: "lan repeater "
wifi_password: "my_psw"
Why not set the SSID to the same for both devices and then lock their channels.
Use either channel 1,6 or 11 for 2,4GHz to spread then out and make sure the two devices are not on the same channel.
For 5GHz just place one device at the lowest channels and the other at the highest.
The problem is that the wifi signal does not reach the repeater because it is too far away. The repeater receives from the LAN cable modem and creates its own wifi network. The esp01 component is affected by the wifi network of the repeater only.
I need the double SSid for maintenance: I extract the esp01 remotely and take it home to be able to modify it and then it automatically connects to the modem.
# Your Wi-Fi SSID and password
wifi_ssid: "first choice"
wifi_password: "my_psw"
wifi_ssid: "lan repeater "
wifi_password: "my_psw"
Everything works if I write passwords and SSids in the code but I can’t get it to work via “secret.yaml”
# Your Wi-Fi SSID and password
wifi_ssid: "first choice"
wifi_password: "my_psw"
wifi_ssid: "lan repeater "
wifi_password: "my_psw"
Compiling gives me an error.
I regularly use secret.yaml on devices that use the main network. it all goes down the drain when I try to write two SSid and two psw in secret.yaml
tested and working. I can’t give both of them the check mark “solved”
I can’t get both of them to tick “resolved”.
I hope that Coolie1101 will forgive me but I will give the solution to pepe59 because his code is closest to mine.
however, you were both decisive.
thank you