mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-15 06:09:10 +00:00
#149 - Sensors added to monitor Processes. Just need to add in automations for alerts.
This commit is contained in:
parent
f711489015
commit
d9d97277fa
35
packages/processmonitor.yaml
Executable file
35
packages/processmonitor.yaml
Executable file
@ -0,0 +1,35 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#-------------------------------------------
|
||||
homeassistant:
|
||||
customize:
|
||||
sensor.process_mosquitto:
|
||||
friendly_name: 'Mosquitto'
|
||||
emulated_hue: False
|
||||
hidden: False
|
||||
sensor.process_homebridge:
|
||||
friendly_name: 'Apple HomeKit'
|
||||
emulated_hue: False
|
||||
hidden: False
|
||||
#-------------------------------------------
|
||||
sensor:
|
||||
- platform: systemmonitor
|
||||
resources:
|
||||
# - type: last_boot
|
||||
- type: since_last_boot
|
||||
- type: disk_use_percent
|
||||
arg: /
|
||||
- type: process
|
||||
arg: mosquitto
|
||||
- type: process
|
||||
arg: homebridge
|
||||
#-------------------------------------------
|
||||
group:
|
||||
processes:
|
||||
name: Processes
|
||||
control: hidden
|
||||
entities:
|
||||
- sensor.process_mosquitto
|
||||
- sensor.process_homebridge
|
||||
#-------------------------------------------
|
@ -1,10 +1,3 @@
|
||||
- platform: systemmonitor
|
||||
resources:
|
||||
# - type: last_boot
|
||||
- type: since_last_boot
|
||||
- type: disk_use_percent
|
||||
arg: /
|
||||
|
||||
- platform: template
|
||||
sensors:
|
||||
since_last_boot_templated:
|
||||
|
Loading…
x
Reference in New Issue
Block a user