Disk/Disks do not show SSD temperature. Array->Disks does
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 113
- Forks
- 22
- Avg merge
- 10h 40m
- Merged PRs (30d)
- 13
Description
Environment
Unraid OS Version:
7.2.2
Are you using a reverse proxy?
No - Issue tested with direct access to server.
Pre-submission Checklist
- I have verified that my Unraid OS is up to date
- I have tested this issue by accessing my server directly (not through a reverse proxy)
- This is not an Unraid Connect related issue (if it is, please submit via the support form instead)
Issue Description
API query for disk or disks temperature returns null for SSD in cache. Query for array -> cache -> temp returns the correct temperature for those disks. Hard drives in array show temperature correctly.
Example with no Temp:
query ExampleQuery($diskId: PrefixedID!) {
disk(id: $diskId) {
name
temperature
}
}
Returns:
{
"data": {
"disk": {
"name": "Samsung SSD 990 EVO Plus 1TB",
"temperature": null
}
}
}
Example showing Temp:
query ExampleQuery {
array {
caches {
temp
name
}
}
}
Returns:
{
"data": {
"array": {
"caches": [
{
"temp": 33,
"name": "cache"
},
{
"temp": 33,
"name": "cache2"
}
]
}
}
}
Steps to Reproduce
- Query SSD though GraphQL Sandbox or API calling disk or disks (no temp shown)
- Querry SSD though array (temp shown)
Expected Behavior
Disk/Disks should return temperature of SSD similar to array->disks or array->cache
Actual Behavior
No temperature is shown for SSD from Disk/Disks
Additional Context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the GraphQL resolvers or entry points for the disk and disks temperature fields, then compare their behavior with the array.caches temp query shown in the issue. Reproduce both queries against an SSD and verify that disk and disks return the same temperature as array.caches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100