# System does not connect to local WIFI

**URL:** https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928
**Category:** Uncategorized
**Created:** [March 8, 2023, 8:56pm UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928 "2023-03-08T20:56:43Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Danny](https://forum.sensor.community/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@Danny](https://forum.sensor.community/u/Danny)
#### Post date: [March 8, 2023, 8:56pm UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/1 "2023-03-08T20:56:43Z")

</div>

Hi there,  
looks like I am too stupid to bring the system into local WIFI (called “chanti” here).

**What can I see** :

- System always ends in access point mode.
- system interface is always in english, even if german is selected

**What did I try:**

- I flashed with airRohr-firmware-flasher-0.3.2-Windows\_amd64 and 0.3.4 as well.
- used different binaries for flashing in en and de (in my case).
- tried different WIFI networks. all support 5 GHz and 2,4 GHz, SSID and password are correct
- played with distance to WIFI router…
- used putty to get logs!

```auto
Restart.
▒▒airRohr: NRZ-2020-133/EN
mounting FS...
opened config file...
parsed json...
output debug text to displays...
Connecting to chanti
........................................
output debug text to displays...
Starting WiFiManager
AP ID:
Password:
scan for wifi networks...
AP Password is:
Starting Webserver... (IP unset)

```

So it looks like system tries to connect to WIFI but somehow fails. I can’t see the reason. (even increasing debug level to values bigger 3 does not extend info)

Can some please provide a hint what I can do?

Thanks in advance,

Danny

---

<div class="post-metadata">

### Author: ![Danny](https://forum.sensor.community/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@Danny](https://forum.sensor.community/u/Danny)
#### Post date: [March 8, 2023, 9:16pm UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/2 "2023-03-08T21:16:48Z")

</div>

Update:

- Removing sensor connections (temperature and particle) does not change behaviour (I did not expect but at least it was a try)
- giving a WIFI password known as wrong does not lead to any change in putty logs…
- create guest network @ 2,4 GHz (named GST) without any access restriction or password. selected this network in user interface of NodeMCU but the result is the same

```auto

Restart.
▒▒airRohr: NRZ-2020-133/DE
mounting FS...
opened config file...
parsed json...
output debug text to displays...
Connecting to GST
........................................
output debug text to displays...
Starting WiFiManager
AP ID:
Password:
scan for wifi networks...
AP Password is:
Starting Webserver... (IP unset)

```

---

<div class="post-metadata">

### Author: ![Danny](https://forum.sensor.community/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@Danny](https://forum.sensor.community/u/Danny)
#### Post date: [March 8, 2023, 10:23pm UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/3 "2023-03-08T22:23:00Z")

</div>

after leaving system alone for some minutes sensors seems to work but still no connection to WIFI

```auto
PM10 (sec.) : 1.10
PM2.5 (sec.): 0.80
/R SDS011
R/ SDS011
PM10 (sec.) : 1.30
PM2.5 (sec.): 0.80
/R SDS011
R/ SDS011
PM10 (sec.) : 1.20
PM2.5 (sec.): 0.80
/R SDS011
R/ SDS011
PM10 (sec.) : 1.20
PM2.5 (sec.): 0.80
/R SDS011
R/ SDS011
PM10 (sec.) : 1.10
PM2.5 (sec.): 0.80
/R SDS011
R/ SDS011
PM10 (sec.) : 1.10
PM2.5 (sec.): 0.80
/R SDS011
PM10: 1.15
PM2.5: 0.80
----
## Sending to sensor.community - SDS011
R/ BME280
Temperature (°C): 22.55
Pressure (hPa): 94083.50
Humidity (%): 43.24
----
/R BME280
## Sending to sensor.community - BME280
## Sending to madavi.de:
Time for Sending (ms): 0
Connection lost, reconnecting
...............

```

---

<div class="post-metadata">

### Author: ![air-ais](https://forum.sensor.community/letter_avatar_proxy/v4/letter/a/ad7895/32.png) [@air-ais](https://forum.sensor.community/u/air-ais)
#### Post date: [March 9, 2023, 7:21pm UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/4 "2023-03-09T19:21:03Z")

</div>

Did you try to persist? Like 4-5 attempts in a row.

---

<div class="post-metadata">

### Author: ![Danny](https://forum.sensor.community/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@Danny](https://forum.sensor.community/u/Danny)
#### Post date: [March 9, 2023, 7:29pm UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/5 "2023-03-09T19:29:52Z")

</div>

I let it run the whole night with several resets in between. Since there was no success I reflashed system with airRohr-firmware-flasher-0.3.4-Windows\_amd64\_BETA used latest\_de.bin → airRohr: NRZ-2020-133/DE

Additionally I activated guest network @ 2,4 GHz for a while to “stabilize” (even if this would not make any difference in my understanding)

Fortunately I am a step further now:

```auto
airRohr: NRZ-2020-133/DE
mounting FS...
opened config file...
parsed json...
output debug text to displays...
Connecting to GST
....SNTP synced: Thu Mar 9 19:02:45 2023

twoStageOTAUpdate
output debug text to displays...
.
WiFi connected, IP is: 192.168.1.126

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (28):
epc1=0x4000bdc8 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffd30 end: 3fffffc0 offset: 0190
3ffffec0: 00000003 00000000 3ffef4b0 3fffff10
3ffffed0: 3fffff48 00000050 3fffff10 3ffef27f
3ffffee0: 3ffe8939 3ffe8934 3ffef4b0 40218194
3ffffef0: 3ffe892b 3ffe8930 3ffef4b0 4020ab58
3fffff00: 00000040 00000000 feefeffe feefeffe
3fffff10: 70747400 000d0000 80201b44 402013cc
3fffff20: feefeffe feefeffe feefeffe feefeffe
3fffff30: feefeffe feefeffe feefeffe feefeffe
3fffff40: feefeffe feefeffe 00706300 7e01a8c0
3fffff50: 80efeffe 00000000 00000000 feefeffe
3fffff60: feefeffe feefeffe feefeffe feefeffe
3fffff70: feefeffe 01004544 feef010d feefeffe
3fffff80: 3ffeea31 feefeffe feefeffe feefeffe
3fffff90: feefeffe feefeffe feefeffe 3ffef6a8
3fffffa0: 3fffdad0 00000000 3ffef668 40223240
3fffffb0: feefeffe feefeffe 3ffe8690 401006c9
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Now I need to figure out what causes this exception...

```

---

<div class="post-metadata">

### Author: ![air-ais](https://forum.sensor.community/letter_avatar_proxy/v4/letter/a/ad7895/32.png) [@air-ais](https://forum.sensor.community/u/air-ais)
#### Post date: [March 9, 2023, 8:12pm UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/6 "2023-03-09T20:12:39Z")

</div>

Is it a Wifi 6 access point? If yes, what happens If you only use use a b/g/n mode?

---

<div class="post-metadata">

### Author: ![Danny](https://forum.sensor.community/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@Danny](https://forum.sensor.community/u/Danny)
#### Post date: [March 10, 2023, 9:21am UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/7 "2023-03-10T09:21:21Z")

</div>

In fact it is. So I went into cellar, there a wifi router with older standard is available. I configured it to “mixed 802.11 g/n”. Unfortunately this change did not lead to any improvement! ☹

---

<div class="post-metadata">

### Author: ![Geoff\_Hill](https://forum.sensor.community/user_avatar/forum.sensor.community/geoff_hill/32/1354_2.png) [@Geoff\_Hill](https://forum.sensor.community/u/Geoff_Hill)
#### Post date: [March 10, 2023, 9:35am UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/8 "2023-03-10T09:35:20Z")

</div>

can you ping the ip address of the router?

---

<div class="post-metadata">

### Author: ![Danny](https://forum.sensor.community/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@Danny](https://forum.sensor.community/u/Danny)
#### Post date: [March 10, 2023, 9:44pm UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/9 "2023-03-10T21:44:23Z")

</div>

from where? local PC or NodeMCU?

---

<div class="post-metadata">

### Author: ![webmarwell](https://forum.sensor.community/user_avatar/forum.sensor.community/webmarwell/32/65_2.png) [@webmarwell](https://forum.sensor.community/u/webmarwell)
#### Post date: [March 16, 2023, 2:08am UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/10 "2023-03-16T02:08:08Z")

</div>

Hi @Danny  
You wrote “…giving a WIFI password known as wrong does not lead to any change in putty logs…”. I know it sounds stupid, but you might have put in a wrong password all the time. Maybe a change on the router? Just double check. I had this kind of situations, when I was 100% sure about a password and tried everything, before checking the password on the router again.

Comment #5 would support that thought. You’ve tried a new guest access point and that worked, right? At least it synced SNTP and says `WiFi connected, IP is: 192.168.1.126`. Is the WiFi problem solved?

---

<div class="post-metadata">

### Author: ![Danny](https://forum.sensor.community/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@Danny](https://forum.sensor.community/u/Danny)
#### Post date: [March 16, 2023, 8:41pm UTC](https://forum.sensor.community/t/system-does-not-connect-to-local-wifi/1928/11 "2023-03-16T20:41:12Z")

</div>

> [@webmarwell](#):
>
> Hi @Danny  
> You wrote “…giving a WIFI password known as wrong does not lead to any change in putty logs…”. I know it sounds stupid, but you might have put in a wrong password all the time. Maybe a change on the router? Just double check. I had this kind of situations, when I was 100% sure about a password and tried everything, before checking the password on the router again.

As I even do not trust myself I copy-pasted it into Notepad++ from webinterface of router… 🙂

> [@webmarwell](#):
>
> Comment #5 would support that thought. You’ve tried a new guest access point and that worked, right? At least it synced SNTP and says `WiFi connected, IP is: 192.168.1.126`. Is the WiFi problem solved?

The issue is solved since I changed the WIFI (the one in cellar is using a different WIFI router). I still can’t access WIFI with my newer WIFI 6 router. This does not hurt me since the sensor is working now but from a technical perspective this is not satifying 🙂

BR,  
Danny
