Adding the system monitor sensors to Home Assistant
Just add these lines to your configuration.yaml file:
sensor:
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /config
- type: memory_use_percent
- type: swap_use_percent
- type: load_1m
- type: load_5m
- type: load_15m
- type: network_in
arg: eth0
- type: network_out
arg: eth0
- type: processor_temperature
- type: last_boot
Then check and reload your YAML configuration by restarting Home Assistant Core. You can find this on the page Developer Tools on the tab YAML.
After that you will have sensors for processor load, memory usage, disk usage, network in and out bytes, processor temperature (if supported) and the time of last boot.
For more options and info check this help page.
Comments
Post a Comment