Analytics View
Access the Analytics section from the dashboard sidebar. This provides historical charts for all your sensor data.
Signal Selection
The signal selection panel lets you choose which sensors to display:
- Select individual signals — Click sensor names to toggle visibility
- Multi-signal overlay — Display multiple sensors on the same chart for comparison
- Color coding — Each signal gets a distinct color for easy identification
- Unit grouping — Signals with the same unit type share a Y-axis
Time Range
Configurable time ranges for historical queries:
- Preset ranges — Last 1 hour, 6 hours, 24 hours, 7 days, 30 days
- Custom range — Pick specific start and end dates
- Live mode — Chart updates in real time as new data arrives
Chart Features
LTTB Downsampling
For large datasets, LoopString uses Largest Triangle Three Buckets (LTTB) downsampling. This reduces thousands of data points to a visually representative subset without losing important peaks and valleys.
Multi-signal charts use synchronized downsampling to ensure consistent time alignment across all selected signals.
Zoom and Pan
- Scroll to zoom on the time axis
- Click and drag to pan through time
- Double-click to reset zoom
Tooltips
Hover over any data point to see:
- Exact timestamp
- Reading value in your preferred units
- Signal name
Data Storage
Sensor history is stored in Firestore at sensorHistory/{deviceId}/readings. Data retention depends on your subscription tier.
Anomaly Detection
LoopString includes automatic anomaly detection:
- A Cloud Function learns baseline patterns for each sensor
- Z-score analysis identifies statistically significant deviations
- Anomaly breach alerts appear in the notification center
This helps catch unusual behavior (like a sudden temperature spike) even without manually configured thresholds.
Duty Cycle Tracking
For actuators, the Analytics section includes duty cycle tracking:
- Runtime rollups — How long each actuator was ON per day/week/month
- Maintenance warnings — Alerts when an actuator approaches maintenance intervals
- Lifecycle progress — Visual progress bar toward expected service life
Next Steps
- Dashboard Overview for the main dashboard guide
- Alarm Thresholds for setting up automated alerts