Can't reach MongoDB
Start a local server, then reload:
brew tap mongodb/brew && brew install mongodb-community
brew services start mongodb-community
No readings yet
The API is up and the database is reachable — no device has posted. Send one to check the path end to end:
curl -X POST http://localhost:8000/api/v1/readings \
-H 'Content-Type: application/json' \
-d '{"device_id":"test","temperature_c":21.5,"humidity_percent":56.4}'
Or run python scripts/simulate_sensor.py --minutes 120 to backfill two hours of plausible data.