Make sense of the Nextcloud sensors

Hello,

I successfully added the Nextcloud Component to my configuration and now I want to make sense of the information.

I’m struggling with the cpu-load sensor. It returns an array ([0, 0.03, 0]). Can anybody tell me what this means?

Thanks

This is the load of the server where your nextcloud is installed.
You can split it like this:

- platform: template
  sensors:
    server_load_1m:
      friendly_name: "Server load 1 M"
      unit_of_measurement: ' '
      value_template: >
        {{ states('sensor.nextcloud_system_cpuload')|regex_findall_index("\d.\d\d") }}
    server_load_5m:
      friendly_name: "Server load 5 M"
      unit_of_measurement: ' '
      value_template: >
        {{ states('sensor.nextcloud_system_cpuload')|regex_findall_index("\d.\d\d",1) }}
    server_load_15m:
      friendly_name: "Server load 15 M"
      unit_of_measurement: ' '
      value_template: >
        {{ states('sensor.nextcloud_system_cpuload')|regex_findall_index("\d.\d\d",2) }}
2 Likes