From leader21

Having a look at the pimatic-sysinfo device here.

https://github.com/pimatic/pimatic-sysinfo

    {
      "class": "SystemSensor",
      "id": "syssensor",
      "name": "Systemstatus",
      "attributes": [
        {
          "name": "cpu"
        },
        {
          "name": "memory"
        },
        {
          "name": "diskusage",
          "path": "/",
          "interval": 3600000
        }
      ]
    },
    {
      "class": "SystemSensor",
      "id": "syssensor1",
      "name": "System Temp.",
      "attributes": [
        {
          "name": "temperature",
          "interval": 60000
        }
      ]
    },
    {
      "class": "SystemSensor",
      "id": "syssensor2",
      "name": "DB Size",
      "attributes": [
        {
          "name": "dbsize",
          "interval": 3600000
        }
      ]
    }