towerops/lib/towerops_web/live/graph_live
Graham McIntire 987eae0408
fix: improve agent-based live polling with better logging and validation
- Added Logger.require for debug logging
- Refactored fetch_latest_agent_data to reduce nesting depth
- Added debug logging to trace agent assignment detection
- Check for nil/stale sensor readings and log appropriately
- Use actual reading timestamp instead of current time for data points

This will help diagnose why live polling shows 0 values and why
Phoenix SNMP disabled messages appear for agent-assigned devices.
2026-02-05 09:25:29 -06:00
..
show.ex fix: improve agent-based live polling with better logging and validation 2026-02-05 09:25:29 -06:00
show.html.heex live device polling 2026-02-01 13:19:32 -06:00