Skip to content

Disk/Disks do not show SSD temperature. Array->Disks does #1842

@rkozyak

Description

@rkozyak

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

  1. Query SSD though GraphQL Sandbox or API calling disk or disks (no temp shown)
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions