Quick start
Explore the product
Section titled “Explore the product”Visit open.air-iq.net to browse the community map, or sign in to manage your monitors.
Run the software locally
Section titled “Run the software locally”Clone what you need from Open AIQ on GitHub.
make help lists each repository’s commands.
- Backend: copy
.env.exampleto.envand fill it in, then runmake init,make db:upandmake dev. - Dashboard: run
make init, thenmake reviewto see every page with mock data. There’s no live dev server: the dashboard is tested on its deployed domain, so setVITE_API_URLand the Clerk key in.env.productionbefore youmake deploy. - Mobile app: with a phone connected, run
make initandmake dev(uses your local backend).
All three need the same Clerk instance. Add the deployed dashboard’s origin
(scheme and host) to the backend’s CLERK_AUTHORIZED_PARTIES and
CORS_ALLOWED_ORIGINS. More in contributor setup.
Bring up a monitor
Section titled “Bring up a monitor”- Build the reference hardware: an ESP32-S3 board, PMS5003, SHT30, a 128×64 OLED, and three buttons.
- Flash it once over USB with the
-full.binimage from the latest firmware release, or build from source withmake flash. - In the mobile app, choose Add monitor, hold the pair button for 3 seconds, and enter the 6-digit code on the screen. The app registers it, sends your Wi-Fi and location, and waits for the first reading.
You’ll need the app for this step. Adding monitors and replacing their keys only happens there, so the key goes straight to the monitor and never needs copying.
Stuck? Check troubleshooting or ask on GitHub. We’re happy to help.