I’m still on the old UI but I have it set to e-mail be if the CPU throttles
Seconding this request!
Wow, didn’t expect to see that many replies.
Really nice approaches everyone and thanks.
@SeanM I would also like to see your conf for your setup.
Looks really interesting.
Hey,
Did you do anything specific to get the CPU Temperature or how did you add it?
Would it be possible to get the GPU Temperature? I was just wondering if that could be interesting with this new stream function or is this still being processed by the CPU?
I just used the command line sensor build into HA, here’s my YAML for the sensor:
- platform: command_line
name: "RPi CPU Temperature"
command: "cat /sys/class/thermal/thermal_zone0/temp"
value_template: '{{ value | multiply(0.001) | round(2) }}'
If you can work out what command you need to get the GPU temp then you should be able to add it. However it could be that the GPU is a part of the CPU, as in they are all a single chip, and if that’s the case the temps will be pretty similar.
From a year of observation of the pi GPU temp, it is always within 1 °C of the CPU temp. I’m going to remove the sensor.
how is coreos cpu load other than cpu load
can you please show us yor config for system-monitor.
how to get docker listing over here.
and one more and last thing how to get only 2 digit for cpu load as i am getting some 6 digit after decimal.
It is clean and informative. Would you mind sharing your config file.
Of course not
The clock card is courtesy of Palm Springs Theme but it doesn’t always update on this view (which is the first one) although it does seem to on another test view. I posted the question but no one has replied.
#================================
#===
#=== SYSTEM
#===
#================================
title: System Information
icon: mdi:home-assistant
cards:
- type: vertical-stack
cards:
- type: custom:compact-custom-header
main_config: true
background: var(--primary-background-color)
active_tab_color: yellow
tab_indicator_color: yellow
notify_indicator_color: yellow
notify_text_color: black
menu: show
notifications: show
voice: clock
options: show
clock_format: 24
clock_date: true
date_locale: en-gb
exceptions:
- conditions:
user_agent: Mobile
config:
notifications: show
voice: hide
conditional_styles:
- entity: notifications
condition:
state: false
button:
notifications:
hide: true
- type: custom:clock-card
#===========
#=== System
#===========
- type: entities
title: System
show_header_toggle: false
entities:
- entity: sensor.installed_version
name: Hassio Installed Version
icon: mdi:home-assistant
- entity: sensor.latest_available_version
name: Hassio Current Version
icon: mdi:home-assistant
- type: divider
- entity: sensor.tasmota_current_version
name: Sonoff / Tasmota Current Version
icon: mdi:alpha-s-box-outline
- type: divider
- entity: sensor.last_boot_date_time
icon: mdi:calendar
- entity: sensor.rpi_uptime
icon: mdi:clock-start
- entity: sensor.ha_uptime
icon: mdi:home-assistant
- type: custom:bar-card
title: Processor Use
entity: sensor.processor_use
height: 30px
animation: 'off'
indicator: 'off'
severity:
- value: 60
color: green
- value: 85
color: orange
- value: 100
color: red
- type: custom:bar-card
title: CPU Temp
entity: sensor.cpu_temp
animation: 'off'
indicator: 'off'
height: 30px
severity:
- value: 60
color: green
- value: 70
color: orange
- value: 100
color: red
- type: custom:bar-card
title: Memory Use
entity: sensor.memory_use_percent
height: 30px
animation: 'off'
indicator: 'off'
severity:
- value: 60
color: green
- value: 85
color: orange
- value: 100
color: red
- type: custom:bar-card
title: Disk Use
entity: sensor.disk_use_percent
height: 30px
animation: 'off'
indicator: 'off'
severity:
- value: 60
color: green
- value: 85
color: orange
- value: 100
color: red
- type: divider
- entity: sensor.public_ip_address
icon: mdi:ip-network
#======================================
#=== Have I Been Pwned and Component Counts
#======================================
- type: vertical-stack
cards:
#======================
#=== Have I been pwned
#======================
- type: entities
title: Have I been pwned
show_header_toggle: false
entities:
- entity: sensor.breaches_xxx
name:[email protected]
icon: mdi:at
- entity: sensor.breaches_xxx
name: [email protected]
icon: mdi:at
- entity: sensor.breaches_xxx
name: [email protected]
icon: mdi:at
- entity: sensor.breaches_xxx
name: [email protected]
icon: mdi:at
#=============================
#=== Component Counts
#=============================
- type: glance
title: Component Count
columns: 4
entities:
- entity: sensor.count_automations
name: Automations
icon: mdi:autorenew
- entity: sensor.count_scripts
name: Scripts
icon: mdi:script-text-outline
- entity: sensor.count_zones
name: Zones
icon: mdi:map-marker-radius
- entity: sensor.count_device_trackers
name: Device Trackers
icon: mdi:map-marker
- entity: sensor.count_switches
name: Switches
icon: mdi:light-switch
- entity: sensor.count_sensors
name: Sensors
icon: mdi:resistor
- entity: sensor.count_binary_sensors
name: Binary Sensors
icon: mdi:unfold-more-horizontal
- entity: sensor.count_input_booleans
name: Input Booleans
icon: mdi:toggle-switch
- entity: sensor.count_input_numbers
name: Input Numbers
icon: mdi:numeric
- entity: sensor.count_input_texts
name: Input Texts
icon: mdi:alphabetical
- entity: sensor.count_input_selects
name: Input Select
icon: mdi:view-list
- entity: sensor.count_input_datetimes
name: Input Date Times
icon: mdi:calendar-clock
#=============================
#=== Custom Component Updates
#=============================
- type: vertical-stack
cards:
- type: custom:tracker-card
title:
trackers:
- sensor.custom_card_tracker
- sensor.custom_component_tracker
Thank you. Much appreciated.
Nice to know, the GPU is an on-chip graphics processing unit (GPU) according to Wikipedia so temps are always going to be pretty much the same.
I’m using glances and HA dockermon.
- platform: glances
host: localhost
name: CoreOS
version: 3
resources:
- 'disk_use'
- 'disk_use_percent'
- 'disk_free'
- 'cpu_temp'
- 'processor_load'
- 'memory_use'
- 'memory_use_percent'
- 'memory_free'
- 'docker_active'
- 'docker_cpu_use'
- 'docker_memory_use'
I found glances to be very useful to monitor which addons were dogging the system on Hassio. It’s also the only way I’ve found to get the CPU temp with Hassio on an RPi. I don’t run it all the time though because I found it tended it be a bit of a resource hog itself.
configuration file: https://github.com/Limych/HomeAssistantConfiguration/blob/master/lovelace/30_system_info_view.yaml
I stand corrected thanks @klogg. This works with no muss, no fuss.
- platform: command_line
name: RPi CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
value_template: "{{ value | multiply(0.001) | round(2) }}"
@ghvader
Allow me…
It is the toggle-lock-entity-row - GitHub - thomasloven/lovelace-toggle-lock-entity-row
Look at some of @thomasloven other cards, they are all excellent.
It’s a pleasure, I wish I could say it was my idea… I forget now who I got that from.