custom:appliance-nas-card



NAS (cut-out photos, 2, 4, 6 or 8 bays, or a generic drawing of 1, 2, 4, 5, 6 or 8 bays), made for the Synology DSM, TerraMaster TNAS (TOS) and Unraid (UGREEN NASync) integrations. Eleven models with model: synology_ds423 (default, DS423+), synology_ds925 (DS925+), terramaster_f4_423, terramaster_f4_425, terramaster_f6_424 (TerraMaster F6-424, 6 bays, entity_drive_5 and entity_drive_6 available), ugreen_dxp4800_plus (UGREEN DXP4800 Plus, 4 bays) and ugreen_idx6011_pro (UGREEN iDX6011 Pro, 6 bays, entity_drive_5 and entity_drive_6 available), qnap_ts251 (QNAP TS-251+, 2 bays) and qnap_ts253 (QNAP TS-253, 2 bays; only entity_drive_1 and entity_drive_2), synology_ds224 (Synology DS224+, 2 bays; only entity_drive_1 and entity_drive_2), synology_ds1525 (Synology DS1525+, 5 bays, entity_drive_1 to entity_drive_5; the STATUS and DISK 1 to 5 LEDs of the photo come alive). synology_ds1812 (Synology DS1812+, 8 bays, entity_drive_1 to entity_drive_8 available), asustor_2bay, asustor_4bay and asustor_6bay (Asustor NAS, cut-out photos with the green disk LEDs and the blue front LEDs; entity_drive_1 is the first disk, the one the Asustor integration calls disk0). On the UGREEN models the power button LED is the STATUS LED, and the white LED strip follows the disks. The STATUS and DISK LEDs of the photo come alive: the disk LEDs blink faster with the activity, a read beam sweeps across the bays, data packets fly to the volume ring (upload) or leave it (download), a failing disk blinks orange and its bay pulses red, the STATUS LED blinks orange on any alert, the power button breathes in blue and heat rises above the case when too hot. On the side: a volume ring (red above volume_max), download / upload bars and a temperature bar.
States: off, idle, running, very active (CPU above cpu_busy or high throughput), warning and unavailable. Alerts: volume degraded or crashed, disk N problem (DSM status or temperature above disk_temp_max), overheating, volume almost full, security warning. A “DSM update available” line shows when entity_update is on. Click a bay to open its disk.
Every value tile can be hidden with its show_… option, and language: fr|en|de|it|es|nb|nl|pl|ro|ru|sr|sr-Latn forces the language.
entity (optional on / off: ping, switch)entity_volume (volume status), entity_volume_used (%). Both accept a list for several volumes: the ring and the alert follow the fullest one (volume_max)entity_volume_free (free space of the volume, e.g. sensor.nas_free_space_volume_1, in B, kB, MB, GB, TB, KiB, MiB, GiB or TiB: shown in GB or TB next to the percentage; a list of several volumes shows the total free space)entity_uptime (uptime: a timestamp sensor « last boot », or a duration in s, min, h or d)entity_cpu (%), entity_ram (%), entity_temp (system temperature)entity_net_down, entity_net_up (DSM gives kB/s, shown as kB/s or MB/s)entity_drive_1 … entity_drive_4 (entity_drive_6 on the 6-bay iDX6011 Pro) (disk status: a text sensor for DSM, or the binary_sensor « problem » of TerraMaster, on = fault), entity_drive_1_temp … entity_drive_4_temp (up to _6_temp)entity_nvme_1, entity_nvme_2 (SSD NVMe status or binary_sensor « problem »), entity_nvme_1_temp, entity_nvme_2_temp: counted in the disks tile and in the alerts (« SSD N: problem »), they have no bay on the photo
All four disks, and each temperature, are optional: fill in only the entities your integration provides (DSM does not always report every disk temperature). The disks tile counts only the disks you set (OK / known) and shows the highest temperature among those that have one.entity_parity (binary_sensor, off = invalid: « Parity invalid » alert) and entity_flash (binary_sensor, on = problem: USB flash boot device alert), for Unraid. Each alert can be unchecked in the visual editor (show_parity, show_flash)entity_security (binary_sensor, on = problem), entity_update (update entity), entity_power (W)cpu_busy (default 60 %), volume_max (default 85 %), temp_max (default 60 °C), disk_temp_max (default 50 °C), temperature_unit. Temperature thresholds are entered in the display unit (°C or °F, from temperature_unit or Home Assistant); the defaults are convertedanimations (default true)compact: true (small fixed slots: smaller title, tiles and buttons, the illustration takes the remaining height), transparent: true (no card background), illustration_size (%)show_status, show_volume, show_free, show_cpu, show_ram, show_temp, show_disks, show_down, show_up, show_uptime, show_power (show_network: false hides both network tiles)type: custom:appliance-nas-card
model: terramaster_f4_423
entity_cpu: sensor.cpu_usage
entity_ram: sensor.memory_usage
entity_temp: sensor.system_temperature
entity_volume_used: # one or several volumes
- sensor.volume_1_usage
- sensor.volume_2_usage
entity_drive_1: binary_sensor.hdd_1_problem
entity_drive_1_temp: sensor.hdd_1_temperature
entity_drive_2: binary_sensor.hdd_2_problem
entity_drive_2_temp: sensor.hdd_2_temperature
entity_nvme_1: binary_sensor.nvme_1_problem
entity_nvme_1_temp: sensor.nvme_1_temperature
Unraid names disks by pool, not by slot: map each bay to the pool it holds. The health binary_sensor is on when there is a problem.
type: custom:appliance-nas-card
model: ugreen_idx6011_pro
entity_volume: sensor.controlroom_unraid_idx_array_state
entity_volume_used: # the ring follows the fullest one
- sensor.controlroom_unraid_idx_array_usage
- sensor.controlroom_unraid_idx_disk_daten_usage
- sensor.controlroom_unraid_idx_disk_sicherung_usage
entity_drive_1: binary_sensor.controlroom_unraid_idx_disk_daten_health
entity_drive_1_temp: sensor.unraid_disk_daten_temperature
entity_drive_2: binary_sensor.controlroom_unraid_idx_disk_daten2_health
entity_drive_2_temp: sensor.unraid_disk_daten2_temperature
entity_drive_3: binary_sensor.controlroom_unraid_idx_disk_daten3_health
entity_drive_3_temp: sensor.unraid_disk_daten3_temperature
entity_drive_4: binary_sensor.controlroom_unraid_idx_disk_sicherung_health
entity_drive_4_temp: sensor.unraid_disk_sicherung_temperature
entity_nvme_1: binary_sensor.controlroom_unraid_idx_disk_apps_health
entity_nvme_1_temp: sensor.unraid_disk_apps_temperature
entity_nvme_2: binary_sensor.controlroom_unraid_idx_disk_vms_health
entity_nvme_2_temp: sensor.unraid_disk_vms_temperature
entity_parity: binary_sensor.controlroom_unraid_idx_parity_valid
entity_flash: binary_sensor.controlroom_unraid_idx_disk_flash_health
type: custom:appliance-nas-card
name: DS423+
entity_volume: sensor.ds423_volume_1_status
entity_volume_used: sensor.ds423_volume_1_volume_used
entity_cpu: sensor.ds423_cpu_utilization_total
entity_ram: sensor.ds423_memory_usage_real
entity_temp: sensor.ds423_temperature
entity_net_down: sensor.ds423_download_throughput
entity_net_up: sensor.ds423_upload_throughput
entity_drive_1: sensor.ds423_drive_1_status
entity_drive_1_temp: sensor.ds423_drive_1_temperature
entity_drive_2: sensor.ds423_drive_2_status
entity_drive_2_temp: sensor.ds423_drive_2_temperature
entity_drive_3: sensor.ds423_drive_3_status
entity_drive_3_temp: sensor.ds423_drive_3_temperature
entity_drive_4: sensor.ds423_drive_4_status
entity_drive_4_temp: sensor.ds423_drive_4_temperature
entity_security: binary_sensor.ds423_security_status
entity_update: update.ds423_dsm_update
No photo of your model? model: generic_1, generic_2, generic_4, generic_5, generic_6 or generic_8 draws a plain NAS with that many bays, with the same animations as the photo models (blinking drive LEDs, reading beam, red bay when a disk fails, status LED, volume ring, network flow). The visual editor shows one entity_drive_N / entity_drive_N_temp pair per bay (up to 8).
type: custom:appliance-nas-card
model: generic_8
entity_drive_1: sensor.ds3018_drive_1_status
entity_drive_2: sensor.ds3018_drive_2_status
# … up to entity_drive_8

model: synology_ds1525: photo of the 5-bay DS1525+ with its STATUS and DISK 1 to 5 LEDs. Same options as the other Synology models.

Works with the ha-asustor integration. Example (4 bays), with the entity names it creates:
type: custom:appliance-nas-card
model: asustor_4bay
entity_cpu: sensor.nasasustor_utilisation_cpu
entity_ram: sensor.nasasustor_utilisation_memoire
entity_temp: sensor.nasasustor_temperature_systeme
entity_volume: sensor.nasasustor_volume_1_etat
entity_volume_used: sensor.nasasustor_volume_1_utilisation
entity_net_down: sensor.nasasustor_eth0_debit_en_reception
entity_net_up: sensor.nasasustor_eth0_debit_en_emission
entity_drive_1: binary_sensor.nasasustor_disk0_probleme
entity_drive_1_temp: sensor.nasasustor_disk0_temperature
entity_drive_2: binary_sensor.nasasustor_disk1_probleme
entity_drive_2_temp: sensor.nasasustor_disk1_temperature
The visual editor fills these in automatically when the entities exist.