After compilation, type oneair -h
to see arguments.
You can observe the output on screen, or connect to websocket /realtime
to get datagram periodically. It likes:
{
"pm2.5": 25,
"pm10": 33
}
Furthurmore, a simple viewer can be accessed by '/'.