Step 2: View Real-Time Occupancy Data - Smart Car Park Walkthrough
Explore the CloudWatch dashboard widgets showing live car park occupancy metrics
Great! You've deployed the demo
Now let's walk through what you just deployed and see it in action.
Start WalkthroughChoose your next step
Generate Evidence Pack
Create your business case documentation with what you've learned.
Generate Evidence PackWalkthrough progress
Step 2 of 4 • 2 minutes
View Real-Time Occupancy Data
Explore the dashboard widgets to understand current car park occupancy across all zones.
Screenshot updating - please check back soon
Screenshot updating - please check back soon
Expected outcome
- You can see current occupancy percentage
- Zone breakdown shows Ground, Level 1, Level 2 data
- Available spaces count is visible
- Historical trends show 24-hour patterns
Understanding the dashboard widgets
Your CloudWatch dashboard contains several widgets, each showing different aspects of car park occupancy. Let's explore what each widget tells you:
Watch for real-time updates
The dashboard is set to auto-refresh every 10 seconds. Watch the widgets closely:
- Available spaces number should change - As the IoT simulator publishes new sensor readings, you'll see the count update
- Line graphs extend to the right - New data points are added to the trailing edge of the time series
- Zone chart colors shift - Stacked area heights adjust as occupancy changes per zone
- No page refresh needed - CloudWatch handles updates automatically in the background
Behind the scenes: Every time a sensor detects a vehicle entering or leaving, it publishes an MQTT message to AWS IoT Core. Lambda processes the message and updates CloudWatch metrics within 2-5 seconds. Your dashboard shows these updates 10 seconds later at most.
Something went wrong? Troubleshooting help
Dashboard shows "No data available"
Possible solutions:
- Wait 30-60 seconds - The IoT simulator may still be initializing. Click the refresh button (circular arrow icon, top-right) after waiting.
-
Check DynamoDB table - Open the DynamoDB console,
find the table named
SmartCarPark-SensorReadings, and verify it has ~1000 items. -
Verify Lambda is running - Open the Lambda console,
find
IoTSimulator, and check Recent invocations shows activity.
Data is stale (not updating)
Possible solutions:
- Check auto-refresh is enabled - Look for "Auto refresh" toggle in top-right, ensure it's ON and set to 10 seconds
-
Verify IoT simulator is still running - The simulator may have stopped.
Go to Lambda console, find
IoTSimulator, click "Test" to manually restart it. -
Check CloudWatch Logs - Open Logs for
ProcessSensorDataLambda to see if it's receiving and processing sensor messages
Numbers don't match expected patterns
Possible causes:
- Simulation randomness - The IoT simulator uses random occupancy changes within typical patterns. Your data may vary from the examples shown.
- Time zone differences - Peak hours are based on simulated data timestamps, not your local time. Check the graph time axis to understand the pattern.