- Add new event types: sensor_threshold_warning, sensor_threshold_critical, sensor_threshold_normal, sensor_value_spike, sensor_value_drop - Implement sensor change detection in PollerWorker - Track threshold violations (warning/critical high/low) - Detect value spikes/drops for percentage sensors (30% change) - Track return to normal from threshold violations - Store threshold config in sensor metadata - Update sensor last_value and last_checked_at on each poll - Broadcast sensor events via PubSub for real-time logging |
||
|---|---|---|
| .. | ||
| alert_live | ||
| equipment_live | ||
| graph_live | ||
| org_live | ||
| site_live | ||
| dashboard_live.ex | ||
| dashboard_live.html.heex | ||