AirGradient Forum

Connect model ONE to cell phone hotspot for mobile data logging?

i’d like to take my model ONE with me in my vehicle for some testing of air quality while driving. i’m both curious about general AQ in vehicles, but also want to test different cabin air filters to see if one purported to be HEPA with a carbon filter actually improves filtration. but without a wifi connection, the data is only displayed on the device’s screen and not stored or uploaded to the cloud.

i’m curious if you can connect a model ONE (or Outdoor model for that matter) to a cell phone hotspot.

anyone tried this? searching results in no similar attempts.

Hi there — I just ordered my first monitor so this is all theory, but I do something similar with a field robot (Waveshare rover, Raspberry Pi based) that talks back to my LAN and Home Assistant from anywhere: it runs Tailscale (free mesh VPN) directly on the Pi, so any internet connection — including my phone’s hotspot — gets it home.

One caveat I’ve since learned: that trick needs a device that can run a Tailscale client. The AirGradient’s ESP32 can’t, and hotspot clients don’t inherit the phone’s VPN. So for remote use I’m looking at either (a) letting it log to the AirGradient cloud while away, or (b) a small travel router running Tailscale as a subnet router, so my home HA can poll the monitor through it. If I get it working I’ll report back — the goal is readings near the EPA superfund cleanup site by my house.

1 Like

Hi @wsm, the AirGradient ONE and Open Air work and report the air quality data to the AirGradient Dashboard normally when they are connected to a mobile phone hotspot. Please make sure that your mobile phone hotspot works on the 2.4 GHz band and that the hotspot security is set to WPA2-Personal.

I’ve performed mobile O-1PST data logging using a small wifi router and a phone running python code under termux, and a battery. If using a phone hotspot you’ll have to find the IP assigned to the O-1PST.

1 Like

Hi @relwin, could you share more about your approach to this? Is it similar to what you mentioned in Adding BT data logging to the O-1PST, and combined with a phone perform mobile data logging , but in this case, you use the Wi-Fi router instead of Bluetooth? Thanks!

This is based on AG’s example python code. It creates a CSV file with timestamps,GPS,and AG sensor data:

1 Like

Thank you for sharing this! Please feel free to share your project with us and the community.