This is a custom component that can be used to monitor the status of a RAID device created with mdadm
mdadm
installed into local server
HACS:
- Go to HACS -> 3dots -> Custom Repositories -> Copy repository link and set "Integration" as Category
- Search "RAID Status - MDADM" on HACS Integrations
Without HACS:
- Download the repository
- Copy the 'custom_components/mdadm_state' folder into the configuration folder
# Example configuration.yaml entry
binary_sensor:
- platform: mdadm_state
device: devicename
device
[REQUIRED] : name of device. Example device: md0
if the path of device is /dev/md0
mdstat
library: https://pypi.org/project/mdstat/
simplejson
library: https://pypi.org/project/simplejson/