Skip to content

[BUG] NO show temp info #2073

@tuanama00

Description

@tuanama00

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

Hi,

I. trying to show temp sensors, I have command sensors, and set up in json fiel but didn't work :

$sensors
mlx5-pci-0300
Adapter: PCI adapter
asic: +69.0°C (crit = +105.0°C, highest = +70.0°C)
Module0: +51.0°C (crit = +85.0°C, highest = +52.0°C)

mlx5-pci-0301
Adapter: PCI adapter
asic: +69.0°C (crit = +105.0°C, highest = +70.0°C)
Module1: +54.2°C (crit = +85.0°C, highest = +55.0°C)

Thanks
Jose

Version used

fastfetch 2.55.1

Bug prevalence

Always

Regression

No

Installation

GitHub Releases

Package manager

apt

Screenshots

No response

Configuration

{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
  "logo": 
  {
    "type": "builtin",
    "source": "secureblue",
    "color": 
    {
      "1": "",
      "2": "",
      "3": "",
      "4": "",
      "5": "",
      "6": "",
      "7": "",
      "8": "",
      "9": ""
    },
    "width": null,
    "height": null,
    "padding": 
    {
      "top": 0,
      "left": 0,
      "right": 4
    },
    "printRemaining": true,
    "preserveAspectRatio": false,
    "recache": false,
    "position": "left",
    "chafa": 
    {
      "fgOnly": false,
      "symbols": "block+border+space-wide-inverted"
    }
  },
  "display": 
  {
    "stat": false,
    "pipe": false,
    "showErrors": false,
    "disableLinewrap": true,
    "hideCursor": false,
    "separator": ": ",
    "color": 
    {
      "keys": "",
      "title": "",
      "output": "",
      "separator": ""
    },
    "brightColor": true,
    "duration": 
    {
      "abbreviation": false,
      "spaceBeforeUnit": "default"
    },
    "size": 
    {
      "maxPrefix": "YB",
      "binaryPrefix": "iec",
      "ndigits": 2,
      "spaceBeforeUnit": "default"
    },
    "temp": 
    {
      "unit": "D",
      "ndigits": 1,
      "color": 
      {
        "green": "32",
        "yellow": "93",
        "red": "91"
      },
      "spaceBeforeUnit": "default"
    },
    "percent": 
    {
      "type": 
      [
        "num",
        "num-color"
      ],
      "ndigits": 0,
      "color": 
      {
        "green": "32",
        "yellow": "93",
        "red": "91"
      },
      "spaceBeforeUnit": "default",
      "width": 0
    },
    "bar": 
    {
      "char": 
      {
        "elapsed": "",
        "total": "-"
      },
      "border": 
      {
        "left": "[ ",
        "right": " ]",
        "leftElapsed": "",
        "rightElapsed": ""
      },
      "color": 
      {
        "elapsed": "auto",
        "total": "97",
        "border": "97"
      },
      "width": 10
    },
    "fraction": 
    {
      "ndigits": 2
    },
    "noBuffer": false,
    "key": 
    {
      "width": 0,
      "type": "string",
      "paddingLeft": 0
    },
    "freq": 
    {
      "ndigits": 2,
      "spaceBeforeUnit": "default"
    },
    "constants": 
    []
  },
  "general": 
  {
    "thread": true,
    "processingTimeout": 5000,
    "detectVersion": true,
    "playerName": "",
    "dsForceDrm": false
  },
  "modules": 
  [
    {
      "type": "title",
      "key": " ",
      "keyIcon": "",
      "fqdn": true,
      "color": 
      {
        "user": "",
        "at": "",
        "host": ""
      }
    },
    {
      "type": "separator",
      "string": "-",
      "outputColor": "",
      "times": 0
    },
    {
      "type": "os",
      "keyIcon": ""
    },
    {
      "type": "host",
      "keyIcon": "󰌢"
    },
    {
      "type": "kernel",
      "keyIcon": ""
    },
    {
      "type": "uptime",
      "keyIcon": ""
    },
    {
      "type": "packages",
      "keyIcon": "󰏖",
      "disabled": 
      [
        "winget"
      ],
      "combined": false
    },
    {
      "type": "display",
      "keyIcon": "󰍹",
      "compactType": "none",
      "preciseRefreshRate": false,
      "order": null
    },
    {
      "type": "de",
      "keyIcon": "",
      "slowVersionDetection": false
    },
    {
      "type": "wm",
      "keyIcon": "",
      "detectPlugin": false
    },
    {
      "type": "font",
      "keyIcon": ""
    },
    {
      "type": "cpu",
      "keyIcon": "",
      "temp": false,
      "showPeCoreCount": false
    },
    {
      "type": "gpu",
      "keyIcon": "󰾲",
      "driverSpecific": false,
      "detectionMethod": "auto",
      "temp": false,
      "hideType": "none",
      "percent": 
      {
        "green": 50,
        "yellow": 80,
        "type": 0
      }
    },
    {
      "type": "memory",
      "keyIcon": "",
      "percent": 
      {
        "green": 50,
        "yellow": 80,
        "type": 0
      }
    },
    {
      "type": "disk",
      "keyIcon": "",
      "showRegular": true,
      "showExternal": true,
      "showHidden": false,
      "showSubvolumes": false,
      "showReadOnly": true,
      "showUnknown": false,
      "folders": "",
      "hideFolders": "/efi:/boot:/boot/*",
      "hideFS": "",
      "useAvailable": false,
      "percent": 
      {
        "green": 50,
        "yellow": 80,
        "type": 0
      }
    },
    {
      "type": "localip",
      "keyIcon": "󰩟",
      "showIpv4": true,
      "showIpv6": false,
      "showMac": false,
      "showLoop": false,
      "showPrefixLen": true,
      "showMtu": false,
      "showSpeed": false,
      "showFlags": false,
      "compact": false,
      "defaultRouteOnly": true,
      "showAllIps": false,
      "namePrefix": ""
    },
    {
      "type": "battery",
      "keyIcon": "",
      "temp": false,
      "percent": 
      {
        "green": 50,
        "yellow": 20,
        "type": 0
      }
    },
    {
      "type": "poweradapter",
      "keyIcon": "󰚥"
    },
    {
      "keyIcon": ""
    },
    "break",
    {
      "type": "colors",
      "key": " ",
      "keyIcon": "",
      "symbol": "block",
      "paddingLeft": 0,
      "block": 
      {
        "width": 3,
        "range": 
        [
          0,
          15
        ]
      }
    },   {
  "type": "temp",
  "key": "CPU Temp",
  "sensors": {
    "CPU Package": {
      "path": "/sys/class/hwmon/hwmon0/temp1_input",
      "crit": 105000,
      "max": 70000
    }
  }
}]
}

System information

[
  {
    "type": "Title",
    "result": {
      "userName": "xxxxxx",
      "fullUserName": "xxxxxx",
      "hostName": "xxxxx",
      "homeDir": "/home/xxxxxx/",
      "exePath": "/usr/bin/fastfetch",
      "userShell": "/bin/bash"
    },
    "stat": 0.012257009744644165
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.0013960003852844238
  },
  {
    "type": "OS",
    "result": {
      "buildID": "",
      "codename": "noble",
      "id": "ubuntu",
      "idLike": "debian",
      "name": "Ubuntu",
      "prettyName": "Ubuntu 24.04.3 LTS (Noble Numbat)",
      "variant": "",
      "variantID": "",
      "version": "24.04.3 LTS (Noble Numbat)",
      "versionID": "24.04"
    },
    "stat": 0.0643010139465332
  },
  {
    "type": "Host",
    "result": {
      "family": "BlueField",
      "name": "BlueField SoC",
      "version": "1.0.0",
      "sku": "MBF2H332A-AECOT",
      "vendor": "https://www.mellanox.com",
      "serial": "",
      "uuid": ""
    },
    "stat": 0.30882900953292847
  },
  {
    "type": "BIOS",
    "result": {
      "date": "Nov  3 2025",
      "release": "3.0",
      "vendor": "https://www.mellanox.com",
      "version": "4.13.0.13799",
      "type": "UEFI"
    },
    "stat": 0.17242500185966492
  },
  {
    "type": "Bootmgr",
    "result": {
      "name": "ubuntu0",
      "firmware": "\\EFI\\ubuntu\\shimaa64.efi",
      "order": 9,
      "secureBoot": false
    },
    "stat": 129.7213610112667
  },
  {
    "type": "Board",
    "result": {
      "name": "BlueField SoC",
      "vendor": "https://www.mellanox.com",
      "version": "1.0.0",
      "serial": ""
    },
    "stat": 0.2866249978542328
  },
  {
    "type": "Chassis",
    "result": {
      "type": "Other",
      "vendor": "https://www.mellanox.com",
      "version": "1.0.0",
      "serial": ""
    },
    "stat": 0.19795900583267212
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "aarch64",
      "name": "Linux",
      "release": "6.8.0-1012-bluefield-64k",
      "version": "#16-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 13 16:42:35 UTC 2025",
      "pageSize": 65536
    },
    "stat": 0.003376007080078125
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "systemd",
      "exe": "/usr/lib/systemd/systemd",
      "version": "255.4-1ubuntu8.11",
      "pid": 1
    },
    "stat": 0.742779016494751
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 187023930,
      "bootTime": "2025-11-27T11:10:49.753-0500"
    },
    "stat": 0.11295497417449951
  },
  {
    "type": "Loadavg",
    "result": [
      1.77,
      1.72,
      1.71
    ],
    "stat": 0.06398600339889526
  },
  {
    "type": "Processes",
    "result": 319,
    "stat": 1.192872017621994
  },
  {
    "type": "Packages",
    "result": {
      "all": 1178,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 1178,
      "emerge": 0,
      "eopkg": 0,
      "flatpakSystem": 0,
      "flatpakUser": 0,
      "guixSystem": 0,
      "guixUser": 0,
      "guixHome": 0,
      "hpkgSystem": 0,
      "hpkgUser": 0,
      "linglong": 0,
      "mport": 0,
      "nixDefault": 0,
      "nixSystem": 0,
      "nixUser": 0,
      "opkg": 0,
      "pacman": 0,
      "pacstall": 0,
      "paludis": 0,
      "pisi": 0,
      "pkg": 0,
      "pkgtool": 0,
      "pkgsrc": 0,
      "macports": 0,
      "rpm": 0,
      "scoopUser": 0,
      "scoopGlobal": 0,
      "snap": 0,
      "soar": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 0,
      "pacmanBranch": ""
    },
    "stat": 1.0931510031223297
  },
  {
    "type": "Shell",
    "result": {
      "exe": "bash",
      "exeName": "bash",
      "exePath": "/usr/bin/bash",
      "pid": 1579401,
      "ppid": 1579400,
      "processName": "bash",
      "prettyName": "bash",
      "version": "5.2.21",
      "tty": 3
    },
    "stat": 0.5885820090770721
  },
  {
    "type": "Editor",
    "error": "$VISUAL or $EDITOR not set",
    "stat": 0.0034059882164001465
  },
  {
    "type": "Display",
    "error": "Couldn't detect display",
    "stat": 11.370133012533188
  },
  {
    "type": "Brightness",
    "result": [],
    "stat": 0.040356993675231934
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.002505004405975342
  },
  {
    "type": "LM",
    "error": "Failed to get $XDG_SESSION_ID",
    "stat": 0.03036600351333618
  },
  {
    "type": "DE",
    "error": "No DE found",
    "stat": 0.0017549991607666016
  },
  {
    "type": "WM",
    "error": "No WM found",
    "stat": 0.003421008586883545
  },
  {
    "type": "WMTheme",
    "error": "WM Theme needs successful WM detection",
    "stat": 0.0020999908447265625
  },
  {
    "type": "Theme",
    "result": {
      "theme1": "",
      "theme2": "Yaru [GTK3]"
    },
    "stat": 0.19410401582717896
  },
  {
    "type": "Icons",
    "result": {
      "icons1": "",
      "icons2": "Yaru [GTK3]"
    },
    "stat": 0.0025349855422973633
  },
  {
    "type": "Font",
    "error": "No fonts found",
    "stat": 0.004936009645462036
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Adwaita",
      "size": ""
    },
    "stat": 0.05039399862289429
  },
  {
    "type": "Wallpaper",
    "error": "Failed to detect the current wallpaper path",
    "stat": 0.0013650059700012207
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "sshd",
      "exe": "sshd: ubuntu@pts/1",
      "exeName": "1",
      "exePath": "",
      "pid": 4002,
      "ppid": 3513,
      "prettyName": "/dev/pts/3",
      "version": "",
      "tty": "/dev/pts/3"
    },
    "stat": 0.3425700068473816
  },
  {
    "type": "TerminalFont",
    "error": "Unknown terminal: sshd",
    "stat": 0.0068260133266448975
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 256,
      "rows": 71,
      "width": 0,
      "height": 0
    },
    "stat": 100.17399001121521
  },
  {
    "type": "TerminalTheme",
    "error": "Failed to detect terminal theme",
    "stat": 100.15796700119972
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "Cortex-A72*8",
      "vendor": "ARM",
      "packages": 1,
      "cores": {
        "physical": 8,
        "logical": 8,
        "online": 8
      },
      "frequency": {
        "base": 0,
        "max": 0
      },
      "coreTypes": [],
      "temperature": null,
      "march": "ARMv8-A"
    },
    "stat": 1.141624003648758
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 32768,
          "num": 8,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 49152,
          "num": 8,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 1048576,
          "num": 4,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 6291456,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    },
    "stat": 5.3725999891757965
  },
  {
    "type": "CPUUsage",
    "result": [
      17.647058823529413,
      15.0,
      19.047619047619047,
      30.0,
      100.0,
      5.263157894736842,
      20.0,
      55.00000000000001
    ],
    "stat": 200.60740500688553
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": null,
        "coreCount": null,
        "coreUsage": null,
        "memory": {
          "dedicated": {
            "total": 0,
            "used": 0
          },
          "shared": {
            "total": 0,
            "used": 0
          },
          "type": null
        },
        "driver": "",
        "name": "llvmpipe (LLVM 20.1.2, 128 bits)",
        "temperature": null,
        "type": null,
        "vendor": "Mesa",
        "platformApi": "OpenGL 4.5 (Compatibility Profile) Mesa 25.0.7-0ubuntu0.24.04.2",
        "frequency": null,
        "deviceId": 0
      }
    ],
    "stat": 101.42885300517082
  },
  {
    "type": "Memory",
    "result": {
      "total": 16970022912,
      "used": 9929097216
    },
    "stat": 0.09762200713157654
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.09385699033737183
  },
  {
    "type": "Swap",
    "result": [],
    "stat": 0.029570013284683228
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 48312741888,
          "free": 51457470464,
          "total": 61252390912,
          "used": 9794920448
        },
        "files": {
          "total": 3825664,
          "used": 159226
        },
        "filesystem": "ext4",
        "mountpoint": "/",
        "mountFrom": "/dev/mmcblk0p2",
        "name": "OS0",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2025-11-25T10:45:03.000-0500"
      }
    ],
    "stat": 0.623988002538681
  },
  {
    "type": "Btrfs",
    "result": [],
    "stat": 0.04361298680305481
  },
  {
    "type": "Zpool",
    "error": "dlopen libzfs.so failed",
    "stat": 0.7426440119743347
  },
  {
    "type": "Battery",
    "result": [],
    "stat": 0.030515998601913452
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.019832998514175415
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.0008700191974639893
  },
  {
    "type": "Media",
    "error": "Failed to connect to DBus",
    "stat": 1.5338220000267029
  },
  {
    "type": "PublicIp",
    "result": {
      "ip": "190.25.74.132",
      "location": "Bogotá, CO"
    },
    "stat": 0.19342899322509766
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "oob_net0",
        "defaultRoute": {
          "ipv4": true,
          "ipv6": false
        },
        "ipv4": "172.28.20.200/24",
        "ipv6": "",
        "mac": "08:c0:eb:b2:43:96",
        "mtu": 1500,
        "speed": 1000,
        "flags": "UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP"
      }
    ],
    "stat": 0.797448992729187
  },
  {
    "type": "DNS",
    "result": [
      "127.0.0.53",
      "192.168.100.1"
    ],
    "stat": 0.05627402663230896
  },
  {
    "type": "Wifi",
    "result": [],
    "stat": 0.6550590097904205
  },
  {
    "type": "DateTime",
    "result": "2025-11-29T15:07:54.212-0500",
    "stat": 0.025085002183914185
  },
  {
    "type": "Locale",
    "result": "C.UTF-8",
    "stat": 0.003224998712539673
  },
  {
    "type": "Vulkan",
    "result": {
      "apiVersion": "",
      "conformanceVersion": "",
      "driver": "",
      "gpus": []
    },
    "stat": 0.0030159950256347656
  },
  {
    "type": "OpenGL",
    "result": {
      "version": "4.5 (Compatibility Profile) Mesa 25.0.7-0ubuntu0.24.04.2",
      "renderer": "llvmpipe (LLVM 20.1.2, 128 bits)",
      "vendor": "Mesa",
      "slv": "4.50",
      "library": "EGL 1.5"
    },
    "stat": 41.25024700164795
  },
  {
    "type": "OpenCL",
    "error": "dlopen libOpenCL.so failed",
    "stat": 0.004200994968414307
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "ubuntu",
        "hostName": "172.28.20.101",
        "sessionName": "pts/0",
        "clientIp": "172.28.20.101",
        "loginTime": "2025-11-27T11:11:57.089-0500"
      }
    ],
    "stat": 0.322721004486084
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.03384602069854736
  },
  {
    "type": "BluetoothRadio",
    "error": "Failed to open /sys/class/bluetooth",
    "stat": 0.009631991386413574
  },
  {
    "type": "Sound",
    "error": "Failed to load libpulse.so",
    "stat": 0.2699120044708252
  },
  {
    "type": "Camera",
    "result": [],
    "stat": 0.018123000860214233
  },
  {
    "type": "Gamepad",
    "result": [],
    "stat": 0.06751200556755066
  },
  {
    "type": "Mouse",
    "result": [],
    "stat": 0.027020007371902466
  },
  {
    "type": "Keyboard",
    "error": "opendir(\"/dev/input/by-path/\") == NULL",
    "stat": 0.014926999807357788
  },
  {
    "type": "Weather",
    "result": "+19°C - Haze, shower in vicinity (Bogotá, Colombia)",
    "stat": 927.9701590240002
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "oob_net0",
        "defaultRoute": true,
        "txBytes": 1035,
        "rxBytes": 1497,
        "txPackets": 10,
        "rxPackets": 12,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 0,
        "txDrops": 0
      }
    ],
    "stat": 0.4310249984264374
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "mmcblk0",
        "devPath": "/dev/mmcblk0",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      },
      {
        "name": "mmcblk0boot0",
        "devPath": "/dev/mmcblk0boot0",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      },
      {
        "name": "mmcblk0boot1",
        "devPath": "/dev/mmcblk0boot1",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      }
    ],
    "stat": 0.43184998631477356
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "mmcblk0",
        "devPath": "/dev/mmcblk0",
        "interconnect": "MMC",
        "kind": "SSD",
        "size": 62612570112,
        "serial": "0x4ef114ca",
        "removable": false,
        "readOnly": false,
        "revision": "0x8",
        "temperature": null
      },
      {
        "name": "mmcblk0boot0",
        "devPath": "/dev/mmcblk0boot0",
        "interconnect": "MMC",
        "kind": "SSD",
        "size": 4194304,
        "serial": "",
        "removable": false,
        "readOnly": true,
        "revision": "",
        "temperature": null
      },
      {
        "name": "mmcblk0boot1",
        "devPath": "/dev/mmcblk0boot1",
        "interconnect": "MMC",
        "kind": "SSD",
        "size": 4194304,
        "serial": "",
        "removable": false,
        "readOnly": true,
        "revision": "",
        "temperature": null
      }
    ],
    "stat": 0.8803530037403107
  },
  {
    "type": "TPM",
    "error": "TPM device is not found",
    "stat": 0.02187401056289673
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "aarch64",
      "version": "2.55.1",
      "versionGit": "",
      "cmakeBuiltType": "RelWithDebInfo",
      "compileTime": "Nov 17 2025, 02:15:44",
      "compiler": "gcc 13.3.0",
      "debugMode": false,
      "libc": "glibc 2.39"
    },
    "stat": 0.004096001386642456
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.002339988946914673
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.001560986042022705
  }
]
jaraujo@bf:/sys/class/hwmon/hwmon0$

Features built-in

jaraujo@bf:/sys/class/hwmon/hwmon0$ fastfetch --list-features
threads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick6
chafa
zlib
sqlite3
rpm
egl
glx
opencl
libpulse
libddcutil
libelf
libzfs
Directx Headers
linux/videodev2
linux/wireless
jaraujo@bf:/sys/class/hwmon/hwmon0$

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