/

User Guide

Charts & Simulator

Switching the dashboard from List to Graph opens the visual analytics view: charts of historical trends, plus the built-in simulator for generating test data.

The Graph view with occupancy and temperature charts

Figure 1 — The Graph view tracks occupancy and temperature over time for the selected building.


The charts

Two charts summarise the building:

Both aggregate readings from across the building and refresh automatically for the selected time range.

Sum view

When the aggregation mode is Sum, only the Occupancy chart is shown (and widened), because summing temperatures across rooms is not meaningful.


Time range

The Range buttons control how far back the charts look.

RangeShows
1DThe last 24 hours, hour by hour.
1WThe last 7 days, day by day.
1MThe last 30 days, day by day.

Time slots with no data appear as zero.


Aggregation mode

A building has many rooms, so each time slot combines them into one value. The Data buttons choose how.

ModeMeaning
avgAverage across all rooms — the typical state of the building.
sumTotal across all rooms — best for total people in the building.
minLowest reading in the slot — spots unusually cold rooms.
maxHighest reading in the slot — best for finding the hottest room.

The simulator

CrowdVision includes a simulator that generates synthetic readings — useful for demos, testing, and trying overcrowding scenarios without physical sensors.

The simulator is a separate service

The simulator runs independently from the app. An administrator or developer must start it and give you its URL before you can use these controls.

Configure the simulator URL

  1. Click the gear icon next to the simulator button.
  2. Enter the Simulator URL (where the simulator is running, e.g. http://localhost:3001).
  3. Click Save. The URL is remembered per browser.

Start and stop

  1. Click Start simulator. It turns green with an animated dot when active.
  2. Every 10 seconds it sends people-count and temperature readings for each room in the selected building.
  3. After a few seconds, charts begin to fill — 1D range with avg mode is the best live view.
  4. Click the button again (Stop simulator) to halt.
The simulator controls and settings

Figure 2 — The simulator button (with its gear settings) starts and stops synthetic data for the selected building.

Per-building status

The button reflects the simulator status for the building you are viewing. If you start it for Building A and switch to Building B, the button shows B’s state — A keeps running in the background.

The simulator generates, per room every 10 seconds, a people count of 0–50 and a temperature of 18.0–30.0 C.


Alerts from sensor data

As readings arrive — simulated or real — CrowdVision checks each against the room’s thresholds. If a room exceeds its capacity or maximum temperature, the notification bell turns red with a counter, a toast slides in, and (if enabled) a browser push is delivered even when the dashboard is closed. See Notifications.