>>> Join Us in the Fight Against Air Pollution

AirGradient Forum

AG One DIY and O-1PP DIY don't reconnect to Unifi

Hello, I’m new here, and really like the concept of these AQMs. However, I’m having a very frustrating time with WiFi connectivity - or, more precisely, the inability of the devices to reassociate to my network.

I have an AirGradient ONE DIY, and an Outdoor DIY.

I have two Unifi U6-LR access points, managed with a dedicated controller, and an EdgeRouter 4 at the core of the network. I can associate both devices just fine on first boot* (more on that later). However, if I unplug either device and power it back up, it’ll sit at the configuration/hostpot setting all day long. It’ll never reconnect. Ever. I always have to reconnect to the hotspot and re-save network preferences. If I do that, it works again.

I have dozens of WiFi devices that are load balanced on my U6s. Gobs of ESP32s, and a fair bit of 8266s. None of these ever have issues connecting, reconnecting, sleeping and reconnecting, or powering off and reconnecting. Not once. My home IoT device network is indeed large. Not that I’ve run out of DHCP addresses or anything - I’ve even tried reserving the addresses, but no joy.

The outdoor unit is the worst at this. It seems to go offline for 2 minutes at a time. I flashed the open-source firmware, and for one moment, it seemed to reconnect just fine on powerup. Even blinked once every few seconds for what I assume is a data update. However, I put the OTA version back on, and it’s been a constant problem since then. Same as the ONE DIY, it’ll never reconnect on powerup. If I associate it, it’ll eventually connect, and then the LED goes solid for a while, then shuts off. Then 2 minutes later, it turns on solid again, then shuts off after 30 seconds or so. But now it only reports once every 2 minutes, and before it seemed to be faster (I could be wrong). And yes, I tried going back to the open-source firmware, but no joy, it fails to reconnect just as the OTA firmware does.

So, what gives? I have exactly zero other devices on my network that exhibit this behavior. I regularly develop for ESP-32 and 8266, and none of those have ever had issues. I went with Unifi 8 years ago specifically because it’s bulletproof. But now, I’m super concerned that if there’s ever a power glitch, these devices will just stay offline indefinitely until I reassociate them. Does anyone have any ideas what to do? Thanks!

Okay, so an update, it appears that the O-1PP unit has updated itself OTA to 0.3.6. Kinda impressive, actually. This may be why it was having odd LED and update behaviors. It’s now updating regularly again. It seems to be working normally now. Is it normal for the LED to stay on now? However, I’m still pretty sure that it won’t reconnect if I were to unplug it again. And the ONE DIY for sure won’t reconnect on its own, I just tried it again. It did reconnect once but not after several retries. I just haven’t seen this before.

Can you please send us a message through our support form including your monitor serial numbers and we will have a look.

https://www.airgradient.com/support/

Done, and thank you. I believe the issue is related to a forum posting about the devices trying to connect to an “airgradient” SSID instead of the programmed/saved SSID. If I power cycle then ONE DIY, and connect to the hotspot, it’ll say “Authentication failed for [myssid]”. I believe it’s the same issue in firmware that was reported back in November.

My O-1PP just did a firmware OTA upgrade to 0.3.6. I haven’t power cycled it - should I try? Or was it not yet fixed in that firmware? In any case, I’ve sent a support request as suggested. I gave some of these as Christmas presents to my parents, they absolutely love them, but they would also be ill equipped to have to re-associate them on a power cycle. Thanks so much!

Okay. I’ve installed the latest FOSS firmware from the upgrade page (not the OTA/Factory firmware) on my ONE, and it now reconnects every time. I haven’t yet unplugged my O-1PP, I’ll wait until that needs to happen at some point and then report back. Thanks!