System Monitoring - How does yours look?

Do you have a code example for the cockpit layout, or is this not part of the release yet?

All my config at https://github.com/abeksis/My-HomeAssistant-Config

12 Likes

Very smooth interface you have on the phone!

1 Like

Hi all ,
I am feeling dumb…
Is there a way to have 8 columns i just get mess and mess … i do not know how to manage the cards right on the page

Thanks all.

cards:
  - entity: sensor.processor_use
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.memory_use_percent
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.disk_use_percent_home
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.disk_free_home
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.speedtest_download
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.speedtest_upload
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.synology_dsm_cpu_load_total
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.synology_dsm_memory_usage_real
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.synology_dsm_network_down
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.synology_dsm_network_up
    graph: line
    hours_to_show: 240
    type: sensor
  - entity: sensor.0x00158d0002eb5a33_battery_1
    name: Xiaomi_click
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
  - entity: sensor.0x000b57fffeb21848_battery_1
    name: Ikea_click
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
  - entity: sensor.0x00158d00040adabd_battery_1
    name: Door_1
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
  - entity: sensor.0x00158d00045221bb_battery_2
    name: Door_2
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
  - entity: sensor.0x00158d00049ff1d2_battery_3
    name: Door_3
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
  - entity: sensor.0x00158d0003d0dc33_battery_1
    name: Movement_1
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
  - entity: sensor.0x00158d00047b8703_battery_2
    name: Movement_2
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
  - entity: sensor.0x00158d00044b3373_battery_1
    name: Temperature_1
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
  - entity: sensor.0x00158d00045d0175_battery_2
    name: Temperature_2
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
  - entity: sensor.0x00158d000464c4a6_battery_3
    name: Temperature_3
    severity:
      - color: Red
        from: 0
        to: 25
      - color: Orange
        from: 26
        to: 50
      - color: Green
        from: 51
        to: 100
    type: 'custom:bar-card'
column_width: 300
max_columns: 8
min_columns: 4
min_height: 50
type: 'custom:layout-card'

Hi , this is what i would reach… something aligned … :slight_smile: not my vertical pile…

This is a question for: 🔹 Layout-card - Take control of where your cards end up

How you got all the sensor for your NUC. I’m using a Proxmox with Home Assistant. I’m having problems to find out the arg: for ipv4_address.

How did you get all the NUC sensors available on Home Assistant. I’m trying to find my ipv4_address argument. I’m using a NUC with Proxmox and Home Assistant.

HI,

I’m using command line sensors, like this:

####################################################
#                                                  #
#                Sensor - Intel NUC                #
#                                                  #
####################################################
  - platform: command_line
    name: "NUC CPU Temperature"
    command: "cat /sys/class/thermal/thermal_zone2/temp"
    unit_of_measurement: "°C"
    value_template: '{{ (value | multiply(0.001)) | round(0) }}'

  - platform: command_line
    name: NUC CPU Frequency 0
    command: "cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq"
    value_template: '{{ value | multiply(0.000001) | round(2) }}'
    unit_of_measurement: 'GHz'

  - platform: command_line
    name: NUC CPU Frequency 1
    command: "cat /sys/devices/system/cpu/cpufreq/policy1/scaling_cur_freq"
    value_template: '{{ value | multiply(0.000001) | round(2) }}'
    unit_of_measurement: 'GHz'

  - platform: command_line
    name: Linux versjon
    command: "cat /proc/version"
    value_template: '{{ value[99:106] }}'

  - platform: command_line
    name: NUC CPU Governor
    command: "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
    
  - platform: command_line
    name: NUC CPU min. frequency
    command: "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
    value_template: '{{ value | multiply(0.001) | round(2) }}'
    unit_of_measurement: 'MHz - Min Freq'

  - platform: command_line
    name: NUC CPU max. frequency
    command: "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
    value_template: '{{ value | multiply(0.001) | round(2) }}'
    unit_of_measurement: 'MHz - Max Freq'

  - platform: command_line
    name: NUC BIOS
    command: "cat /sys/class/dmi/id/bios_vendor"

  - platform: command_line
    name: NUC System
    command: "cat /sys/class/dmi/id/product_name"
    value_template: '{{value|truncate(45,True)}}'

  - platform: command_line
    name: CPU online
    command: "cat /sys/devices/system/cpu/online"
    value_template: '{{value|truncate(45,True)}}'

  - platform: command_line
    name: CPU offline
    command: "cat /sys/devices/system/cpu/offline"
    value_template: '{{value|truncate(45,True)}}'

  - platform: command_line
    name: NUC Bios versjon
    command: "cat /sys/class/dmi/id/bios_version"
    value_template: '{{ value[0:17] }}'

  - platform: command_line
    name: NUC Hovedkort
    command: "cat /sys/class/dmi/id/board_name"
3 Likes

Thanks, I really appreciate that. I will be able to figure out my sensors now.

1 Like

@thundergreen: I would like to know which card you’ve used i.e. for CPU Load.
Afaik the minigraph card does not display the value in the midle and graph using the whole card size.

This is made with home-panel add-on

What a pitty. Would love to have a card like that in lovelace…
image

Sure you can build one with certain Lovelace plugins

Maybe

you can. Here’s @RomRider’s post and he has something almost similar using custom:button-card.

I used your very nice lovelace example to create mine but I’m struggling to push the bar-card to go below the 2 mini-graph cards. Any ideas how to get this done?

Yes, I have seen that, but the graph covers only a small part of the card. Those above seems to use the whole card space. And the axis from my point of view also have some room for improvement - like more rounded values for automatic from and to - i.e. 30 to 75 for the example shown below.

Hello!

Looks really great what you have done.
How you get the WiFi quality sensors working?

Thx

Hi @ValJr,
I have also a NUC with Proxmox.
Have the CPU Temperature sensor?
I’m trying to configure it, but without success.
Can you help me with this?
Thanks in advance.

I didn’t solve the problem yet but I found this explanation and possible solution. Maybe I will do this week. He goes the link. https://kleypot.com/proxmox-home-assistant-host-system-hardware-monitoring/

Please keep me posted, maybe if we join forces we will be able to help others as well.

1 Like