towerops/lib/towerops_web/live/equipment_live
Graham McIntire 6c631cbe26
Add sensor value change tracking and threshold monitoring
- 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
2026-01-05 14:01:35 -06:00
..
form.ex Auto-select site when only one is available for new equipment 2026-01-05 13:18:09 -06:00
form.html.heex Implement event logging system and fix sensor display 2026-01-05 10:42:34 -06:00
index.ex Add onboarding wizard to guide users through site creation 2026-01-04 11:47:25 -06:00
index.html.heex Make equipment list rows clickable 2026-01-05 13:29:23 -06:00
show.ex Show traffic as mirrored bar chart with outbound above and inbound below zero axis 2026-01-05 13:40:13 -06:00
show.html.heex Add sensor value change tracking and threshold monitoring 2026-01-05 14:01:35 -06:00