- 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 |
||
|---|---|---|
| .. | ||
| form.ex | ||
| form.html.heex | ||
| index.ex | ||
| index.html.heex | ||
| show.ex | ||
| show.html.heex | ||