Changing WIFI network

I´m going to change my place. There is an existing internet connection. I know the SSID (network name) and the password.

For keeping the effords as low sa possible, when logt in on the present WIFI net and beeing on that configuration page. Now I am going the change the network name (SSID) and the password of my new place, finally I safe this configuration.

When, on the new place; powering on the ESP8266 does WIFI recognize the correct data (SSID and password) ? and will run the system ?

From what I gather if the device is unable to connect, it will go in client mode just like the first time you power it up. Which means that even if you make any errors, you can re-enter the credentials on location.

It will show the airrhor again in the wifi list, just as the first time you connected. You can connect to that airrhor and it will show the webpage again. You can enter the new ssid and password. The rest of the configuration will stay the same.

1 Like

Yes, if your old wifi network is not present (even if you only just changed its wifi name), what you only need to do is

  • unplug the sensor, wait 10s, replug
  • go to your PC, wait 20s, get to the wifi list: not only you see your (new) wifi network, to which you are connected, but aside that network you’ll see the AirRohr one, because the sensor, not seeing its usual network, has decided to deploy its own one (AirRohr)
  • on the PC, change from your wifi network to the AirRohr network
  • get to the setup page, fill the two wifi fields (new network name, password), and click the red Restart button
  • connect your PC back to the normal Wifi network
  • wait a minute then go to your sensor display, for instance via its map location, or via the ‘sensor details’ page. It should be back online, and you can check this with the timestamp from the last measurement (which should be ‘almost right now’)

Regarding connect/disconnect to Sensors Map
I have an Air sensor installed at my place for many years now and it works fine.
Recently I assembled an new Air sensor at my place for testing and it works fine up to the sensor webpage using the ‘feinstaubsensor-ID/local’. Grafana data is OK but the sensor node (ID:14003403) is NOT present at the sensor MAP.
What do I need to do to extra to connect the new node (at the my place) to the sensor Map? Ultimately this new sensor will be placed at another location/wifi network.
How is the connect/disconnect procedure for sensors to the sensor Map DB?
Thx for your comments.

I’m trying this, and the AirRohr network is showing, but it needs a password - any idea what this would be? Thanks

The PW should be airrohrcfg.
Are you on the beta version?
After the PW, the process should be straight forward with new SSID and WiFi PW.

I tried this around 20 times, with my pc and with my phone, but my sensor is still not connected to the new network.

@Lisa_Marechal , you are answering here to a discussion that happened one year ago, with various persons detailing various issues, so it is difficult for us to know what exactly is happening for you.

Do I understand correctly that

  • you can connect your PC to the specific network deployed by your Air sensor,
  • you can access its setup panel (the one where you enter the name of your normal network and its password),
  • but after that things go wrong?

If so, can you check you pressed “confirm”, or something like that, on the setup panel, then “reboot”?
Otherwise please correct my interpretation…

Hi, thanks for your reply.
Your interpretation is correct. I can do all that and finish with pressing confirm and restart.
After that, the network of the sensor can still be seen by py pc and if I go the page with the statistics of my sensor, it says my device doesn’t have wifi connection.
https://api-rrd.madavi.de:3000/grafana/d/Fk6mw1WGz/wifi-signal?orgId=1&var-chipID=esp8266-8024664&theme=light

If this happens (after check, e. g. “reload networks” on the pc) then it definitely means the sensor did not manage to connect to your wifi network.
When a sensor does not succeed in connecting to the network that was specified, after a while it “falls back” into setup mode, and re-deploys its own network.

Maybe you did not enter the correct password for your network into the sensor, or maybe (this would be worse) your current wifi network is from the utmost last generation, with a frequency or mode that the sensor cannot understand.
If this is the case, your wifi box or modem has a setup of its own, and generally these allow deploying another simplified wifi network (that’s the meaning of the summaries like 802.11.a/b/c/g etc.). Go there, and try creating a secondary simpler wifi (like 802.11b), possibly with a different name (“mynetwork-for-devices”), save, and retry connecting the sensor to that one.
But before all this, do check the name/password for your current network, and RE-enter them into the sensor interface (and reboot)

Thanks for the advice! I tried so many times, the password is definitaly correct; and I do have a recent new fiber network. I don’t know how to create a secondary network.
I managed to reach the setup page of my router, but than I’m stuck. I can’t find the right information on how to set up a secondary network.

Try to Erase Flash and start again

also it may be that your router is designed in such a way that it refuses any new connection unless you press a button somewhere (to “allow a new association”) : try finding such a button?

What’s the make and model of this router? Perhaps we can give more specific advice for that router.

If it is a brand new one it is also possible that Wifi requires WPA3. The sensor needs WPA2. If you can find an option to set the used WPA mode you could try if enabling WPA2 helps.

I have install 100++ sensors and I have this problem several times in the past.
There is a bug writing/closing the config file before reboot. (need more time to close)
You can check if you have the same issue as I had on the serial port
afbeelding

This example is ok.

When there is an error opening config file the sensor start in AP mode again.
Most of the time erase the NodeMCU and flash the NodeMCU again works.

Sorry, where do I find this?

Is this the WPS-button?
There is a WPS-button and a WiFi-button.
I 'm not alowed to attach a photo to this post…

If possible, can you try to, at least temporarily, get the sensor closer to your router or access point?

Security is WPA2.
The router is a Proximus Internet Box. Google knows, but I can’t find a specs page.
I put the router and the sensor next tot each other for the last couple of days.