Skip to content

Conversation

@CircuitCoder
Copy link

This commit makes two modification to smart temperature logging:

  • Even if ata_sct_temperature_history is present, log current time.
  • Forcefully align each ata_sct_temperature_history data point according to logging interval reported in SMART. This prevents duplicated datapoints.

This is one of the solution mentioned in #824.

Also, this PR / issue should be independent from #494 / #557. That issue seems to stem from unreliable ata_sct_temperature_history, and the solution proposed in the PR was to add a switch to turn off ata_sct_temperature_history sampling. This PR tries to fix some logging issue when (semi-)reliable ata_sct_temperature_history is reported without completely turning it off.

This commit makes two modification to smart temperature logging:
- Even if ata_sct_temperature_history is present, log current time.
- Forcefully align each ata_sct_temperature_history data point according to
  logging interval reported in SMART. This prevents duplicated datapoints.

Fixes 824
Starosdev added a commit to Starosdev/scrutiny that referenced this pull request Nov 30, 2025
Starosdev pushed a commit to Starosdev/scrutiny that referenced this pull request Nov 30, 2025
## [1.1.0](v1.0.0...v1.1.0) (2025-11-30)

### Features

* Add "day" as resolution for temperature graph ([2670af2](2670af2))
* add day resolution for temperature graph (upstream PR [AnalogJ#823](https://github.com/Starosdev/scrutiny/issues/823)) ([2d6ffa7](2d6ffa7))
* add setting to enable/disable SCT temperature history (upstream PR [AnalogJ#557](https://github.com/Starosdev/scrutiny/issues/557)) ([c3692ac](c3692ac))
* Implement device-wise notification mute/unmute ([925e86d](925e86d))
* implement device-wise notification mute/unmute (upstream PR [AnalogJ#822](https://github.com/Starosdev/scrutiny/issues/822)) ([ea7102e](ea7102e))
* implement Prometheus metrics support (upstream PR [AnalogJ#830](https://github.com/Starosdev/scrutiny/issues/830)) ([7384f7d](7384f7d))
* support SAS temperature (upstream PR [AnalogJ#816](https://github.com/Starosdev/scrutiny/issues/816)) ([f954cc8](f954cc8))

### Bug Fixes

* better handling of ata_sct_temperature_history (upstream PR [AnalogJ#825](https://github.com/Starosdev/scrutiny/issues/825)) ([d134ad7](d134ad7))
* **database:** add missing temperature parameter in SCSI migration ([df7da88](df7da88))
* support transient SMART failures (upstream PR [AnalogJ#375](https://github.com/Starosdev/scrutiny/issues/375)) ([601775e](601775e))
* **ui:** fix temperature conversion in temperature.pipe.ts (upstream PR [AnalogJ#815](https://github.com/Starosdev/scrutiny/issues/815)) ([e0f2781](e0f2781))

### Refactoring

* use limit() instead of tail() for fetching smart attributes (upstream PR [AnalogJ#829](https://github.com/Starosdev/scrutiny/issues/829)) ([2849531](2849531))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant