Configuration without WIFI settings

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
KayomboS
New user
Posts: 8
Joined: 03 Feb 2018, 12:13

Configuration without WIFI settings

#1 Post by KayomboS » 31 Mar 2018, 19:14

A friend of mine staying over the long Easter weekend with us would like to have a copy of my weather station ESP. I tried to delete only the WIFI-settings of my home, so that the ESP would start up in his house as a "new" ESP, but already with hardware, device, rules and notification settings. But ESP Easy will not allow to delete the WIFI-SSID. Any idea on how I can get it done?
I thought of downloading and editing the configuration-file, but I am on Ubuntu and the dat-file will not open with gedit. Any help is highly appreciated.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden

Re: Configuration without WIFI settings

#2 Post by grovkillen » 31 Mar 2018, 19:24

If you download the config file it will not have the WiF credentials. Your friend can the flash a new esp board and upload the config file as soon as it's configured to his/hers WiFi.

I use the first WiFi setting to configure friends WiFi and have the second with my WiFi credentials. That way my friends can bring the units back to my place if something needs to be upgraded hardware wise.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

KayomboS
New user
Posts: 8
Joined: 03 Feb 2018, 12:13

Re: Configuration without WIFI settings

#3 Post by KayomboS » 31 Mar 2018, 19:44

Thanx for your quick reply. but that's basically not the adequate solution for this case. My friend will not be able to flash the esp. I was thinking that I would flash and prepare everything, apart from his Wifi-credentials. But the second part of your advise sounds good. Is is possible to delete the main Wifi-settings and just leave the fallback-settings? Would in such a case the ESP like a "new" ESP an access point once it is powered?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden

Re: Configuration without WIFI settings

#4 Post by grovkillen » 31 Mar 2018, 20:01

Yes you can simply delete the credentials and save... but I suggest you add YOUR credentials to the second WIFI since the FW is design to test to connect to the first WIFI and then the second WIFI. If you delete the first WIFI then the logon to your friends WIFI will take longer... just a small advice.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

KayomboS
New user
Posts: 8
Joined: 03 Feb 2018, 12:13

Re: Configuration without WIFI settings

#5 Post by KayomboS » 31 Mar 2018, 20:03

Sounds good. Thanks a lot, will test it asap.

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

Re: Configuration without WIFI settings

#6 Post by TD-er » 31 Mar 2018, 20:07

You don't have to delete anything.
When the WiFi cannot connect to the normal accesspoint with the given credentials, an accesspoint will be started to allow the setup of the WiFi credentials.

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

Re: Configuration without WIFI settings

#7 Post by TD-er » 31 Mar 2018, 20:10

grovkillen wrote: 31 Mar 2018, 20:01 Yes you can simply delete the credentials and save... but I suggest you add YOUR credentials to the second WIFI since the FW is design to test to connect to the first WIFI and then the second WIFI. If you delete the first WIFI then the logon to your friends WIFI will take longer... just a small advice.
And that "longer" is not that long.
A timeout due to unreachable accesspoint is about 2 seconds, which is retried 3 times and then the 2nd set of credentials will be used. (for 3 times, before the accesspoint will be started)
N.B. this is with the new "event based WiFi", which is added about a week ago.

And a reconnect due to lost network will be retried to the same network first.
Even the same BSSID, to reconnect to the same device first, which will be beneficial when using a WiFi repeater.

KayomboS
New user
Posts: 8
Joined: 03 Feb 2018, 12:13

Re: Configuration without WIFI settings

#8 Post by KayomboS » 31 Mar 2018, 20:20

I tested in the meantime. I cannot delete the first credentials. So I will test now in the neihbour's network to see what happens. I use currently release v2.0-20180322. Maybe I have to update on a higher version to make it work as TDer mentioned.

Who is online

Users browsing this forum: Anthropic Claude Bot [bot], OpenAI Searchbot [bot] and 17 guests