extract sensor change detection from DevicePollerWorker into shared SensorChangeDetector module. add sensor_value_changed event for non-% sensors when value differs from last_value. agent channel now detects changes and updates last_value, matching phoenix poller behavior. |
||
|---|---|---|
| .. | ||
| agent_channel.ex | ||
| agent_socket.ex | ||