mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 19:06:53 +00:00
#149 - Sensors added to monitor Processes. Just need to add in automations for alerts.
This commit is contained in:
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
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
since_last_boot_templated:
|
since_last_boot_templated:
|
||||||
|
Reference in New Issue
Block a user