System Monitoring - How does yours look?

Huh. It doesn’t work for the shell_command domain.

I only really run one shell_command and it is no longer showing up so I can’t test for you

It’s ok the sensors have served their purpose and been commented out for possible future use. I don’t really need these counts on a constant basis.

Getting there slowly!

How do you get the pi-hole and plex data? Also the docker card, does that show whether the container is running? Does clicking it restart the container? Can you share the card config for each of those cards. Nice setup BTW :smile:

The pi-hole and plex data are both from the official components, using the custom mini graph card. The plex user info below it is a template sensor (I haven’t got this to add a break between users though annoyingly). Pi-hole has a switch to disable it also. The docker card shows which containers are running and lets you stop/start them too.

I’ve popped my config on to pastebin for you, lemme know if I’ve missed anything. plex user sensor:- platform: template sensors: plex_users: - Pastebin.com

3 Likes

But I don’t :blush:.
What is the domain names for automations, scripts, scenes ?

Found it, but unfortunately I get this error when I create it:

Template sensor scenes_count has no entity ids configured to track nor were we able to extract the entities to track from the value template(s). This entity will only be able to be updated manually.

What am I missing?

Listing the entities defeats the purpose of this script. So you have to update it manually using this service: homeassistant.update_entity.
Call it from the dev tools services menu or from an automation.

      sensor_count:
        friendly_name: 'Number of Sensors'
        value_template: >
          {%- set domains = ['sensor'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      automation_count:
        friendly_name: 'Number of Automations'
        value_template: >
          {%- set domains = ['automation'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      script_count:
        friendly_name: 'Number of Scripts'
        value_template: >
          {%- set domains = ['script'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      switch_count:
        friendly_name: 'Number of Switches'
        value_template: >
          {%- set domains = ['switch'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      binary_sensor_count:
        friendly_name: 'Number of Binary Sensors'
        value_template: >
          {%- set domains = ['binary_sensor'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      lights_count:
        friendly_name: 'Number of Lights'
        value_template: >
          {%- set domains = ['light'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      tracker_count:
        friendly_name: 'Number of Devices'
        value_template: >
          {%- set domains = ['device_tracker'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      camera_count:
        friendly_name: 'Number of Devices'
        value_template: >
          {%- set domains = ['camera'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      fan_count:
        friendly_name: 'Number of Devices'
        value_template: >
          {%- set domains = ['fan'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      media_player_count:
        friendly_name: 'Number of Devices'
        value_template: >
          {%- set domains = ['media_player'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
          
      plant_count:
        friendly_name: 'Number of Devices'
        value_template: >
          {%- set domains = ['plant'] -%}
          {%- for domain in domains -%}
            {%- for item in states[domain] -%}
              {% if loop.first %}
                {{loop.length}}
              {% endif %}
            {%- endfor -%}
          {%- endfor -%}
5 Likes

Monitoring Spam




26 Likes

Looks great! can you share the configs?

1 Like

Very clean overview
What theme do you use and please share you config.

1 Like

How are you getting the info for your remaining space on the NAS drives?

1 Like

Also I wouldn’t mind seeing your config for the washing machine status too

1 Like

Impressive… Oh my… Amazing!
I need more of your config!

Can you share your vacuum card and what coffee machine are you using?

1 Like

@Sjeff, @elRadix, @Yoinkz

you can find details for my latest lovelace here As I don’t want to hijack this thread.

@getsmokes I use snmp to pull info from my NAS Drives, some drives already supported in HA.

My Coffee Machine is a cheap Aldi Pod one for around $100AUD. I have installed ultrasonic sensors in the water and waste reservoirs and have a weight sensor telling me how pods I have left.

4 Likes

Hey @SeanM, I noticed your Zwave count is empty, I get that too. Sometimes it shows the correct number and sometimes it’s just blank. Do you get that too or did you manage to fix yours?

Here’s how I setup mine to count Zwave devices. (thanks to @klogg)

zwave_count:
  friendly_name: Zwave Devices
  entity_id: sensor.date
  value_template: >
    {%- set domains = ['zwave'] -%}
    {%- for domain in domains -%}
      {%- for item in states[domain] -%}
        {% if loop.first %}
          {{loop.length}}
        {% endif %}
      {%- endfor -%}
    {%- endfor -%}

When the date changes, it’ll update the count.

Hi all

Anyone monitoring some Proxmox virtualizer data?

I would like to know CPU temp, but since the OS is the virtualizer don’t know how to do it!

From within the Proxmox Shell I used

apt-get install lm-sensors
sensors-detect
watch -n 1 sensors

and with this I can see those value, but I don’t know how to get int the Hassio VM (based on Ubuntu 18.04 with Docker.

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +59.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +59.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +51.0°C  (high = +100.0°C, crit = +100.0°C)

Any suggestion or experience?

Thanks

Like the gunners logo! :wink: